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 @objc in Swift?

In Swift, I see some methods like: @objc private func doubleTapGestureRecognized(recognizer: UITapGestureRecognizer) I was wondering, when to use @objc? …

ios objective-c swift selector private
How to make a Swift String enum available in Objective-C?

I have this enum with String values, which will be used to tell an API method that logs to a …

objective-c swift enums interop
Dismissing the keyboard in a UIScrollView

Alright, I have a couple of UITextFields and UITextViews inside a UIScrollView, and I'd like to set the keyboard to …

ios objective-c swift uiscrollview keyboard
iPhone :UITableView CellAccessory Checkmark

In iPhone App on click of table view cell I want to display Table view cell Accessory type Check mark …

iphone objective-c uitableview ios4
SDWebImage Download image and store to cache for key

Hello I am using the SDWebImage framework in a project and I want to download and cache images, but I …

objective-c uiimage sdwebimage
How to use custom fonts in iPhone SDK?

I Want to implement custom font in my app. So i have added that in my Project Source code. I …

iphone ios objective-c xcode4.2
UISlider that snaps to a fixed number of steps (like Text Size in the iOS 7 Settings app)

I'm trying to create a UISlider that lets you choose from an array of numbers. Each slider position should be …

ios objective-c iphone xcode uislider
iOS check if application has access to microphone

With the introduction of iOS 7, applications have to request microphone access when they want to record audio. How do I …

ios objective-c swift microphone avaudiosession
How does a delegate work in objective-C?

Does anyone know where I can find a good explanation/tutorial of what and how an application delegate works in …

ios objective-c delegates
UISearchbar keyboard search button Action

I'm using UISearchBar when I input text on UISearchBar the keyboard shows. At that time, keyboard return key is "Search". …

iphone objective-c uisearchbar keyboard-events