https://github.com/shrtlist/universaldemo
CoreData demo app, with a master UITableView for displaying a list of employees using dynamic prototype cells, and a detail view controller for displaying employee properties.
https://github.com/shrtlist/universaldemo
coredata mdi uitableview
Last synced: 10 months ago
JSON representation
CoreData demo app, with a master UITableView for displaying a list of employees using dynamic prototype cells, and a detail view controller for displaying employee properties.
- Host: GitHub
- URL: https://github.com/shrtlist/universaldemo
- Owner: shrtlist
- License: apache-2.0
- Created: 2012-01-13T01:52:51.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2020-10-08T18:47:37.000Z (over 5 years ago)
- Last Synced: 2025-03-25T13:39:22.268Z (about 1 year ago)
- Topics: coredata, mdi, uitableview
- Language: Swift
- Homepage:
- Size: 84 KB
- Stars: 5
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
- License: LICENSE
Awesome Lists containing this project
README
### UniversalDemo
A `CoreData` MDI app which consists of a master `UITableView` for displaying a list of employees using dynamic prototype cells, and a detail `UITableView` for displaying employee properties using static cells. A `UISplitViewController` is used in the iPad version to manage the master-detail interface. The `Employee` class defines five properties: name, job title, date of birth, number of years employed and photo.

### Features:
- `UIStoryboard` used to define the application's user interface.
- `CoreData` is used to define the application’s data model.
- Deletion is supported in the master `UITableView`.
- Portrait and landscape mode are supported for both iPhone and iPad.
- An `NSFetchedResultsController` is used with batched fetching.
- Employee list is sorted by name in ascending order.
### For the purposes of this demo:
- Sample data is recreated by tapping the Refresh button.
- Sample data is fake.
- A single default photo is used.
### Build requirements
Xcode 8, iOS 10.0 SDK, Automated Reference Counting (ARC).
### Runtime requirements
iOS 10.0 and above
### License
The source code is available under the Apache License, Version 2.0
### Contributing
Forks, patches and other feedback are always welcome.