NSHipster is a journal of the overlooked bits in Objective-C, Swift, and Cocoa. Updated weekly.

This Week...

Swift Logging

Developed by the Swift on Server community, its benefit isn’t limited to use on the server. Indeed, any Swift code intended to be run from the command line would benefit from adopting SwiftLog.

Continue Reading

Recent Articles

  • Xcode Build Configuration Files

    Software development best practices prescribe strict separation of configuration from code. Learn how you can use xcconfig files to make your Xcode projects more compact, comprehensible, and powerful.

  • Static and Dynamic Callable Types in Swift

    If like most of us, you aren’t tuned into the comings-and-goings of Swift Evolution, Xcode 11.4 is your first exposure to two new additions to the language: key path expressions as functions and callable values of user-defined nominal types.

  • Language Server Protocol

    Apple’s adoption of LSP is arguably the most important decision they’ve made for Swift since releasing the language as open source in 2014. It’s a big deal for app developers, and it’s an even bigger deal for Swift developers on other platforms.

  • Swift Development with Visual Studio Code

    VSCode is a cross-platform text and source code editor from Microsoft, and among the first tools to support Language Server Protocol. With LSP for Swift now shipping in Xcode, it’s a great time to see how this integration works for yourself.

  • Raw​Representable

    Programming is about typing. And programming languages are typically judged by how much they make you type — in both senses of the word.

  • @

    If we were to go code-watching for Objective-C, what would we look for? Square brackets, ridiculously long method names, and @’s.

Recommended Reading

Flight School Guide to Swift Codable
Flight School Guide to Swift Numbers
Flight School Guide to Swift Strings