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.

When to use UICollectionView instead of UITableView?

I found that UICollectionView is like an upgraded version of UITableView introduced in iOS6, but when should I choose UICollectionView …

ios objective-c uitableview uicollectionview
iPhone: Show modal UITableViewController with Navigation bar

I am showing a modal view which is a UITableViewController class. For some reason it won't show the navigation bar …

iphone objective-c ios uitableview
Get Exif data from UIImage - UIImagePickerController

How can we get Exif information from UIImage selected from UIImagePickerController? I had done much R&D for this …

iphone objective-c ipad exif
Pointer is missing a nullability type specifier

In Xcode 7 GM I started to get this warning: Pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_…

ios objective-c objective-c-nullability
How to make a real private instance variable?

I want to make an instance variable that can't be accessed from outside. Is something like that possible in objective-c? …

objective-c private visibility instance-variables
How to hide/show UIView with animation in iPhone

I want to show UIView after button pressed with animation,I can show the view but I am unable to …

ios objective-c uiview uiviewanimation
Pixel Width of the text in a UILabel

I need to draw a UILabel striked through. Therefore I subclassed UILabel and implemented it as follows: @implementation UIStrikedLabel - (…

iphone objective-c uilabel
NSTimeInterval to HH:mm:ss?

If I have an NSTimeInterval that is set to say 200.0, is there a way to convert that into 00:03:20, I was …

iphone objective-c cocoa-touch
How to check if UILabel is truncated?

I have a UILabel that can be varying lengths depending on whether or not my app is running in portrait …

ios objective-c iphone uilabel truncate
Why linker link static libraries with errors? iOS

I have a problem with linking my mixed language framework to a project. 1) I create a framework with Swift and …

ios objective-c swift static-libraries static-linking