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 can I add a boolean value to a NSDictionary?

Well, for integers I would use NSNumber. But YES and NO aren't objects, I guess. A.f.a.i.k. …

objective-c iphone cocoa-touch uikit
Objective-C getter/ setter

I'm trying to work my way through an Objective-C tutorial. In the book there is this example: @interface { int width; …

objective-c setter getter
compilation warning: no rule to process file for architecture i386

How can I resolve this warning? [WARN]warning: no rule to process file '$(PROJECT_DIR)/MyApp/MessageCell.h' of …

objective-c xcode cocoa-touch compiler-construction
iOS7 - Device unique identifier

Our iOS application is for specific users. So, we used device unique identifier for user identification. This approach works fine …

ios objective-c ios7 uniqueidentifier
presentModalViewController:Animated is deprecated in ios6

I am using the following code for an image picker. But when I run it in the simulator, I have …

iphone objective-c uiimage uiimagepickercontroller
iOS app, programmatically get build version

Is there a way to programmatically get the build version of my app? I need to be able to detect …

ios objective-c
Call storyboard scene programmatically (without needing segue)?

I have a modal storyboard scene that I want to be accessible to all my other scenes. Creating a modal …

objective-c ios xcode uistoryboard
Getting row of UITableView cell on button press

I have a tableview controller that displays a row of cells. Each cell has 3 buttons. I have numbered the tags …

objective-c ios uitableview
Best practice using NSLocalizedString

I'm (like all others) using NSLocalizedStringto localize my app. Unfortunately, there are several "drawbacks" (not necessarily the fault of NSLocalizedString …

objective-c ios localization nslocalizedstring
UIWebView background is set to Clear Color, but it is not transparent

I'm developing an iOS 4 application using iOS SDK latest version and XCode 4.2. I have a XIB with a UIWebView with …

iphone objective-c ios cocoa-touch uiwebview