- ➕ Added support for nibs(/xibs) use R.nib.[name].firstView to get the first view in your nib fully typed!
- All reuse identifiers in your project (nibs and storyboards) are available under R.reuseIdentifier.[name]
- ⚡️ We now leave the generated file untouched if there are no updates
- 🏗 Errors in executing R.swift will now appear in between you Xcode build errors/warnings
- UIViewController subclasses in your storyboard (like UINavigationController or UISplitviewController) are now correctly typed
- Internal rewrite in the way we generate the R-struct
🚀 This release fixes an issue where not importing UIKit import can sometimes give compile errors.
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()!
🚀 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()
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
👍 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
- 🚀 First public release