Skip to content

Instantly share code, notes, and snippets.

View lijie121210's full-sized avatar

viwii lijie121210

View GitHub Profile
@lijie121210
lijie121210 / ios.settings.schemes.md
Created February 10, 2017 14:51 — 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
@lijie121210
lijie121210 / PointerArithmetic.swift
Created November 9, 2020 08:25 — forked from dastrobu/PointerArithmetic.swift
Swift Pointer Arithmetic for C Interoperability
struct MyStruct {
var n: Int
func sayHello() {
print("hello")
}
}
var s: MyStruct = MyStruct(n: 1)
var a: [UInt8] = []