mirror of
https://github.com/zxing/zxing.git
synced 2025-02-02 05:41:08 -08:00
[iphone][barcodes] added info view. Done button to dismiss view not yet added
git-svn-id: https://zxing.googlecode.com/svn/trunk@1650 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
ab6b4908f4
commit
1b21ed218c
|
@ -22,20 +22,21 @@
|
|||
#import <UIKit/UIKit.h>
|
||||
|
||||
@interface MessageViewController : UIViewController <UIWebViewDelegate> {
|
||||
id callbackTarget;
|
||||
SEL callbackSelectorSuccess;
|
||||
SEL callbackSelectorFailure;
|
||||
// id callbackTarget;
|
||||
// SEL callbackSelectorSuccess;
|
||||
// SEL callbackSelectorFailure;
|
||||
NSURL *contentURL;
|
||||
IBOutlet UIWebView *webView;
|
||||
}
|
||||
|
||||
@property (nonatomic, retain) id callbackTarget;
|
||||
@property (nonatomic, assign) SEL callbackSelectorSuccess;
|
||||
@property (nonatomic, assign) SEL callbackSelectorFailure;
|
||||
//@property (nonatomic, retain) id callbackTarget;
|
||||
//@property (nonatomic, assign) SEL callbackSelectorSuccess;
|
||||
//@property (nonatomic, assign) SEL callbackSelectorFailure;
|
||||
|
||||
@property (nonatomic, readonly) UIWebView *webView;
|
||||
@property (nonatomic,retain) IBOutlet UIWebView *webView;
|
||||
|
||||
@property (nonatomic, retain) NSURL *contentURL;
|
||||
|
||||
- (id)initWithMessageFilename:(NSString *)filename target:(id)cbt onSuccess:(SEL)ss onFailure:(SEL)fs;
|
||||
- (id)initWithMessageFilename:(NSString *)filename;
|
||||
|
||||
@end
|
||||
|
|
|
@ -24,23 +24,18 @@
|
|||
|
||||
@implementation MessageViewController
|
||||
|
||||
@synthesize callbackTarget;
|
||||
@synthesize callbackSelectorSuccess;
|
||||
@synthesize callbackSelectorFailure;
|
||||
//@synthesize callbackTarget;
|
||||
//@synthesize callbackSelectorSuccess;
|
||||
//@synthesize callbackSelectorFailure;
|
||||
@synthesize contentURL;
|
||||
@synthesize webView;
|
||||
|
||||
- (UIWebView *)webView {
|
||||
return (UIWebView *)self.view;
|
||||
}
|
||||
//- (UIWebView *)webView {
|
||||
// return (UIWebView *)self.view;
|
||||
//}
|
||||
|
||||
- (id)initWithMessageFilename:(NSString *)filename
|
||||
target:(id)cbt
|
||||
onSuccess:(SEL)ss
|
||||
onFailure:(SEL)fs {
|
||||
- (id)initWithMessageFilename:(NSString *)filename {
|
||||
if ((self = [super initWithNibName:@"Message" bundle:nil])) {
|
||||
self.callbackTarget = cbt;
|
||||
self.callbackSelectorSuccess = ss;
|
||||
self.callbackSelectorFailure = fs;
|
||||
self.contentURL = [NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:filename
|
||||
ofType:@"html"]];
|
||||
}
|
||||
|
@ -70,6 +65,7 @@
|
|||
|
||||
|
||||
- (void)dealloc {
|
||||
[webView release];
|
||||
[super dealloc];
|
||||
}
|
||||
|
||||
|
@ -89,19 +85,17 @@
|
|||
} else {
|
||||
// any other url:s are handed off to the system
|
||||
NSURL *url = [[request URL] retain];
|
||||
[self performSelectorOnMainThread:@selector(openURL:) withObject:url waitUntilDone:false];
|
||||
return false;
|
||||
[self performSelectorOnMainThread:@selector(openURL:) withObject:url waitUntilDone:NO];
|
||||
return NO;
|
||||
}
|
||||
}
|
||||
|
||||
- (void)webView:(UIWebView *)webView didFailLoadWithError:(NSError *)error {
|
||||
NSLog(@"failed to load content, performing failure callback");
|
||||
[self.callbackTarget performSelector:self.callbackSelectorFailure withObject:self afterDelay:0.0];
|
||||
}
|
||||
|
||||
- (void)webViewDidFinishLoad:(UIWebView *)webView {
|
||||
NSLog(@"finished loading content, performing success callback");
|
||||
[self.callbackTarget performSelector:self.callbackSelectorSuccess withObject:self afterDelay:0.0];
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -22,6 +22,8 @@
|
|||
@property (nonatomic,assign) ParsedResult *result;
|
||||
|
||||
- (IBAction)scan:(id)sender;
|
||||
- (IBAction)info:(id)sender;
|
||||
|
||||
- (void)zxingController:(ZXingWidgetController*)controller didScanResult:(NSString *)result;
|
||||
- (void)zxingControllerDidCancel:(ZXingWidgetController*)controller;
|
||||
- (void)performResultAction;
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
#import <UniversalResultParser.h>
|
||||
#import <ParsedResult.h>
|
||||
#import <ResultAction.h>
|
||||
#import "MessageViewController.h"
|
||||
|
||||
@implementation ZXMainViewController
|
||||
@synthesize resultParser;
|
||||
|
@ -61,8 +62,26 @@
|
|||
[widController release];
|
||||
}
|
||||
|
||||
- (IBAction) info:(id)sender {
|
||||
|
||||
- (void) messageReady:(id)sender {
|
||||
MessageViewController *messageController = sender;
|
||||
[self presentModalViewController:messageController animated:YES];
|
||||
[messageController release];
|
||||
}
|
||||
|
||||
- (void) messageFailed:(id)sender {
|
||||
MessageViewController *messageController = sender;
|
||||
NSLog(@"Failed to load message!");
|
||||
[messageController release];
|
||||
}
|
||||
|
||||
- (IBAction)info:(id)sender {
|
||||
MessageViewController *aboutController =
|
||||
[[MessageViewController alloc] initWithMessageFilename:@"About"
|
||||
/* target:self
|
||||
onSuccess:@selector(messageReady:)
|
||||
onFailure:@selector(messageFailed:)*/];
|
||||
[self presentModalViewController:aboutController animated:YES];
|
||||
[aboutController release];
|
||||
}
|
||||
|
||||
- (void)didReceiveMemoryWarning {
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
<int key="NSvFlags">274</int>
|
||||
<object class="NSMutableArray" key="NSSubviews">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="IBUIImageView" id="243359752">
|
||||
<object class="IBUIImageView" id="19193094">
|
||||
<reference key="NSNextResponder" ref="191373211"/>
|
||||
<int key="NSvFlags">274</int>
|
||||
<string key="NSFrame">{{96, 81}, {128, 128}}</string>
|
||||
|
@ -54,7 +54,7 @@
|
|||
<string key="NSResourceName">ZxingLarge.png</string>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBUILabel" id="501669536">
|
||||
<object class="IBUILabel" id="1000547791">
|
||||
<reference key="NSNextResponder" ref="191373211"/>
|
||||
<int key="NSvFlags">292</int>
|
||||
<string key="NSFrame">{{68, 30}, {183, 21}}</string>
|
||||
|
@ -74,14 +74,14 @@
|
|||
<int key="NSColorSpace">1</int>
|
||||
<bytes key="NSRGB">MCAwIDAAA</bytes>
|
||||
</object>
|
||||
<object class="NSColor" key="IBUIHighlightedColor" id="126998549">
|
||||
<object class="NSColor" key="IBUIHighlightedColor" id="85817449">
|
||||
<int key="NSColorSpace">3</int>
|
||||
<bytes key="NSWhite">MQA</bytes>
|
||||
</object>
|
||||
<int key="IBUIBaselineAdjustment">1</int>
|
||||
<float key="IBUIMinimumFontSize">10</float>
|
||||
</object>
|
||||
<object class="IBUIButton" id="804137716">
|
||||
<object class="IBUIButton" id="1005126370">
|
||||
<reference key="NSNextResponder" ref="191373211"/>
|
||||
<int key="NSvFlags">292</int>
|
||||
<string key="NSFrame">{{96, 240}, {128, 61}}</string>
|
||||
|
@ -90,24 +90,24 @@
|
|||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<int key="IBUIContentHorizontalAlignment">0</int>
|
||||
<int key="IBUIContentVerticalAlignment">0</int>
|
||||
<object class="NSFont" key="IBUIFont" id="232923975">
|
||||
<object class="NSFont" key="IBUIFont" id="50803580">
|
||||
<string key="NSName">Helvetica-Bold</string>
|
||||
<double key="NSSize">15</double>
|
||||
<int key="NSfFlags">16</int>
|
||||
</object>
|
||||
<int key="IBUIButtonType">1</int>
|
||||
<string key="IBUINormalTitle">Scan!</string>
|
||||
<reference key="IBUIHighlightedTitleColor" ref="126998549"/>
|
||||
<reference key="IBUIHighlightedTitleColor" ref="85817449"/>
|
||||
<object class="NSColor" key="IBUINormalTitleColor">
|
||||
<int key="NSColorSpace">1</int>
|
||||
<bytes key="NSRGB">MC4xOTYwNzg0MzQ2IDAuMzA5ODAzOTMyOSAwLjUyMTU2ODY1NgA</bytes>
|
||||
</object>
|
||||
<object class="NSColor" key="IBUINormalTitleShadowColor" id="470436788">
|
||||
<object class="NSColor" key="IBUINormalTitleShadowColor" id="931878472">
|
||||
<int key="NSColorSpace">3</int>
|
||||
<bytes key="NSWhite">MC41AA</bytes>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBUIButton" id="588220974">
|
||||
<object class="IBUIButton" id="171320148">
|
||||
<reference key="NSNextResponder" ref="191373211"/>
|
||||
<int key="NSvFlags">292</int>
|
||||
<string key="NSFrame">{{282, 421}, {18, 19}}</string>
|
||||
|
@ -116,15 +116,15 @@
|
|||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<int key="IBUIContentHorizontalAlignment">0</int>
|
||||
<int key="IBUIContentVerticalAlignment">0</int>
|
||||
<reference key="IBUIFont" ref="232923975"/>
|
||||
<reference key="IBUIFont" ref="50803580"/>
|
||||
<int key="IBUIButtonType">4</int>
|
||||
<bool key="IBUIShowsTouchWhenHighlighted">YES</bool>
|
||||
<reference key="IBUIHighlightedTitleColor" ref="126998549"/>
|
||||
<reference key="IBUIHighlightedTitleColor" ref="85817449"/>
|
||||
<object class="NSColor" key="IBUINormalTitleColor">
|
||||
<int key="NSColorSpace">1</int>
|
||||
<bytes key="NSRGB">MC4xOTYwNzg0MzQ2IDAuMzA5ODAzOTMyOSAwLjUyMTU2ODY1NgA</bytes>
|
||||
</object>
|
||||
<reference key="IBUINormalTitleShadowColor" ref="470436788"/>
|
||||
<reference key="IBUINormalTitleShadowColor" ref="931878472"/>
|
||||
</object>
|
||||
</object>
|
||||
<string key="NSFrameSize">{320, 460}</string>
|
||||
|
@ -151,12 +151,21 @@
|
|||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchEventConnection" key="connection">
|
||||
<string key="label">scan:</string>
|
||||
<reference key="source" ref="804137716"/>
|
||||
<reference key="source" ref="1005126370"/>
|
||||
<reference key="destination" ref="372490531"/>
|
||||
<int key="IBEventType">7</int>
|
||||
</object>
|
||||
<int key="connectionID">7</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchEventConnection" key="connection">
|
||||
<string key="label">info:</string>
|
||||
<reference key="source" ref="171320148"/>
|
||||
<reference key="destination" ref="372490531"/>
|
||||
<int key="IBEventType">7</int>
|
||||
</object>
|
||||
<int key="connectionID">9</int>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBMutableOrderedSet" key="objectRecords">
|
||||
<object class="NSArray" key="orderedObjects">
|
||||
|
@ -172,10 +181,10 @@
|
|||
<reference key="object" ref="191373211"/>
|
||||
<object class="NSMutableArray" key="children">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<reference ref="243359752"/>
|
||||
<reference ref="501669536"/>
|
||||
<reference ref="804137716"/>
|
||||
<reference ref="588220974"/>
|
||||
<reference ref="19193094"/>
|
||||
<reference ref="1000547791"/>
|
||||
<reference ref="1005126370"/>
|
||||
<reference ref="171320148"/>
|
||||
</object>
|
||||
<reference key="parent" ref="0"/>
|
||||
</object>
|
||||
|
@ -192,22 +201,22 @@
|
|||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">4</int>
|
||||
<reference key="object" ref="243359752"/>
|
||||
<reference key="object" ref="19193094"/>
|
||||
<reference key="parent" ref="191373211"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">5</int>
|
||||
<reference key="object" ref="501669536"/>
|
||||
<reference key="object" ref="1000547791"/>
|
||||
<reference key="parent" ref="191373211"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">6</int>
|
||||
<reference key="object" ref="804137716"/>
|
||||
<reference key="object" ref="1005126370"/>
|
||||
<reference key="parent" ref="191373211"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">8</int>
|
||||
<reference key="object" ref="588220974"/>
|
||||
<reference key="object" ref="171320148"/>
|
||||
<reference key="parent" ref="191373211"/>
|
||||
</object>
|
||||
</object>
|
||||
|
@ -269,7 +278,7 @@
|
|||
</object>
|
||||
</object>
|
||||
<nil key="sourceID"/>
|
||||
<int key="maxID">8</int>
|
||||
<int key="maxID">9</int>
|
||||
</object>
|
||||
<object class="IBClassDescriber" key="IBDocument.Classes">
|
||||
<object class="NSMutableArray" key="referencedPartialClassDescriptions">
|
||||
|
@ -278,14 +287,35 @@
|
|||
<string key="className">ZXMainViewController</string>
|
||||
<string key="superclassName">UIViewController</string>
|
||||
<object class="NSMutableDictionary" key="actions">
|
||||
<string key="NS.key.0">scan:</string>
|
||||
<string key="NS.object.0">id</string>
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="NSArray" key="dict.sortedKeys">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<string>info:</string>
|
||||
<string>scan:</string>
|
||||
</object>
|
||||
<object class="NSMutableArray" key="dict.values">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<string>id</string>
|
||||
<string>id</string>
|
||||
</object>
|
||||
</object>
|
||||
<object class="NSMutableDictionary" key="actionInfosByName">
|
||||
<string key="NS.key.0">scan:</string>
|
||||
<object class="IBActionInfo" key="NS.object.0">
|
||||
<string key="name">scan:</string>
|
||||
<string key="candidateClassName">id</string>
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="NSArray" key="dict.sortedKeys">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<string>info:</string>
|
||||
<string>scan:</string>
|
||||
</object>
|
||||
<object class="NSMutableArray" key="dict.values">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="IBActionInfo">
|
||||
<string key="name">info:</string>
|
||||
<string key="candidateClassName">id</string>
|
||||
</object>
|
||||
<object class="IBActionInfo">
|
||||
<string key="name">scan:</string>
|
||||
<string key="candidateClassName">id</string>
|
||||
</object>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
||||
|
@ -382,7 +412,7 @@
|
|||
</object>
|
||||
<object class="IBPartialClassDescription">
|
||||
<string key="className">NSObject</string>
|
||||
<object class="IBClassDescriptionSource" key="sourceIdentifier" id="931689211">
|
||||
<object class="IBClassDescriptionSource" key="sourceIdentifier" id="890110704">
|
||||
<string key="majorKey">IBFrameworkSource</string>
|
||||
<string key="minorKey">UIKit.framework/Headers/UIResponder.h</string>
|
||||
</object>
|
||||
|
@ -422,7 +452,7 @@
|
|||
<object class="IBPartialClassDescription">
|
||||
<string key="className">UIResponder</string>
|
||||
<string key="superclassName">NSObject</string>
|
||||
<reference key="sourceIdentifier" ref="931689211"/>
|
||||
<reference key="sourceIdentifier" ref="890110704"/>
|
||||
</object>
|
||||
<object class="IBPartialClassDescription">
|
||||
<string key="className">UISearchBar</string>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
</style>
|
||||
<meta name="viewport" content="width=device-width; initial-scale=1.0">
|
||||
</head>
|
||||
<body style="background-color: black; color: white; font-family: sans-serif; text-align: center;">
|
||||
<body style="background-color: #E9EEF3; color: black; font-family: sans-serif; text-align: center;">
|
||||
<p style="font-weight: bold;">
|
||||
<img style="width: 128px; height: 128px;" alt="ZXing Project Logo" src="../ZxingLarge.png"></p>
|
||||
<h2>Strichcodes</h2>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
</style>
|
||||
<meta name="viewport" content="width=device-width; initial-scale=1.0">
|
||||
</head>
|
||||
<body style="background-color: black; color: white; font-family: sans-serif; text-align: center;">
|
||||
<body style="background-color: #E9EEF3; color: black; font-family: sans-serif; text-align: center;">
|
||||
<p style="font-weight: bold;">
|
||||
<img style="width: 128px; height: 128px;" alt="ZXing Project Logo" src="../ZxingLarge.png"></p>
|
||||
<h2>Barcodes</h2>
|
||||
|
|
|
@ -2,16 +2,17 @@
|
|||
<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.10">
|
||||
<data>
|
||||
<int key="IBDocument.SystemTarget">768</int>
|
||||
<string key="IBDocument.SystemVersion">10D573</string>
|
||||
<string key="IBDocument.InterfaceBuilderVersion">762</string>
|
||||
<string key="IBDocument.AppKitVersion">1038.29</string>
|
||||
<string key="IBDocument.HIToolboxVersion">460.00</string>
|
||||
<string key="IBDocument.SystemVersion">10H542</string>
|
||||
<string key="IBDocument.InterfaceBuilderVersion">823</string>
|
||||
<string key="IBDocument.AppKitVersion">1038.35</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">87</string>
|
||||
<string key="NS.object.0">132</string>
|
||||
</object>
|
||||
<object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<integer value="16"/>
|
||||
</object>
|
||||
<object class="NSArray" key="IBDocument.PluginDependencies">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
|
@ -36,18 +37,51 @@
|
|||
<string key="IBProxiedObjectIdentifier">IBFirstResponder</string>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
</object>
|
||||
<object class="IBUIWebView" id="221386056">
|
||||
<nil key="NSNextResponder"/>
|
||||
<int key="NSvFlags">274</int>
|
||||
<object class="IBUIView" id="869561171">
|
||||
<reference key="NSNextResponder"/>
|
||||
<int key="NSvFlags">292</int>
|
||||
<object class="NSMutableArray" key="NSSubviews">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="IBUINavigationBar" id="828064752">
|
||||
<reference key="NSNextResponder" ref="869561171"/>
|
||||
<int key="NSvFlags">290</int>
|
||||
<string key="NSFrameSize">{320, 44}</string>
|
||||
<reference key="NSSuperview" ref="869561171"/>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<object class="NSArray" key="IBUIItems">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="IBUINavigationItem" id="1020361707">
|
||||
<reference key="IBUINavigationBar" ref="828064752"/>
|
||||
<string key="IBUITitle">Title</string>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
</object>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBUIWebView" id="924998598">
|
||||
<reference key="NSNextResponder" ref="869561171"/>
|
||||
<int key="NSvFlags">274</int>
|
||||
<string key="NSFrame">{{0, 44}, {320, 416}}</string>
|
||||
<reference key="NSSuperview" ref="869561171"/>
|
||||
<object class="NSColor" key="IBUIBackgroundColor">
|
||||
<int key="NSColorSpace">1</int>
|
||||
<bytes key="NSRGB">MSAxIDEAA</bytes>
|
||||
</object>
|
||||
<bool key="IBUIMultipleTouchEnabled">YES</bool>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<int key="IBUIDataDetectorTypes">1</int>
|
||||
<bool key="IBUIDetectsPhoneNumbers">YES</bool>
|
||||
</object>
|
||||
</object>
|
||||
<string key="NSFrameSize">{320, 460}</string>
|
||||
<reference key="NSSuperview"/>
|
||||
<object class="NSColor" key="IBUIBackgroundColor">
|
||||
<int key="NSColorSpace">3</int>
|
||||
<bytes key="NSWhite">MAA</bytes>
|
||||
<bytes key="NSWhite">MQA</bytes>
|
||||
<object class="NSColorSpace" key="NSCustomColorSpace">
|
||||
<int key="NSID">2</int>
|
||||
</object>
|
||||
</object>
|
||||
<bool key="IBUIClipsSubviews">YES</bool>
|
||||
<bool key="IBUIMultipleTouchEnabled">YES</bool>
|
||||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<bool key="IBUIScalesPageToFit">YES</bool>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBObjectContainer" key="IBDocument.Objects">
|
||||
|
@ -57,9 +91,17 @@
|
|||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">view</string>
|
||||
<reference key="source" ref="372490531"/>
|
||||
<reference key="destination" ref="221386056"/>
|
||||
<reference key="destination" ref="869561171"/>
|
||||
</object>
|
||||
<int key="connectionID">6</int>
|
||||
<int key="connectionID">13</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">webView</string>
|
||||
<reference key="source" ref="372490531"/>
|
||||
<reference key="destination" ref="924998598"/>
|
||||
</object>
|
||||
<int key="connectionID">17</int>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBMutableOrderedSet" key="objectRecords">
|
||||
|
@ -83,10 +125,34 @@
|
|||
<reference key="parent" ref="0"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">4</int>
|
||||
<reference key="object" ref="221386056"/>
|
||||
<int key="objectID">12</int>
|
||||
<reference key="object" ref="869561171"/>
|
||||
<object class="NSMutableArray" key="children">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<reference ref="828064752"/>
|
||||
<reference ref="924998598"/>
|
||||
</object>
|
||||
<reference key="parent" ref="0"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">14</int>
|
||||
<reference key="object" ref="828064752"/>
|
||||
<object class="NSMutableArray" key="children">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<reference ref="1020361707"/>
|
||||
</object>
|
||||
<reference key="parent" ref="869561171"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">15</int>
|
||||
<reference key="object" ref="1020361707"/>
|
||||
<reference key="parent" ref="828064752"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">16</int>
|
||||
<reference key="object" ref="924998598"/>
|
||||
<reference key="parent" ref="869561171"/>
|
||||
</object>
|
||||
</object>
|
||||
</object>
|
||||
<object class="NSMutableDictionary" key="flattenedProperties">
|
||||
|
@ -95,12 +161,20 @@
|
|||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<string>-1.CustomClassName</string>
|
||||
<string>-2.CustomClassName</string>
|
||||
<string>4.IBPluginDependency</string>
|
||||
<string>12.IBEditorWindowLastContentRect</string>
|
||||
<string>12.IBPluginDependency</string>
|
||||
<string>14.IBPluginDependency</string>
|
||||
<string>15.IBPluginDependency</string>
|
||||
<string>16.IBPluginDependency</string>
|
||||
</object>
|
||||
<object class="NSMutableArray" key="dict.values">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<string>MessageViewController</string>
|
||||
<string>UIResponder</string>
|
||||
<string>{{295, 243}, {320, 460}}</string>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
</object>
|
||||
</object>
|
||||
|
@ -120,7 +194,7 @@
|
|||
</object>
|
||||
</object>
|
||||
<nil key="sourceID"/>
|
||||
<int key="maxID">6</int>
|
||||
<int key="maxID">17</int>
|
||||
</object>
|
||||
<object class="IBClassDescriber" key="IBDocument.Classes">
|
||||
<object class="NSMutableArray" key="referencedPartialClassDescriptions">
|
||||
|
@ -129,8 +203,15 @@
|
|||
<string key="className">MessageViewController</string>
|
||||
<string key="superclassName">UIViewController</string>
|
||||
<object class="NSMutableDictionary" key="outlets">
|
||||
<string key="NS.key.0">callbackTarget</string>
|
||||
<string key="NS.object.0">id</string>
|
||||
<string key="NS.key.0">webView</string>
|
||||
<string key="NS.object.0">UIWebView</string>
|
||||
</object>
|
||||
<object class="NSMutableDictionary" key="toOneOutletInfosByName">
|
||||
<string key="NS.key.0">webView</string>
|
||||
<object class="IBToOneOutletInfo" key="NS.object.0">
|
||||
<string key="name">webView</string>
|
||||
<string key="candidateClassName">UIWebView</string>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
||||
<string key="majorKey">IBProjectSource</string>
|
||||
|
@ -175,13 +256,6 @@
|
|||
<string key="minorKey">Foundation.framework/Headers/NSKeyedArchiver.h</string>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBPartialClassDescription">
|
||||
<string key="className">NSObject</string>
|
||||
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
||||
<string key="majorKey">IBFrameworkSource</string>
|
||||
<string key="minorKey">Foundation.framework/Headers/NSNetServices.h</string>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBPartialClassDescription">
|
||||
<string key="className">NSObject</string>
|
||||
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
||||
|
@ -189,13 +263,6 @@
|
|||
<string key="minorKey">Foundation.framework/Headers/NSObject.h</string>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBPartialClassDescription">
|
||||
<string key="className">NSObject</string>
|
||||
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
||||
<string key="majorKey">IBFrameworkSource</string>
|
||||
<string key="minorKey">Foundation.framework/Headers/NSPort.h</string>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBPartialClassDescription">
|
||||
<string key="className">NSObject</string>
|
||||
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
||||
|
@ -203,13 +270,6 @@
|
|||
<string key="minorKey">Foundation.framework/Headers/NSRunLoop.h</string>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBPartialClassDescription">
|
||||
<string key="className">NSObject</string>
|
||||
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
||||
<string key="majorKey">IBFrameworkSource</string>
|
||||
<string key="minorKey">Foundation.framework/Headers/NSStream.h</string>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBPartialClassDescription">
|
||||
<string key="className">NSObject</string>
|
||||
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
||||
|
@ -231,13 +291,6 @@
|
|||
<string key="minorKey">Foundation.framework/Headers/NSURLConnection.h</string>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBPartialClassDescription">
|
||||
<string key="className">NSObject</string>
|
||||
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
||||
<string key="majorKey">IBFrameworkSource</string>
|
||||
<string key="minorKey">Foundation.framework/Headers/NSXMLParser.h</string>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBPartialClassDescription">
|
||||
<string key="className">NSObject</string>
|
||||
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
||||
|
@ -259,6 +312,35 @@
|
|||
<string key="minorKey">UIKit.framework/Headers/UIResponder.h</string>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBPartialClassDescription">
|
||||
<string key="className">UIBarButtonItem</string>
|
||||
<string key="superclassName">UIBarItem</string>
|
||||
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
||||
<string key="majorKey">IBFrameworkSource</string>
|
||||
<string key="minorKey">UIKit.framework/Headers/UIBarButtonItem.h</string>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBPartialClassDescription">
|
||||
<string key="className">UIBarItem</string>
|
||||
<string key="superclassName">NSObject</string>
|
||||
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
||||
<string key="majorKey">IBFrameworkSource</string>
|
||||
<string key="minorKey">UIKit.framework/Headers/UIBarItem.h</string>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBPartialClassDescription">
|
||||
<string key="className">UINavigationBar</string>
|
||||
<string key="superclassName">UIView</string>
|
||||
<object class="IBClassDescriptionSource" key="sourceIdentifier" id="171454485">
|
||||
<string key="majorKey">IBFrameworkSource</string>
|
||||
<string key="minorKey">UIKit.framework/Headers/UINavigationBar.h</string>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBPartialClassDescription">
|
||||
<string key="className">UINavigationItem</string>
|
||||
<string key="superclassName">NSObject</string>
|
||||
<reference key="sourceIdentifier" ref="171454485"/>
|
||||
</object>
|
||||
<object class="IBPartialClassDescription">
|
||||
<string key="className">UIResponder</string>
|
||||
<string key="superclassName">NSObject</string>
|
||||
|
@ -280,6 +362,13 @@
|
|||
<string key="minorKey">UIKit.framework/Headers/UISearchDisplayController.h</string>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBPartialClassDescription">
|
||||
<string key="className">UIView</string>
|
||||
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
||||
<string key="majorKey">IBFrameworkSource</string>
|
||||
<string key="minorKey">UIKit.framework/Headers/UIPrintFormatter.h</string>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBPartialClassDescription">
|
||||
<string key="className">UIView</string>
|
||||
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
||||
|
@ -302,6 +391,20 @@
|
|||
<string key="minorKey">UIKit.framework/Headers/UINavigationController.h</string>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBPartialClassDescription">
|
||||
<string key="className">UIViewController</string>
|
||||
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
||||
<string key="majorKey">IBFrameworkSource</string>
|
||||
<string key="minorKey">UIKit.framework/Headers/UIPopoverController.h</string>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBPartialClassDescription">
|
||||
<string key="className">UIViewController</string>
|
||||
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
||||
<string key="majorKey">IBFrameworkSource</string>
|
||||
<string key="minorKey">UIKit.framework/Headers/UISplitViewController.h</string>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBPartialClassDescription">
|
||||
<string key="className">UIViewController</string>
|
||||
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
||||
|
@ -335,15 +438,15 @@
|
|||
</object>
|
||||
<object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDependencyDefaults">
|
||||
<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.iPhoneOS</string>
|
||||
<integer value="784" key="NS.object.0"/>
|
||||
<integer value="1056" key="NS.object.0"/>
|
||||
</object>
|
||||
<object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDevelopmentDependencies">
|
||||
<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3</string>
|
||||
<integer value="3000" key="NS.object.0"/>
|
||||
</object>
|
||||
<bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
|
||||
<string key="IBDocument.LastKnownRelativeProjectPath">../ZXing.xcodeproj</string>
|
||||
<string key="IBDocument.LastKnownRelativeProjectPath">../Barcodes.xcodeproj</string>
|
||||
<int key="IBDocument.defaultPropertyAccessControl">3</int>
|
||||
<string key="IBCocoaTouchPluginVersion">87</string>
|
||||
<string key="IBCocoaTouchPluginVersion">132</string>
|
||||
</data>
|
||||
</archive>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
</style>
|
||||
<meta name="viewport" content="width=device-width; initial-scale=1.0">
|
||||
</head>
|
||||
<body style="background-color: black; color: white; font-family: sans-serif; text-align: center;">
|
||||
<body style="background-color: #E9EEF3; color: black; font-family: sans-serif; text-align: center;">
|
||||
<p style="font-weight: bold;">
|
||||
<img style="width: 128px; height: 128px;" alt="ZXing Project Logo" src="../ZxingLarge.png"></p>
|
||||
<h2>Streckkoder</h2>
|
||||
|
|
Loading…
Reference in a new issue