Advertisement

Objective-C

Latest Posts
  • 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
    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
    Beyond the Basics of JSONModelId47k preview image@2x
    In the previous article, you learned about the basics of JSONModel. You saw how easy it is to work with JSON using JSONModel and how it does a lot for you behind the scenes, such as data validation and conversion. In this tutorial, you will create a more complex application and you will learn about a number of features that bring even more power to your model classes.Read More…
  • Code
    Mobile Development
    Key-Value Observing with Facebook's KVOControllerPreview image@2x
    If you've ever worked with KVO (Key-Value Observing) in Cocoa, chances are that you've run into various kinds of issues. The API isn't great and forgetting to remove an observer may result in memory leaks or—even worse—crashes. Facebook's KVOController library aims to solve this problem.Read More…
  • Code
    iOS SDK
    Data Persistence and Sandboxing on iOSPreview image@2x
    Persisting data across application launches is a requirement that most iOS applications have, from storing user preferences using the user defaults system to managing large datasets in a relational database. In this article, we'll explore the most common strategies used for storing data in an iOS application. I will also talk about the file system on iOS and how application sandboxing affects data persistence.Read More…
  • Code
    iOS SDK
    Exploring Tab Bar ControllerPreview image@2x
    While navigation controllers let users navigate hierarchical content or complex data by managing a stack of view controllers, tab bar controllers manage an array of view controllers that don't necessarily have a relation to one another. In this article, we will explore tab bar controllers in more detail by creating a tabbed application from scratch.Read More…
  • Code
    iOS SDK
    Navigation Controllers and View Controller HierarchiesPreview image@2x
    Navigation controllers are one of the primary tools for presenting multiple screens of content with the iOS SDK. This article will teach you how to do just that.Read More…
  • Code
    iOS SDK
    First Steps with UIKitPreview image@2x
    UIKit is the framework that you'll find yourself use most often when developing iOS applications. It defines the core components of an iOS application, from labels and buttons to table views and navigation controllers. In this article, not only will we start our exploration of the UIKit framework, we will also explore the internals of an iOS project and the basic building blocks of iOS applications.Read More…
  • Code
    iOS SDK
    Exploring the Foundation FrameworkPreview image@2x
    The Foundation framework is the bread and butter in the toolbox of an iOS developer. It provides the NSObject root class and a large number of fundamental building blocks for iOS development, from classes for numbers and strings, to arrays and dictionaries. The Foundation framework might seem a bit dull at first, but it harnesses a lot of power and is indispensable when developing iOS applications.Read More…
  • Code
    iOS SDK
    Getting Started with Objective-CPreview image@2x
    With the basics of C still fresh in your memory, it is time to become familiar with Objective-C. The key difference with C is that Objective-C is an object oriented programming language, whereas C is a procedural programming language. This means that we first need to understand objects and how they relate to classes. Other key concepts that we will explore in this article are object messaging, encapsulation, and inheritance.Read More…
Advertisement
Advertisement