Bart Jacobs
Bart Jacobs runs Code Foundry, a mobile and web development company based in Belgium and writes about iOS development on his blog. Bart is also the mobile editor of Tuts+.
Tutorials
  • Code
    Advances in Testing With Xcode 7 and Swift 2Testing@2x
    145 shares
    In the early days of iOS, tools to facilitate testing were not a major focus of Apple's Developer Tools team. This has gradually changed over the years with the introduction of the XCTest framework and, more recently, support for asynchronous and performance testing. With Xcode 7 and Swift 2, Apple is taking another big leap to improve testing in Xcode. In this tutorial, I'm going to walk you through three significant additions that will make testing easier and more enjoyable.Read More…
  • Code
    Apple Tightens Security With App Transport SecurityIos 9@2x
    138 shares
    The importance of and attention for security on the web has increased substantially over the past few years. During this year's WWDC, Apple has made it clear that it plans to lead by example by improving security of its operating systems through a new feature, App Transport Security.Read More…
  • Code
    Swift 2.0: Availability CheckingPreview image@2x
    129 shares
    In this short tutorial, I’d like to focus on Swift’s brand new syntax for availability checking. If you’ve done any amount of iOS or OS X development, then I’m sure you know how tedious it can be to check if a particular API is available on the device your application is running on. In Swift 2, this has become much less of a pain for developers.Read More…
  • Code
    Swift 2.0: Exit Early With guardPreview image@2x
    116 shares
    Does it surprise you that I'm dedicating a tutorial to a simple addition as the guard statement? I hope you'll better understand my excitement at the end of this tutorial. During this tutorial, I hope to convince you that guard is anything but a redundant addition to the Swift programming language.Read More…
  • Code
    iOS 9: Staying Organized with Storyboard ReferencesIos 9@2x
    149 shares
    Even though storyboards have been around since iOS 5, many developers are reluctant to use them in their projects. A typical remark is that storyboards are great for small projects, but fall short for larger projects. Apple has taken this feedback to heart and resolved many common problems by introducing storyboard references. In this tutorial, I will show you what storyboard references are and how they can help you break down your project's user interfaces into manageable pieces.Read More…
  • Code
    iOS Fundamentals: UIAlertView and UIAlertControllerPreview image@2x
    116 shares
    Even if you've only dipped your toes into the world of iOS development, you almost certainly know about UIAlertView. The UIAlertView class has a simple interface and is used to present modal alerts. Apple has deprecated UIAlertView in iOS 8 though. As of iOS 8, it is recommended to use the UIAlertController class to present action sheets and modal alerts. In this quick tip, I will show you how easy it is to transition from UIAlertView to UIAlertController.Read More…
  • Code
    Design Patterns: DelegationPreview image@2x
    130 shares
    The delegation pattern is among the most common patterns in iOS and OS X development. It is a simple pattern that is heavily used by Apple's frameworks and even the simplest iOS application leverages delegation to do its work. In this article, we'll explore delegation and you'll learn how to implement it using Swift and Objective-C.Read More…
  • Code
    Design Patterns: SingletonsPreview image@2x
    145 shares
    Design patterns are often considered a more advanced topic and therefore ignored or overlooked by people new to iOS or OS X development. However, there are a number of design patterns every aspiring iOS or OS X developer will be faced with from day one. The singleton pattern is one such pattern. In this article, we'll take a close look at the singleton pattern by discussing its advantages and disadvantages. You'll also learn how to implement the singleton pattern in Swift and Objective-C.Read More…
  • Code
    Design Patterns: Dependency InjectionPreview image@2x
    183 shares
    Even though dependency injection is a topic that is rarely taught to beginners, it is a design pattern that deserves more attention. Many developers avoid dependency injection, because they don't know what it means or because they think that they don't need it. In this article, I'm going to try to convince you of the value of dependency injection. To do this, I will introduce you to dependency injection by showing you how simple it is in its simplest form.Read More…
  • Code
    Your First WatchKit Application: User InteractionPreview image@2x
    130 shares
    In the previous tutorial, we explored the fundamentals of WatchKit development. We created a project in Xcode, added a WatchKit application, and created a basic user interface. The user interface of our WatchKit application currently displays static data. Unless you live in the desert, that's not very useful for a weather application. In this tutorial, we're going to populate the user interface with data and create a few actions.Read More…
  • Code
    Your First WatchKit Application: User InterfacePreview image@2x
    158 shares
    With the Apple Watch release date set for April, it is time to learn the ropes of Apple Watch development. In this tutorial, you will create your first WatchKit application. Along the way, you will become familiar with the inner workings of a WatchKit application and find out that there are many similarities with iOS development.Read More…
  • Code
    Swift from Scratch: Initialization and Initializer DelegationPreview image@2x
    134 shares
    In the previous installments of Swift from Scratch, we created a functional to-do application. The data model could use some love though. In this tutorial, we're going to refactor the data model by implementing a custom model class.Read More…