SwiftUIKitUI — The easy way to write programmatic Auto Layout in SwiftProgrammatic layout in UIKit with Auto Layout is powerful when done well, but it’s way too verbose, overly complicated, and a pain to work…Oct 23, 2022Oct 23, 2022
Three Stocks Hedge Funds Love Right NowLast week I introduced Stock Genius, a brand new iPhone app that tracks and publishes the top holdings of some of the world’s most…Aug 15, 2017Aug 15, 2017
How to copy the 13-F filings of the world’s best hedge fund managersIn 2009, I was a young Portfolio Manager at a large asset management firm. In the middle of a slow trading day, I struck up a conversation…Aug 4, 2017Aug 4, 2017
Published inBetter ProgrammingSwift — Creating a Custom View From a XIB (Updated for Swift 5)How to create a custom view from a XIB using SwiftMay 5, 201745May 5, 201745
Creating a Custom View using a xib in Objective-CCreating a custom view is often easiest in a xib file, where you can easily visualize, layout, and edit the look and feel of what you’re…Apr 10, 20168Apr 10, 20168
Arithmetic on Strings in Objective C: Don’t use Floats — Use NSDecimalNumber!If you’re developing an iOS application, or just learning how to code, there’s a good chance you’re going to have to do the following:Feb 25, 2016Feb 25, 2016
Why is Apple So Cheap?“I don’t make investment decisions based on things I love, otherwise all my money would be invested in ice cream sandwiches”May 1, 20153May 1, 20153