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.

Capture image via captureStillImageAsynchronouslyFromConnection with no shutter sound

I am trying to capture an image during a live preview from the camera, by AVFoundation captureStillImageAsynchronouslyFromConnection. So far the …

ios objective-c avfoundation
Difference between objectForKey and valueForKey?

What is the difference between objectForKey and valueForKey? I looked both up in the documentation and they seemed the same …

objective-c cocoa key-value-coding
How to check if a view controller is presented modally or pushed on a navigation stack?

How can I, in my view controller code, differentiate between: presented modally pushed on navigation stack Both presentingViewController and isMovingToParentViewController …

ios objective-c swift uiviewcontroller uinavigationcontroller
How to set a default Value of a UIPickerView

I have a problem with my UIPickerView. I have 3 values in it EU AP and NA. When I start the …

ios objective-c xcode swift uipickerview
Pod install is staying on "Setting up CocoaPods Master repo"

I'm cloning a project from a git repo, but when I execute pod install the first line I see is "…

ios objective-c git cocoapods pod-install
How can I set a UITableView to grouped style

I have a UITableViewController subclass with sections. The sections are showing with the default style (no rounded corners). How can …

ios objective-c uitableview cocoa-touch
Does dispatch_async(dispatch_get_main_queue(), ^{...}); wait until done?

I have a scenario in my app, where I want to do some time consuming task which consists of some …

ios objective-c multithreading grand-central-dispatch dispatch-async
NSDictionary to NSArray?

i have a NSDictionary which looks like: { "Item1" = 2.4; "Item2" = 5.5; "Item3" = 15.6; } To use this NSDictionary Items in a Table View i …

objective-c nsarray nsdictionary
How do you add an in-app purchase to an iOS application?

How do you add an in-app purchase to an iOS app? What are all the details and is there any …

ios objective-c swift cocoa-touch in-app-purchase
Capitalize or change case of an NSString in Objective-C

I was wondering how to capitalize a string found in an object in an NSMutableArray. An NSArray contains the string …

objective-c string cocoa-touch nsstring uppercase