objc_msgSend's New Prototype
objc_msgSend's New Prototype objc_msgSend's New Prototype Apple's new OSes are out. If you've looked through the documentation, you may have noticed that the prototype for objc_msgSend has changed....
View ArticleFriday Q&A 2018-06-29: Debugging with C-Reduce
Friday Q&A 2018-06-29: Debugging with C-Reduce Friday Q&A 2018-06-29: Debugging with C-Reduce Debugging a complex problem is tough, and it can be especially difficult when it's not obvious...
View ArticleFriday Q&A 2018-04-27: Generating Text With Markov Chains in Swift
Friday Q&A 2018-04-27: Generating Text With Markov Chains in Swift Friday Q&A 2018-04-27: Generating Text With Markov Chains in Swift Markov chains make for a simple way to generate realistic...
View ArticleFriday Q&A 2017-12-08: Type Erasure in Swift
Friday Q&A 2017-12-08: Type Erasure in SwiftFriday Q&A 2017-12-08: Type Erasure in SwiftYou might have heard the term type erasure. You might have even used type-erased types in the standard...
View ArticleFriday Q&A 2017-11-10: Observing the A11's Heterogenous Cores
Friday Q&A 2017-11-10: Observing the A11's Heterogenous CoresFriday Q&A 2017-11-10: Observing the A11's Heterogenous CoresApple's newest mobile CPU, the A11, brings a new level of heterogeneous...
View ArticleFriday Q&A 2017-10-27: Locks, Thread Safety, and Swift: 2017 Edition
Friday Q&A 2017-10-27: Locks, Thread Safety, and Swift: 2017 EditionFriday Q&A 2017-10-27: Locks, Thread Safety, and Swift: 2017 EditionBack in the dark ages of Swift 1, I wrote an article...
View ArticleThe Complete Friday Q&A Volumes II and III Are Out!
The Complete Friday Q&A Volumes II and III Are Out!The Complete Friday Q&A Volumes II and III Are Out!It's finally here! I'm pleased to present The Complete Friday Q&A Volumes II and...
View ArticleFriday Q&A 2017-10-06: Type-Safe User Defaults
Friday Q&A 2017-10-06: Type-Safe User DefaultsFriday Q&A 2017-10-06: Type-Safe User DefaultsIt's fun to re-imagine traditional techniques with a Swift twist. I've implemented a type-safe layer...
View ArticleFriday Q&A 2017-09-22: Swift 4 Weak References
Friday Q&A 2017-09-22: Swift 4 Weak ReferencesFriday Q&A 2017-09-22: Swift 4 Weak ReferencesSoon after Swift was initially open sourced, I wrote an article about how weak references are...
View ArticleThe Best New Features in Swift 4
The Best New Features in Swift 4The Best New Features in Swift 4I'm afraid I once again don't have a Friday Q&A for you today, but I wrote up the best new features in Swift 4 for the Plausible Labs...
View ArticleCorporate Training, NYC Workshop, and Book Update
Corporate Training, NYC Workshop, and Book UpdateCorporate Training, NYC Workshop, and Book UpdateI'm afraid I ran out of time for Friday Q&A this week. Will shoot for next week instead. Instead, I...
View ArticleFriday Q&A 2017-08-25: Swift Error Handling Implementation
Friday Q&A 2017-08-25: Swift Error Handling ImplementationFriday Q&A 2017-08-25: Swift Error Handling ImplementationSwift's error handling is a unique feature of the language. It looks a lot...
View ArticleFriday Q&A 2017-08-11: Swift.Unmanaged
Friday Q&A 2017-08-11: Swift.UnmanagedFriday Q&A 2017-08-11: Swift.UnmanagedIn order to work with C APIs, we sometimes need to convert Swift object references to and from raw pointers. Swift's...
View ArticleFriday Q&A 2017-07-28: A Binary Coder for Swift
Friday Q&A 2017-07-28: A Binary Coder for SwiftFriday Q&A 2017-07-28: A Binary Coder for SwiftIn my last article I discussed the basics of Swift's new Codable protocol, briefly discussed how to...
View ArticleFriday Q&A 2017-07-14: Swift.Codable
Friday Q&A 2017-07-14: Swift.CodableFriday Q&A 2017-07-14: Swift.CodableOne of the interesting additions to Swift 4 is the Codable protocol and the machinery around it. This is a subject near...
View ArticleFriday Q&A 2017-06-30: Dissecting objc_msgSend on ARM64
Friday Q&A 2017-06-30: Dissecting objc_msgSend on ARM64Friday Q&A 2017-06-30: Dissecting objc_msgSend on ARM64We're back! During the week of WWDC, I spoke at CocoaConf Next Door, and one of my...
View ArticleMore Advanced Swift Workshop, and Blog and Book Updates
More Advanced Swift Workshop, and Blog and Book UpdatesMore Advanced Swift Workshop, and Blog and Book UpdatesI'm hoping to resume a regular posting schedule soon, and I wanted to give everybody some...
View ArticleAdvanced Swift Workshop in New York City
Advanced Swift Workshop in New York CityAdvanced Swift Workshop in New York CityI will be holding another one-day workshop on advanced Swift programming in New York City on May 4th. This will be much...
View ArticleAdvanced Swift Workshop in Washington, DC
Advanced Swift Workshop in Washington, DCAdvanced Swift Workshop in Washington, DCI will be holding a one-day workshop on advanced Swift programming in the Washington, DC area on December 12th. If you...
View ArticleGood News, Bad News, and Ugly News
Good News, Bad News, and Ugly NewsGood News, Bad News, and Ugly NewsThe good news is that I'm officially restarting work on The Complete Friday Q&A: Volume II. I got partway into it a while ago and...
View Article