You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: ViewControllers.md
+14-14
Original file line number
Diff line number
Diff line change
@@ -35,32 +35,32 @@ It is not necessary to retain `segue` because it retains itself until dismissal.
35
35
36
36
`SwiftMessagesSegue` generally requires configuration to achieve specific layouts and optional behaviors. There are a few good ways to do this:
37
37
38
-
1.__(Recommended)__ Subclass `SwiftMessagesSegue` and apply configurations in `init(identifier:source:destination:)`. Subclasses will automatically appear in the segue type dialog using an auto-generated name. For example, the name for "VeryNiceSegue" would be "very nice".
38
+
1.__(Recommended)__ Subclass `SwiftMessagesSegue` and apply configurations in `init(identifier:source:destination:)`. Subclasses will automatically appear in the segue type dialog using an auto-generated name. For example, the name for "VeryNiceSegue" would be "very nice".
39
39
40
40
41
-
````swift
42
-
class VeryNiceSegue: SwiftMessagesSegue {
43
-
override public init(identifier: String?, source: UIViewController, destination: UIViewController) {
The `configure(layout:)` method is a shortcut for configuring some basic layout and animation options that roughly mirror the options in `SwiftMessages.Layout`.
0 commit comments