Cocoa is Apple's application-development framework for macOS, consisting of Foundation, Application Kit, and Core Data.
Many classes in Cocoa/Cocoa Touch have the NS prefix. What does it mean?
ios objective-c cocoa cocoa-touchIn Cocoa, if I want to loop through an NSMutableArray and remove multiple objects that fit a certain criteria, what's …
objective-c cocoaMaybe this is obvious, but I don't know how to declare class properties in Objective-C. I need to cache per-class …
objective-c cocoa oopI'm doing a presentation on debugging in Xcode and would like to get more information on using NSLog efficiently. In …
objective-c cocoa cocoa-touch xcode nslogI have a UIImage (Cocoa Touch). From that, I'm happy to get a CGImage or anything else you'd like that's …
cocoa cocoa-touch core-graphicsThe NSObject method performSelector:withObject:afterDelay: allows me to invoke a method on the object with an object argument after …
objective-c cocoaI understand that the following command will update a single pod: pod update <podname>. However this also updates …
cocoa cocoapodsLet's say I have a class called SomeClass with a string property name: @interface SomeClass : NSObject { NSString* name; } @property (nonatomic, …
objective-c cocoa cocoa-touchWhat's the best way to throw an exception in objective-c/cocoa?
objective-c cocoa exception-handling