Post

Replies

Boosts

Views

Activity

Reply to "private lazy var ..." thread safe?
I found a list of classes that are "generally considered to be thread-safe". https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/Multithreading/ThreadSafetySummary/ThreadSafetySummary.html The following classes and functions are generally considered to be thread-safe. You can use the same instance from multiple threads without first acquiring a lock.  NSArray NSAssertionHandler NSAttributedString NSBundle NSCalendar NSCalendarDate NSCharacterSet NSConditionLock NSConnection NSData NSDate NSDateFormatter NSDecimal functions NSDecimalNumber NSDecimalNumberHandler NSDeserializer NSDictionary NSDistantObject NSDistributedLock NSDistributedNotificationCenter NSException NSFileManager NSFormatter NSHost NSJSONSerialization NSLock NSLog/NSLogv NSMethodSignature NSNotification NSNotificationCenter NSNumber NSNumberFormatter NSObject NSOrderedSet NSPortCoder NSPortMessage NSPortNameServer NSProgress NSProtocolChecker NSProxy NSRecursiveLock NSSet NSString NSThread NSTimer NSTimeZone NSUserDefaults NSValue NSXMLParser Object allocation and retain count functions Zone and memory functions
Jun ’20
Reply to Can we make CloudKit only app
I never released my Recipe app that I mentioned in the initial post, but after 4 years, I'm back again with a new and completely different app and this time I didn't have to provide default data for everything. I just have better error handling and first time user experience than the Recipe app I created 4 years ago. I'm not sure if Apple's guideline changed.
Jun ’20