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.
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.
Swift Snowflake ID Generator
Make thousands of unique 64 bit identifiers at every millisecond without the need of global synchronization.
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.
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.
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.
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 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 mistakes I did.
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.
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
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.
Faster Android Development on the Mac
Debugging on Android can be a pain at times – some of these can be attributed to the architecture of its developer tools. If you find the emulator’s startup time to be too slow for you, there may be a configuration option that you’ve overlooked and can make the emulator a lot fster.