TaniraWrites / swift-slapchat-relationships-lab-ios-0916

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Core Data SlapChat Relationships

=========

Instructions

  1. Delete the existing SlapChat app from your iOS simulator. This will wipe any core data stuff you already have.
  2. Create a new Entity in your Data Model called Recipient
  3. Recipient should have the following attributes: - name - email - phoneNumber - twitterHandle
  4. In your data model, Recipient should have a to-many relationship with Messages and Message should have a to-one relationship with Recipient. In other words, a recipient can have many messages but a message can only have one recipient.
  5. Add a new UITableViewController that lists Recipients. So the standard fetch request stuff. Very similar to how you did the messagesTableViewController.
  6. When a user selects a recipient, the app should segue to the messages table view controller and show the messages for the selected recipient.

Extra Credit

Add in another Search view controller that will search recipients/messages. Search by different fields.


About

License:Other


Languages

Language:Swift 100.0%