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
    Design Patterns: SingletonsPreview image@2x
    142 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
    157 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
    132 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
    111 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
    119 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
    147 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…
  • Code
    Quick Tip: Enumerations in SwiftPreview image@2x
    112 shares
    Enumerations are a common design pattern in many programming languages. While you may be familiar with enumerations in C and Objective-C, Swift's implementation of enumerations is significantly more powerful and flexible. In this quick tip, you'll learn what's special about enumerations in Swift, how to use them in your projects, and what makes them so powerful.Read More…
  • Code
    Swift from Scratch: An Introduction to Classes and StructuresPreview image@2x
    147 shares
    In the previous articles of this series, we covered the basics of the Swift programming language. If you followed along, you should now have a solid understanding of variables, constants, functions, and closures. It's now time to use what we've learned so far and apply that knowledge to the object-oriented concepts of Swift.Read More…
  • Code
    Swift from Scratch: ClosuresPreview image@2x
    122 shares
    If you've worked with blocks in C/Objective-C or lambdas in Ruby, then you won't have a hard time wrapping your head around the concept of closures. Closures are nothing more than blocks of functionality that you can pass around in your code. In this article, you will learn everything you need to know about closures to get you started.Read More…
  • Code
    Swift from Scratch: Function Parameters, Types, and NestingPreview image@2x
    140 shares
    In the previous article, we explored the basics of functions in Swift. Functions, however, have a lot more to offer. In this article, we will continue our exploration of functions and look into function parameters, nesting, and types.Read More…