github mac-cain13/R.swift v1.4.0
1.4.0

latest releases: 7.5.1-alpha.3, 7.5.1-alpha.2, 7.5.1-alpha.1...
8 years ago

This release mainly contains fixes and features contributed by users. Many many thanks for everyone who reported an issue or proposed a pull request, it is highly appreciated!

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

Don't miss a new R.swift release

NewReleases is sending notifications on new releases.