Skip to content

Instantly share code, notes, and snippets.

View iamchiwon's full-sized avatar
💭
I'm awake

Song Chiwon iamchiwon

💭
I'm awake
View GitHub Profile
extension Array where Element: Equatable {
func exists(_ item: Element) -> Bool {
if let _ = self.indexOf(item) {
return true
}
return false
}
func indexOf(_ item: Element) -> Int? {
@iamchiwon
iamchiwon / ios.settings.schemes.md
Created March 27, 2018 06:17 — forked from tzmartin/ios.settings.schemes.md
iOS Settings URL Scheme List

Settings URL schemes:

Note: < i=OS 5.1 use prefs:. > 5.1 use app-settings:

  • app-settings:root=General&path=About
  • app-settings:root=General&path=ACCESSIBILITY
  • app-settings:root=AIRPLANE_MODE
  • app-settings:root=General&path=AUTOLOCK
  • app-settings:root=General&path=USAGE/CELLULAR_USAGE
  • app-settings:root=Brightness

Videos