Advertisement

Xcode

Latest Posts
  • Code
    Core Data
    Core Data from Scratch: More NSFetchedResultsControllerPreview image@2x
    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
    Mobile Development
    An Introduction to Swift: Part 2Preview image@2x
    In the first article of this introductory series on Swift, we talked about Swift's philosophy, took a first look at its syntax, and highlighted a few key differences with Objective-C. In this article, we continue our exploration of Swift's syntax. You'll also learn about optionals and see how memory management works in Swift.Read More…
  • Code
    Mobile Development
    Core Data from Scratch: NSFetchedResultsControllerPreview image@2x
    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
    Mobile Development
    An Introduction to Swift: Part 1Preview image@2x
    At WWDC 2014, Apple has introduced one of the biggest updates to iOS since 2008 from a developer's point of view. They introduced HomeKit, HealthKit, CloudKit, and Extensions, just to name a few. But the biggest surprise out of WWDC 2014 was the introduction of a brand new programming language, Swift. Swift is a wonderful programming language that has been built from the ground up to be efficient and safe. It uses the same APIs that Objective-C does. Or, what you can do in Objective-C, you can do in Swift. It also introduces some new concepts longtime programmers will appreciate and some of which I will cover in this introductory series on Swift.Read More…
  • Code
    Mobile Development
    Core Data from Scratch: Relationships and More FetchingPreview image@2x
    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
    Mobile Development
    Core Data from Scratch: Managed Objects and Fetch RequestsPreview image@2x
    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
    Mobile Development
    Animated Components with UIKit Dynamics: Part 2Preview image@2x
    In the first tutorial of this short series on UIKit Dynamics, we learnt the basics of the API by creating an animated menu component. In this tutorial, we'll continue working on our project and implement another animated component, a custom alert view.Read More…
  • Code
    Mobile Development
    Getting Started with Auto Layout in Xcode 5Auto layout preview image
    When creating your application's user interface, you need to be aware of how it will look in portrait and landscape and on different screen sizes. And now that users can change the text size on their devices, you also need to take into consideration how this may affect the layout of the application's user interface. Creating flexible user interfaces has become necessary. Auto Layout helps with this task by defining the relationships between user interface elements.Read More…
  • Code
    Mobile Development
    Animated Components with UIKit Dynamics: Part 1Preview image@2x
    UIKit Dynamics is a brand new API that was introduced in iOS 7. Its purpose is to allow developers to add realistic animated effects to their applications in a very simple and straightforward fashion. In this tutorial, you'll learn about the basics of UIKit Dynamics through a number examples. In the first part, we'll create an animated menu with a focus on reusability.Read More…
  • Code
    Mobile Development
    WWDC 2014 AftermathPreview image@2x
    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…
  • Code
    Mobile Development
    Having Fun with YOLOKitPreview image@2x
    Enumerating collections in Objective-C is often verbose and clunky. If you're used to Ruby or worked with Underscore or Lo-Dash in JavaScript, then you know there're more elegant solutions. That is exactly what the creators of YOLOKit thought when they created this nifty library. YOLOKit's tagline is Enumerate Foundation delightfully and they mean it.Read More…
  • Code
    Mobile Development
    Core Data from Scratch: Data ModelPreview image@2x
    In the first article of this series, we learned about the Core Data stack, the heart of a Core Data application. We explored the managed object context, the persistent store coordinator, and the managed object model. This article focuses on the data model of a typical Core Data application. We zoom in on Xcode's data model editor and we take a look at entities, attributes, and relationships.Read More…
Advertisement
Advertisement