Skip to content

Instantly share code, notes, and snippets.

@melihbuyuk
Created January 7, 2019 05:52
Show Gist options
  • Save melihbuyuk/4e1a2098073ff35939461cb7d13cab19 to your computer and use it in GitHub Desktop.
Save melihbuyuk/4e1a2098073ff35939461cb7d13cab19 to your computer and use it in GitHub Desktop.
Swift Comment Style
/**
Pop up a prompt panel.
- parameters:
- key: A localization key. "alert.`key`.title" will be used as alert title, and "alert.`key`.message" will be the informative text.
- titleComment: (Optional) Comment for title key.
- messageComment: (Optional) Comment for message key.
- sheetWindow: (Optional) The window on which to display the sheet.
- callback: (Optional) Completion handler.
- Returns: Whether user dismissed the panel by clicking OK. Only works when using `.modal` mode.
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment