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.

Status Bar Text Color iOS 7

I am unable to change the text colour in the status bar in iOS 7 SDK. Currently its black and i …

ios objective-c storyboard ios7 uistoryboard
UIView's border color in Interface builder doesn't work?

I am trying to set up a view's layer properties via IB. Everything works except for color of the border (…

ios objective-c swift cocoa-touch uiview
Error Domain=NSCocoaErrorDomain Code=3840 "The operation couldn’t be completed using AFNetworking

I am using AFNetworking library to post data on server using POST method. Following is my code - (void) callLoginAPI:(…

ios objective-c json afnetworking
Delete all keys from a NSUserDefaults dictionary iOS

I use the NSUserDefaults dictionary to store basic information such as high scores etc so that when the user closes …

ios objective-c swift cocoa-touch nsuserdefaults
How to create an NSMutableArray and assign a specific object to it?

I am just getting into Obj C, and I am looking to create an array of MKAnnotations. I have already …

ios objective-c nsmutablearray mkannotation
objective-c MKMapView center on user location

I'm trying to zoom into the user location as the center reference for the screen. I have this code: MainViewController.…

ios objective-c animation gps mkmapview
Convert NSURL to local file path

I have an NSURL that looks like this: file://localhost/Users/myuser/myfile.txt Is there a standard function to …

objective-c xcode macos
CALayer: add a border only at one side

I can add a border to a CALayer in this way: [webView.layer setBorderColor: [[UIColor colorWithRed:0.6 green:0.7 blue:0.2 alpha:1] CGColor]]; […

iphone objective-c core-animation calayer
iPhone UITableView. How do turn on the single letter alphabetical list like the Music App?

In the iPhone music app, selecting Artist, Songs, or Albums presents a tableView with a verticl list of single letters …

ios iphone objective-c uitableview
NSLocale currentLocale always returns "en_US" not user's current language

I'm in the processes of internationalizing an iPhone app - I need to make programmatic changes to certain views based …

iphone objective-c cocoa internationalization