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

Add NSObject Conformance to IGListUpdatingDelegate #435

Closed

Conversation

Adlai-Holler
Copy link
Contributor

@Adlai-Holler Adlai-Holler commented Jan 19, 2017

Pull request checklist

  • All tests pass. Demo project builds and runs.
  • I added tests, an experiment, or detailed why my change isn't tested.
  • I added an entry to the CHANGELOG.md for any breaking changes, enhancements, or bug fixes.
  • I have reviewed the contributing guide

@Adlai-Holler Adlai-Holler changed the title Add NSObject conformance to IGListUpdatingDelegate Add NSObject Conformance to IGListUpdatingDelegate Jan 19, 2017
@facebook-github-bot
Copy link
Contributor

@Adlai-Holler updated the pull request - view changes

@facebook-github-bot
Copy link
Contributor

@Adlai-Holler updated the pull request - view changes

1 similar comment
@facebook-github-bot
Copy link
Contributor

@Adlai-Holler updated the pull request - view changes

@rnystrom
Copy link
Contributor

@jessesquires 2.2 or 3.0?

@jessesquires
Copy link
Contributor

@rnystrom 🤔 Hm... 2.2 for ObjC. Does this break anything in Swift? (I suspect yes, which case, 3.0)

@rnystrom
Copy link
Contributor

It would if you write your own Swift IGListUpdatingDelegate. Previously you could do

class MyCustomUpdater: IGListUpdatingDelegate { ... }

But now it probably has to be

class MyCustomUpdater: NSObject, IGListUpdatingDelegate { ... }

I think.

@facebook-github-bot
Copy link
Contributor

@Adlai-Holler updated the pull request - view changes

@jessesquires
Copy link
Contributor

@rnystrom right - let's double check

@facebook-github-bot
Copy link
Contributor

@Adlai-Holler updated the pull request - view changes

@jessesquires jessesquires added this to the 3.0.0 milestone Jan 20, 2017
@Adlai-Holler
Copy link
Contributor Author

BTW fellas I did double-check, and it's true.

@facebook-github-bot
Copy link
Contributor

@rnystrom has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants