background preloader

iOS development

Facebook Twitter

Developing RESTful iOS Apps with RestKit. RestKit is a powerful library that simplifies interacting with web services for iOS applications.

Developing RESTful iOS Apps with RestKit

In this article, written by RestKit creator and Two Toasters CTO Blake Watters, we will take a quick tour of RestKit’s feature set, get familiar with the core concepts presented by the library, and then explore some code samples to get a feel for what working with RestKit is really like. What is RestKit? RestKit is an Objective-C framework for iOS that aims to make interacting with RESTful web services simple, fast, and fun. It combines a clean, simple HTTP request/response API with a powerful object mapping system that reduces the amount of code you need to write to ‘get stuff done’.

RestKit’s primary goal is to allow the developer to think more in terms of their application’s data model and worry less about the details of sending requests, parsing responses, and building representations of remote resources. What does RestKit provide? A simple, high-level HTTP request/response system. The Complete List of Objective-C 2.0 @ Compiler Directives. I haven’t been able to find a list of all Objective-C @ compiler directives in one place.

The Complete List of Objective-C 2.0 @ Compiler Directives

We all know the keywords like @interface and @implementation but others like @dynamic and @encode are lesser known, and possibly even much less understood. Although I know most of them already, I couldn’t shake the feeling that I may be missing a hidden gem. So I made an effort to document all the Objective-C @ compiler directives in one place. @class Used for class forward declarations. [cc lang="c"] @class ClassName; [/cc] Note, unlike with @protocol and @selector you can not write the following to get the Class object by name: [cc lang="cpp"] // ERROR: this doesn’t work! Equal Pay App Challenge.

Xcode tells you the path to your compiled binary. Bring up the build output within Xcode to find where it placed your compiled binary. Use the screenshot below for a guide. In the very last line of output, you'll see something that says Touch followed by a long path to a folder that ends in .app . That's what you want. The path to our .app in the above example is:


Iphone - Image storage in iOS devices, the appropriate behavior. I have an app that also does some of the things you describe.

iphone - Image storage in iOS devices, the appropriate behavior

My solutions was to create a singleton that I call my imageStore. You can find information about a singleton here In this imageStore, I store all my "full size" images; however, like you I am concerned about the size of these images, so instead of using them directly, I use thumbnails. What I do is this. For each object that I want to represent in the table, I make sure the object has a UIImage defined that is about thumnail size (64x64 or any size you desire). I'm not behind my Mac at the moment, but if you want I can post some code later to demonstrate both the singleton and the creation and usage of the thumbnail. Here is my header file for the ImageStore Here is the ImageStore.m file - my Singleton Here is where I use the image store.

Si - The impact of language choice on github projects. Although I spend a lot of my play-time fooling about with other languages, my professional and released code consists of Python, C, C++ and, alas, Javascript.

si - The impact of language choice on github projects

I've lived in this tiny corner of the magic garden of modern software development for 10 years, and I'm itching to strike out in a different direction for my next project. With this in mind, I've started to wonder about the impact of language choice on the development process. Are there major differences between projects in different languages? Is it possible to quantify these differences? I decided to try to gather some hard numbers. The rest of this post takes a basic look at the numbers for 12 languages. Lets look at the numbers. Lets start with a quick overview of the basics of the dataset. First, the sample size.


Top 10 Developer and Engineering Skills Employers Will Look for Going into 2012. Job listings give a view into company strategy and the direction of the overall market. Indeed is a job listing service that provides excellent analysis of top job skills. For our purposes, we looked at Indeed’s top 10 listings to give a glimpse into the top 10 developer and engineering skills that employers are looking for going into the new year. HTML5 MongoDB iOS Android Mobile app. Recruiting programmers to your startup. Here are some things I’ve learned over the years about recruiting programmers* to startups. This is a big topic: many of the points I make briefly here could warrant their own blog posts, and I’m sure I’ve omitted a lot. - The most important thing to understand is what motivates programmers.

This is where having been a programmer yourself can be very helpful. In my experience programmers care about 1) working on interesting technical problems, 2) working with other talented people, 3) working in a friendly, creative environment, 4) working on software that ends up getting used by lots of people. StartUp Jobs from StartUpers. Anders Riggelsen - Visual glBlendFunc Tool.


Stanford on iTunes U.