Get Updates By E-mail 

Article Written By:
Johann Dowa

iOS Library For Automatically Creating CRUD Interfaces (Scaffolding) Using A Core Data Model

  •  
  •  
  •  
  •  
  •  

Scaffolding in Ruby on Rails and other frameworks provides an automatic way to make CRUD (create, read, update and delete) interfaces for working with a database entity.

Steve Derico has created SDScaffoldKit a library that will automatically create a set of CRUD views using UIKit based on your core data model.  Simply supply the library with the entity you’d like to create the CRUD views for place the include view controller in a UINavigationController.

As the readme states:

UIKit can be tedious and repeative to build simple CRUD interfaces. SDScaffoldKit is a simple library that provides Create, Read, Update, and Delete views/viewcontrollers out-of-the-box. Just create your Core Data model, hand it your Entity’s name, a field to sort by, and BAM! You are ready to start creating and managing objects.

Here are some images illustrating some automatically created views:

CRUD

 

You can find SDScaffoldKit on Github here.

Just like with a Rails project it’s highly unlikely you’d release an iOS app with some basic untouched scaffolding, but it provides a good starting point.


  •  
  •  
  •  
  •  
  •  

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments