Skip to content

Releases: mac-cain13/R.swift

0.4.0

12 Jan 21:59
Compare
Choose a tag to compare

In this release a serie of improvements in the codebase as well as in the generated struct. The new resources can be accessed through:

  • UIImage: R.image.[imageName]
  • UIStoryboardSegue identifier: R.segue.[segueIdentifier]
  • UIStoryboard: R.storyboard.[storyboardName].instance
  • Validate images used in the given storyboard: R.storyboard.[storyboardName].validateImages()
  • Validate all images in all storyboards: R.validate()

0.3.0

15 Dec 08:17
Compare
Choose a tag to compare

R.swift now generated strongly typed segues and provides methods to validate if the images used in your storyboard do exist.

  • R.[storyboardName].[segueIdentifier] to get the identifier of a segue
  • R.validateStoryboardImages() to validate images in all storyboards
  • R.[storyboardName].validateStoryboardImages() to validate images in a single storyboard

0.2.0

14 Dec 22:09
Compare
Choose a tag to compare

Better structure, better name, lots of breaking changes!

  • Renamed from TypedImages via Strongly to R.swift
  • Refactored about all of the code
  • Now use R.[assetFolder].[imageName] instead of the UIImage.* approach

0.1.0

12 Dec 07:00
Compare
Choose a tag to compare

From this date on we never have to worry again about broken UIImage(named:) calls. :)