Skip to content

Explicitly type view controller injection and include the presentation type with the key#13

Merged
AndrewGold merged 1 commit intomasterfrom
drew/view-controller-injection
Oct 30, 2019
Merged

Explicitly type view controller injection and include the presentation type with the key#13
AndrewGold merged 1 commit intomasterfrom
drew/view-controller-injection

Conversation

@AndrewGold
Copy link
Contributor

No description provided.

/// View controller modal presentation style
let modalPresentationStyle: UIModalPresentationStyle

required public init(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

public required init


/// Injection-based constructor
public required init(
public init(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make required

) {
self.scope = scope
self.parameters = parameters
self.parameters = [:]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make constructor required

@AndrewGold AndrewGold force-pushed the drew/view-controller-injection branch from 6e02c41 to 99b21dc Compare October 30, 2019 21:43
@AndrewGold AndrewGold merged commit b7dd7da into master Oct 30, 2019
@AndrewGold AndrewGold deleted the drew/view-controller-injection branch October 30, 2019 21:45
adam5618 added a commit to adam5618/CBInjection that referenced this pull request Mar 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants