AlexDenisov / iActiveRecord

ActiveRecord for iOS without CoreData, only SQLite

Home Page:http://alexdenisov.github.com/iActiveRecord/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The project is looking for maintainer

ActiveRecord without CoreData.

Only SQLite.

Only HardCore.

Build status

This repo available on Twitter.

Features

  • ARC support
  • unicode support
  • migrations
  • validations (with custom validator support)
  • transactions
  • support for custom data types
  • relationships (BelongsTo, HasMany, HasManyThrough)
  • sorting
  • filters (where =, !=, IN, NOT IN and else)
  • joins
  • CocoaPods support
  • no more raw sql!!!

You do not need to create tables manually - just describe your ActiveRecord and enjoy!!!

#import <ActiveRecord/ActiveRecord.h>

@interface User : ActiveRecord

@property (nonatomic, retain) NSString *name;

@end

Run tests

iActiveRecord uses Cedar for UnitTests and CocoaPods for dependency management. Follow this steps to run tests

[sudo] gem install cocoapods
pod setup
cd project_dir
pod install
open iActiveRecord.xcworkspace

Then build & run UnitTests target.

Check Wiki to see details!

Bitdeli Badge

About

ActiveRecord for iOS without CoreData, only SQLite

http://alexdenisov.github.com/iActiveRecord/

License:MIT License


Languages

Language:C 61.1%Language:Objective-C++ 18.4%Language:Objective-C 18.2%Language:C++ 2.1%Language:Ruby 0.2%