Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
rafiki270 authored May 9, 2018
1 parent 5b3e02d commit f19ad68
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,21 @@ A brand new Swift abstraction layer for CoreData's original interface
[![License](https://img.shields.io/cocoapods/l/Reloaded.svg?style=flat)](http://cocoapods.org/pods/Reloaded)


##

> <b style="color:red;">Warning! - *Project is not yet completely finished. We are going to release an alpha version in April, contact us on Slack for ETA or follow the status below*</b>
## Setup data model

Well, this is exactly the same process as you would do when setting up core data the old way. If you haven't created your app from a template, just:
* create a new **Data Model** file
* give it the same name as your bundle has (Reloaded is trying to use `kCFBundleNameKey` to generate the expected name)
* Create your entities as you would

> You can also override the default container name for use in multi-target apps using `CoreData.fallbackContainerName`
```swift
/// Fallback container name, overrides bundle name globally
/// Use in multitarget apps with shared model
public static var fallbackContainerName: String?
```

## Basic usage

> If you don't have your data model <i>(.xcdatamodeld)</i> file yet, jump to the [Setup data model](#setup-data-model) section and then come back.
Expand Down

0 comments on commit f19ad68

Please sign in to comment.