'Table' is unavailable in iOS

https://developer.apple.com/documentation/swiftui/table

Following the documentation above to build a test table, but I am getting the below errors on the first table:

  1. 'buildBlock' is unavailable in iOS
  2. 'init(_:columns:)' is unavailable in iOS
  3. 'Table' is unavailable in iOS

Xcode version: Version 13.2.1 (13C100)
MacOS 12.1

Not sure what these errors mean, any help would be greatly appreciated.

Thanks!

Answered by david989 in 699404022

Disregard, this is only available on Mac, I am new to reading swift documentation and did not see the Availability on the right side.

Accepted Answer

Disregard, this is only available on Mac, I am new to reading swift documentation and did not see the Availability on the right side.

'Table' is unavailable in iOS
 
 
Q