This tag should be used only on questions that are about Objective-C features or depend on code in the language.
consider the following scenario: I have a storyboard-based app. I add a ViewController object to the storyboard, add the class …
iphone objective-c ios uiviewcontroller storyboardThis is sample code: NSDictionary *myDictionary = [NSDictionary dictionary]; NSNumber *myNumber = [myDictionary valueForKey: @"MyNumber"]; NSLog(@"myNumber = %@", myNumber); // output myNumber = (null) if (…
objective-c null nsnullI've been doing iOS development for a couple of months now and just learned of the promising CocoaPods library for …
objective-c git cocoapodsI am using addTarget:action:forControlEvents like this: [newsButton addTarget:self action:@selector(switchToNewsDetails) forControlEvents:UIControlEventTouchUpInside];
ios objective-c iphone cocoa-touch uicontroleventsI need to check the condition of keyboard visibility in my iOS app. Pseudocode: if(keyboardIsPresentOnWindow) { //Do action 1 } else if (…
ios objective-c keyboardI have tried several ways to use UIAlertController,instead of UIAlertView. I tried several ways but I cannot make the …
ios objective-c uialertview uialertcontrollerI've currently got a webserver set up which I communicate over SOAP with my iPhone app. I am returning a …
objective-c nsstringIs it possible to have blocks as properties using the standard property syntax? Are there any changes for ARC?
ios objective-c automatic-ref-counting objective-c-blocksSo I'm developing my first iOS application and I need help.. Simple program for now, I have about 9 buttons and …
objective-c xcode ios4 timer delayI'm new to objective-c and I'm starting to put a great deal of effort into request/response as of recent. …
iphone objective-c cocoa-touch json nsurlrequest