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, use R.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