This repository has been archived by the owner. It is now read-only.

Added Disabled status, parameter to set tap-to-disappear, localization and assert fixes #12

Merged
merged 5 commits into from Apr 27, 2015

Conversation

Projects
None yet
2 participants
@bre7
Collaborator

bre7 commented Apr 26, 2015

PermissionConfig's init and PermissionScope's addPermission

bre7 added some commits Apr 26, 2015

bre7
Added parameter to enable/disable ViewController's "hide-on-backgroun…
…d-tap" functionality and a convenience initializer to set a default behaviour. Minor formatting fixed (new lines).

@bre7 bre7 changed the title from Fixed asserts to Fixed asserts & added parameter to set tap-to-disappear Apr 26, 2015

@bre7

This comment has been minimized.

Collaborator

bre7 commented Apr 26, 2015

Keys for Localizable.strings:

"Allow Contacts" = "";
"Allow Events" = "";
"Enable Location" = "";
"Allow Notifications" = "";
"Allow Microphone" = "";
"Allow Camera" = "";
"Allow Photos" = "";
"Allow Reminders" = "";
"Allow Bluetooth" = "";
"Allow Motion" = "";
//
"Contacts" = "";
"Events" = "";
"LocationAlways" = "";
"LocationInUse" = "";
"Notifications" = "";
"Microphone" = "";
"Camera" = "";
"Photos" = "";
"Reminders" = "";
"Bluetooth" = "";
"Motion" = "";
//
"Allowed Contacts" = "";
"Allowed Events" = "";
"Allowed Location" = "";
"Allowed Notifications" = "";
"Allowed Microphone" = "";
"Allowed Camera" = "";
"Allowed Photos" = "";
"Allowed Reminders" = "";
"Allowed Bluetooth" = "";
"Allowed Motion" = "";
//
"Denied Contacts" = "";
"Denied Events" = "";
"Denied Location" = "";
"Denied Notifications" = "";
"Denied Microphone" = "";
"Denied Camera" = "";
"Denied Photos" = "";
"Denied Reminders" = "";
"Denied Bluetooth" = "";
"Denied Motion" = "";
//
"Contacts Disabled" = "";
"Events Disabled" = "";
"Location Disabled" = "";
"Notifications Disabled" = "";
"Microphone Disabled" = "";
"Camera Disabled" = "";
"Photos Disabled" = "";
"Reminders Disabled" = "";
"Bluetooth Disabled" = "";
"Motion Disabled" = "";
//
"Close" = "";
"Hey, listen!" = "";
"We need a couple things\r\nbefore you get started." = "";
"Permission for Contacts was denied." = "";
"Permission for Events was denied." = "";
"Permission for LocationAlways was denied." = "";
"Permission for LocationInUse was denied." = "";
"Permission for Notifications was denied." = "";
"Permission for Microphone was denied." = "";
"Permission for Camera was denied." = "";
"Permission for Photos was denied." = "";
"Permission for Reminders was denied." = "";
"Permission for Bluetooth was denied." = "";
"Permission for Motion was denied." = "";
//
"Please enable access to Contacts in the Settings app" = "";
"Please enable access to Events in the Settings app" = "";
"Please enable access to LocationAlways in the Settings app" = "";
"Please enable access to LocationInUse in the Settings app" = "";
"Please enable access to Notifications in the Settings app" = "";
"Please enable access to Microphone in the Settings app" = "";
"Please enable access to Camera in the Settings app" = "";
"Please enable access to Photos in the Settings app" = "";
"Please enable access to Reminders in the Settings app" = "";
"Please enable access to Bluetooth in the Settings app" = "";
"Please enable access to Motion in the Settings app" = "";
//
"OK" = "";
"Show me" = "";
//
"Contacts is currently disabled." = "";
"Events is currently disabled." = "";
"LocationAlways is currently disabled." = "";
"LocationInUse is currently disabled." = "";
"Notifications is currently disabled." = "";
"Microphone is currently disabled." = "";
"Camera is currently disabled." = "";
"Photos is currently disabled." = "";
"Reminders is currently disabled." = "";
"Bluetooth is currently disabled." = "";
"Motion is currently disabled." = "";
//
"Please enable access to Contacts in Settings" = "";
"Please enable access to Events in Settings" = "";
"Please enable access to LocationAlways in Settings" = "";
"Please enable access to LocationInUse in Settings" = "";
"Please enable access to Notifications in Settings" = "";
"Please enable access to Microphone in Settings" = "";
"Please enable access to Camera in Settings" = "";
"Please enable access to Photos in Settings" = "";
"Please enable access to Reminders in Settings" = "";
"Please enable access to Bluetooth in Settings" = "";
"Please enable access to Motion in Settings" = "";

@bre7 bre7 changed the title from Fixed asserts & added parameter to set tap-to-disappear to Fixed asserts, added parameter to set tap-to-disappear and localization Apr 26, 2015

@bre7 bre7 changed the title from Fixed asserts, added parameter to set tap-to-disappear and localization to Added Disabled status, parameter to set tap-to-disappear, localization and assert fixes Apr 27, 2015

@bre7

This comment has been minimized.

Collaborator

bre7 commented Apr 27, 2015

Observation/Known bug: If status is disabled, PScope popup will be shown.

@nickoneill nickoneill merged commit cf7648d into nickoneill:master Apr 27, 2015

@nickoneill

This comment has been minimized.

Owner

nickoneill commented Apr 27, 2015

Thanks! This looks really good. I tweaked the language a bit and the notificationCategories assert.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.