GithubHelp home page GithubHelp logo

epec254 / coredatalibrary Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 1.34 MB

Core Data Library is an XCode template that helps you quickly create a tableview-based UI for a Core Data iPhone application (moved from code.google.com/p/coredatalibrary)

Objective-C 15.27% HTML 82.42% CSS 0.85% Perl 0.16% JavaScript 1.30%

coredatalibrary's Introduction

coredatalibrary

Moved from code.google.com/p/coredatalibrary

Overview

Core Data Library is an XCode template that helps you quickly create a tableview-based UI for a Core Data iPhone application. Creating a UI consists of the following general steps:

  1. Create a project using the XCode template
  2. Create a CoreData model and the corresponding objects using XCode
  3. Define the views through a set of Property List (plist) files.
  4. Customize as needed.

The template will give you a customizable Plain-Style TableView that displays all entities of a given type. Each row of this table, upon selection, will display a customizable Grouped-Style TableView for the object at the row. Upon selecting a row, you will be presented with a view that allows you to make changes to that value.

  • CoreDataLibrary was developed with XCode 3.2.1 and tested on iPhone OS 3.1.3.
  • We welcome (and encourage) bug reports, feedback, comments, complaints, etc. You can submit through the issues tracker, as well as viewing existing bug/enhancement requests. I still consider this code (and the accompanying documentation) to be beta quality, so any feedback would be awesome.
  • Switched to the BSD license.

The current version (0.11) was released April 15, 2010

Credits

  • Thank you to Jeff LeMarche for his SuperDB application that provided the idea, inspiration and starting code for this project.
  • Thanks also Matt Gallagher for his useful posts on objective-c singletons and design of iPhone applications (to both of which I owe the inspiration for the DataController class)

Getting Started

If you have not used Core Data before, we suggest following the steps outlined in Apple's Getting Started With Core Data guide to familiarize yourself with Core Data.

The installation guide walks you through the process of installing the XCode template and the getting started guide walks you through creating a simple project with Core Data Library.

Additionally, the how to guides below walk you through several common configurations. Finally, more detailed documentation for the major classes are referenced below.

Library Overview

CoreDataLibrary provides you "for free" the following features:

  • UITableView-based "RootView" capable of displaying all entities of a certain type with the ability to:

    • Sort based on any number of keys
    • Create sections based on a key path
    • Display section index titles, in either address book style or based on your section key path
  • UITableView-based "DetailView" capable of displaying and editing any number of attributes or relationships in a given entity:

    • to-many (ordered or non-ordered) relationship
    • to-one relationship
    • date/time
    • strings (single or multiple line)
    • numbers
    • boolean choice

CoreDataLibrary is configured completely through property list files (plist) and requires no code on the user's part. However, CDL allows the more advanced user to implement their own rows within a DetailView.

Howto Guides

Detailed Documentation

Sample Projects

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.