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 can I import Swift code to Objective-C?

I have written a library in Swift and I wasn't able to import it to my current project, written in …

objective-c import swift
How to load local html file into UIWebView

I'm trying to load a html file into my UIWebView but it won't work. Here's the stage: I have a …

ios objective-c iphone cocoa-touch uiwebview
Detect if the device is iPhone X

My iOS app uses a custom height for the UINavigationBar which leads to some problems on the new iPhone X. …

ios objective-c iphone iphone-x
How to deselect a selected UITableView cell?

I am working on a project on which I have to preselect a particular cell. I can preselect a cell …

ios objective-c iphone uitableview interface-builder
Determine device (iPhone, iPod Touch) with iOS

Is there a way to determine the device running an application. I want to distinguish between iPhone and iPod Touch, …

ios objective-c iphone ipod-touch
How to hide UINavigationBar 1px bottom line

I have an app that sometimes needs its navigation bar to blend in with the content. Does anyone know how …

ios objective-c swift ipad uinavigationbar
How to print Boolean flag in NSLog?

Is there a way to print value of Boolean flag in NSLog?

ios objective-c cocoa-touch
@property retain, assign, copy, nonatomic in Objective-C

As someone that's new to Objective-C can someone give me an overview of the retain, assign, copy and any others …

ios objective-c iphone memory-management
Convert NSArray to NSString in Objective-C

I am wondering how to convert an NSArray [@"Apple", @"Pear ", 323, @"Orange"] to a string in Objective-C.

objective-c arrays nsstring nsarray
How to resolve 'unrecognized selector sent to instance'?

In the AppDelegate, I'm alloc'ing an instance defined in a static library. This instance has an NSString property set a "…

objective-c iphone cocoa-touch memory-management static-libraries