UIView frame, bounds and center
I would like to know how to use these properties in the right manner. As I understand, frame can be used from the … Read more
I would like to know how to use these properties in the right manner. As I understand, frame can be used from the … Read more
In iOS 7, sizeWithFont: is now deprecated. How do I now pass in the UIFont object into the replacement method sizeWithAttributes:? 20 Answers … Read more
What frameworks exist to unit test Objective-C code? I would like a framework that integrates nicely with Apple Xcode. 17 Answers 17
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, … Read more
Let’s say I have a class called SomeClass with a string property name: @interface SomeClass : NSObject { NSString* name; } @property (nonatomic, … Read more
Locked. This question and its answers are locked because the question is off-topic but has historical significance. It is not currently accepting new … Read more
Locked. This question and its answers are locked because the question is off-topic but has historical significance. It is not currently accepting new … Read more
I have a UIImageView and the objective is to scale it down proportionally by giving it either a height or width. UIImage *image … Read more
Learning Objective-C and reading sample code, I notice that objects are usually created using this method: SomeObject *myObject = [[SomeObject alloc] init]; instead … Read more
What is the difference between objectForKey and valueForKey? I looked both up in the documentation and they seemed the same to me. 6 … Read more