• Stars
    star
    108
  • Rank 321,259 (Top 7 %)
  • Language
    Objective-C
  • License
    Other
  • Created about 12 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A better model framework for Objective-C

#ModelKit

ModelKit is a simple to use model framework for Objective-C (Cocoa/iOS). It allows you to write your model layer quickly and easily, managing persistence (local and network) for you.

##About ModelKit Before we jump into the how-to, it's important to understand what ModelKit is and isn't:

###What Is It? ModelKit was built to solve a few problems I consistently run into developing iPhone software. Namely:

  • Persisting the model graph
  • Integrating with a backend web service or BaaS (Backend as a Service) like Parse
  • If using a backend, allowing the application to work offline.

I do a lot of consulting and inherit a lot of projects that use CoreData to store all of the data they pull off their JSON based REST-esque API. It is invariably a giant convoluted mess for what should be such a simple task. Need to upgrade a CoreData schema? Yeah, no thanks.

ModelKit could be considered CoreData-lite since it does most things that CoreData does. It attempts to accomplish these things in the simplest way possible. Therefore, it might not cover all the edge cases that CoreData does, nor does it ever intend to.

The other reason I needed something like ModelKit was to cover the holes in the iOS SDKs for certain BaaS services. While these SDKs are generally good for simple things like saving game scores, the more complicated your needs get, the bigger the holes they develop and the more boilerplate you end up writing. Since they typically aren't open sourced, you are left in the dark if you run head first into a wall.

###What Does It Provide? ModelKit gives you:

  • A framework for building mildly complicated object graphs
  • Persisting those graphs to local storage
  • Querying the graph
  • Tying the graph to a BaaS or your own custom backend REST API
  • User system (backend)
  • File uploads (backend)
  • Push notifications (backend)
  • Running custom backend code (backend)
  • Simplistic and optimistic syncing (backend)

###Documentation

In addition to the Doxygen generated documentation included in the repo, more in-depth information can be found on the github wiki.

####Wiki Documentation

More Repositories

1

ILColorPicker

Color picker controls for iOS
Objective-C
75
star
2

ILab-Media-Tools

Comprehensive wordpress media management plugin.
PHP
49
star
3

ActivitySequencer

A block sequencer for objective-c based on berzniz's Sequence.
Objective-C
29
star
4

iPadFontExample

Objective-C
24
star
5

HeavyMetal

No bullshit web framework for PHP. Used to power massify.com.
PHP
22
star
6

makejs

A make tool for building javascript based html apps.
JavaScript
12
star
7

Thor

Application for managing Slicehost slices. PHP 5+
PHP
9
star
8

FileWatch

A simple macOS menubar app to watch files and execute scripts when they are modified.
Objective-C
9
star
9

JW-Player-HD-Plugin

Patched version of the JW Player HD Plugin
ActionScript
6
star
10

FolderSync

Simply utility to push newer and missing files from a source directory to a destination directory.
Objective-C
5
star
11

CommandLineKit

Framework for building sane command line tools in Cocoa.
Objective-C
5
star
12

SlitScan

Command line tool to generate slit scan videos from a video source.
Objective-C
4
star
13

RMX-Tools

Cocoa/Quicktime based command line tools for manipulating video
Objective-C
4
star
14

JW-Player-DRelated-Plugin

Fixes and patches for the D-Related JW Player plugin
ActionScript
4
star
15

Kaiwa

Kaiwa is a cocoa/cocoatouch framework for adding a HTTP interface to your application, as well as allowing communication between Kaiwa enabled applications.
Objective-C
4
star
16

Stem

PHP
4
star
17

HeavyMetal-Server

Cocoa based JavaScript application server (HTTP)
Objective-C
3
star
18

AFNetworkingStatic

Static library for AFNetworking
2
star
19

knowledge-base

A WordPress based knowledge base app
CSS
2
star
20

Alert-Monger

An objective-c class for iOS for quickly displaying UIAlertViews using blocks as callbacks.
Objective-C
2
star
21

Github-Language-Graph

JavaScript
2
star
22

greedo

A dumb CLI app for managing PHP apps in an ubuntu environment
PHP
2
star
23

ILABMultiDelegate

Delegate multiplexer for Objective-C. Based on Alejandro Isaza's https://github.com/aleph7/MultiDelegate
Objective-C
2
star
24

SampleApp-Hein

Objective-C
1
star
25

SimplyStatic

PHP
1
star
26

SampleApp-Dang

Objective-C
1
star
27

Heavy-CMS-Admin

1
star
28

Move-Multiple-Images-iPad

Sample code for someone on forrst.com
Objective-C
1
star
29

NORML

Not an ORM Layer for Cocoa.
1
star