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.

symbol(s) not found for architecture i386

When trying to compile with Xcode, I am getting the following error: **Ld /Users/doronkatz/Library/Developer/Xcode/DerivedData/iKosher-bphnihrngmqtkqfgievrrumzmyce/…

objective-c ios xcode4
How to Rotate a UIImage 90 degrees?

I have a UIImage that is UIImageOrientationUp (portrait) that I would like to rotate counter-clockwise by 90 degrees (to landscape). I …

ios objective-c uiimage uikit core-graphics
performSelector may cause a leak because its selector is unknown

I'm getting the following warning by the ARC compiler: "performSelector may cause a leak because its selector is unknown". Here's …

ios objective-c memory-leaks automatic-ref-counting
How to hide 'Back' button on navigation bar on iPhone?

I added a navigation control to switch between views in my app. But some of the views shouldn't have 'Back' (…

ios objective-c iphone navigation uinavigationcontroller
Assertion failure in dequeueReusableCellWithIdentifier:forIndexPath:

So I was making an rss reader for my school and finished the code. I ran the test and it …

ios objective-c uitableview
What is the right way to check for a null string in Objective-C?

I was using this in my iPhone app if (title == nil) { // do something } but it throws some exception, and the …

ios objective-c cocoa-touch
Send POST request using NSURLSession

Update: Solution found. You can read it at the end of the post. I'm trying to perform a POST request …

ios objective-c nsurlsession
Best way to define private methods for a class in Objective-C

I just started programming Objective-C and, having a background in Java, wonder how people writing Objective-C programs deal with private …

objective-c cocoa code-completion
UIAlertController custom font, size, color

I am using new UIAlertController for showing alerts. I have this code: // nil titles break alert interface on iOS 8.0, so …

ios objective-c ios8 uialertview uialertcontroller
How to create border in UIButton?

I use custom button in my app named "addButton" and I want to border it with white color how can …

ios objective-c