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.

How do I avoid capturing self in blocks when implementing an API?

I have a working app and I'm working on converting it to ARC in Xcode 4.2. One of the pre-check warnings …

objective-c ios objective-c-blocks automatic-ref-counting
Deep copying an NSArray

Is there any built-in function that allows me to deep copy an NSMutableArray? I looked around, some people say [aMutableArray …

objective-c cocoa-touch cocoa nsarray deep-copy
Replacement for stringByAddingPercentEscapesUsingEncoding in ios9?

In iOS8 and prior I can use: NSString *str = ...; // some URL NSString *result = [str stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding]; in iOS9 stringByAddingPercentEscapesUsingEncoding …

ios objective-c url encoding deprecated
NSURLRequest setting the HTTP header

I need to set the HTTP header for a request. In the documentation for the NSURLRequest class I didn't find …

iphone objective-c cocoa cocoa-touch ios
How to store an image in core data

I'm new to iOS. I've been trying to make an application that will store an image captured from the camera …

ios objective-c core-data
How to reload and animate just one UITableView cell/row?

how can I reload and animate just one cell/row ? Right now i download some files. Everytime a file finished …

objective-c cocoa-touch uitableview animation
Compile, Build or Archive problems with Xcode 4 (and dependencies)

This question has evolved over the past several weeks to cover more general issues with xcode4 (and upgrading projects form …

objective-c compiler-construction xcode4 clang c-preprocessor
What kind of data type is "long long"?

I don't know this type. Is that the biggest one from all? I think it is an integer type, right? …

c objective-c long-long
iOS: Open Source VoIP/SIP Objective-C Code

I have been tasked with investigating the feasibility of writing an iPhone App to access our internal VoIP/SIP systems. …

iphone objective-c open-source voip sip