Skip to content
This repository has been archived by the owner on Jun 23, 2022. It is now read-only.

Swift 3 Support #62

Merged
merged 14 commits into from
Jan 2, 2017
Merged

Swift 3 Support #62

merged 14 commits into from
Jan 2, 2017

Conversation

dzenbot
Copy link

@dzenbot dzenbot commented Nov 27, 2016

Closes #56

After all, there was no need to update SwiftGen, but only the stencil (aka template). This is because the SwiftGen executale is already compiled and versioned on this repo, which makes things much more easier. We used to compile SwiftGen at every pod install, but this was causing issues at times and it was failing when using the newest Swift compilers. The SwiftGen fork will eventually need to be updated/fixed, and ported to a newer Swift version (but let's not worry about that just yet).

Since Swift 3, enum cases have changed, moving from UpperCamelCase to lowerCamelCase. This has been reflected in the SwiftGen stencil, although was causing issues with reserved types such as subscript, repeat, open, etc. To solve this issue, Iconic enum cases now append a Icon bit, to make sure types are unique and not conflicting. This is also reflected in the icon catalog builder.

Finally, since Swift 2.3 will soon be deprecated with the release of Xcode 8.2 there is no point of adding backwards compatibility to Iconic for those still using Swift 2.3

@dzenbot dzenbot added this to the v1.2 Release milestone Nov 27, 2016
@codecov-io
Copy link

codecov-io commented Nov 27, 2016

Current coverage is 91.18% (diff: 84.62%)

Diff Coverage File Path
•••••••• 84% Source/IconDrawable.swift

No coverage report found for master at eec3107.

Powered by Codecov. Last update eec3107...be87642

Ignacio Romero Zurbuchen added 2 commits November 27, 2016 23:08
* Documented the original playground prototype
Added a new playground for designing the librarie's repo header

* Completes the Iconic header's layout, done in playgrounds

* Tweaks the Iconic header view's style/appearance

* Adds temp header view. All done with Playgrounds

* Updates Iconic to be using AwesomeFont 4.7.0 as default font. Updated failing tests due to visual regressions.

* Modularizes the Iconic header design playground, simplifying it a lot

* Design tweaks and updates header render

* Typo

* Fixing code syntax
@robotelio
Copy link

robotelio commented Jan 2, 2017

1 Error
🚫 swiftlint is not in the user’s PATH, or it failed to install

Generated by 🚫 danger

@dzenbot dzenbot merged commit afbc9fa into master Jan 2, 2017
@dzenbot dzenbot deleted the swift-3-support branch January 2, 2017 04:33
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.

Swift 3 Support
3 participants