Latest 1.3.2
Homepage https://github.com/AlexDenisov/iActiveRecord
License MIT
Platforms ios
Authors

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

Latest podspec

{
    "name": "iActiveRecord",
    "version": "1.3.2",
    "license": "MIT",
    "summary": "ActiveRecord for iOS without CoreData, only SQLite.",
    "homepage": "https://github.com/AlexDenisov/iActiveRecord",
    "description": "n    ActiveRecord for iOS without CoreData. Only SQLite.n    For more details check Wiki on Github.n  ",
    "authors": {
        "Alex Denisov": "[email protected]"
    },
    "source": {
        "git": "https://github.com/AlexDenisov/iActiveRecord.git",
        "tag": "1.3.2"
    },
    "platforms": {
        "ios": null
    },
    "source_files": [
        "iActiveRecord/*.{c,h,m}",
        "iActiveRecord/deps/*.{c,h,m}"
    ],
    "libraries": "sqlite3",
    "xcconfig": {
        "GCC_PREPROCESSOR_DEFINITIONS": "$(inherited) SQLITE_CORE SQLITE_ENABLE_UNICODE"
    },
    "requires_arc": false
}

Pin It on Pinterest

Share This