Ios Application Development

  • Compiling a Mac OS 8 application on macOS Sierra

    In 1999, armed with a brand new copy of Metrowerks Codewarrior and a PowerMac running Mac OS 8.5.1, I wrote a basic implementation of Minesweeper...

  • Using ‘swift package fetch’ in an Xcode project

    Up until now, the Cocoa with Love git repositories have included their dependencies as “git subtrees” where each dependency is copied and statically hosted within...

  • The weirdest subclass I’ve ever written

    Object-oriented programming is losing popularity and some newer programming languages like Go and Rust don’t offer subclassing at all. In Swift, there’s a push for...

  • Looking at Model-View-Controller in Cocoa

    According to Apple’s documentation, the standard pattern for Cocoa applications is called Model-View-Controller. Despite the name, this pattern is quite unlike the original definition of...

  • Statements, messages and reducers

    Common advice when improving the design of a program is to break the programs into small isolated units of functionality so that we can consider...

  • An aside about flatMap and monads

    In the previous article, I used a Swift function named flatMap. There are three kinds of function named flatMap in the Swift standard library but...

  • a Swift wrapper around Auto Layout

    Cocoa’s Auto Layout is an effective constraints system but as an API for “layout”, it leaves a lot to be desired. In most respects, Auto...

  • mikeash.com: Friday Q&A 2015-12-11: Swift Weak References

    Friday Q&A 2015-12-11: Swift Weak References This article is also available in Hungarian (translation by Zsolt Boros). In case you have been on Mars, in...

  • mikeash.com: Friday Q&A 2015-12-25: Swifty Target/Action

    Friday Q&A 2015-12-25: Swifty Target/Action Cocoa’s target/action system for responding to controls is a great system for Objective-C, but is a bit unnatural to use...

  • mikeash.com: Friday Q&A 2016-01-29: Swift Struct Storage

    Friday Q&A 2016-01-29: Swift Struct Storage Swift’s classes tend to be straightforward for most people new to the language to understand. They work pretty much...

Show Buttons
Hide Buttons
Please wait...

Subscribe to our newsletter

Want to be notified when our article is published? Enter your email address and name below to be the first to know.