Get $500+ of the best After Effects files, video templates and music for only $20!

Browsing Tag

Objective-C

Objective-C Categories

Objective-C Categories

Categories provide the ability to add functionality to an object without subclassing or changing the actual object. A handy tool, they are often used to add methods to existing classes, such as NSString or your own custom objects.

iOS SDK: Blocks and Enumeration

iOS SDK: Blocks and Enumeration

In iOS 4, Apple brought Blocks to iOS. Put simply, a block is a variable type that stores executable code. This quick tip will provide a brief, general overview of blocks and teach you how to use them for enumerating over objects.

Building Native iOS Apps with Wax: Creating a Sample Application

Building Native iOS Apps with Wax: Creating a Sample Application

This entry is part 2 of 2 in the series Building Native iOS Apps with Wax

In part one, we learned about what Wax is and what makes it so awesome. Now, in part 2, we are going to step through making a simple application in Wax that displays a list of currently trending topics on Twitter that can be refreshed with a button.

Building Native iOS Apps with Wax: Introduction

Building Native iOS Apps with Wax: Introduction

This entry is part 1 of 2 in the series Building Native iOS Apps with Wax

The idea behind the Wax framework is simple: anything Objective-C can do, Lua can do too! There are a lot of good reasons to consider creating native iPhone applications with a simple and efficient scripting language like Lua, and this tutorial series will dive into the benefits offered by Wax while demonstrating the practical steps necessary to integrate Lua with Xcode 4 and the iOS SDK.

Building an iOS SDK “Poke” App with APNS – Part 2

Building an iOS SDK “Poke” App with APNS – Part 2

This entry is part 2 of 3 in the series Building an iOS SDK "Poke" App with APNS

This tutorial is the second in a three-part series on working with the push notification features of iOS 3.0+. It focuses on how to send notifications to Apple’s Push Notification Service (APNS) via Urban Airship. This installment builds on the things we set up in the last one, so you will want to go and read through that one first to get up to speed if you haven’t already.

Learn Objective-C: Day 6
basix

Learn Objective-C: Day 6

This entry is part 6 of 6 in the series Learn Objective-C

In today’s tutorial, you will learn about Categories and how to use them to extend the functionality of Cocoa-Touch classes. This is our final installment in the Learn Objective-C series, so you will also be provided with a quick recap on what we’ve covered so far and then look at what you can do to further your skills as an Objective-C or iPhone application developer.

Learn Objective-C: Day 5
basix

Learn Objective-C: Day 5

This entry is part 5 of 6 in the series Learn Objective-C

Welcome to part five of this series on Objective-C. Today we’re going to look at memory management, an element of Objective-C (and many other languages) that tends to trip up newer programmers. Most scripting languages (such as PHP) take care of memory managaement automatically, but Objective-C requires that we are careful with our use of memory and manually create and release space for our objects.

Working with Core Data: Schema Versioning and Lightweight Migrations

Working with Core Data: Schema Versioning and Lightweight Migrations

After reading First steps with Core Data, we find ourselves enlightened in the way Core Data works and how it can help us develop data rich applications. However, the surface was only just scratched, and in some applications you might be left wondering how to implement a certain piece of functionality.

Learn Objective-C: Day 2

Learn Objective-C: Day 2

This entry is part 2 of 6 in the series Learn Objective-C

Welcome to part two of this introductory series on Objective-C. After spending last week reviewing the fundamentals of the C language upon which Objective-C is built, this week we will transition to focusing on what makes Objective-C such a great language for software development. Specifically, we will discuss the fundamentals of Object Oriented Programming (OOP) and demonstrate how to create a class and send messages to objects in Objective-C.

Learn Objective-C: Day 1
basix

Learn Objective-C: Day 1

This entry is part 1 of 6 in the series Learn Objective-C

Welcome to my series on coming to grips with the awesome language that is Objective-C. Throughout this small series of articles, my aim is to take you from no prior experience with Objective-C to using it confidently in your own applications. This isnʼt a rush job – so donʼt expect to just skim through the basics and be away – weʼll be going through not just the bare essentials, but also the best practices you can apply to ensure your code is the best it can be. Letʼs jump straight in!