Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delegate addition in DialogManager and LaunchGate + StringHandler for Localization #45

Open
wants to merge 7 commits into
base: develop
Choose a base branch
from

Conversation

charvoa
Copy link

@charvoa charvoa commented Sep 4, 2018

  • We added a Delegate in DialogManager in order to know when the "dismiss" button is called.
  • We added a Delegate in LaunchGate in order to know if the app needs update or no.
  • We added a StringHandler, which is a struct that contains the strings displayed in the popup. Why ? Because, at the moment, we are handling Localization on the client side, and not on the back-end side. So we need to be able to provide strings to display in order to display them instead of the text that's in the JSON.

}
- Returns: A `LaunchGate` instance or `nil`
*/
public init?(configURI: String, appStoreURI: String, stringHandler: StringHandler? = nil, dialogDelegate: DialogManagerDelegate? = nil) {

Choose a reason for hiding this comment

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

Line Length Violation: Line should be 120 characters or less: currently 141 characters (line_length)

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.

3 participants