Cocoa is Apple's application-development framework for macOS, consisting of Foundation, Application Kit, and Core Data.
I'm trying to make a dynamic framework for an iOS app. Thanks to the new version of Xcode (6) we can …
cocoa ios8 xcode6 dynamic-library ios-universal-frameworkI'm stuck on a problem for hours now and having read everything about this on stackoverflow (and apply every advices …
multithreading cocoa core-dataHow can I get the number of times an NSString (for example, @"cake") appears in a larger NSString (for example, @"…
objective-c cocoa nsstring substringI'm quite new to programming a Swift and I'm trying to iterate through the files in a folder. I took …
swift cocoa nsfilemanagerI've seen in a few iPhone examples that attributes have used an underscore _ in front of the variable. Does anyone …
objective-c cocoa-touch cocoa variables syntaxIs there a way to force NSMutableArray to hold one specific object type only? I have classes definitions as follow: @…
objective-c cocoa nsmutablearrayI have an array of NSDictionaries. How can I pull out the first element in the dictionary? NSArray *messages = [[results …
iphone objective-c cocoa cocoa-touch nsdictionaryCan anyone explain with really clear use cases what the purpose of dispatch_sync in GCD is for? I can't …
cocoa ios ios4 grand-central-dispatchGiven an NSArray of NSStrings, is there a quick way to join them together into a single NSString (with a …
cocoa string