I hereby claim:
- I am ishawnwang on github.
- I am ishawnwang (https://keybase.io/ishawnwang) on keybase.
- I have a public key ASCgW2WZPG5ADfgS4QaCjUoKqXYhhAXgfpWFXWEpO634hAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
Original issues : [CleanroomLogger/issues/37](https://github.com/emaloney/CleanroomLogger/issues/37) | |
extension Log { | |
static func setup() { | |
#if DEBUG | |
Log.enable(debugMode: true) | |
Log.sqlite = MyLogChannel(prefix: "Sqlite") // enable your channel or using Xcode console filter | |
#endif | |
} | |
} |
//AdHoc detect with following 2 conditions : | |
//1.`embedded.mobileprovision` contains field `ProvisionedDevices` (Debug and Ad Hoc Build contains this field ,Release not) | |
//2.it is not DEBUG Build , we can use `#ifdef DEBUG` to decide it | |
NS_INLINE BOOL isAdHoc(){ | |
BOOL isAdHoc = NO; | |
BOOL isDebug; | |
#ifdef DEBUG | |
isDebug=YES; |
###Note Apple will reject apps that are using private url schemes (Ugh, Apple....) if they are pretty much obvius. Some apps are rejected and others are not, so, be aware of this issue before implementing any of those URL's in your app as a feature.
###[UPDATE : Not yet tested in iOS 10. It will fail because of policies changes in URL scheme handling.]
###[UPDATE 2:The openURL() method of UIApplication is now deprecated. You should use application(_:open:options:) instead]
##[UPDATE 3: For now you just can use url schemes to open your apps's settings with Swift 3.0 (Xcode 8). I'll keep you informed when OS preferences can be reached]
SourceTree
AppFinder
,Command + Shift + G
go to ~/Library/Application Support/SourceTree/
SourceTree
Preference and Cache Directory,ImageCache
SourceTree
AppSourceTree
,it will fetch avatar from Gavatar
with account you login