Bart Jacobs
Bart Jacobs runs Code Foundry, a mobile and web development company based in Belgium. Bart is also the managing editor of Mobiletuts+.
Tutorials
  • Code
    iOS 8: Core Data and Batch UpdatesPreviewimage@2x
    106 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
    122 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
    117 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
    130 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
    170 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…
  • Code
    10 Xcode Plugins for iOS DevelopmentPreview image@2x
    320 shares
    A proper plugin architecture can mean all the difference for an integrated development environment. Sublime Text and TextMate are great examples. Did you know that Xcode also supports plugins? It wouldn't surprise me if you don't, Apple hasn't put much effort into advertising that part of Xcode. In fact, there is very little documentation available to create plugins for Xcode. Fortunately, this hasn't stopped developers from creating plugins for Xcode.Read More…
  • Code
    Core Data from Scratch: MigrationsPreview image@2x
    105 shares
    In the previous articles of this series, we've encountered an annoying issue that we need to address. Whenever we modify the data model of a Core Data application, the persistent store becomes incompatible with the data model. The result is a crash on launch, rendering the application unusable, a serious problem if this happens to an application in the App Store. In this article, we aim to solve this issue by leveraging Core Data migrations.Read More…
  • Code
    Core Data from Scratch: More NSFetchedResultsControllerPreview image@2x
    109 shares
    In this tutorial, we continue our exploration of the NSFetchedResultsController class by adding the ability to update and delete to-do items. You'll notice that updating and deleting to-do items is surprisingly easy thanks to the groundwork we laid in the previous tutorial.Read More…
  • Code
    Core Data from Scratch: NSFetchedResultsControllerPreview image@2x
    146 shares
    In the previous installments of this series, we covered the fundamentals of the Core Data framework. It's time we put our knowledge to use by building a simple application powered by Core Data. In this tutorial, we'll also meet another star player of the Core Data framework, the NSFetchedResultsController class. The application that we're about to create manages a list of to-do items. With the application, we can add, update, and delete to-do items. You'll quickly learn that the NSFetchedResultsController class makes this very easy to do.Read More…
  • Code
    Core Data from Scratch: Relationships and More FetchingPreview image@2x
    72 shares
    In the previous article, we learned about NSManagedObject and how easy it is to create, read, update, and delete records using Core Data. However, I didn't mention relationships in that discussion. Aside from a few caveats you need to be aware of, relationships are just as easy to manipulate as attributes. In this article, we will focus on relationships and we'll also continue our exploration of NSFetchRequest.Read More…
  • Code
    Core Data from Scratch: Managed Objects and Fetch RequestsPreview image@2x
    48 shares
    With everything about Cora Data data models still fresh in your mind, it's time to start working with Core Data. In this article, we meet NSManagedObject, the class you'll interact with most when working with Core Data. In this tutorial, you'll learn how to create, read, update, and delete records. You'll also get to know a few other Core Data classes, such as NSFetchRequest and NSEntityDescription.Read More…
  • Code
    WWDC 2014 AftermathPreview image@2x
    63 shares
    WWDC is like Christmas for Cocoa developers, and this is certainly true for this year's edition due the scarcity of leaks and rumors leading up to the conference. Even though we're all curious to hear what Apple has in store for everyone loving Apple, the keynote is much more fun when you have no clue what's about to be announced, like this year. If you've seen Tim Cook's keynote, then I'm sure you agree that Apple surpassed everyone's expectations. Let's take a few minutes to summarize what Apple has announced, what it means for developers, and what you can expect later this year.Read More…