iActiveRecord

ActiveRecord for iOS without CoreData, only SQLite

  • 所有者: AlexDenisov/iActiveRecord
  • 平台:
  • 许可证: MIT License
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

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 13:21:22
推送于2016-09-15 15:20:00
最后一次提交2016-09-15 17:19:59
发布数10
最新版本名称1.3.2 (发布于 2012-07-30 09:48:01)
第一版名称1.0.0 (发布于 2012-04-01 22:39:06)
用户参与
星数353
关注者数21
派生数50
提交数332
已启用问题?
问题数53
打开的问题数17
拉请求数29
打开的拉请求数1
关闭的拉请求数11
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?