Skip to content

Commit

Permalink
Add fonts to validate documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
mac-cain13 committed Oct 9, 2016
1 parent 87b330e commit 3dcee9a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Documentation/Examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ On this page you'll find examples of the kind of resources R.swift supports and
Call `R.validate()` to call all validation methods that R.swift generates, this will check:
- If all images used in storyboards and nibs are available
- If all view controllers with storyboard identifiers can be loaded
- If all custom fonts can be loaded

The `R.validate()` method will throw a detailed error about the problems that occur. Note that this method will always perform checks, even in release builds. It’s recommended that validation is done in a testcase.

Expand Down
1 change: 1 addition & 0 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ R.swift currently supports these types of resources:
Runtime validation with [`R.validate()`](Documentation/Examples.md#runtime-validation):
- If all images used in storyboards and nibs are available
- If all view controllers with storyboard identifiers can be loaded
- If all custom fonts can be loaded

## Q&A

Expand Down

0 comments on commit 3dcee9a

Please sign in to comment.