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.

iPhone keyboard, Done button and resignFirstResponder

This is probably a dumb question, but I can't find the answer in the docs. Did the "Done" button on …

iphone objective-c cocoa-touch keyboard uikit
Append data to a POST NSURLRequest

How do you append data to an existing POST NSURLRequest? I need to add a new parameter userId=2323.

ios objective-c nsurlrequest
Can not change UILabel text color

I want to change the UILabel text color but I can't change the color, This is how my code looks …

objective-c uilabel uicolor
Using a BOOL property

Apple recommends to declare a BOOL property this way: @property (nonatomic, assign, getter=isWorking) BOOL working; As I'm using Objective-C 2.0 …

objective-c ios properties
Objective-C - Remove last character from string

In Objective-C for iOS, how would I remove the last character of a string using a button action?

ios objective-c string cocoa cocoa-touch
How to check if NSString begins with a certain character

How do you check if an NSString begins with a certain character (the character *). The * is an indicator for the …

objective-c nsstring
Round double value to 2 decimal places

I have a double value as 22.368511 I want to round it to 2 decimal places. i.e. it should return 22.37 How …

iphone objective-c cocoa-touch
ViewDidAppear is not called when opening app from background

I have a View Controller in which my value is 0 (label) and when I open that View Controller from another …

ios objective-c iphone xcode swift
How to embed small icon in UILabel

I need to embed small icons ( sort of custom bullets ) to my UILabel in iOS7. How can I do this …

ios objective-c cocoa-touch ios7 textkit
iPad Multitasking support requires these orientations

I'm trying to submit my universal iOS 9 apps to Apple (built with Xcode 7 GM) but I receive this error message …

ios objective-c iphone xcode ipad