Swift Optionals and String Interpolation
Ole Begemann: Do you know this problem? You want to display an optional value in the UI or log it to the console for debugging, but you don’t like the default string conversion for optionals, which...
View ArticleThe Slowness of Archive Utility
Rob Griffiths: Not only is this randomly-resizing dialog box visually annoying, it turns what should be a super-fast process into one that takes a ridiculous amount of time. The end result is that...
View ArticleMaking Sense of Color Management
A Book Apart: Get clarity in the tricky endeavor of managing colors from initial design to final product. Learn why colors shift, the science behind the human eye and color profiles, and how to set up...
View ArticleMethod Dispatch in Swift
Brian King: Compiled programming languages have three primary methods of dispatch at their disposal: direct dispatch, table dispatch, and message dispatch, which I explain below. Most languages support...
View ArticleHow to Do XCTestCase tearDown Wrong (and Right)
Jon Reid (via Natasha Murashev): In other words, it builds up the entire set of XCTestCase instances before running a single test. […] setUp and tearDown were invented because the entire collection of...
View ArticleSuper Mario Run
Andrew Webster: Now Nintendo is finally moving with them. Next week will see the launch of Super Mario Run on iPhone and iPad (an Android version is coming later), marking the first proper...
View ArticleiOS App Rejected for Using Pre-selected RSS Feeds
Mike Rundle: Now I know what was taking so long. Rejected because I use… public RSS feeds like 100 other apps. Thanks, Apple. Well, Apple denied my appeal. Interesting (simple news app with...
View ArticleHow to Unit Test Private Methods in Swift
Bart Jacobs: While access control is a very welcome addition with many benefits, it can complicate unit testing, especially if you are new to unit testing. You probably know that you can apply the...
View ArticleAccidentally Quadratic Rust Hash Tables
Accidentally Quadratic: I enjoy this bug for at least two reasons: One, it’s fun technically, allowing us to take a brief deep dive into hash-table implementation – something most of us are normally...
View ArticleWhich Macs Are People Using?
I’ve been thinking about the Mac lineup lately. When will Apple updates its desktop computers? And, when it does, should I switch back to using a desktop as my primary computer? There’s been a lot of...
View ArticleMac Users Switching to Surface
Brian Hall (9to5Mac, MacRumors, Hacker News): Our team gets so excited about meeting new Surface users and hearing their feedback, and we get to meet a lot more this holiday season! From Surface Pro,...
View ArticleSourcery: Template-Based Code Generation for Swift
Krzysztof Zabłocki (tweet): Swift is a beautiful language that powers a lot of great iOS apps. Unfortunately it features very limited runtime and no meta-programming features. This has led our projects...
View ArticleThe Opportunity of Swift on the Server
Stephan Knitelius (via Chris Lattner): Java and other languages that compile to Java byte code run on the JVM. In a world of Docker containers the JVM is just yet another layer eating up resources. The...
View ArticlemacOS 10.12.2 Removes Battery Time Remaining Estimate
Jim Dalrymple (MacRumors, Hacker News, 9to5Mac, Slashdot): Some users have reported problems with battery life, but Apple told me that after a lot of testing they stand behind the 10 hour battery life...
View ArticleUber Whistleblower on Location Privacy
Will Evans (via Christopher Soghoian, Hacker News): “Uber’s lack of security regarding its customer data was resulting in Uber employees being able to track high profile politicians, celebrities, and...
View ArticleThe Discrete GPU and You
Chris Liscio: The combination of a dGPU and lower-capacity battery means that the practical battery life of these machines gets cut in half (or worse) when the dGPU is active. I’m not sure that...
View ArticleEvernote Privacy Policy
Evernote (via Ragnar Tørnquist, Rob Price, Hacker News): To get there, Evernote data scientists need to do spot checks as they develop the technology. If you choose to participate, they’ll see random...
View ArticleThe Businesses Apple Has Left Behind
Stephen Hackett: This year, Apple has exited the external display business and is rumored to be discontinuing its AirPort wireless routers. These developments have left a bad taste in many users’...
View ArticleeBay Is for Suckers
Matthew Sag (via Jeff Atwood): The wonderful thing about eBay when it first arrived was that it freed so many people from the tyranny of small markets. eBay provided a marketplace where trust was built...
View ArticlemacOS 10.12.2 Impedes Safari Bookmarklets
Daniel Jalkut: Safari Bookmarklets that invoke a custom scheme yield a warning like this in 10.12.2. There’s a Cancel/Allow confirmation alert each time you invoke the bookmarklet, even multiple times...
View Article