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.

Generate a random alphanumeric string in Cocoa

I want to call a method, pass it the length and have it generate a random alphanumeric string. Are there …

objective-c cocoa string random alphanumeric
How to use a Objective-C #define from Swift

I am migrating a UIViewController class to train a bit with Swift. I am successfully using Objective-C code via the …

objective-c macros swift
iPhone Simulator location

Where on my machine is the iPhone simulator installed? I'm been trying to find where a test application I run …

iphone objective-c ios xcode ios-simulator
NSOperation and NSOperationQueue working thread vs main thread

I have to carry out a series of download and database write operations in my app. I am using the …

ios objective-c multithreading nsoperation nsoperationqueue
How do I implement an Objective-C singleton that is compatible with ARC?

How do I convert (or create) a singleton class that compiles and behaves correctly when using automatic reference counting (ARC) …

objective-c ios singleton automatic-ref-counting
Objective-C formatting string for boolean?

What formatter is used for boolean values? EDIT: Example: NSLog(@" ??", BOOL_VAL);, what is ?? ?

objective-c string nsstring string-formatting
Container View Controller Examples

Can anyone point me to any good examples of creating a Custom View Controller as a Container View Controller? The …

objective-c ios uiviewcontroller ios5
How do I save a UIImage to a file?

If I have a UIImage from an imagePicker, how can I save it to a subfolder in the documents directory?

iphone objective-c ios uiimage
Importing Project-Swift.h into a Objective-C class...file not found

I have a project that was started in Objective-C, and I am trying to import some Swift code into the …

ios objective-c xcode swift xcode6
How to add two NSNumber objects?

Now this must be easy, but how can sum two NSNumber? Is like: [one floatValue] + [two floatValue] or exist a …

objective-c math nsnumber