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.

Objective-C implicit conversion loses integer precision 'NSUInteger' (aka 'unsigned long') to 'int' warning

I'm working through some exercises and have got a warning that states: Implicit conversion loses integer precision: 'NSUInteger' (aka 'unsigned …

objective-c compiler-warnings implicit-conversion
How to detect iPhone 5 (widescreen devices)?

I've just upgraded to XCode 4.5 GM and found out that you can now apply the '4" Retina' size to your …

iphone ios objective-c screen device
iOS - Build fails with CocoaPods cannot find header files

I have an iOS project using CocoaPods. Everything was working smoothly until another developer started to work on the same …

objective-c ios cocoa build cocoapods
Is it possible to change a UIButtons background color?

This one has me stumped. Is it possible at all to change the background color of a UIButton in Cocoa …

objective-c iphone cocoa-touch uibutton
How to convert int to NSString?

I'd like to convert an int to a NSString in Objective C. How can I do this?

objective-c
iOS detect if user is on an iPad

I have an app that runs on the iPhone and iPod Touch, it can run on the Retina iPad and …

ios objective-c swift ipad device
How do I record audio on iPhone with AVAudioRecorder?

Now that iPhone 3.0 SDK is public, I think I can ask this question for those of you that have already …

ios objective-c iphone audio recording
What does the NS prefix mean?

Many classes in Cocoa/Cocoa Touch have the NS prefix. What does it mean?

ios objective-c cocoa cocoa-touch
Objective-C: Reading a file line by line

What is the appropriate way of dealing with large text files in Objective-C? Let's say I need to read each …

objective-c file-io nsstring enumerate nsstream
Is it possible to program iPhone in C++

I'm all for language diversity, but Objective C is insane. So I'm curious: is it possible to code iPhone apps …

c++ iphone objective-c