R.swift v1.4.0 Release Notes
-
๐ New features:
- โ Added support for CLR color lists (@tomlokhorst)
- SwiftDoc comments are generated in the
R.generated.swift
file (@tomlokhorst) - R.swift is made available on Homebrew (maintained by @tomasharkema)
- Synthesizing let accessors for storyboard identifiers (@JaviSoto)
- ๐ New
NSData(resource: R.file.someFile)
constructor is now available (@tomlokhorst)
๐ Fixed issues:
- ๐ฅ Breaking:
R.file.someFile() as String
is removed to prevent ambiguity errors, useR.file.someFile.path()
instead (@tomlokhorst) - Generated variable/function names will never be empty anymore (@tomlokhorst)
- ๐ If the first view in a nib is a standard Apple Interface Builder class it will now typecast correctly instead of falling back to
UIView
- NSBundle now falls correctly back on the main bundle, this was documented as such but did not always happen
- โก๏ธ Swift keyword list updated to avoid generation of invalid variable/function names