Skip to content

Instantly share code, notes, and snippets.

UIButton *button = [UIButton buttonWithType:UIButtonTypeDetailDisclosure];
[button setAccessibilityLabel:NSLocalizedString(@"Change", @"accessibilityLabel")];
[self addSubview:button];
long randNum = random();
int dart = randNum % totalPercent;
int tempTotal = 0;
AdWhirlAdNetworkConfig *result = nil;
for (AdWhirlAdNetworkConfig *network in prioritizedAdNetworks) {
tempTotal += network.trafficPercentage;
if (dart < tempTotal) {
total 0
drwxr-xr-x 9 kaz kaz 306 Jul 8 21:36 Contents/
./Contents:
total 24
lrwxr-xr-x 1 kaz kaz 28 Jul 8 21:36 CodeResources@ -> _CodeSignature/CodeResources
drwxr-xr-x 3 kaz kaz 102 Jul 8 21:36 Frameworks/
-rw-r--r-- 1 kaz kaz 1910 Jul 8 21:36 Info.plist
drwxr-xr-x 3 kaz kaz 102 Jul 8 21:36 MacOS/
-rw-r--r-- 1 kaz kaz 8 Jul 8 21:36 PkgInfo
Incident Identifier: B66F8B63-6FAF-47E1-896A-30C0F3977AD4
CrashReporter Key: dd9042a5ea1469498fb4536b286907c9a5df5489
Hardware Model: iPhone3,1
Process: Cocoyon [2731]
Path: /var/mobile/Applications/3226C985-81F1-4771-8A9D-7A6EC923A27A/Cocoyon.app/Cocoyon
Identifier: Cocoyon
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]
Incident Identifier: 265E1AAC-18CF-4580-8383-679CA0B31D84
CrashReporter Key: f5aef926f369a1f3ff883c5da82347039793c9e0
Hardware Model: iPhone3,1
Process: TwitterFon [1765]
Path: /var/mobile/Applications/DA69C48A-82A1-400F-933F-E89A6D048D16/TwitterFon.app/TwitterFon
Identifier: TwitterFon
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]
Incident Identifier: F439F565-7A1C-4E77-88E8-9F71714E16F4
Process: TwitterFon [4640]
Path: /var/mobile/Applications/DA561402-0D38-4912-9841-FD35B9862444/TwitterFon.app/TwitterFon
Identifier: TwitterFon
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2010-07-23 11:31:46.867 +0900
OS Version: iPhone OS 3.1.3 (7E18)
Incident Identifier: 79BE9192-B7F2-4A81-96FE-68B65DC8A1EA
Hardware Model: iPhone2,1
Process: TwitterFon [485]
Path: /var/mobile/Applications/820A6848-5F7E-4320-8F32-D2305413E80D/TwitterFon.app/TwitterFon
Identifier: TwitterFon
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2010-07-21 16:46:49.664 +0900
Incident Identifier: CEF1A1FC-1533-4219-ABFC-BCF293457B2B
Hardware Model: iPod2,1
Process: TwitterFon [421]
Path: /var/mobile/Applications/BF6F95F2-6330-44D3-A9BF-C8767AE8184D/TwitterFon.app/TwitterFon
Identifier: TwitterFon
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2010-07-21 18:24:25.533 +0900
Incident Identifier: BAE1F38C-4025-4A3B-A2B0-3CA36364A954
CrashReporter Key: ba9995c7cc8587eb81e42045979914a2818502b5
Hardware Model: iPhone1,2
Process: TwitterFon [677]
Path: /var/mobile/Applications/8BF9065C-7DB2-411A-BCC0-787BDF51DEAF/TwitterFon.app/TwitterFon
Identifier: TwitterFon
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]
//
// backward compatibility of handling URL
//
NSString* osVersion = [[UIDevice currentDevice] systemVersion];
if ([osVersion compare:@"3.9" options:NSNumericSearch] == NSOrderedAscending) {
NSURL *url = [launchOptions objectForKey:UIApplicationLaunchOptionsURLKey];
if (url) {
[self performSelector:@selector(handleURL:) withObject:url afterDelay:.1];
}
}