File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ and assortment of nib-based layouts that should handle most cases:
73
73
```` swift
74
74
// Instantiate a message view from the provided card view layout. SwiftMessages searches for nib
75
75
// files in the main bundle first, so you can easily copy them into your project and make changes.
76
- let view = MessageView.viewFromNib (layout : .cardView )
76
+ let view = MessageView.viewFromNib (layout : .CardView )
77
77
78
78
// Theme message elements with the warning style.
79
79
view.configureTheme (.warning )
@@ -95,7 +95,7 @@ your UIKit code is executed on the main queue:
95
95
96
96
```` swift
97
97
SwiftMessages.show {
98
- let view = MessageView.viewFromNib (layout : .cardView )
98
+ let view = MessageView.viewFromNib (layout : .CardView )
99
99
// ... configure the view
100
100
return view
101
101
}
@@ -182,7 +182,7 @@ To facilitate the use of nib-based layouts, `MessageView` provides some type-saf
182
182
// Instantiate MessageView from one of the provided nibs in a type-safe way.
183
183
// SwiftMessages searches the main bundle first, so you easily copy the nib into
184
184
// your project and modify it while still using this type-safe call.
185
- let view = MessageView.viewFromNib (layout : .cardView )
185
+ let view = MessageView.viewFromNib (layout : .CardView )
186
186
````
187
187
188
188
In addition, the ` SwiftMessages ` class provides some generic loading methods:
You can’t perform that action at this time.
0 commit comments