- UIKonf - https://www.youtube.com/user/UIKonf
- AltConference/AltWWDC - https://www.youtube.com/channel/UChiwrWoactp8mOs70j53zYw/videos
- Facebook iOS Infrastructure - https://www.youtube.com/watch?v=OJ94KqmsxiI
- Building Facebook Paper - https://www.youtube.com/watch?v=OiY1cheLpmI
- Cross platform application by Dropbox - https://www.youtube.com/watch?v=S5rXCvu9-NM
- Scaling Mobile Development at Twitter - https://www.youtube.com/watch?v=C6vYg6u7MPA
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Title" message:@"Alert Message" delegate:nil cancelButtonTitle:@"Ok" otherButtonTitles:nil]; | |
| alert.alertViewStyle = UIAlertViewStylePlainTextInput; | |
| [alert textFieldAtIndex:0].borderStyle = UITextBorderStyleRoundedRect; | |
| [alert show]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // CCamera.h | |
| // CCamera | |
| // | |
| // Created by Jonathan Wight on 7/12/12. | |
| // Copyright (c) 2012 Jonathan Wight. All rights reserved. | |
| // | |
| #import <Foundation/Foundation.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| AFJSONRequestOperation *operationJSON = [AFJSONRequestOperation | |
| JSONRequestOperationWithRequest:requestJSON | |
| success:^(NSURLRequest *request, NSHTTPURLResponse *response, id JSON) { | |
| NSMutableArray *results = [JSON valueForKey:@"results"]; | |
| // UPDATED CODE | |
| for (id obj in [results valueForKey:@"value"]) { | |
| if (![items containsObject:obj]) { | |
| [items addObject:obj]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| expr -- (void)printf("[%s, %s]\n",(char *) object_getClassName(*(long*)($esp+4)), (char *) *(long *)($esp+8) ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #import "PLCrashReporterConfig.h" | |
| #import "PLCrashReporter.h" | |
| #import "PLCrashReport.h" | |
| #import "PLCrashReportTextFormatter.h" | |
| - (void)watchdog | |
| { | |
| NSTimeInterval pingInterval = 1.0/60.0; | |
| NSTimeInterval watchdogInterval = 1.0/30.0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @interface CrashManager:NSObject | |
| /** | |
| * Generates live crash report, without triggering an actual crash condition. | |
| * | |
| * Works only if the vendor SDK is built using PLCrashReporter v 1.1 atleast. | |
| * We are using runtime magic to call generateLiveReportAndReturnError: method on PLCrashReporter instance without changing vendor sdk (QuincyKit, HockeyApp, others) | |
| */ | |
| - (void)generateLiveReport; | |
| @end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| int usingSubtraction(int x) | |
| { | |
| return 3-x; | |
| } | |
| int usingDivision(int x) | |
| { | |
| return 2/x; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ | |
| { | |
| "itemId": "123456", | |
| "definingAttributes": [ | |
| { | |
| "attributeName": "Product Length (in.)", | |
| "attributeValue": "10" | |
| }, | |
| { | |
| "attributeName": "Product Width (in.)", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Decrypt Binaries from AppStore IPA | |
| ----------------------------------- | |
| * `Cydia` - Add Source - http://cydia.iphonecake.com/ | |
| * `Mobile Terminal` - login root - Clutch - Clutch <appname> | |
| * `/var/root/` - Location for Decrypted files | |
| * `Class-dump` - `./class-dump -H <location-of-binary> -o <location-to-save-header-files>` To dump all headers | |
| Inspect View-Hierarchy of Apps | |
| ------------------------------ | |
| * CyDelete - Install CyDelete from Cydia if MobileSubstrate folder is not listed in /Library/. |