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.

Getting the Value of a UITextField as keystrokes are entered?

Let's say I have the following code: IBOutlet UITextField* nameTextField; IBOutlet UILabel* greetingLabel; I'd like the greetingLabel to read "Hello […

ios objective-c cocoa-touch uitextfield
How to get UITableView from UITableViewCell?

I have a UITableViewCell which is linked to an object and I need to tell if the cell is visible. …

iphone ios objective-c xcode tableview
NSMutableArray addObject not working

I have declared an NSMutableArray *categories in my view controller .h file, and declared a property for it. In the …

objective-c nsmutablearray
How do I create a UIColor from RGBA?

I want to use NSAttributedString in my project, but when I'm trying to set color, which isn't from the standard …

ios objective-c rgb nsattributedstring uicolor
ios crash EXC_BAD_ACCESS KERN_INVALID_ADDRESS

MyApp works well 98% of the time, but sometimes it crashes. It's so random. The crash report shows the following. Thread : …

ios objective-c ios7.1 cfnetwork
How do I make UILabel display outlined text?

All I want is a one pixel black border around my white UILabel text. I got as far as subclassing …

ios objective-c iphone cocoa-touch core-graphics
Allowing interaction with a UIView under another UIView

Is there a simple way of allowing interaction with a button in a UIView that lies under another UIView - …

objective-c ios cocoa-touch
Get an object properties list in Objective-C

How can I get a list (in the form of an NSArray or NSDictionary) of a given object properties in …

objective-c class properties attributes introspection
Generate Random Numbers Between Two Numbers in Objective-C

I have two text boxes and user can input 2 positive integers (Using Objective-C). The goal is to return a random …

objective-c random arc4random
Circular UIImageView in UITableView without performance hit?

I have a UIImageView on each of my UITableView cells, that display a remote image (using SDWebImage). I've done some …

ios objective-c uitableview uiimageview