Archive for Tutorials

Adding block callbacks to the Facebook iOS SDK

If you are like me and love using blocks over delegates, then these code snippets will come in handy. After learning about blocks I have come to love to use them, especially using them for callbacks rather than using the old protocol/delegate methodology. These code snippets will allow you to use blocks as callbacks over delegates.
In a previous post Facebook SDK – Posting to User News Feed I showed how to post various types of status’s to the …

July 19th, 2011 Posted by: - posted under:Tutorials - 6 Comments READ MORE

Back To Basics – Getting Set Up For iOS Development

For this tutorial, we are going to discuss the basics of getting set up for developing on the iOS platform. While there are many 3rd party tools that allow you to develop a number of ways, I am only going to discuss the officially supported ones from Apple. That being said, let’s get started.
The Hardware

The first thing you are going to need is an Intel Based Apple Computer running OSX 10.6.6 or better. Hackintosh computers have …

July 18th, 2011 Posted by: (ELC) - posted under:Tutorials - 25 Comments READ MORE

iPhone Development – Back To Basics

Wow, can you believe that it has been almost 3 years since I started iCodeblog!? It seems like just yesterday, That I wrote my very first tutorial in July of 2008. Now, iCodeBlog has multiple authors, hundreds of tutorials, and over 5,000 readers per day!
As you know, a few things (to say the least) have changed since we first launched iCodeBlog in 2008 with the way we develop for the iOS platform. With that being said, …

July 12th, 2011 Posted by: (ELC) - posted under:Articles » Tutorials - 18 Comments READ MORE

Creating Static Libraries For iOS

Today I’m going to show you how to make a static library for iOS. We will make a simple library and use it in a separate project.
What’s a static library
Here is what wiki has to say:
In computer science, a static library or statically-linked library is a set of routines, external functions and variables which are resolved in a caller at compile-time and copied into a target application by a compiler, linker, or binder, producing an object file and …

April 7th, 2011 Posted by: (ELC) - posted under:Tutorials - 39 Comments READ MORE

Facebook SDK – Posting to User News Feed

What the Posts will look like!

Hello, I’m Andy Yanok (Twitter) and I recently finished working on Friended for Facebook.  Many applications use Facebook for posting content from their respective applications, there could be infinite items that a developer would like to post to users feeds whilst using their applications but today we will be focusing on posting a link to a users feed.
In order to get started using the Facebook SDK & API’s you will need to download the latest copy of the …

March 28th, 2011 Posted by: - posted under:Tutorials - 69 Comments READ MORE

Using Git Versioning inside your XCode Project

This tutorial will show you how to automatically fill in CFBundleVersion and CFBundleShortVersionString, when using Git.
This has been tested in Xcode 3.2.5 (Updates for Xcode 4 at the bottom)
Git Setup
First off you need a project that is checked into git, and is also tagged with an initial version number.
If you already have git setup for your project, skip down to XCode Setup
To locally setup up git, without a remote repository, after installing git, issue the following commands
cd into your project …

March 23rd, 2011 Posted by: (ELC) - posted under:Featured » Tutorials - 12 Comments READ MORE

An Introduction to Categories (Part 2 of 2)

Using Categories to enhance models, and get rid of those pesky compiler warnings
Overview
When using Core Data, our model classes are always generated. What happens if we wanted to add a couple utility functions to one of these generated classes? Yep, they would be discarded the next time we auto-generated our model classes. As we discussed in our previous categories post (icodeblog.com), adding a category on one of these generated classes would enable us to add those utility …

February 24th, 2011 Posted by: (ELC) - posted under:Featured » Tutorials - 3 Comments READ MORE

Implementing UITableView Sections from an NSArray of NSDictionary Objects

Screen shot 2010-12-10 at 3.02.09 PM

If you’re working with a remote Web Service, your apps are probably displaying TableViews of objects. As soon as your dataset grows beyond 20 or 30 objects, it’s time to implement sections in your Table View. I’m going to show you how you can do this without too much trouble. In this example, we’ll use an array of dictionary objects (Books) to construct a single ‘sections’ dictionary that will be the basis for our TableView datasource.
Before we …

December 10th, 2010 Posted by: (ELC) - posted under:Featured » Tutorials - 33 Comments READ MORE

An Introduction to Categories (Part 1 of 2)

pie

Overview
Have you ever wished that you could add one, or a couple, additional functions to an Objective-C core class?
Well Apple has thought of this, and they provide a way without extended the class! The way to do this is called a category. A category is a way to enhance an existing class, by adding additional functions to it. The difference between this and extending a class is that when you extend a class, you can add additional functions, as …

November 4th, 2010 Posted by: (ELC) - posted under:Featured » Tutorials - 10 Comments READ MORE

Working with UIGestureRecognizers

apple-multi-touch-gesture-language

Hey iCoders! Today we are going to make a fun project that takes advantage of UIGestureRecognizers which were introduced in iOS 3.0, way back when it was called iPhone OS. UIGestureRecognizer is an abstract class that several concrete classes extend Eg. UITapGestureRecognizer, UIPinchGestureRecognizer. Today we are going to be building a simple photo board application. You will be able to add photos from your board, move, rotate and zoom them in and out around the board. We will also build in some simple physics to give a sense of the photos being thrown around the board. Here is a short video of what our final product will look like.

October 14th, 2010 Posted by: (ELC) - posted under:Featured » Tutorials - 43 Comments READ MORE
canakkale canakkale canakkale balik tutma search canakkale vergi mevzuati bagimsiz denetim vergi mevzuati ozurlu engelliler