File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ and assortment of nib-based layouts that should handle most cases:
94
94
```` swift
95
95
// Instantiate a message view from the provided card view layout. SwiftMessages searches for nib
96
96
// files in the main bundle first, so you can easily copy them into your project and make changes.
97
- let view = MessageView.viewFromNib (layout : .CardView )
97
+ let view = MessageView.viewFromNib (layout : .cardView )
98
98
99
99
// Theme message elements with the warning style.
100
100
view.configureTheme (.warning )
@@ -116,7 +116,7 @@ your UIKit code is executed on the main queue:
116
116
117
117
```` swift
118
118
SwiftMessages.show {
119
- let view = MessageView.viewFromNib (layout : .CardView )
119
+ let view = MessageView.viewFromNib (layout : .cardView )
120
120
// ... configure the view
121
121
return view
122
122
}
@@ -262,7 +262,7 @@ To facilitate the use of nib-based layouts, `MessageView` provides some type-saf
262
262
// Instantiate MessageView from one of the provided nibs in a type-safe way.
263
263
// SwiftMessages searches the main bundle first, so you easily copy the nib into
264
264
// your project and modify it while still using this type-safe call.
265
- let view = MessageView.viewFromNib (layout : .CardView )
265
+ let view = MessageView.viewFromNib (layout : .cardView )
266
266
````
267
267
268
268
In addition, the ` SwiftMessages ` class provides some generic loading methods:
You can’t perform that action at this time.
0 commit comments