mainthreadonly Properties

Steven Fisher proposes a new Objective-C property attribute: mainthreadonly would be like nonatomic. Compared to nonatomic, it also warns that the property can only be set from the main thread. @synthesize would generate a setter that is not onlynonatomic, but generates an exception if called from a thread other than the main thread. Sounds good … Continue reading mainthreadonly Properties