Top "Objective-c" questions

This tag should be used only on questions that are about Objective-C features or depend on code in the language.

How to programmatically rotate image by 90 Degrees in iPhone?

Possible Duplicate: How to Rotate a UIImage 90 degrees? How to programmatically rotate image by 90 Degrees in iPhone?

iphone objective-c cocoa-touch ios4 image-rotation
Facebook iOS SDK - get friends list

Using the Facebook iOS SDK, how can I get an NSArray of all my friends and send them an invitation …

ios objective-c facebook cocoa-touch facebook-friends
What's the difference between NSNumber and NSInteger?

What's the difference between NSNumber and NSInteger? Are there more primitives like these that I should know about? Is there …

iphone objective-c nsnumber primitive-types nsinteger
HTTP Status Code 411 - Length Required

I try to get data from server. I use NSURLConnectionDelegate, NSURLConnectionDataDelegate. There is code (Objective - C). -(void)sendRequest { …

ios objective-c nsurlconnection nsurlrequest http-status-code-411
Converting UIColor to CGColor in swift

This is the Obj-C code: CGContextSetStrokeColorWithColor(context, [[UIColor lightGrayColor] CGColor]); How do I write it in swift.

objective-c swift colors uicolor
How to open the keyboard automatically on UITextField?

I have a very simple table and when tocuh a cell it opens a new view with one UITextfield. All …

iphone objective-c interface uitextfield builder
UIButton events. What's the difference?

I've encountered a problem where my button should remain "pressed down" while it shows popover called from it. Popover is …

objective-c ios uibutton ibaction
UITabBar not showing selected item images in ios 7

The icons show fine in ios 6 but not in ios 7. I'm setting the selected state in the viewController viewDidLoad method. …

objective-c uitabbar ios7
When should I initialize a view controller using initWithNibName?

When should I use init: and when should I use initWithNibName:bundle: when creating a view controller?

iphone objective-c uiviewcontroller initialization
How does the new automatic reference counting mechanism work?

Can someone briefly explain to me how ARC works? I know it's different from Garbage Collection, but I was just …

objective-c cocoa-touch garbage-collection automatic-ref-counting