Upcoming and OnDemand Webinars View full list

The Big Nerd Ranch Blog

Machine Learning in iOS Using Core ML

June 11, 2017 | iOS
Core ML is an exciting new framework that makes running various machine learning and statistical models on macOS and iOS feel natively supported. In this tutorial, learn to create a linear regression model in Python and convert it to a format that Core ML understands.
Read More

Using Swift Enumerations Makes Segues Safer

November 10, 2016 | iOS
Swift style encourages developers to use the compiler to their advantage, and one of the ways to accomplish this is to leverage the type system. In many cases, doing so can feel fairly obvious, but working with `UIKit` can be challenging since it often hands you `String` instances to identify view controllers, storyboards and so on. We have received some guidance on this issue in the form of a [WWDC session in 2015](https://developer.apple.com/videos/play/wwdc2015/411/), but it’s a good idea to revisit the problem to continue our practice of thinking Swiftly.
Read More

WWDC 2016: Increased Safety in Swift 3.0

June 15, 2016 | iOS | Mac
Swift 3.0 changes the semantics of `ImplicitlyUnwrappedOptional`, and is even safer than its previous incarnations. What has changed in Swift 3.0 for this type that improves the language’s safety? The answer has to do with improvements in how the compiler infers type information for `ImplicitlyUnwrappedOptional`.
Read More

Protocol-Oriented Problems and the Immutable ‘self’ Error

April 28, 2016 | iOS | Mac
Protocol-oriented programming leverages Swift’s features in a powerful way, but there are practical concerns, like whether you want both value types and reference types to be able to conform, limiting the application and usability of a given protocol. This post provides an example where the developer may want to make this limiting choice, elucidates the tensions in making the decision, and discusses some strategies in moving forward.
Read More

Swift 2.0 Error Handling

July 15, 2015 | iOS | Mac
As my fellow Nerd [Juan Pablo Claude](https://www.bignerdranch.com/about/the-team/juan-pablo-claude/) pointed out in his post on [Error Handling in Swift 2.0](https://www.bignerdranch.com/blog/error-handling-in-swift-2/), the latest iteration of Swift introduces many features, and a new native error handling model is notable among these. While Juan Pablo’s post offered a bit of history and differences between Objective-C and Swift error handling, today I’d like to dive into the differences in error handling between Swift 1.2 and Swift 2.0.
Read More

Not Happy with Your Current App, or Digital Product?

Submit your event

Let's Discuss Your Project

Let's Discuss Your Project