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 perform Callbacks in Objective-C

How to perform call back functions in Objective-C? I would just like to see some completed examples and I should …

objective-c cocoa callback
How Do I detect the orientation of the device on iOS?

I have a question on how to detect the device orientation on iOS. I don't need to receive change notifications, …

ios objective-c orientation uidevice
Camera with Custom View

My Application uses camera, I would like to add overlay over the camera preview. For example, I want to use …

ios objective-c camera uiimagepickercontroller custom-view
Rounding numbers in Objective-C

I'm trying to do some number rounding and conversion to a string to enhance the output in an Objective-C program. …

objective-c cocoa macos formatting rounding
Programmatically fire button click event?

Is there a way to programmatically fire a button click event? I have a button placed there in an UIView, …

ios objective-c iphone
How do I wrap text in a UITableViewCell without a custom cell

This is on iPhone 0S 2.0. Answers for 2.1 are fine too, though I am unaware of any differences regarding tables. It …

ios objective-c cocoa-touch uikit iphone-sdk-2
Can Objective-C switch on NSString?

Is there a more intelligent way to rewrite this? if ([cardName isEqualToString:@"Six"]) { [self setValue:6]; } else if ([cardName isEqualToString:@"Seven"]) { […

objective-c switch-statement
Tutorials for using HTTP POST and GET on the iPhone in Objective-C

I downloaded apple's demo for using HTTP POST and GET (Their sample app has a tabbar with different parts) and …

objective-c http post get
How to test Push Notification is working in my application

In my application I am implementing the Push Notification Service. I have a Content Provider server, which contains some products …

ios objective-c push-notification
How to make a push segue when a UITableViewCell is selected

I have a list of effects in a table view. I have created a top right bar button which does …

ios objective-c uitableview segue