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.

Present and dismiss modal view controller

Can anyone give me the example code that I can use to first present a modal view controller, then dismiss …

ios objective-c uiviewcontroller modal-view
How to find topmost view controller on iOS

I've run into a couple of cases now where it would be convenient to be able to find the "topmost" …

ios objective-c uiview uiviewcontroller uikit
Easy way to dismiss keyboard?

I have quite a few controls scattered throughout many table cells in my table, and I was wondering if there's …

objective-c cocoa-touch sdk
Objective-C for Windows

What would be the best way to write Objective-C on the Windows platform? Cygwin and gcc? Is there a way …

objective-c windows winapi gcc cygwin
How to convert from int to string in objective c: example code

I am trying to convert from an int to a string but I am having trouble. I followed the execution …

objective-c nsstring int
How do I change the title of the "back" button on a Navigation Bar

Currently the left bar button default value is the title of the view that loaded the current one, in other …

ios objective-c uinavigationbar uinavigationitem
build failed with: ld: duplicate symbol _OBJC_CLASS_$_Algebra5FirstViewController

I am getting this error suddenly when running my app via iPhone simulator: clang: error: linker command failed with exit …

objective-c ios xcode ios5.1
How do you add an action to a button programmatically in xcode

I know how to add an IBAction to a button by dragging from the interface builder, but I want to …

ios iphone objective-c uibutton programmatically-created
Objective-C ARC: strong vs retain and weak vs assign

There are two new memory management attributes for properties introduced by ARC, strong and weak. Apart from copy, which is …

ios objective-c ios5 properties automatic-ref-counting