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
    Swift 2.0: Exit Early With guardPreview image@2x
    107 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
    145 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
    124 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
    128 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
    144 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
    181 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
    156 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
    133 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…
  • Code
    Swift from Scratch: Access Control and Property ObserversPreview image@2x
    113 shares
    In the previous tutorial, we added the ability to create to-do items. While this addition has made the application a bit more useful, it would also be convenient to add the ability to mark items as done and delete items. That's what we'll focus on in this tutorial.Read More…
  • Code
    Swift from Scratch: Delegation and PropertiesPreview image@2x
    124 shares
    In the previous tutorial, you created your first Swift project in Xcode, a simple to-do application. In this installment of Swift from Scratch, we're going to add the ability to create to-do items. Along the way, you will learn about actions, delegation, and properties.Read More…
  • Code
    Swift from Scratch: Inheritance and ProtocolsPreview image@2x
    148 shares
    While playgrounds are a great tool to play with Swift and learn the language, it's time to move on and create our first Swift project in Xcode. In this article, we're going to create the foundation of a simple to-do application using Xcode and Swift. Along the way, we'll learn more about object-oriented programming and we'll also take a closer look at the integration between Swift and Objective-C.Read More…