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.

CALayer with transparent hole in it

I have a simple view (left side of the picture) and i need to create some kind of overlay (right …

ios objective-c calayer quartz-core
UITableViewCell checkmark change on select

Am I correct in thinking that to change the checkmark for "on" to "off", I must change the CellAccessoryType between …

objective-c iphone tablecell checkmark
Some questions about Automatic Reference Counting in iOS5 SDK

I'm currently developing an app for iPad. The development started for iOS 4.2 and is now continuing (and I think will …

objective-c ios5 automatic-ref-counting xcode4.2
Objective-C parse hex string to integer

I would like to know how to parse a hex string, representing a number, in Objective-C. I am willing to …

iphone objective-c string parsing hex
Detecting iOS UIDevice orientation

I need to detect when the device is in portrait orientation so that I can fire off a special animation. …

ios objective-c swift orientation uidevice
Check if key exists in NSDictionary is null or not

I did search on how to check if NSDictionary key exists or not and came up with the solution. But …

iphone objective-c nsstring nsdictionary
Can I access the keychain on the iPhone?

This question discusses encrypting data on the iPhone using the crypt() function. As an alternative, is there a keychain on …

iphone objective-c cocoa-touch keychain
Comma-separated string to NSArray in Objective-C

So I have no experience with arrays... But I need to use one to populate a UIPickerView. I am obtaining …

objective-c arrays nsarray csv
Why masksToBounds = YES prevents CALayer shadow?

With the following snippet, I'm adding a drop shadow effect to one my UIView. Which works pretty well. But as …

ios objective-c uiview calayer
Xcode 9 - failed to emit precompiled header

I have a project in Objective-C as well as in swift by taking MyProjectName-Bridging-Header.h and i also configured the …

ios objective-c swift xcode xcode9