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.

Convert objective-c typedef to its string equivalent

Assuming that I have a typedef declared in my .h file as such: typedef enum { JSON, XML, Atom, RSS } FormatType; …

c objective-c enums typedef
How to play a local video with Swift?

I have a short mp4 video file that I've added to my current Xcode6 Beta project. I want to play …

ios objective-c swift avplayer avplayerviewcontroller
Understanding ibeacon distancing

Trying to grasp a basic concept of how distancing with ibeacon (beacon/ Bluetooth-lowenergy/BLE) can work. Is there any true …

ios objective-c bluetooth bluetooth-lowenergy ibeacon
What size should TabBar images be?

I have icons for a tabBar of size 100. I checked at Apple's Human Interface Guidelines of 2013 and it says the …

ios objective-c uitabbarcontroller uitabbar uitabbaritem
How do I get the current date in Cocoa

I'm getting started developing for the iPhone and as such I am looking at different tutorials online as well as …

objective-c cocoa nsdate
How do I make UITableViewCell's ImageView a fixed size even when the image is smaller

I have a bunch of images I am using for cell's image views, they are all no bigger than 50x50. …

iphone objective-c uitableview uiimageview uikit
iPhone SDK:How do you play video inside a view? Rather than fullscreen

I am trying to play video inside a UIView, so my first step was to add a class for that …

ios objective-c media-player mpmovieplayer
How do I get hour and minutes from NSDate?

In my application I need to get the hour and minute separately: NSString *currentHour=[string1 substringWithRange: NSMakeRange(0,2)]; int currentHourInNumber=[currentHour …

ios objective-c nsdate hour
Clearing NSUserDefaults

I'm using +[NSUserDefaults standardUserDefaults] to store application settings. This consists of roughly a dozen string values. Is it possible to …

ios objective-c cocoa-touch nsuserdefaults
How do I download and save a file locally on iOS using objective C?

I'm new to Objective-C and I want to download a file from the web (if it was changed on the …

objective-c ios download wget local-storage