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.

No AVPlayer Delegate? How to track when song finished playing? Objective C iPhone development

I've looked around but I can't find a delegate protocol for the AVPlayer class. What gives? I'm using its subclass, …

ios objective-c iphone avplayer avplayerviewcontroller
UIDatePicker, setting maximum and minimum dates based on todays date

If I have a UIDatePicker, and I wish to set the minimum and maximum date range to be between thirty …

iphone objective-c nsdate uidatepicker
What are the details of "Objective-C Literals" mentioned in the Xcode 4.4 release notes?

I was going through the release notes for Xcode 4.4 and noticed this: LLVM 4.0 Compiler Xcode now includes the Apple LLVM …

objective-c xcode objective-c-literals
Finding distance from RSSI value of Bluetooth Low Energy enabled device

I am working on Bluetooth low energy concept project. I am getting the RSSI value between 1 and 100. As I move …

iphone objective-c ios7 bluetooth-lowenergy
How can I reduce the file size of a video created with UIImagePickerController?

I have an app that allows a user to record a video with UIImagePickerController and then upload it to YouTube. …

objective-c ios video file-upload avfoundation
Add HTTP Header to NSURLRequest

Is there any way to add HTTP header to NSURLRequest object? I used to add them in NSMutableURLRequest using: [request …

iphone objective-c http nsurlrequest
UISwitch in a UITableView cell

How can I embed a UISwitch on a UITableView cell? Examples can be seen in the settings menu. My current …

iphone objective-c cocoa-touch uitableview uiswitch
how to use the progress bar in the iphone app

In my iPhone app I am downloading some data from an FTP server. To show the action I am using …

iphone objective-c ios xcode uiprogressview
Apple Mach-O Linker Warning "Directory Not Found For Option..."

I simply want to rid of the warnings that pop up like these: ld: warning: directory not found for option …

ios objective-c linker-errors linker-warning
UICollection View Adjust Cell Size for Screen Size

Currently i have a collection view which takes up most of my screen at the 3.5 inch screen size.The collection …

ios objective-c constraints uicollectionview uicollectionviewcell