HTTPRiot - A simple HTTP REST Library
HTTPRiot is a simple REST library designed to make interacting with REST services much easier. It supports GET, POST, PUSH and DELETE requests and HTTP Basic Authentication. HTTPRiot was inspired by John Nunemaker's excellent httparty Ruby library.
URL: http://labratrevenge.com/httpriot/docs/
一篇教程
http://www.alternateidea.com/blog/articles/2009/7/11/introducing-httpriot-easily-consume-rest-resources-on-the-iphone-and-os-x
打开
ActiveRecord ReadMe
About:
ActiveRecord is an insanely easy to use database framework written in objective-c It's obviously "inspired" by (copying) the infamous ActiveRecord that comes with Rails(http://rubyonrails.org) But it tries to be more versatile when it comes to working with multiple connections.
I'm not very good at writing these things so consult the docs/tutorials/whatever for more info. (scroll down!)
ActiveRecord was written by ninja kitten (http://ninjakitten.us) and is licensed with the BSD license.
URL:http://github.com/aptiva/activerecord/tree/master
Cocoa Helpers on GitHub:
http://github.com/enormego/cocoa-helpers/tree/master
About Cocoa Helpers
Cocoa Helpers are a collection of categories we've written to the Apple UIKit/Cocoa classes to make them more useful.
Helpers
NSArray
- empty property - Checks to see if the array is empty
NSDictionary
- containsObjectForKey: - Checks to see if the dictionary contains the given key
- empty property - Checks to see if the dictionary is empty
NSString
- containsString: - Checks to see if the string contains the given string, case insenstive
- containsString:options: - Checks to see if the string contains the given string while allowing you to define the compare options
- md5 - Returns the MD5 value of the string
NSURL
- baseString - Returns a string of the base of the URL, will contain a trailing slash
UIAlertView
- UIAlertViewQuick(NSString* title, NSString* message, NSString* dismissButtonTitle) - Convenience method to throw a quick alert to the user
UIColor
- UIColorMakeRGB(nRed,nGreen,nBlue) - Convenience method to return a UIColor with RGB values based on 255
UIDevice
- availableMemory property - Available device memory in MB
UIImage
- imageWithContentsOfURL: - Creates an image from the contents of a URL
- scaleToSize: - Scales the image to the given size
- scaleAndCropToSize: - Scales and crops the image to the given size
- scaleHeightAndCropWidthToSize: - Scales the height and crops the width to the size
- scaleWidthAndCropHeightToSize: - Scales the width and crops the height to the size
- scaleToSize:withOffset: - Scales image to the size, crops to the offset
Documentation
There's additional documentation and examples provided in each header file
http://developers.enormego.com/code/cocoahelpers
打开
ruby 和 rails 的确改变了我们写程序的方式,enjoy fun 无尽的日日夜夜。