Fresh macOS setup
Dec 19, 2020, 3:00 AM
Ever since I first got my MacBook Pro in 2006, I have always upgraded macOS versions. Even when switching from one MBP to another. Few times I wanted to start fresh and each time I was too lazy to do it. Getting a desktop machine was...
Oct 3, 2020, 1:49 PM
As I wrote previously, I planned to buy iMac 27in whenever Apple refreshed it. They did and the config that worked for me is the base 27in model with 8-core CPU and 1TB SSD (I planned to upgrade memory myself). That configuration is...
Improving fairness and viability of the App Store for developers
Jul 30, 2020, 3:49 AM
Much have been spoken and written about the Hey app’s (temporary) rejection from the App Store. As predicted and expected, the high public profile of this particular David has forced the Goliath to yield a significant ground.
Recommended Apple 2020 notebook configurations
May 10, 2020, 9:01 AM
I’ve been using Apple notebooks since 2006. In that time span, I used 4 different models but realistically only 3 of them for real long-term usage.
I bought 15-inch MacBook Pro models in 2006, 2011 and 2016. These were all top models at...
How and when to use KVO in Swift and UIKit
May 4, 2020, 8:00 AM
Part of large code re-factoring we do in recent months is replacing a very old custom sliding pages implementation with straight-forward UIScrollView with isPagingEnabled set to true. It’s a complex piece of UI, with 3 to 8 embedded...
Mac hardware options for indie devs, Spring 2020
Apr 25, 2020, 8:44 AM
My adventure into Hackintosh land was successful but ultimately fruitless for my work as iOS/watchOS/tvOS developer using Xcode.
It does not look like this is something that will be resolved anytime soon, if ever. By all accounts, OpenCore...
Coordinator pattern in iOS 13 world
Apr 14, 2020, 7:20 AM
Before iOS 13, structure of an iOS app was really simple and straightforward:
· unowned(unsafe) open var delegate: UIApplicationDelegate?
⤷ ② AppDelegate
· var window: UIWindow?
· ③ open var...
No headache: auto layout tips in Interface Builder
Mar 28, 2020, 8:01 AM
I wrote previously how to setup your main views so that embedding properly respects safe areas on whatever device it’s being run on.
The key thing: setup inner constraints towards VC.view to use superview margins. Easiest way to do this is...
Building a PC, in a year 2020
Feb 23, 2020, 7:32 AM
This started fairly innocuously. On my regular YouTube crawling through videos related to espresso craft, its algorithm somehow suggested this video of someone building their Hackintosh. Nothing unusual per-se but it intrigued me due to...
How-to: USB mapping for OpenCore
Feb 8, 2020, 11:42 PM
With the problem of USB mapping explained in the previous article, now we need to see how to workaround it. The ultimate goal is to have all the available ports that we want working, as both USB 2.0/3.0.
There are some interesting...
Why you need to care about USB mapping
Feb 8, 2020, 11:32 PM
This was the most infuriating part of Hackintoshing for me. There are so many outdated, confusing, incomplete and downright wrong articles and forums posts, it beggars belief. Even for Intel-based Hacks, let alone AMD ones.
Main issue is...
Network and Audio setup with OpenCore
Feb 8, 2020, 11:22 PM
Setting up network & audio interfaces can be anything between trivial and impossible.
My ASRock X570 board has Intel’s I211AT Ethernet (LAN) controller. Some good soul wrote appropriate .kext for that controller, link...
OpenCore base setup
Feb 8, 2020, 11:12 PM
Starting point is the OpenCore Vanilla desktop guide. Vanilla means that there is more or less nothing pre-made for you. Each build will be uniquely suited for the given hardware and you’ll see immediately why, in first steps below.
Getting ready to build Hackintosh using OpenCore
Feb 8, 2020, 11:02 PM
Do you know what Hackintosh is? In short:
Building a PC computer using off-the-shelf parts capable of running macOS. Then actually tricking macOS to install and run.
When I got the idea to attempt this, I was a complete noob. Utter and...
Feb 2, 2020, 9:02 AM
I’ve built myself Hackintosh with AMD Ryzen 5 CPU in small form factor (SFF) case. This is future-proof, expandable computer that can rival any Mac mini (late 2018) configuration for far less money.
It’s perfectly usable for iOS...
Proper embedding in the world of increasingly diverse safeAreaInsets
Jan 20, 2020, 12:29 PM
I wrote about embedding child view controllers before; it’s a topic that’s really dear to me. Employed properly, it helps to nicely compartmentalize complex UIs. This was the final recommended approach:
Jan 10, 2020, 4:51 AM
John Siracusa and Lee Fyock published little utility app called Front and Center, which brings back classic Mac’s window management behavior in one particular aspect: when you tap one window of particular app, all its windows come to the...
The travails of multi-core in Apple desktop land
Jan 7, 2020, 4:39 PM
As someone running a contracting agency, I have an opportunity to work on some fairly large projects. They involve a fair number of dependencies (which I am constantly trying to minimize) which lower initial development time. I pay for...
Alley, automatic retries for any URLSessionDataTask
Dec 11, 2019, 1:06 PM
On my perpetual path of removing the oft-repeated boilerplate from each project I tackle, I’ve built a really small wrapper around URLSessionDataTask to implement one feature that’s always requested at some point: automatic request...
Run Windows 10 from USB-C / T3 SSD, on modern Macs
Nov 30, 2019, 7:12 AM
In the last few years or so, I did not need to run Windows in my VMWare. I even forgot I have that Windows 10 installation. I simply did not have time to play any games nor did I need it for anything else, not even for work stuff (the...
Interface Builder is declarative too. Where’s the love?
Nov 2, 2019, 6:48 AM
I’ve long been the proponent of using Interface Builder exclusively for the layout, in iOS apps. It always felt as the most natural way to build UI components: you tuck and nip stuff around while always having the result rendered in front...
SwiftUI for UIKit developers
Oct 12, 2019, 1:48 PM
Note: slides for this talk are available at SpeakerDeck.
Video of the talk is available on PragmaConf’s YouTube channel.
Introduction of SwiftUI at this year‘s WWDC was surprise for, I believe, just about anyone. Many expected something...