iOS - Interacting With RESTful Web Services

| Comments

Some time ago i wrote a post talking about using ASIHTTPRequest but it looks like has been abandoned =( so, what options do we have???

AFNetworking

From the people who make Gowalla. A general purpose HTTP lib, built on modern patterns, actively developed. AFNetworking has been gaining a lot of traction over the last few months, so it’s a good bet that it’s going to be around for a while. https://github.com/gowalla/AFNetworking

LRResty

A lightweight HTTP lib, actively developed. Also comes in an ARC-flavoured variety. http://projects.lukeredpath.co.uk/resty/

RestKit

For applications that talk to REST-based services, lets you map remote objects and store them in CoreData. It sounds like this could replace a lot of code in the right circumstances. http://restkit.org/

AWS SDK for iOS

Amazon S3 support has been one of the most popular ASIHTTPRequest features. These days Amazon offers their own SDK for iOS, providing access to S3, CloudFront, SimpleDB and other Amazon cloud services. http://aws.amazon.com/sdkforios/

ShareKit

The highest-level API listed here. Provides a simple way to upload content to a variety of services, and a UI to make it super easy to drop into your projects. http://getsharekit.com/

NSURLRequest/NSURLConnection

From the people who make your cellphone. Built by smart people, lightweight, actively developed. http://developer.apple.com/…/Tasks/UsingNSURLConnection.html

Getting Started With Git-flow

| Comments

If you’re working with git you have definitely heard about git-flow ….. whaaat??….. you haven’t heard of it??…. really???? are you from the moon???? what the heck are you doing??? go and read this!!

Using ASIHTTPRequest

| Comments

while reading a tutorial found this great framework, ASIHTTPRequest, it’s so damn cool and really easy to use, so i decide to explain how you can use it in your own iOS project.

What is ASIHTTPRequest?

ASIHTTPRequest is an easy to use wrapper around the CFNetwork API that makes some of the more tedious aspects of communicating with web servers easier. It is written in Objective-C and works in both Mac OS X and iPhone applications.

It is suitable performing basic HTTP requests and interacting with REST-based services (GET / POST / PUT / DELETE).

Xcode Shortcut List

| Comments

this is a collection of Xcode shortcuts that i use most frecuently, hope you like it:

  • Option ⌥ Command ⌘ Up Arrow ↑ View > Switch to Header/Source File
  • ⌘ Command + Double-Click on a symbol Jump to Definition of a symbol.
  • ⌥ Option + Double-Click on a symbol Find Text in Documentation of a symbol. (Only works if you have they symbol’s Doc Set installed.)
  • Tab ⇥ OR Control ⌃ / Select the next auto-completion argument.

Objective-C Logging With SOSmax

| Comments

SOS Logging

i’ve been using SOSmax for a while in my flash projects and i can tell you, it rocks!!, it’s a very handy debugger tool for developers, i found that someone already has created a class for Objective-C called SOSLog and comes with the following features:

KissXML

| Comments

KissXML was inspired by the TouchXML project, but it was created to add full support for generating XML as well as supporting the entire NSXML API. KissXML is a good approach for parsing xml data, and the x-path functionallity makes it more powerful, you could also use NSXMLParser, it’s not bad but it’s very very slow and it uses lots of memory.