iOS Development is easy with XCode, Swift3, UITableView, cocatouch, let's build iPhone, iPad and Macbook Applications.

iOS6 UDID – What advantages does identifierForVendor have over identifierForAdvertising?

Apple is changing their privacy settings for iOS6 and deprecating device UUIDs (UDIDs). According to a WWDC presentation and the docs there are two replacements for the UDIDs, both in the UIDevice class: -identifierForVendor ID that is identical between apps from the same developer. Erased with removal of the last app for that Team ID. […]

Place images along a bezier path

Does anyone know how to place images along a bezier path? I can write the path fine and animate a sprite along the path but I want to make the path a series of arrows instead of dotted lines. I assumed there must be a way to add arrow images all along the path but […]

iOS: Using device modifiers for loading xib files?

You can use a device modifier (i.e., ~ipad) to provide a device-specific key in Info.plist, and to specify a device-specific launch image (Default.png for iPhone, and Default~ipad.png for iPad, for example). Those two things are specifically mentioned in Apple Docs, but they don’t say that this will work for any other kinds of files. I’ve […]

Combine static and prototype content in a table view

Is there a way to combine static tableview cells (static content) with dynamic tableview cells (prototype content) using storyboard?

How to convert HEX to NSString in Objective-C?

I have a NSString with hex string like “68656C6C6F” which means “hello”. Now I want to convert the hex string into another NSString object which shows “hello”. How to do that ?

Restore already bought in-app-purchases on iPhone?

I got so far: After a reinstall, a user needs to click “buy feature”, then he gets scared with the $0.99 question, then has to login and then gets told the feature is already bought and he gets it for free. I know apple is a religion and users are strong believers, but isn’t there […]

What is the difference between Pan and Swipe in iOS?

Sounds simple .. Hold the Trackpad, move the finger, release .. But somehow swipe is not being triggered (pan is triggered instead) UISwipeGestureRecognizer *swipeGesture = [[UISwipeGestureRecognizer alloc] initWithTarget:v action:@selector(handleSwipe:)]; swipeGesture.direction= UISwipeGestureRecognizerDirectionUp; [v addGestureRecognizer:swipeGesture]; Pan is recognized by the above sequence instead. UIPanGestureRecognizer *panGesture = [[UIPanGestureRecognizer alloc] initWithTarget:v action:@selector(handlePan:)]; [v addGestureRecognizer: panGesture]; If pan is commented, […]

How to create radio buttons and checkbox in swift (iOS)?

I am developing an app that allows to do survey. My layout is generated from XML based questions. I need to create radio buttons (single choice) and checkboxes (multiple answers). I did not find anything useful for swift. Does anyone have an idea?

IPv6 App Store Rejection

Our update has been rejected twice today for ipv6 network connectivity issues. Our networking code has not changed between the previous release and this current release. The app only makes https network requests to, which is correctly configured for ipv6 [0] and runs behind route53 on AWS. There are no hard-coded IP addresses in […]

What's the difference between “Architectures” and “Valid Architectures” in Xcode Build Settings?

What’s the meaning of them and can I set them in different values?