-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FetchRequest name #31
Conversation
Codecov Report
@@ Coverage Diff @@
## v4-development #31 +/- ##
=================================================
Coverage ? 93.66%
=================================================
Files ? 30
Lines ? 4861
Branches ? 0
=================================================
Hits ? 4553
Misses ? 308
Partials ? 0 Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
First bike shed
@@ -13,7 +13,7 @@ import FetchRequests | |||
class ViewController: UITableViewController { | |||
private(set) lazy var controller: FetchedResultsController<Model> = { | |||
let controller: FetchedResultsController<Model> = FetchedResultsController( | |||
request: Model.fetchRequest(), | |||
fetchDefinition: Model.fetchDefinition(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would making the signature definition
instead of fetchDefinition
be cleaner? It's in the context of the FetchedResultsController
, so I think the fetch can be implied.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Rename FetchRequest => FetchDefinition