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

Better swift support #128

Merged
merged 3 commits into from
Sep 13, 2016
Merged

Better swift support #128

merged 3 commits into from
Sep 13, 2016

Conversation

Sega-Zero
Copy link
Contributor

Applied nullabitily macros and light generics as mentioned in #106
Also, FICImageTable class has been modernized a little bit:

  • declared init and new methods as unavailable in favor of initWithFormat:imageCache:
  • added NS_DESIGNATED_INITIALIZER for initWithFormat:imageCache:

It is much better than a crash in runtime.

@mallorypaine
Copy link
Contributor

@Sega-Zero my apologies at the delay in looking at this. any chance you can address the conflicts here?

@Sega-Zero
Copy link
Contributor Author

sure, fixed

@mallorypaine
Copy link
Contributor

Thanks for the quick response. Do you think we need any other changes for Swift 2.3? Any thoughts about support for Swift 3?

@Sega-Zero
Copy link
Contributor Author

As long as FastImageCache is used as a framework - nothing more special to be added to support newer swift versions, I think. Nullability and light generics is a must to work comfortable in swift. Haven't looked at 3.0 yet, 2.3 most certainly stay the same.

I'll check if there should be more changes for swift 3 and make a new PR if any.

@mallorypaine mallorypaine merged commit 2615d27 into path:master Sep 13, 2016
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.

2 participants