Skip to content

Commit

Permalink
💄 Gloss: Add Section Comments
Browse files Browse the repository at this point in the history
  • Loading branch information
dominicstop committed Apr 6, 2023
1 parent c35aeea commit e97c9d1
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,21 @@ public enum RNIModalPresentationState: String {

public struct RNIModalPresentationStateMachine {

// MARK: - Properties
// ------------------

var state: RNIModalPresentationState = .INITIAL;
var statePrev: RNIModalPresentationState = .INITIAL;

// MARK: - Properties - Completion Handlers
// ----------------------------------------

var onDismissWillCancel: (() -> Void)?;
var onDismissDidCancel: (() -> Void)?;

// MARK: - Functions
// -----------------

mutating func set(state nextState: RNIModalPresentationState){
let prevState = self.state;
self.statePrev = prevState;
Expand Down

0 comments on commit e97c9d1

Please sign in to comment.