Are you being hunted by Xcode command line tools? Have you uninstalled it only to realize that it came back again? If you already have the Xcode installed and really need the full IDE, don’t waste space by having the command line tools installed as well. Here’s how.
Swift Snowflake ID Generator
Make thousands of unique 64 bit identifiers at every millisecond without the need of global synchronization.
Trying Core ML with Swift Playgrounds
How to safely try out Apple’s new machine learning libraries without bricking your main machine. Goodbye beta blues, hello new ideas!
A Swift Promise
Futures/promises are great to coordinate persistence and views to ensure responsiveness in today’s native apps. However bringing thousands of lines of foreign code just to have this small functionality may not be cool. Here’s a hundred-line implementation of futures/promises in Swift 3.1
Touch Bar Design Tips
It’s high time you update your macOS app to support the Touch Bar. You’ll need to have some strategy on how to design your Touch Bar interface – don’t just pour any buttons into it. Here’s some tips on how to work this new hardware.
Is Your Server Ready for iOS 9 and El Capitan?
Apple is enforcing a stronger encryption that applications need to use when connecting to their backends. Is your server secure enough to meet Apple’s standards? Being HTTPS doesn’t necessarily imply that it’s good enough.
Apple’s latest operating system updates – iOS 9 and OS X El Capitan – are enforcing stronger network encryption. This is wonderful for users – however it could mean extra work for developers and system administrators.
In short, applications are strongly encouraged to use HTTPS, TLS 1.2 and perfect forward secrecy. You might be saying to yourself, “We’re already serving through HTTPS, so we’re good.” As it turns out, it may not be that simple. It isn’t for Microsoft and you could be affected as well. Yes, at least one of Microsoft’s web services isn’t yet up to Apple’s security standards as of this writing.
Making Cocoapods Play Nice with Xcode Maven Plugin
If you have to use Maven to build your Xcode projects and lusting to move your dependency management to Cocoapods, here is a relief for you. Read on for a tip on how to get Cocoapods work in a Java-dominated enterprise.
How to Fix Your Five Year Old Cocos2D Game
Some lessons learned when I upgraded AirKill from Cocos2D 0.8 to 3.0. If your game is on a very old version of Cocos2D, you’ll want to read through this to save you some time.
Implementing In-App Purchases for the Mac App Store
Did Apple rejected your app because it is a “trial version”? Are you looking to have an in-app purchase item in your Mac app? Read here to see the correct way to add in-app purchase items for the Mac App Store.
Painless UIAlertView
Have you been using UIAlertView and find it a big hassle just to get a simple Yes/No answer from the user? This could just be the medicine to cure your pain.
Seeding iCloud Core Data Store
Deciding when to pre-populate a Core Data store is a real headache when you need to sync that data store across many devices. However you can learn from my experience and save you the headache that I had to went through.
Introducing the Core Data Controller
Here is a document class replacement for managing your library-style app based on Core Data. All the goodness of NSDocument / UIDocument with just the right functionalities when you don’t need to expose document-management functionality to your users.
Reverse-Engineering iCloud Keychain
Ever wonder how iCloud Keychain or 1Password works? Wonder no more.
Programmatically Sending Rich Text e-mail with Attachments on the Mac
If your users needs a precomposed e-mail with attachments, now you can easily do it on the Mac with a few lines of code