cocoa 655

  1. How to check for an active Internet connection on iOS or macOS?
  2. Constants in Objective-C
  3. What does this mean? “'NSUnknownKeyException', reason: … this class is not key value coding-compliant for the key X”
  4. @class vs. #import
  5. How do I create delegates in Objective-C?
  6. Cocoa Autolayout: content hugging vs content compression resistance priority
  7. @synthesize vs @dynamic, what are the differences?
  8. What does the NS prefix mean?
  9. Cocoa: What's the difference between the frame and the bounds?
  10. How to print out the method name and line number and conditionally disable NSLog?
  11. How do I iterate over an NSArray?
  12. throwing an exception in objective-c/cocoa
  13. Is It Possible to NSLog C Structs (Like CGRect or CGPoint)?
  14. Exception thrown in NSOrderedSet generated accessors
  15. How do I convert NSMutableArray to NSArray?
  16. What are best practices that you use when writing Objective-C and Cocoa?
  17. Best way to define private methods for a class in Objective-C
  18. How do I use NSTimer?
  19. Hidden Features of Xcode
  20. Difference between objectForKey and valueForKey?
  21. What is the best way to unit test Objective-C code?
  22. NSString property: copy or retain?
  23. Core Data vs SQLite 3
  24. How do you print out a stack trace to the console/log in Cocoa?
  25. What does “@private” mean in Objective-C?
  26. “Unknown class <MyClass> in Interface Builder file” error at runtime
  27. Objective-C: Extract filename from path string
  28. Delete/Reset all entries in Core Data?
  29. Check that an email address is valid on iOS
  30. Execute a terminal command from a Cocoa app
  31. Best way to remove from NSMutableArray while iterating?
  32. How to get pixel data from a UIImage (Cocoa Touch) or CGImage (Core Graphics)?
  33. What's the Best Way to Shuffle an NSMutableArray?
  34. How do I declare class-level properties in Objective-C?
  35. NULL vs nil in Objective-C
  36. iOS - Build fails with CocoaPods cannot find header files
  37. Why are Objective-C delegates usually given the property assign instead of retain?
  38. Regular expressions in an Objective-C Cocoa application
  39. What is the best way to solve an Objective-C namespace collision?
  40. How to create a Menubar application for Mac
  41. How to initialise a string from NSData in Swift
  42. What's the optimum way of storing an NSDate in NSUserDefaults?
  43. How to convert CFStringRef to NSString?
  44. How does an underscore in front of a variable in a cocoa objective-c class work?
  45. Why can't code inside unit tests find bundle resources?
  46. CSS Printing: Avoiding cut-in-half DIVs between pages?
  47. Objective C - Remove last character from string
  48. NSString tokenize in Objective-C
  49. How to do string conversions in Objective-C?
  50. What does the property “Nonatomic” mean?