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 from Scratch: Optionals and Control FlowPreview image@2x
    176 shares
    In the previous articles, you learned some of the basic concepts of the Swift programming language. If you've programmed before, I'm sure you saw a few similarities with other programming languages, such as Ruby, JavaScript, and Objective-C. In this article, we zoom in on control flow in Swift. Before we can discuss control flow in more detail, we need to take a look at a concept that is new to most of you, optionals. Optionals are another safety feature of Swift. At first, it may look like a hassle to use optionals, but you'll quickly learn that optionals will make your code much safer.Read More…
  • Code
    iOS 2014: A Year in ReviewPreview image@2x
    175 shares
    This time last year, I wrote that 2013 was the most significant year since the introduction of the iPhone. Looking back at 2014, it's clear that I'm going to need to reiterate those words. Apple blew us away with announcements, new technologies, and promises. Let's take a few minutes to look back at 2014.Read More…
  • Code
    Swift from Scratch: Collections and TuplesPreview image@2x
    187 shares
    In the previous article, you learned about variables, constants, and some of the common data types, such as integers, floats, and strings. In this article, we zoom in on collections. Swift's standard library defines two collection types, arrays and dictionaries.Read More…
  • Code
    Swift from Scratch: Variables and ConstantsPreview image@2x
    176 shares
    In the first article of Swift from Scratch, you learned about Xcode playgrounds and wrote your first lines of Swift. In this article, we start learning the fundamentals of the Swift programming language by exploring variables and typing. We will also take a close look at constants and why you're encouraged to use them as much as possible.Read More…
  • Code
    Swift from Scratch: IntroductionPreview image@2x
    341 shares
    In this series, you'll learn everything you need to know about the Swift programming language to get started. You'll start with the very basics to get your feet wet and gradually learn about the more advanced aspects of this brand new programming language, ready to build iOS and OS X applications.Read More…
  • Code
    This Is What You Need to Know About WatchKitPreview image@2x
    51 shares
    In November, Apple did what it promised and released WatchKit to third-party developers. Not only did it release WatchKit, it provided developers with a number of resources, including Human Interface Guidelines for Apple Watch applications. In this article, I will tell you what you need to know about WatchKit and Apple Watch applications.Read More…
  • Code
    iOS 8: Core Data and Asynchronous FetchingPreviewimage@2x
    182 shares
    In the previous article about iOS 8 and Core Data, we discussed batch updates. Batch updates aren't the only new API in town. As of iOS 8 and OS X Yosemite, it's possible to asynchronously fetch data. In this tutorial, we'll take a closer look at how to implement asynchronous fetching and in what situations your application can benefit from this new API.Read More…
  • Code
    iOS 8: Core Data and Batch UpdatesPreviewimage@2x
    127 shares
    Core Data has been around for many years on OS X and it didn't take Apple long to bring it to iOS. Even though the framework doesn't get as much attention as extensions or handoff, it continues to evolve year over year, and this year, with the release of iOS 8 and OS X Yosemite, is no different. Apple introduced a few new features to the Core Data framework, but the most notable are batch updates and asynchronous fetching. Developers have been asking for these features for many years and Apple finally found a way to integrate them into Core Data. In this tutorial, I will show you how batch updates work and what they mean for the Core Data framework.Read More…
  • Code
    Core Data from Scratch: ConcurrencyPreview image@2x
    147 shares
    If you're developing a small or simple application, then you probably don't see the benefit of running Core Data operations in the background. However, what would happen if you imported hundreds or thousands of records on the main thread during the first launch of your application? The consequences could be dramatic. For example, your application could be killed by Apple's watchdog for taking too long to launch. In this article, we take a look at the dangers when using Core Data on multiple threads and we explore several solutions to tackle the problem.Read More…
  • Code
    iOS 8: Beta Testing with TestFlightPreview image@2x
    48 shares
    TestFlight has been around for many years, solving a common problem, distributing iOS applications for beta testing. Earlier this year, Apple acquired Burstly, TestFlight's parent company. During this year's WWDC, Apple showed us what that acquisition meant for iOS developers. Good news, that's for sure. TestFlight has been integrated into iTunes Connect and is now available as a native iOS application on devices running iOS 8. If you plan to make use of Apple's beta distribution platform, then you'll quickly notice that a few things have changed. In this tutorial, you'll learn how easy it is to get started with TestFlight.Read More…
  • Code
    Core Data from Scratch: Subclassing NSManagedObjectPreview image@2x
    131 shares
    Earlier in this series, we created Done, a simple application to learn more about the NSFetchedResultsController class. In that project, we used key value coding (KVC) and key value observing (KVO) to create and update records. This works fine, but from the moment your project has any kind of complexity, you'll quickly run into issues. Subclassing NSManagedObject makes this much easier.Read More…
  • Code
    Setting Up Push Notifications on iOSPreview image@2x
    183 shares
    Apple originally introduced push notifications to enable applications to respond to events if the application isn't running in the foreground. However, the operating system and iOS devices have changed significantly during the past few years and applications don't need to rely solely on push notifications to perform tasks in the background. This doesn't mean that push notifications are no longer useful though. Let me show you how to set up push notifications on iOS in less than ten minutes.Read More…