iActiveRecord

ActiveRecord for iOS without CoreData, only SQLite

Github星跟蹤圖

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

主要指標

概覽
名稱與所有者AlexDenisov/iActiveRecord
主編程語言C
編程語言Objective-C (語言數: 5)
平台
許可證MIT License
所有者活动
創建於2012-01-08 21:21:22
推送於2016-09-15 23:20:00
最后一次提交2016-09-15 23:19:59
發布數10
最新版本名稱1.3.2 (發布於 2012-07-30 14:48:01)
第一版名稱1.0.0 (發布於 2012-04-02 03:39:06)
用户参与
星數353
關注者數19
派生數50
提交數332
已啟用問題?
問題數53
打開的問題數17
拉請求數29
打開的拉請求數1
關閉的拉請求數11
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?