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.

What is the difference between #import and #include in Objective-C?

What are the differences between #import and #include in Objective-C and are there times where you should use one over …

objective-c import include
NSString property: copy or retain?

Let's say I have a class called SomeClass with a string property name: @interface SomeClass : NSObject { NSString* name; } @property (nonatomic, …

objective-c cocoa cocoa-touch
How exactly does __attribute__((constructor)) work?

It seems pretty clear that it is supposed to set things up. When exactly does it run? Why are there …

c++ objective-c c gcc
throwing an exception in objective-c/cocoa

What's the best way to throw an exception in objective-c/cocoa?

objective-c cocoa exception-handling
Make UINavigationBar transparent

How do you make a UINavigationBar transparent? Though I want its bar items to remain visible.

ios iphone objective-c uinavigationbar transparency
Xcode/Simulator: How to run older iOS version?

I'm thinking of upgrading to iOS SDK 4.2. But what I'm wondering is if I'll still be able to run the …

ios objective-c iphone xcode ipad
Add animated Gif image in Iphone UIImageView

I need to load an animated Gif image from a URL in UIImageview. When I used the normal code, the …

objective-c iphone uiimageview
Xcode Debugger: view value of variable

My code in a UITableViewController: delegate.myData = [myData objectAtIndex:indexPath.row]; How can I see the values of delegate.myData …

iphone objective-c xcode debugging ios
Async image loading from url inside a UITableView cell - image changes to wrong image while scrolling

I've written two ways to async load pictures inside my UITableView cell. In both cases the image will load fine …

ios objective-c cocoa-touch uitableview
Stop UIWebView from "bouncing" vertically?

Does anyone know how to stop a UIWebView from bouncing vertically? I mean when a user touches their iphone screen, …

ios objective-c iphone uiscrollview uiwebview