Type properties

Shane,

For NSTimeZone’s defaultTimeZone() the documentation says it’s a Type property. Does this mean it’s a class property? The properties don’t list + or - in the declaration.

Bill

I’m not sure where you’re seeing that, but yes, it’s a class property.

Shane,

I went in to the Xcode documentation and typed defaultTimeZone since defaultTimeZone() didn’t match anything. Then in the “API Reference” section in the search results at the top I clicked defaultTimeZone NSTimezone. The URL to the Apple web page is:
https://developer.apple.com/reference/foundation/nstimezone/1856136-defaulttimezone

Bill

I’m seeing it as a class property. But the word type is being used more because of Swift, where it’s a generic term for classes and structs, and where structs have properties.