Skip to content
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

Migrate to Swift 3 #22

Merged
merged 10 commits into from
Oct 13, 2016
Merged

Migrate to Swift 3 #22

merged 10 commits into from
Oct 13, 2016

Conversation

zenangst
Copy link
Contributor

@zenangst zenangst commented Oct 3, 2016

This PR migrates Brick to Swift 3.

@@ -0,0 +1,4 @@
/// A protocol for indexable objects
public protocol Indexable {
Copy link
Contributor

Choose a reason for hiding this comment

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

Index for object in collection like array?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Nope, I added this to be able to apply a scope for the extension. Indexable assumes that the object has a property called Int. index for enumerable collections has been renamed to offset.

@RamonGilabert RamonGilabert merged commit 9c92ef5 into master Oct 13, 2016
@RamonGilabert RamonGilabert deleted the swift-3 branch October 13, 2016 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants