Releases: mac-cain13/R.swift
Releases · mac-cain13/R.swift
0.5.0
Now you also can load view controllers from a Storyboard without using strings. You can access them with R.storyboard.[name].[viewControllerIdentifier]
. They are even validated when you call R.validate()
!
0.4.0
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
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 segueR.validateStoryboardImages()
to validate images in all storyboardsR.[storyboardName].validateStoryboardImages()
to validate images in a single storyboard
0.2.0
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 theUIImage.*
approach
0.1.0
From this date on we never have to worry again about broken UIImage(named:)
calls. :)