This tag should be used only on questions that are about Objective-C features or depend on code in the language.
I'd like to save an NSMutableDictionary object in NSUserDefaults. The key type in NSMutableDictionary is NSString, the value type is …
ios objective-c cocoa-touch nsuserdefaults nscodingIn iOS 5 we could change the device orientation programmatically like so: [[UIDevice currentDevice] setOrientation:UIInterfaceOrientationLandscapeRight]; But in iOS 6 setOrientation is …
ios objective-c uiinterfaceorientationWhat's the exact reason for using dispatch_once in the shared instance accessor of a singleton under ARC? + (MyClass *)sharedInstance { // …
ios objective-c singleton automatic-ref-countingUsing the CoreGraphics framework is tedious work, in my honest opinion, when it comes to programmatically drawing a PDF file. …
iphone objective-c ipad ios pdf-generationI'm using shouldChangeCharactersInRange as a way of using on-the-fly type search. However I'm having a problem, shouldChangeCharactersInRange gets called before …
ios objective-c swift uitextfielddelegate nsrangeCan someone more knowledgeable than I explain performSegueWithIdentifier:sender: for me? I need to switch views (and classes) and also …
ios objective-c xcode uikit segueI am getting a strange error message from the core data when trying to save but the problem that the …
iphone objective-c ios core-dataI'm manually invoking a segue (set as modal) in order to display a login form in Xcode 4.2 using Storyboards with …
objective-c ios cocoa-touch uistoryboardWhat is Objective C++ and can I use this language in Xcode?
c++ objective-c xcode objective-c++I am trying to make a POST request which has HTTPHeader Fields and a HTTP body to the youtube API. …
ios objective-c post afnetworking afnetworking-3