// archives

Programming

This category contains 50 posts
How to safely try out Apple's new machine learning libraries without bricking your main machine. Goodbye beta blues, hello new ideas!

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!

handshake-car@2x.jpg

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

Speech Timer Touch Bar

Touch Bar Programming 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.

malabar-giant-squirrel@2x.jpg

Should You do Free Work to Get Hired?

Have you been asked to do a sample project as part of a hiring process? I’ve done it, not only once but **twice** as part of the same process. Here are those projects. You should be able to learn a thing or two from it Either learn the iOS programming techniques behind these two 40-hour […]

security-dream.jpg

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.

git-scm.jpg

How To Use Your Network Drive as a Git Server

Do you know that WD My Cloud EX2 can serve as a git server for a small team? Now you do and here’s how you can set it up.

apache-xcode.png

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.

Screen-Shot-2014-09-25-at-11.20.24-am.png

The Downside of Using TimerTask with Handler in a Multithreaded Application

I would like to discuss on the downside of using TimerTask with Handler in a multithreaded application for Android, and why using IntentService along with TimerTask is a good idea.

Integrating iAd with Cocos2D

How to incorporate iAd to your Cocos2D director view.

yellow-thing.jpg

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.

Reduce Programming Pain

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.

icloud-core-data-sync.png

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.

cloud-sync.png

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.

spy-briefcase.jpg

Reverse-Engineering iCloud Keychain

Ever wonder how iCloud Keychain or 1Password works? Wonder no more.

Free Updates!

Learn how to grow your indie business while keeping your day job.

Categories

Archives

Keep updated!

Don't miss out on new articles!