Skip to content
This repository was archived by the owner on Apr 15, 2020. It is now read-only.

make DataSourceProtocol.item(atIndexPath: ) public#76

Merged
jessesquires merged 4 commits into
developfrom
datasource-indexpath
Dec 13, 2016
Merged

make DataSourceProtocol.item(atIndexPath: ) public#76
jessesquires merged 4 commits into
developfrom
datasource-indexpath

Conversation

@jessesquires
Copy link
Copy Markdown
Owner

lol whoops. 😳 This was intended to be public.

  • Make extension method public
  • Update changelog for 6.1.0
  • Update changelog milestone links for new GH URLs

@jessesquires jessesquires added this to the 6.1.0 milestone Dec 11, 2016
@jessesquires jessesquires requested a review from dcaunt December 11, 2016 19:24
@codecov-io
Copy link
Copy Markdown

codecov-io commented Dec 11, 2016

Current coverage is 93.37% (diff: 100%)

Merging #76 into develop will increase coverage by 0.04%

@@            develop        #76   diff @@
==========================================
  Files             9          9          
  Lines           360        362     +2   
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
+ Hits            336        338     +2   
  Misses           24         24          
  Partials          0          0          

Sunburst

Diff Coverage File Path
•••••••••• 100% Source/DataSource.swift

Powered by Codecov. Last update d86929f...1967cd5

Comment thread Source/DataSource.swift Outdated

/// :nodoc:
public func item(atIndexPath indexPath: IndexPath) -> Item? {
return object(at: indexPath) as? T
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit – should be as? Item for consistency?

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lol yep!

Copy link
Copy Markdown
Collaborator

@dcaunt dcaunt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch! Just a minor note.

@dcaunt
Copy link
Copy Markdown
Collaborator

dcaunt commented Dec 12, 2016

:shipit:

@jessesquires
Copy link
Copy Markdown
Owner Author

i guess i should write a couple of tests, too 😅

@jessesquires
Copy link
Copy Markdown
Owner Author

thanks @dcaunt ! 💯

@jessesquires jessesquires merged commit 08f0e8e into develop Dec 13, 2016
@jessesquires jessesquires deleted the datasource-indexpath branch December 13, 2016 18:28
@jessesquires jessesquires modified the milestones: 6.1.0, 7.0.0 Nov 6, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants