Skip to content

Releases: mac-cain13/R.swift

2.0.0

23 Mar 07:30
Compare
Choose a tag to compare

Fixed issue:

  • Use new version of R.swift.Library to avoid Swift 2.2 warnings
  • This version is not compatible with Swift 2.1 and therefore a breaking change, use 1.4.2 if you need Swift 2.1 compatibility.

1.4.1

22 Mar 19:44
Compare
Choose a tag to compare

Note: Do not use this version, use version 2.0.0 or 1.4.2 instead.

Fixed issue:

  • Use new version of R.swift.Library to avoid Swift 2.2 warnings

1.4.2

23 Mar 07:29
Compare
Choose a tag to compare

Fixed issue:

  • Make this version compatible with Swift 2.1
  • This release is exactly the same version as 1.4.0

1.4.0

17 Mar 07:15
Compare
Choose a tag to compare

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

1.3.0

09 Feb 08:38
Compare
Choose a tag to compare

New features:

  • R.file.*.path() and R.file.*.url() are now available

Fixed issues:

  • It was possible to invoke segues that didn’t match the source view controller, this is fixed now by restricting some types
  • Support UICollectionReusableView as root view in a nib

1.2.0

26 Jan 08:03
Compare
Choose a tag to compare

New features:

  • Unwind segues are now supported

Fixed issues:

  • Avoid creation of empty validate methods

1.1.1

21 Jan 20:04
Compare
Choose a tag to compare

Fixed issues:

  • Validate methods could have invalid code in their body
  • Help exited with code 1, should be 0
  • Also; Improved compile time by 7 seconds with some small code changes

1.1.0

18 Jan 17:18
Compare
Choose a tag to compare

New features:

  • Storyboard references are now supported

Fixed issues:

  • Segues from views did crash R.swift

1.0.2

15 Jan 08:04
Compare
Choose a tag to compare

Fixed issues:

  • Validateable was not written out as Rswift.Validateable in all cases

1.0.1

14 Jan 21:34
Compare
Choose a tag to compare

Fixed issues:

  • Validatable collision, since it's quite a common name R.swift now states explicitly it means the one in the R.swift.Library
  • Imports where missing when the module was only used in the generated code in a inferred way
  • The code to call the _R.validate() function was always generated, it's now conditional and only generated when needed