// archives

macOS

This tag is associated with 61 posts
core-ml-conversion@2x.png

How to Get Core ML Produce Images as Output

Core ML’s tools to convert other framework’s machine learning models is a pretty awesome feat in itself. However it is by no means complete. I found some issues in converting models which outputs images. Issues which took me a few weeks to solve even after many consultations to Google and Apple’s own forums. But here’s […]

machine-learing-illustration@2x.jpg

First Dabbling in Machine Learning

I’ve been toying around with retraining machine learning models — one for generating prose and the other for processing photos and separate objects from its background. Here are some of the challenges I encounter as a total newbie and how I got around it.

[decorative] MacOS developer

Getting Rid of Xcode Command Line Tools

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.

snowflake-identifier@2x.png

Swift Snowflake ID Generator

Make thousands of unique 64 bit identifiers at every millisecond without the need of global synchronization.

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.

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.

How to Design Apps (Even if you’re not a designer)

You want to design apps? You either need to hire a designer or become one. Luckily it isn’t too hard to come up with a reasonable design.

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.

EasyBooks-Add-Ons-Button.png

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.

speech-timer-ios-7.jpg

Speech Timer 2 Lessons Learned

Learn about upgrading your skeuomorphic iOS 6 user interface to iOS 7’s new content-first style, supporting three Apple devices from a single code base, and much more. These are hard lessons learned while I was developing the second version of Speech Timer that you can take advantage of so that you won’t make the same […]

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.

mail.jpg

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

00-iOS-OS-X.png

Tips for Architecting Dual-platform OS X / iOS Applications

How to share common code between OS X and iOS and architect your app to dance around each platform’s similarities and differences.

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!