What is the significance of #pragma marks? Why do we need #pragma marks?
What is the purpose of #pragma marks in Xcode? Does their location in .m files matter? Should some #pragma come before all others? … Read more
What is the purpose of #pragma marks in Xcode? Does their location in .m files matter? Should some #pragma come before all others? … Read more
I’m currently using the iOS 5 SDK trying to develop my app. I’m trying to make an NSString a property, and then to … Read more
Can someone explain to me in detail when I must use each attribute: nonatomic, copy, strong, weak, and so on, for a declared … Read more
How can I get the year/month/day of a NSDate object, given no other information? I realize that I could probably do this with … Read more
I’d like to log the call trace during certain points, like failed assertions, or uncaught exceptions. 7 Answers 7
I have the value 25.00 in a float, but when I print it on screen it is 25.0000000. How can I display the … Read more
Is it possible to reduce the gap between text, when put in multiple lines in a UILabel? We can set the frame, font … Read more
Just curious, as it doesn’t immediately seem possible, but is there a sneaky way to leverage the new iOS 6 UIRefreshControl class without … Read more
I have written a library in Swift and I wasn’t able to import it to my current project, written in Objective-C. Are there … Read more
I’m new to Obj-C, so my first question is: What are the differences between strong and weak in @property declarations of pointers to … Read more