Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit ed20ecb
Showing
32 changed files
with
2,464 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// | ||
// Blob.h | ||
// | ||
|
||
#import <UIKit/UIKit.h> | ||
|
||
@interface Blob : UIViewController | ||
|
||
@property (nonatomic, retain) IBOutlet UITextView *blob; | ||
@property (nonatomic, retain) NSString *key; | ||
@property (nonatomic, retain) NSString *value; | ||
|
||
|
||
|
||
@end |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
// | ||
// Blob.m | ||
// | ||
|
||
#import "Blob.h" | ||
|
||
@implementation Blob | ||
|
||
@synthesize blob, key, value; | ||
|
||
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil | ||
{ | ||
self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]; | ||
if (self) { | ||
// Custom initialization | ||
} | ||
return self; | ||
} | ||
|
||
- (void)didReceiveMemoryWarning | ||
{ | ||
// Releases the view if it doesn't have a superview. | ||
[super didReceiveMemoryWarning]; | ||
|
||
// Release any cached data, images, etc that aren't in use. | ||
} | ||
|
||
#pragma mark - View lifecycle | ||
|
||
- (void)viewDidLoad | ||
{ | ||
[super viewDidLoad]; | ||
blob.text = value; | ||
self.title = key; | ||
|
||
|
||
} | ||
|
||
- (void)viewDidUnload | ||
{ | ||
[super viewDidUnload]; | ||
// Release any retained subviews of the main view. | ||
// e.g. self.myOutlet = nil; | ||
} | ||
|
||
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation | ||
{ | ||
// Return YES for supported orientations | ||
return (interfaceOrientation == UIInterfaceOrientationPortrait); | ||
} | ||
|
||
@end |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,180 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="8.00"> | ||
<data> | ||
<int key="IBDocument.SystemTarget">1280</int> | ||
<string key="IBDocument.SystemVersion">10K549</string> | ||
<string key="IBDocument.InterfaceBuilderVersion">1938</string> | ||
<string key="IBDocument.AppKitVersion">1038.36</string> | ||
<string key="IBDocument.HIToolboxVersion">461.00</string> | ||
<object class="NSMutableDictionary" key="IBDocument.PluginVersions"> | ||
<string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> | ||
<string key="NS.object.0">933</string> | ||
</object> | ||
<array key="IBDocument.IntegratedClassDependencies"> | ||
<string>IBProxyObject</string> | ||
<string>IBUIView</string> | ||
<string>IBUITextView</string> | ||
</array> | ||
<array key="IBDocument.PluginDependencies"> | ||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> | ||
</array> | ||
<object class="NSMutableDictionary" key="IBDocument.Metadata"> | ||
<string key="NS.key.0">PluginDependencyRecalculationVersion</string> | ||
<integer value="1" key="NS.object.0"/> | ||
</object> | ||
<array class="NSMutableArray" key="IBDocument.RootObjects" id="1000"> | ||
<object class="IBProxyObject" id="372490531"> | ||
<string key="IBProxiedObjectIdentifier">IBFilesOwner</string> | ||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> | ||
</object> | ||
<object class="IBProxyObject" id="975951072"> | ||
<string key="IBProxiedObjectIdentifier">IBFirstResponder</string> | ||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> | ||
</object> | ||
<object class="IBUIView" id="191373211"> | ||
<reference key="NSNextResponder"/> | ||
<int key="NSvFlags">274</int> | ||
<array class="NSMutableArray" key="NSSubviews"> | ||
<object class="IBUITextView" id="214944489"> | ||
<reference key="NSNextResponder" ref="191373211"/> | ||
<int key="NSvFlags">274</int> | ||
<string key="NSFrameSize">{320, 460}</string> | ||
<reference key="NSSuperview" ref="191373211"/> | ||
<reference key="NSWindow"/> | ||
<reference key="NSNextKeyView"/> | ||
<object class="NSColor" key="IBUIBackgroundColor"> | ||
<int key="NSColorSpace">1</int> | ||
<bytes key="NSRGB">MSAxIDEAA</bytes> | ||
</object> | ||
<bool key="IBUIClipsSubviews">YES</bool> | ||
<bool key="IBUIMultipleTouchEnabled">YES</bool> | ||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> | ||
<bool key="IBUIEditable">NO</bool> | ||
<string key="IBUIText">a</string> | ||
<object class="IBUITextInputTraits" key="IBUITextInputTraits"> | ||
<int key="IBUIAutocorrectionType">1</int> | ||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> | ||
</object> | ||
<object class="IBUIFontDescription" key="IBUIFontDescription"> | ||
<int key="type">1</int> | ||
<double key="pointSize">14</double> | ||
</object> | ||
<object class="NSFont" key="IBUIFont"> | ||
<string key="NSName">Helvetica</string> | ||
<double key="NSSize">14</double> | ||
<int key="NSfFlags">16</int> | ||
</object> | ||
</object> | ||
</array> | ||
<string key="NSFrame">{{0, 20}, {320, 460}}</string> | ||
<reference key="NSSuperview"/> | ||
<reference key="NSWindow"/> | ||
<reference key="NSNextKeyView" ref="214944489"/> | ||
<object class="NSColor" key="IBUIBackgroundColor"> | ||
<int key="NSColorSpace">3</int> | ||
<bytes key="NSWhite">MQA</bytes> | ||
<object class="NSColorSpace" key="NSCustomColorSpace"> | ||
<int key="NSID">2</int> | ||
</object> | ||
</object> | ||
<object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics"/> | ||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string> | ||
</object> | ||
</array> | ||
<object class="IBObjectContainer" key="IBDocument.Objects"> | ||
<array class="NSMutableArray" key="connectionRecords"> | ||
<object class="IBConnectionRecord"> | ||
<object class="IBCocoaTouchOutletConnection" key="connection"> | ||
<string key="label">view</string> | ||
<reference key="source" ref="372490531"/> | ||
<reference key="destination" ref="191373211"/> | ||
</object> | ||
<int key="connectionID">3</int> | ||
</object> | ||
<object class="IBConnectionRecord"> | ||
<object class="IBCocoaTouchOutletConnection" key="connection"> | ||
<string key="label">blob</string> | ||
<reference key="source" ref="372490531"/> | ||
<reference key="destination" ref="214944489"/> | ||
</object> | ||
<int key="connectionID">7</int> | ||
</object> | ||
</array> | ||
<object class="IBMutableOrderedSet" key="objectRecords"> | ||
<array key="orderedObjects"> | ||
<object class="IBObjectRecord"> | ||
<int key="objectID">0</int> | ||
<array key="object" id="0"/> | ||
<reference key="children" ref="1000"/> | ||
<nil key="parent"/> | ||
</object> | ||
<object class="IBObjectRecord"> | ||
<int key="objectID">1</int> | ||
<reference key="object" ref="191373211"/> | ||
<array class="NSMutableArray" key="children"> | ||
<reference ref="214944489"/> | ||
</array> | ||
<reference key="parent" ref="0"/> | ||
</object> | ||
<object class="IBObjectRecord"> | ||
<int key="objectID">-1</int> | ||
<reference key="object" ref="372490531"/> | ||
<reference key="parent" ref="0"/> | ||
<string key="objectName">File's Owner</string> | ||
</object> | ||
<object class="IBObjectRecord"> | ||
<int key="objectID">-2</int> | ||
<reference key="object" ref="975951072"/> | ||
<reference key="parent" ref="0"/> | ||
</object> | ||
<object class="IBObjectRecord"> | ||
<int key="objectID">6</int> | ||
<reference key="object" ref="214944489"/> | ||
<reference key="parent" ref="191373211"/> | ||
</object> | ||
</array> | ||
</object> | ||
<dictionary class="NSMutableDictionary" key="flattenedProperties"> | ||
<string key="-1.CustomClassName">Blob</string> | ||
<string key="-1.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> | ||
<string key="-2.CustomClassName">UIResponder</string> | ||
<string key="-2.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> | ||
<string key="1.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> | ||
<string key="6.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> | ||
</dictionary> | ||
<dictionary class="NSMutableDictionary" key="unlocalizedProperties"/> | ||
<nil key="activeLocalization"/> | ||
<dictionary class="NSMutableDictionary" key="localizations"/> | ||
<nil key="sourceID"/> | ||
<int key="maxID">7</int> | ||
</object> | ||
<object class="IBClassDescriber" key="IBDocument.Classes"> | ||
<array class="NSMutableArray" key="referencedPartialClassDescriptions"> | ||
<object class="IBPartialClassDescription"> | ||
<string key="className">Blob</string> | ||
<string key="superclassName">UIViewController</string> | ||
<object class="NSMutableDictionary" key="outlets"> | ||
<string key="NS.key.0">blob</string> | ||
<string key="NS.object.0">UITextView</string> | ||
</object> | ||
<object class="NSMutableDictionary" key="toOneOutletInfosByName"> | ||
<string key="NS.key.0">blob</string> | ||
<object class="IBToOneOutletInfo" key="NS.object.0"> | ||
<string key="name">blob</string> | ||
<string key="candidateClassName">UITextView</string> | ||
</object> | ||
</object> | ||
<object class="IBClassDescriptionSource" key="sourceIdentifier"> | ||
<string key="majorKey">IBProjectSource</string> | ||
<string key="minorKey">./Classes/Blob.h</string> | ||
</object> | ||
</object> | ||
</array> | ||
</object> | ||
<int key="IBDocument.localizationMode">0</int> | ||
<string key="IBDocument.TargetRuntimeIdentifier">IBCocoaTouchFramework</string> | ||
<bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool> | ||
<int key="IBDocument.defaultPropertyAccessControl">3</int> | ||
<string key="IBCocoaTouchPluginVersion">933</string> | ||
</data> | ||
</archive> |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
// | ||
// CacheMonitor.h | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
|
||
@interface CacheMonitor : NSURLCache {} | ||
|
||
@property (nonatomic, retain) NSMutableArray *components; | ||
@property (nonatomic, retain) NSMutableArray *urls; | ||
|
||
@property (nonatomic, retain) NSMutableArray *requests; | ||
@property (nonatomic, retain) NSMutableArray *responses; | ||
@property (nonatomic, retain) NSMutableArray *endtimes; | ||
|
||
+ (CacheMonitor *)getCache; | ||
|
||
- (void) populate; | ||
- (void) clearLog; | ||
|
||
@end |
Oops, something went wrong.