iActiveRecord

ActiveRecord for iOS without CoreData, only SQLite

  • Owner: AlexDenisov/iActiveRecord
  • Platform:
  • License:: MIT License
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

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

Main metrics

Overview
Name With OwnerAlexDenisov/iActiveRecord
Primary LanguageC
Program languageObjective-C (Language Count: 5)
Platform
License:MIT License
所有者活动
Created At2012-01-08 13:21:22
Pushed At2016-09-15 15:20:00
Last Commit At2016-09-15 17:19:59
Release Count10
Last Release Name1.3.2 (Posted on 2012-07-30 09:48:01)
First Release Name1.0.0 (Posted on 2012-04-01 22:39:06)
用户参与
Stargazers Count353
Watchers Count21
Fork Count50
Commits Count332
Has Issues Enabled
Issues Count53
Issue Open Count17
Pull Requests Count29
Pull Requests Open Count1
Pull Requests Close Count11
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private