Commit 3d99a27bfae4f48bb21fbd0e15fdfea21c9a4a39
1 parent
6af754c1
--no commit message
Showing
77 changed files
with
28854 additions
and
4 deletions
Too many changes to show.
To preserve performance only 18 of 77 files are displayed.
DUREX Vendor Control/DUREX Vendor Control.xcodeproj/project.xcworkspace/xcuserdata/imanol.xcuserdatad/UserInterfaceState.xcuserstate
No preview for this file type
DUREX Vendor Control/FirstAppExample/MainStoryboard.storyboard
@@ -78,6 +78,40 @@ | @@ -78,6 +78,40 @@ | ||
78 | </subviews> | 78 | </subviews> |
79 | </tableViewCellContentView> | 79 | </tableViewCellContentView> |
80 | </tableViewCell> | 80 | </tableViewCell> |
81 | + <tableViewCell contentMode="scaleToFill" selectionStyle="blue" accessoryType="disclosureIndicator" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="MaintenanceCell" textLabel="C5J-Ml-IpR" style="IBUITableViewCellStyleDefault" id="tNx-4C-IjZ"> | ||
82 | + <rect key="frame" x="0.0" y="130" width="320" height="44"/> | ||
83 | + <autoresizingMask key="autoresizingMask"/> | ||
84 | + <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="tNx-4C-IjZ" id="YyS-Ug-Lg0"> | ||
85 | + <rect key="frame" x="0.0" y="0.0" width="287" height="43"/> | ||
86 | + <autoresizingMask key="autoresizingMask"/> | ||
87 | + <subviews> | ||
88 | + <label opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="left" text="Title" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="C5J-Ml-IpR"> | ||
89 | + <rect key="frame" x="15" y="0.0" width="270" height="43"/> | ||
90 | + <autoresizingMask key="autoresizingMask"/> | ||
91 | + <fontDescription key="fontDescription" type="system" pointSize="18"/> | ||
92 | + <color key="textColor" cocoaTouchSystemColor="darkTextColor"/> | ||
93 | + <nil key="highlightedColor"/> | ||
94 | + </label> | ||
95 | + </subviews> | ||
96 | + </tableViewCellContentView> | ||
97 | + </tableViewCell> | ||
98 | + <tableViewCell contentMode="scaleToFill" selectionStyle="blue" accessoryType="checkmark" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="StatusCell" textLabel="bl8-Dh-TBs" style="IBUITableViewCellStyleDefault" id="8hW-Im-1BJ"> | ||
99 | + <rect key="frame" x="0.0" y="174" width="320" height="44"/> | ||
100 | + <autoresizingMask key="autoresizingMask"/> | ||
101 | + <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="8hW-Im-1BJ" id="Cz1-Jy-a4L"> | ||
102 | + <rect key="frame" x="0.0" y="0.0" width="281" height="43"/> | ||
103 | + <autoresizingMask key="autoresizingMask"/> | ||
104 | + <subviews> | ||
105 | + <label opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="left" text="Title" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="bl8-Dh-TBs"> | ||
106 | + <rect key="frame" x="15" y="0.0" width="266" height="43"/> | ||
107 | + <autoresizingMask key="autoresizingMask"/> | ||
108 | + <fontDescription key="fontDescription" type="system" pointSize="18"/> | ||
109 | + <color key="textColor" cocoaTouchSystemColor="darkTextColor"/> | ||
110 | + <nil key="highlightedColor"/> | ||
111 | + </label> | ||
112 | + </subviews> | ||
113 | + </tableViewCellContentView> | ||
114 | + </tableViewCell> | ||
81 | </prototypes> | 115 | </prototypes> |
82 | <sections/> | 116 | <sections/> |
83 | <connections> | 117 | <connections> |
DUREX Vendor Control/MenuTableViewController.h
@@ -14,15 +14,12 @@ | @@ -14,15 +14,12 @@ | ||
14 | 14 | ||
15 | #define MENU_ELEMENTS @"Maintenance",@"Basic Configuration",@"Sending a Report" | 15 | #define MENU_ELEMENTS @"Maintenance",@"Basic Configuration",@"Sending a Report" |
16 | #define MENU_CELLS_PER_SECTION num(3) | 16 | #define MENU_CELLS_PER_SECTION num(3) |
17 | -#define MENU_SECTIONS 1 | ||
18 | 17 | ||
19 | #define MAINTENANCE_ELEMENTS @"General Status",@"Sensor Report" | 18 | #define MAINTENANCE_ELEMENTS @"General Status",@"Sensor Report" |
20 | #define MAINTENANCE_CELLS_PER_SECTION num(2) | 19 | #define MAINTENANCE_CELLS_PER_SECTION num(2) |
21 | -#define MAINTENANCE_SECTIONS 1 | ||
22 | 20 | ||
23 | #define STATUS_ELEMENTS @"Time",@"20โฌ Notes",@"10โฌ Notes",@"5โฌ Notes",@"2โฌ Coins",@"1โฌ Coins",@"50c Coins",@"CPP_TABLE",@"1โฌ Change",@"50c Change" | 21 | #define STATUS_ELEMENTS @"Time",@"20โฌ Notes",@"10โฌ Notes",@"5โฌ Notes",@"2โฌ Coins",@"1โฌ Coins",@"50c Coins",@"CPP_TABLE",@"1โฌ Change",@"50c Change" |
24 | #define STATUS_CELLS_PER_SECTION num(10) | 22 | #define STATUS_CELLS_PER_SECTION num(10) |
25 | -#define STATUS_SECTIONS 1 | ||
26 | 23 | ||
27 | #define CELL_IDENTIFIERS @"MenuCell",@"MaintenanceCell",@"ConfigCell",@"ReportCell" | 24 | #define CELL_IDENTIFIERS @"MenuCell",@"MaintenanceCell",@"ConfigCell",@"ReportCell" |
28 | 25 | ||
@@ -31,6 +28,7 @@ | @@ -31,6 +28,7 @@ | ||
31 | enum { | 28 | enum { |
32 | MENU = 0, | 29 | MENU = 0, |
33 | MAINTENANCE, | 30 | MAINTENANCE, |
31 | + STATUS, | ||
34 | BASIC_CONFIGURATION, | 32 | BASIC_CONFIGURATION, |
35 | REPORT | 33 | REPORT |
36 | } navigationLevel; | 34 | } navigationLevel; |
DUREX Vendor Control/MenuTableViewController.m
@@ -19,6 +19,9 @@ | @@ -19,6 +19,9 @@ | ||
19 | @property (nonatomic,strong) const NSArray *maintenanceElements; | 19 | @property (nonatomic,strong) const NSArray *maintenanceElements; |
20 | @property (nonatomic,strong) const NSArray *maintenanceStructure; | 20 | @property (nonatomic,strong) const NSArray *maintenanceStructure; |
21 | 21 | ||
22 | +@property (nonatomic,strong) const NSArray *statusElements; | ||
23 | +@property (nonatomic,strong) const NSArray *statusStructure; | ||
24 | + | ||
22 | @property (nonatomic,strong) const NSArray *cellIdentifiers; | 25 | @property (nonatomic,strong) const NSArray *cellIdentifiers; |
23 | 26 | ||
24 | @property (nonatomic,strong) CommunicationProtocol* protocol; | 27 | @property (nonatomic,strong) CommunicationProtocol* protocol; |
@@ -49,6 +52,9 @@ | @@ -49,6 +52,9 @@ | ||
49 | [self setMaintenanceElements:[[NSArray alloc] initWithObjects:MAINTENANCE_ELEMENTS, nil]]; | 52 | [self setMaintenanceElements:[[NSArray alloc] initWithObjects:MAINTENANCE_ELEMENTS, nil]]; |
50 | [self setMaintenanceStructure:[[NSArray alloc] initWithObjects:MAINTENANCE_CELLS_PER_SECTION, nil]]; | 53 | [self setMaintenanceStructure:[[NSArray alloc] initWithObjects:MAINTENANCE_CELLS_PER_SECTION, nil]]; |
51 | 54 | ||
55 | + [self setStatusElements:[[NSArray alloc] initWithObjects:STATUS_ELEMENTS, nil]]; | ||
56 | + [self setStatusStructure:[[NSArray alloc] initWithObjects:STATUS_CELLS_PER_SECTION, nil]]; | ||
57 | + | ||
52 | [self setCellIdentifiers:[[NSArray alloc] initWithObjects:CELL_IDENTIFIERS, nil]]; | 58 | [self setCellIdentifiers:[[NSArray alloc] initWithObjects:CELL_IDENTIFIERS, nil]]; |
53 | } | 59 | } |
54 | 60 | ||
@@ -61,12 +67,22 @@ | @@ -61,12 +67,22 @@ | ||
61 | [self setCurrentElements:[self maintenanceElements]]; | 67 | [self setCurrentElements:[self maintenanceElements]]; |
62 | [self setCurrentStructure:[self maintenanceStructure]]; | 68 | [self setCurrentStructure:[self maintenanceStructure]]; |
63 | } | 69 | } |
70 | + else if([self currentNavLevel] == STATUS) | ||
71 | + { | ||
72 | + [self setCurrentElements:[self statusElements]]; | ||
73 | + [self setCurrentStructure:[self statusStructure]]; | ||
74 | + } | ||
64 | //AND SO ON... | 75 | //AND SO ON... |
65 | else | 76 | else |
66 | { | 77 | { |
67 | [self setCurrentElements:[self menuElements]]; | 78 | [self setCurrentElements:[self menuElements]]; |
68 | [self setCurrentStructure:[self menuStructure]]; | 79 | [self setCurrentStructure:[self menuStructure]]; |
69 | } | 80 | } |
81 | + | ||
82 | + NSRange range = NSMakeRange(0, [self numberOfSectionsInTableView:self.tableView]); | ||
83 | + NSIndexSet *sections = [NSIndexSet indexSetWithIndexesInRange:range]; | ||
84 | + [self.tableView reloadSections:sections withRowAnimation:UITableViewRowAnimationAutomatic]; | ||
85 | + | ||
70 | } | 86 | } |
71 | 87 | ||
72 | - (void)viewDidLoad | 88 | - (void)viewDidLoad |
@@ -155,7 +171,15 @@ | @@ -155,7 +171,15 @@ | ||
155 | - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath | 171 | - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath |
156 | { | 172 | { |
157 | [tableView deselectRowAtIndexPath:indexPath animated:YES]; | 173 | [tableView deselectRowAtIndexPath:indexPath animated:YES]; |
158 | - NSLog(@"%d:%s",(int)[indexPath row],[[[[[self tableView] cellForRowAtIndexPath:indexPath]textLabel]text]cStringUsingEncoding:NSUTF8StringEncoding]); | 174 | + NSString *cellName = [[[[self tableView] cellForRowAtIndexPath:indexPath]textLabel]text]; |
175 | + if([cellName isEqualToString:@"Maintenance"]) | ||
176 | + { | ||
177 | + [self changeNavLevel:MAINTENANCE]; | ||
178 | + } | ||
179 | + else if([cellName isEqualToString:@"General Status"]) | ||
180 | + { | ||
181 | + [self changeNavLevel:STATUS]; | ||
182 | + } | ||
159 | } | 183 | } |
160 | 184 | ||
161 | #pragma mark - Table view data source | 185 | #pragma mark - Table view data source |
DUREX tests/CommunicationProtocol.h
0 โ 100644
1 | +// | ||
2 | +// CommunicationProtocol.h | ||
3 | +// DUREX Vendor Control | ||
4 | +// | ||
5 | +// Created by Imanol Barba on 5/23/14. | ||
6 | +// Copyright (c) 2014 Emmoco. All rights reserved. | ||
7 | +// | ||
8 | + | ||
9 | +#import <Foundation/Foundation.h> | ||
10 | + | ||
11 | +#define MAX_STRING_LENGTH ((int)227) | ||
12 | +#define MAX_RETRIES ((int)3) | ||
13 | + | ||
14 | +@interface CommunicationProtocol : NSObject | ||
15 | + | ||
16 | +-(Boolean) waitForMessageAvailable: (Boolean) status; | ||
17 | +-(Boolean) writeMessage: (NSString*) message; | ||
18 | +-(NSString*) readMessage; | ||
19 | +-(Boolean) establishConnection; | ||
20 | ++(id) sharedProtocol; | ||
21 | +@property Boolean messageAvailable; | ||
22 | + | ||
23 | +@end |
DUREX tests/CommunicationProtocol.m
0 โ 100644
1 | +// | ||
2 | +// CommunicationProtocol.m | ||
3 | +// DUREX Vendor Control | ||
4 | +// | ||
5 | +// Created by Imanol Barba on 5/23/14. | ||
6 | +// Copyright (c) 2014 Emmoco. All rights reserved. | ||
7 | +// | ||
8 | + | ||
9 | +#import "CommunicationProtocol.h" | ||
10 | + | ||
11 | +@interface CommunicationProtocol () | ||
12 | + | ||
13 | +@end | ||
14 | + | ||
15 | +@implementation CommunicationProtocol | ||
16 | + | ||
17 | ++ (id)sharedProtocol { | ||
18 | + static CommunicationProtocol *shared = nil; | ||
19 | + static dispatch_once_t onceToken; | ||
20 | + dispatch_once(&onceToken, ^{ | ||
21 | + shared = [[self alloc] init]; | ||
22 | + }); | ||
23 | + return shared; | ||
24 | +} | ||
25 | + | ||
26 | +-(Boolean) waitForMessageAvailable: (Boolean) status | ||
27 | +{ | ||
28 | + return TRUE; | ||
29 | +} | ||
30 | + | ||
31 | +-(NSString*) readMessage | ||
32 | +{ | ||
33 | + __block NSMutableString *message; | ||
34 | + [message setString:@""]; | ||
35 | + return message; | ||
36 | +} | ||
37 | + | ||
38 | +-(Boolean) writeMessage: (NSString*) message | ||
39 | +{ | ||
40 | + return TRUE; | ||
41 | +} | ||
42 | + | ||
43 | +-(Boolean) establishConnection | ||
44 | +{ | ||
45 | + return TRUE; | ||
46 | +} | ||
47 | + | ||
48 | +@end |
DUREX tests/DUREX test.xcodeproj/project.pbxproj
0 โ 100644
1 | +// !$*UTF8*$! | ||
2 | +{ | ||
3 | + archiveVersion = 1; | ||
4 | + classes = { | ||
5 | + }; | ||
6 | + objectVersion = 46; | ||
7 | + objects = { | ||
8 | + | ||
9 | +/* Begin PBXBuildFile section */ | ||
10 | + 3471866118070D9300FA0FB2 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3471866018070D9300FA0FB2 /* Foundation.framework */; }; | ||
11 | + 3471866318070D9300FA0FB2 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3471866218070D9300FA0FB2 /* CoreGraphics.framework */; }; | ||
12 | + 3471866518070D9300FA0FB2 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3471866418070D9300FA0FB2 /* UIKit.framework */; }; | ||
13 | + 3471867A18070D9300FA0FB2 /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3471867918070D9300FA0FB2 /* XCTest.framework */; }; | ||
14 | + 3471867B18070D9300FA0FB2 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3471866018070D9300FA0FB2 /* Foundation.framework */; }; | ||
15 | + 3471867C18070D9300FA0FB2 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3471866418070D9300FA0FB2 /* UIKit.framework */; }; | ||
16 | + 347186AC18070FAB00FA0FB2 /* CoreBluetooth.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 347186AB18070FAB00FA0FB2 /* CoreBluetooth.framework */; }; | ||
17 | + 34AAB883189804FF0019860D /* DUREXAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 34AAB877189804FF0019860D /* DUREXAppDelegate.m */; }; | ||
18 | + 34AAB885189804FF0019860D /* EMDevicePickerViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 34AAB87A189804FF0019860D /* EMDevicePickerViewController.m */; }; | ||
19 | + 34AAB889189804FF0019860D /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 34AAB880189804FF0019860D /* main.m */; }; | ||
20 | + 34AAB88A189804FF0019860D /* MainStoryboard.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 34AAB881189804FF0019860D /* MainStoryboard.storyboard */; }; | ||
21 | + 34AAB88D189805300019860D /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 34AAB88C189805300019860D /* Images.xcassets */; }; | ||
22 | + F962A233192FCA8A00E4324A /* Stack.m in Sources */ = {isa = PBXBuildFile; fileRef = F962A232192FCA8A00E4324A /* Stack.m */; }; | ||
23 | + F98356D6192E835F00EA6821 /* InitialViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = F98356D5192E835F00EA6821 /* InitialViewController.m */; }; | ||
24 | + F98356D8192E906600EA6821 /* bluetooth.png in Resources */ = {isa = PBXBuildFile; fileRef = F98356D7192E906600EA6821 /* bluetooth.png */; }; | ||
25 | + F98356DB192EAFD400EA6821 /* CommunicationProtocol.m in Sources */ = {isa = PBXBuildFile; fileRef = F98356DA192EAFD400EA6821 /* CommunicationProtocol.m */; }; | ||
26 | + F98356E1192EC84700EA6821 /* MenuTableViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = F98356E0192EC84700EA6821 /* MenuTableViewController.m */; }; | ||
27 | + F9C77F4E192CDE18002DBE8A /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = F9C77F4C192CDE18002DBE8A /* InfoPlist.strings */; }; | ||
28 | + F9C77F50192CDE30002DBE8A /* durex.json in Resources */ = {isa = PBXBuildFile; fileRef = F9C77F4F192CDE30002DBE8A /* durex.json */; }; | ||
29 | +/* End PBXBuildFile section */ | ||
30 | + | ||
31 | +/* Begin PBXContainerItemProxy section */ | ||
32 | + 3471867D18070D9300FA0FB2 /* PBXContainerItemProxy */ = { | ||
33 | + isa = PBXContainerItemProxy; | ||
34 | + containerPortal = 3471865518070D9300FA0FB2 /* Project object */; | ||
35 | + proxyType = 1; | ||
36 | + remoteGlobalIDString = 3471865C18070D9300FA0FB2; | ||
37 | + remoteInfo = TestAppExample; | ||
38 | + }; | ||
39 | +/* End PBXContainerItemProxy section */ | ||
40 | + | ||
41 | +/* Begin PBXFileReference section */ | ||
42 | + 3471865D18070D9300FA0FB2 /* DUREX test.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "DUREX test.app"; sourceTree = BUILT_PRODUCTS_DIR; }; | ||
43 | + 3471866018070D9300FA0FB2 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; | ||
44 | + 3471866218070D9300FA0FB2 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; | ||
45 | + 3471866418070D9300FA0FB2 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; | ||
46 | + 3471867818070D9300FA0FB2 /* DUREX testTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "DUREX testTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; | ||
47 | + 3471867918070D9300FA0FB2 /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; }; | ||
48 | + 347186AB18070FAB00FA0FB2 /* CoreBluetooth.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreBluetooth.framework; path = System/Library/Frameworks/CoreBluetooth.framework; sourceTree = SDKROOT; }; | ||
49 | + 34AAB876189804FF0019860D /* DUREXAppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = DUREXAppDelegate.h; path = FirstAppExample/DUREXAppDelegate.h; sourceTree = SOURCE_ROOT; }; | ||
50 | + 34AAB877189804FF0019860D /* DUREXAppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = DUREXAppDelegate.m; path = FirstAppExample/DUREXAppDelegate.m; sourceTree = SOURCE_ROOT; }; | ||
51 | + 34AAB879189804FF0019860D /* EMDevicePickerViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = EMDevicePickerViewController.h; path = FirstAppExample/EMDevicePickerViewController.h; sourceTree = SOURCE_ROOT; }; | ||
52 | + 34AAB87A189804FF0019860D /* EMDevicePickerViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = EMDevicePickerViewController.m; path = FirstAppExample/EMDevicePickerViewController.m; sourceTree = SOURCE_ROOT; }; | ||
53 | + 34AAB87E189804FF0019860D /* DUREX test-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = "DUREX test-Info.plist"; path = "FirstAppExample/DUREX test-Info.plist"; sourceTree = SOURCE_ROOT; }; | ||
54 | + 34AAB87F189804FF0019860D /* DUREX test-Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "DUREX test-Prefix.pch"; path = "FirstAppExample/DUREX test-Prefix.pch"; sourceTree = SOURCE_ROOT; }; | ||
55 | + 34AAB880189804FF0019860D /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = FirstAppExample/main.m; sourceTree = SOURCE_ROOT; }; | ||
56 | + 34AAB881189804FF0019860D /* MainStoryboard.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = MainStoryboard.storyboard; path = FirstAppExample/MainStoryboard.storyboard; sourceTree = SOURCE_ROOT; }; | ||
57 | + 34AAB88C189805300019860D /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = FirstAppExample/Images.xcassets; sourceTree = SOURCE_ROOT; }; | ||
58 | + F962A231192FCA8A00E4324A /* Stack.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Stack.h; sourceTree = SOURCE_ROOT; }; | ||
59 | + F962A232192FCA8A00E4324A /* Stack.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Stack.m; sourceTree = SOURCE_ROOT; }; | ||
60 | + F98356D4192E835F00EA6821 /* InitialViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = InitialViewController.h; sourceTree = SOURCE_ROOT; }; | ||
61 | + F98356D5192E835F00EA6821 /* InitialViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = InitialViewController.m; sourceTree = SOURCE_ROOT; }; | ||
62 | + F98356D7192E906600EA6821 /* bluetooth.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = bluetooth.png; sourceTree = SOURCE_ROOT; }; | ||
63 | + F98356D9192EAFD400EA6821 /* CommunicationProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CommunicationProtocol.h; sourceTree = SOURCE_ROOT; }; | ||
64 | + F98356DA192EAFD400EA6821 /* CommunicationProtocol.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CommunicationProtocol.m; sourceTree = SOURCE_ROOT; }; | ||
65 | + F98356DF192EC84700EA6821 /* MenuTableViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MenuTableViewController.h; sourceTree = SOURCE_ROOT; }; | ||
66 | + F98356E0192EC84700EA6821 /* MenuTableViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MenuTableViewController.m; sourceTree = SOURCE_ROOT; }; | ||
67 | + F9C77F4D192CDE18002DBE8A /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = FirstAppExample/en.lproj/InfoPlist.strings; sourceTree = SOURCE_ROOT; }; | ||
68 | + F9C77F4F192CDE30002DBE8A /* durex.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = durex.json; sourceTree = SOURCE_ROOT; }; | ||
69 | +/* End PBXFileReference section */ | ||
70 | + | ||
71 | +/* Begin PBXFrameworksBuildPhase section */ | ||
72 | + 3471865A18070D9300FA0FB2 /* Frameworks */ = { | ||
73 | + isa = PBXFrameworksBuildPhase; | ||
74 | + buildActionMask = 2147483647; | ||
75 | + files = ( | ||
76 | + 347186AC18070FAB00FA0FB2 /* CoreBluetooth.framework in Frameworks */, | ||
77 | + 3471866318070D9300FA0FB2 /* CoreGraphics.framework in Frameworks */, | ||
78 | + 3471866518070D9300FA0FB2 /* UIKit.framework in Frameworks */, | ||
79 | + 3471866118070D9300FA0FB2 /* Foundation.framework in Frameworks */, | ||
80 | + ); | ||
81 | + runOnlyForDeploymentPostprocessing = 0; | ||
82 | + }; | ||
83 | + 3471867518070D9300FA0FB2 /* Frameworks */ = { | ||
84 | + isa = PBXFrameworksBuildPhase; | ||
85 | + buildActionMask = 2147483647; | ||
86 | + files = ( | ||
87 | + 3471867A18070D9300FA0FB2 /* XCTest.framework in Frameworks */, | ||
88 | + 3471867C18070D9300FA0FB2 /* UIKit.framework in Frameworks */, | ||
89 | + 3471867B18070D9300FA0FB2 /* Foundation.framework in Frameworks */, | ||
90 | + ); | ||
91 | + runOnlyForDeploymentPostprocessing = 0; | ||
92 | + }; | ||
93 | +/* End PBXFrameworksBuildPhase section */ | ||
94 | + | ||
95 | +/* Begin PBXGroup section */ | ||
96 | + 3471865418070D9300FA0FB2 = { | ||
97 | + isa = PBXGroup; | ||
98 | + children = ( | ||
99 | + 3471866618070D9300FA0FB2 /* FirstApp */, | ||
100 | + 3471865F18070D9300FA0FB2 /* Frameworks */, | ||
101 | + 3471865E18070D9300FA0FB2 /* Products */, | ||
102 | + ); | ||
103 | + sourceTree = "<group>"; | ||
104 | + }; | ||
105 | + 3471865E18070D9300FA0FB2 /* Products */ = { | ||
106 | + isa = PBXGroup; | ||
107 | + children = ( | ||
108 | + 3471865D18070D9300FA0FB2 /* DUREX test.app */, | ||
109 | + 3471867818070D9300FA0FB2 /* DUREX testTests.xctest */, | ||
110 | + ); | ||
111 | + name = Products; | ||
112 | + sourceTree = "<group>"; | ||
113 | + }; | ||
114 | + 3471865F18070D9300FA0FB2 /* Frameworks */ = { | ||
115 | + isa = PBXGroup; | ||
116 | + children = ( | ||
117 | + 347186AB18070FAB00FA0FB2 /* CoreBluetooth.framework */, | ||
118 | + 3471866018070D9300FA0FB2 /* Foundation.framework */, | ||
119 | + 3471866218070D9300FA0FB2 /* CoreGraphics.framework */, | ||
120 | + 3471866418070D9300FA0FB2 /* UIKit.framework */, | ||
121 | + 3471867918070D9300FA0FB2 /* XCTest.framework */, | ||
122 | + ); | ||
123 | + name = Frameworks; | ||
124 | + sourceTree = "<group>"; | ||
125 | + }; | ||
126 | + 3471866618070D9300FA0FB2 /* FirstApp */ = { | ||
127 | + isa = PBXGroup; | ||
128 | + children = ( | ||
129 | + 34AAB881189804FF0019860D /* MainStoryboard.storyboard */, | ||
130 | + 34AAB876189804FF0019860D /* DUREXAppDelegate.h */, | ||
131 | + 34AAB877189804FF0019860D /* DUREXAppDelegate.m */, | ||
132 | + F98356D4192E835F00EA6821 /* InitialViewController.h */, | ||
133 | + F98356D5192E835F00EA6821 /* InitialViewController.m */, | ||
134 | + F98356DF192EC84700EA6821 /* MenuTableViewController.h */, | ||
135 | + F98356E0192EC84700EA6821 /* MenuTableViewController.m */, | ||
136 | + F98356D9192EAFD400EA6821 /* CommunicationProtocol.h */, | ||
137 | + F98356DA192EAFD400EA6821 /* CommunicationProtocol.m */, | ||
138 | + 34AAB88C189805300019860D /* Images.xcassets */, | ||
139 | + 347186B91807290E00FA0FB2 /* Schemas */, | ||
140 | + 347186A718070F7F00FA0FB2 /* Device Picker */, | ||
141 | + 3471868F18070E4300FA0FB2 /* Framework */, | ||
142 | + 3471866718070D9300FA0FB2 /* Supporting Files */, | ||
143 | + F962A231192FCA8A00E4324A /* Stack.h */, | ||
144 | + F962A232192FCA8A00E4324A /* Stack.m */, | ||
145 | + ); | ||
146 | + name = FirstApp; | ||
147 | + path = TestAppExample; | ||
148 | + sourceTree = "<group>"; | ||
149 | + }; | ||
150 | + 3471866718070D9300FA0FB2 /* Supporting Files */ = { | ||
151 | + isa = PBXGroup; | ||
152 | + children = ( | ||
153 | + F98356D7192E906600EA6821 /* bluetooth.png */, | ||
154 | + 34AAB87E189804FF0019860D /* DUREX test-Info.plist */, | ||
155 | + 34AAB87F189804FF0019860D /* DUREX test-Prefix.pch */, | ||
156 | + 34AAB880189804FF0019860D /* main.m */, | ||
157 | + F9C77F4C192CDE18002DBE8A /* InfoPlist.strings */, | ||
158 | + ); | ||
159 | + name = "Supporting Files"; | ||
160 | + sourceTree = "<group>"; | ||
161 | + }; | ||
162 | + 3471868F18070E4300FA0FB2 /* Framework */ = { | ||
163 | + isa = PBXGroup; | ||
164 | + children = ( | ||
165 | + ); | ||
166 | + name = Framework; | ||
167 | + sourceTree = "<group>"; | ||
168 | + }; | ||
169 | + 347186A718070F7F00FA0FB2 /* Device Picker */ = { | ||
170 | + isa = PBXGroup; | ||
171 | + children = ( | ||
172 | + 34AAB879189804FF0019860D /* EMDevicePickerViewController.h */, | ||
173 | + 34AAB87A189804FF0019860D /* EMDevicePickerViewController.m */, | ||
174 | + ); | ||
175 | + name = "Device Picker"; | ||
176 | + sourceTree = "<group>"; | ||
177 | + }; | ||
178 | + 347186B91807290E00FA0FB2 /* Schemas */ = { | ||
179 | + isa = PBXGroup; | ||
180 | + children = ( | ||
181 | + F9C77F4F192CDE30002DBE8A /* durex.json */, | ||
182 | + ); | ||
183 | + name = Schemas; | ||
184 | + sourceTree = "<group>"; | ||
185 | + }; | ||
186 | +/* End PBXGroup section */ | ||
187 | + | ||
188 | +/* Begin PBXNativeTarget section */ | ||
189 | + 3471865C18070D9300FA0FB2 /* DUREX test */ = { | ||
190 | + isa = PBXNativeTarget; | ||
191 | + buildConfigurationList = 3471868918070D9300FA0FB2 /* Build configuration list for PBXNativeTarget "DUREX test" */; | ||
192 | + buildPhases = ( | ||
193 | + 3471865918070D9300FA0FB2 /* Sources */, | ||
194 | + 3471865A18070D9300FA0FB2 /* Frameworks */, | ||
195 | + 3471865B18070D9300FA0FB2 /* Resources */, | ||
196 | + ); | ||
197 | + buildRules = ( | ||
198 | + ); | ||
199 | + dependencies = ( | ||
200 | + ); | ||
201 | + name = "DUREX test"; | ||
202 | + productName = TestAppExample; | ||
203 | + productReference = 3471865D18070D9300FA0FB2 /* DUREX test.app */; | ||
204 | + productType = "com.apple.product-type.application"; | ||
205 | + }; | ||
206 | + 3471867718070D9300FA0FB2 /* DUREX testTests */ = { | ||
207 | + isa = PBXNativeTarget; | ||
208 | + buildConfigurationList = 3471868C18070D9300FA0FB2 /* Build configuration list for PBXNativeTarget "DUREX testTests" */; | ||
209 | + buildPhases = ( | ||
210 | + 3471867418070D9300FA0FB2 /* Sources */, | ||
211 | + 3471867518070D9300FA0FB2 /* Frameworks */, | ||
212 | + 3471867618070D9300FA0FB2 /* Resources */, | ||
213 | + ); | ||
214 | + buildRules = ( | ||
215 | + ); | ||
216 | + dependencies = ( | ||
217 | + 3471867E18070D9300FA0FB2 /* PBXTargetDependency */, | ||
218 | + ); | ||
219 | + name = "DUREX testTests"; | ||
220 | + productName = TestAppExampleTests; | ||
221 | + productReference = 3471867818070D9300FA0FB2 /* DUREX testTests.xctest */; | ||
222 | + productType = "com.apple.product-type.bundle.unit-test"; | ||
223 | + }; | ||
224 | +/* End PBXNativeTarget section */ | ||
225 | + | ||
226 | +/* Begin PBXProject section */ | ||
227 | + 3471865518070D9300FA0FB2 /* Project object */ = { | ||
228 | + isa = PBXProject; | ||
229 | + attributes = { | ||
230 | + CLASSPREFIX = EM; | ||
231 | + LastUpgradeCheck = 0500; | ||
232 | + ORGANIZATIONNAME = Emmoco; | ||
233 | + TargetAttributes = { | ||
234 | + 3471867718070D9300FA0FB2 = { | ||
235 | + TestTargetID = 3471865C18070D9300FA0FB2; | ||
236 | + }; | ||
237 | + }; | ||
238 | + }; | ||
239 | + buildConfigurationList = 3471865818070D9300FA0FB2 /* Build configuration list for PBXProject "DUREX test" */; | ||
240 | + compatibilityVersion = "Xcode 3.2"; | ||
241 | + developmentRegion = English; | ||
242 | + hasScannedForEncodings = 0; | ||
243 | + knownRegions = ( | ||
244 | + en, | ||
245 | + ); | ||
246 | + mainGroup = 3471865418070D9300FA0FB2; | ||
247 | + productRefGroup = 3471865E18070D9300FA0FB2 /* Products */; | ||
248 | + projectDirPath = ""; | ||
249 | + projectRoot = ""; | ||
250 | + targets = ( | ||
251 | + 3471865C18070D9300FA0FB2 /* DUREX test */, | ||
252 | + 3471867718070D9300FA0FB2 /* DUREX testTests */, | ||
253 | + ); | ||
254 | + }; | ||
255 | +/* End PBXProject section */ | ||
256 | + | ||
257 | +/* Begin PBXResourcesBuildPhase section */ | ||
258 | + 3471865B18070D9300FA0FB2 /* Resources */ = { | ||
259 | + isa = PBXResourcesBuildPhase; | ||
260 | + buildActionMask = 2147483647; | ||
261 | + files = ( | ||
262 | + F98356D8192E906600EA6821 /* bluetooth.png in Resources */, | ||
263 | + F9C77F50192CDE30002DBE8A /* durex.json in Resources */, | ||
264 | + F9C77F4E192CDE18002DBE8A /* InfoPlist.strings in Resources */, | ||
265 | + 34AAB88D189805300019860D /* Images.xcassets in Resources */, | ||
266 | + 34AAB88A189804FF0019860D /* MainStoryboard.storyboard in Resources */, | ||
267 | + ); | ||
268 | + runOnlyForDeploymentPostprocessing = 0; | ||
269 | + }; | ||
270 | + 3471867618070D9300FA0FB2 /* Resources */ = { | ||
271 | + isa = PBXResourcesBuildPhase; | ||
272 | + buildActionMask = 2147483647; | ||
273 | + files = ( | ||
274 | + ); | ||
275 | + runOnlyForDeploymentPostprocessing = 0; | ||
276 | + }; | ||
277 | +/* End PBXResourcesBuildPhase section */ | ||
278 | + | ||
279 | +/* Begin PBXSourcesBuildPhase section */ | ||
280 | + 3471865918070D9300FA0FB2 /* Sources */ = { | ||
281 | + isa = PBXSourcesBuildPhase; | ||
282 | + buildActionMask = 2147483647; | ||
283 | + files = ( | ||
284 | + F98356D6192E835F00EA6821 /* InitialViewController.m in Sources */, | ||
285 | + F962A233192FCA8A00E4324A /* Stack.m in Sources */, | ||
286 | + 34AAB885189804FF0019860D /* EMDevicePickerViewController.m in Sources */, | ||
287 | + 34AAB883189804FF0019860D /* DUREXAppDelegate.m in Sources */, | ||
288 | + F98356DB192EAFD400EA6821 /* CommunicationProtocol.m in Sources */, | ||
289 | + F98356E1192EC84700EA6821 /* MenuTableViewController.m in Sources */, | ||
290 | + 34AAB889189804FF0019860D /* main.m in Sources */, | ||
291 | + ); | ||
292 | + runOnlyForDeploymentPostprocessing = 0; | ||
293 | + }; | ||
294 | + 3471867418070D9300FA0FB2 /* Sources */ = { | ||
295 | + isa = PBXSourcesBuildPhase; | ||
296 | + buildActionMask = 2147483647; | ||
297 | + files = ( | ||
298 | + ); | ||
299 | + runOnlyForDeploymentPostprocessing = 0; | ||
300 | + }; | ||
301 | +/* End PBXSourcesBuildPhase section */ | ||
302 | + | ||
303 | +/* Begin PBXTargetDependency section */ | ||
304 | + 3471867E18070D9300FA0FB2 /* PBXTargetDependency */ = { | ||
305 | + isa = PBXTargetDependency; | ||
306 | + target = 3471865C18070D9300FA0FB2 /* DUREX test */; | ||
307 | + targetProxy = 3471867D18070D9300FA0FB2 /* PBXContainerItemProxy */; | ||
308 | + }; | ||
309 | +/* End PBXTargetDependency section */ | ||
310 | + | ||
311 | +/* Begin PBXVariantGroup section */ | ||
312 | + F9C77F4C192CDE18002DBE8A /* InfoPlist.strings */ = { | ||
313 | + isa = PBXVariantGroup; | ||
314 | + children = ( | ||
315 | + F9C77F4D192CDE18002DBE8A /* en */, | ||
316 | + ); | ||
317 | + name = InfoPlist.strings; | ||
318 | + sourceTree = "<group>"; | ||
319 | + }; | ||
320 | +/* End PBXVariantGroup section */ | ||
321 | + | ||
322 | +/* Begin XCBuildConfiguration section */ | ||
323 | + 3471868718070D9300FA0FB2 /* Debug */ = { | ||
324 | + isa = XCBuildConfiguration; | ||
325 | + buildSettings = { | ||
326 | + ALWAYS_SEARCH_USER_PATHS = NO; | ||
327 | + ARCHS = "$(ARCHS_STANDARD_INCLUDING_64_BIT)"; | ||
328 | + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; | ||
329 | + CLANG_CXX_LIBRARY = "libc++"; | ||
330 | + CLANG_ENABLE_MODULES = YES; | ||
331 | + CLANG_ENABLE_OBJC_ARC = YES; | ||
332 | + CLANG_WARN_BOOL_CONVERSION = YES; | ||
333 | + CLANG_WARN_CONSTANT_CONVERSION = YES; | ||
334 | + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; | ||
335 | + CLANG_WARN_EMPTY_BODY = YES; | ||
336 | + CLANG_WARN_ENUM_CONVERSION = YES; | ||
337 | + CLANG_WARN_INT_CONVERSION = YES; | ||
338 | + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; | ||
339 | + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; | ||
340 | + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; | ||
341 | + COPY_PHASE_STRIP = NO; | ||
342 | + GCC_C_LANGUAGE_STANDARD = gnu99; | ||
343 | + GCC_DYNAMIC_NO_PIC = NO; | ||
344 | + GCC_OPTIMIZATION_LEVEL = 0; | ||
345 | + GCC_PREPROCESSOR_DEFINITIONS = ( | ||
346 | + "DEBUG=1", | ||
347 | + "$(inherited)", | ||
348 | + ); | ||
349 | + GCC_SYMBOLS_PRIVATE_EXTERN = NO; | ||
350 | + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; | ||
351 | + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; | ||
352 | + GCC_WARN_UNDECLARED_SELECTOR = YES; | ||
353 | + GCC_WARN_UNINITIALIZED_AUTOS = YES; | ||
354 | + GCC_WARN_UNUSED_FUNCTION = YES; | ||
355 | + GCC_WARN_UNUSED_VARIABLE = YES; | ||
356 | + IPHONEOS_DEPLOYMENT_TARGET = 7.0; | ||
357 | + ONLY_ACTIVE_ARCH = YES; | ||
358 | + SDKROOT = iphoneos; | ||
359 | + }; | ||
360 | + name = Debug; | ||
361 | + }; | ||
362 | + 3471868818070D9300FA0FB2 /* Release */ = { | ||
363 | + isa = XCBuildConfiguration; | ||
364 | + buildSettings = { | ||
365 | + ALWAYS_SEARCH_USER_PATHS = NO; | ||
366 | + ARCHS = "$(ARCHS_STANDARD_INCLUDING_64_BIT)"; | ||
367 | + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; | ||
368 | + CLANG_CXX_LIBRARY = "libc++"; | ||
369 | + CLANG_ENABLE_MODULES = YES; | ||
370 | + CLANG_ENABLE_OBJC_ARC = YES; | ||
371 | + CLANG_WARN_BOOL_CONVERSION = YES; | ||
372 | + CLANG_WARN_CONSTANT_CONVERSION = YES; | ||
373 | + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; | ||
374 | + CLANG_WARN_EMPTY_BODY = YES; | ||
375 | + CLANG_WARN_ENUM_CONVERSION = YES; | ||
376 | + CLANG_WARN_INT_CONVERSION = YES; | ||
377 | + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; | ||
378 | + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; | ||
379 | + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; | ||
380 | + COPY_PHASE_STRIP = YES; | ||
381 | + ENABLE_NS_ASSERTIONS = NO; | ||
382 | + GCC_C_LANGUAGE_STANDARD = gnu99; | ||
383 | + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; | ||
384 | + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; | ||
385 | + GCC_WARN_UNDECLARED_SELECTOR = YES; | ||
386 | + GCC_WARN_UNINITIALIZED_AUTOS = YES; | ||
387 | + GCC_WARN_UNUSED_FUNCTION = YES; | ||
388 | + GCC_WARN_UNUSED_VARIABLE = YES; | ||
389 | + IPHONEOS_DEPLOYMENT_TARGET = 7.0; | ||
390 | + SDKROOT = iphoneos; | ||
391 | + VALIDATE_PRODUCT = YES; | ||
392 | + }; | ||
393 | + name = Release; | ||
394 | + }; | ||
395 | + 3471868A18070D9300FA0FB2 /* Debug */ = { | ||
396 | + isa = XCBuildConfiguration; | ||
397 | + buildSettings = { | ||
398 | + ARCHS = "$(ARCHS_STANDARD)"; | ||
399 | + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; | ||
400 | + ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; | ||
401 | + GCC_PRECOMPILE_PREFIX_HEADER = YES; | ||
402 | + GCC_PREFIX_HEADER = "FirstAppExample/DUREX test-Prefix.pch"; | ||
403 | + INFOPLIST_FILE = "FirstAppExample/DUREX test-Info.plist"; | ||
404 | + LIBRARY_SEARCH_PATHS = ( | ||
405 | + "$(inherited)", | ||
406 | + EmmocoMobileFramework/Framework, | ||
407 | + ); | ||
408 | + OTHER_LDFLAGS = "-all_load"; | ||
409 | + PRODUCT_NAME = "DUREX test"; | ||
410 | + WRAPPER_EXTENSION = app; | ||
411 | + }; | ||
412 | + name = Debug; | ||
413 | + }; | ||
414 | + 3471868B18070D9300FA0FB2 /* Release */ = { | ||
415 | + isa = XCBuildConfiguration; | ||
416 | + buildSettings = { | ||
417 | + ARCHS = "$(ARCHS_STANDARD)"; | ||
418 | + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; | ||
419 | + ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; | ||
420 | + GCC_PRECOMPILE_PREFIX_HEADER = YES; | ||
421 | + GCC_PREFIX_HEADER = "FirstAppExample/DUREX test-Prefix.pch"; | ||
422 | + INFOPLIST_FILE = "FirstAppExample/DUREX test-Info.plist"; | ||
423 | + LIBRARY_SEARCH_PATHS = ( | ||
424 | + "$(inherited)", | ||
425 | + EmmocoMobileFramework/Framework, | ||
426 | + ); | ||
427 | + OTHER_LDFLAGS = "-all_load"; | ||
428 | + PRODUCT_NAME = "DUREX test"; | ||
429 | + WRAPPER_EXTENSION = app; | ||
430 | + }; | ||
431 | + name = Release; | ||
432 | + }; | ||
433 | + 3471868D18070D9300FA0FB2 /* Debug */ = { | ||
434 | + isa = XCBuildConfiguration; | ||
435 | + buildSettings = { | ||
436 | + ARCHS = "$(ARCHS_STANDARD_INCLUDING_64_BIT)"; | ||
437 | + BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/TestAppExample.app/TestAppExample"; | ||
438 | + FRAMEWORK_SEARCH_PATHS = ( | ||
439 | + "$(SDKROOT)/Developer/Library/Frameworks", | ||
440 | + "$(inherited)", | ||
441 | + "$(DEVELOPER_FRAMEWORKS_DIR)", | ||
442 | + ); | ||
443 | + GCC_PRECOMPILE_PREFIX_HEADER = YES; | ||
444 | + GCC_PREFIX_HEADER = "TestAppExample/TestAppExample-Prefix.pch"; | ||
445 | + GCC_PREPROCESSOR_DEFINITIONS = ( | ||
446 | + "DEBUG=1", | ||
447 | + "$(inherited)", | ||
448 | + ); | ||
449 | + INFOPLIST_FILE = "TestAppExampleTests/FirstAppTests-Info.plist"; | ||
450 | + PRODUCT_NAME = "DUREX testTests"; | ||
451 | + TEST_HOST = "$(BUNDLE_LOADER)"; | ||
452 | + WRAPPER_EXTENSION = xctest; | ||
453 | + }; | ||
454 | + name = Debug; | ||
455 | + }; | ||
456 | + 3471868E18070D9300FA0FB2 /* Release */ = { | ||
457 | + isa = XCBuildConfiguration; | ||
458 | + buildSettings = { | ||
459 | + ARCHS = "$(ARCHS_STANDARD_INCLUDING_64_BIT)"; | ||
460 | + BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/TestAppExample.app/TestAppExample"; | ||
461 | + FRAMEWORK_SEARCH_PATHS = ( | ||
462 | + "$(SDKROOT)/Developer/Library/Frameworks", | ||
463 | + "$(inherited)", | ||
464 | + "$(DEVELOPER_FRAMEWORKS_DIR)", | ||
465 | + ); | ||
466 | + GCC_PRECOMPILE_PREFIX_HEADER = YES; | ||
467 | + GCC_PREFIX_HEADER = "TestAppExample/TestAppExample-Prefix.pch"; | ||
468 | + INFOPLIST_FILE = "TestAppExampleTests/FirstAppTests-Info.plist"; | ||
469 | + PRODUCT_NAME = "DUREX testTests"; | ||
470 | + TEST_HOST = "$(BUNDLE_LOADER)"; | ||
471 | + WRAPPER_EXTENSION = xctest; | ||
472 | + }; | ||
473 | + name = Release; | ||
474 | + }; | ||
475 | +/* End XCBuildConfiguration section */ | ||
476 | + | ||
477 | +/* Begin XCConfigurationList section */ | ||
478 | + 3471865818070D9300FA0FB2 /* Build configuration list for PBXProject "DUREX test" */ = { | ||
479 | + isa = XCConfigurationList; | ||
480 | + buildConfigurations = ( | ||
481 | + 3471868718070D9300FA0FB2 /* Debug */, | ||
482 | + 3471868818070D9300FA0FB2 /* Release */, | ||
483 | + ); | ||
484 | + defaultConfigurationIsVisible = 0; | ||
485 | + defaultConfigurationName = Release; | ||
486 | + }; | ||
487 | + 3471868918070D9300FA0FB2 /* Build configuration list for PBXNativeTarget "DUREX test" */ = { | ||
488 | + isa = XCConfigurationList; | ||
489 | + buildConfigurations = ( | ||
490 | + 3471868A18070D9300FA0FB2 /* Debug */, | ||
491 | + 3471868B18070D9300FA0FB2 /* Release */, | ||
492 | + ); | ||
493 | + defaultConfigurationIsVisible = 0; | ||
494 | + defaultConfigurationName = Release; | ||
495 | + }; | ||
496 | + 3471868C18070D9300FA0FB2 /* Build configuration list for PBXNativeTarget "DUREX testTests" */ = { | ||
497 | + isa = XCConfigurationList; | ||
498 | + buildConfigurations = ( | ||
499 | + 3471868D18070D9300FA0FB2 /* Debug */, | ||
500 | + 3471868E18070D9300FA0FB2 /* Release */, | ||
501 | + ); | ||
502 | + defaultConfigurationIsVisible = 0; | ||
503 | + defaultConfigurationName = Release; | ||
504 | + }; | ||
505 | +/* End XCConfigurationList section */ | ||
506 | + }; | ||
507 | + rootObject = 3471865518070D9300FA0FB2 /* Project object */; | ||
508 | +} |
DUREX tests/DUREX test.xcodeproj/project.xcworkspace/contents.xcworkspacedata
0 โ 100644
DUREX tests/DUREX test.xcodeproj/project.xcworkspace/xcshareddata/FirstApp.xccheckout
0 โ 100644
1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
2 | +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
3 | +<plist version="1.0"> | ||
4 | +<dict> | ||
5 | + <key>IDESourceControlProjectFavoriteDictionaryKey</key> | ||
6 | + <false/> | ||
7 | + <key>IDESourceControlProjectIdentifier</key> | ||
8 | + <string>F3823CA7-4E1F-42C9-83E6-7F9A3B0B4380</string> | ||
9 | + <key>IDESourceControlProjectName</key> | ||
10 | + <string>FirstApp</string> | ||
11 | + <key>IDESourceControlProjectOriginsDictionary</key> | ||
12 | + <dict> | ||
13 | + <key>C52D274C-DEEC-4CDB-BD77-3B4747652588</key> | ||
14 | + <string>svn://imanolbarba.net/durex</string> | ||
15 | + </dict> | ||
16 | + <key>IDESourceControlProjectPath</key> | ||
17 | + <string>ios-examples-13.4.9/FirstApp/FirstApp.xcodeproj/project.xcworkspace</string> | ||
18 | + <key>IDESourceControlProjectRelativeInstallPathDictionary</key> | ||
19 | + <dict> | ||
20 | + <key>C52D274C-DEEC-4CDB-BD77-3B4747652588</key> | ||
21 | + <string>../../../..</string> | ||
22 | + </dict> | ||
23 | + <key>IDESourceControlProjectRepositoryRootDictionary</key> | ||
24 | + <dict> | ||
25 | + <key>C52D274C-DEEC-4CDB-BD77-3B4747652588</key> | ||
26 | + <string>svn://imanolbarba.net/durex</string> | ||
27 | + </dict> | ||
28 | + <key>IDESourceControlProjectURL</key> | ||
29 | + <string>svn://imanolbarba.net/durex/ios-examples-13.4.9/FirstApp/FirstApp.xcodeproj</string> | ||
30 | + <key>IDESourceControlProjectVersion</key> | ||
31 | + <integer>110</integer> | ||
32 | + <key>IDESourceControlProjectWCCIdentifier</key> | ||
33 | + <string>C52D274C-DEEC-4CDB-BD77-3B4747652588</string> | ||
34 | + <key>IDESourceControlProjectWCConfigurations</key> | ||
35 | + <array> | ||
36 | + <dict> | ||
37 | + <key>IDESourceControlRepositoryExtensionIdentifierKey</key> | ||
38 | + <string>public.vcs.subversion</string> | ||
39 | + <key>IDESourceControlWCCIdentifierKey</key> | ||
40 | + <string>C52D274C-DEEC-4CDB-BD77-3B4747652588</string> | ||
41 | + <key>IDESourceControlWCCName</key> | ||
42 | + <string>durex</string> | ||
43 | + </dict> | ||
44 | + </array> | ||
45 | +</dict> | ||
46 | +</plist> |
DUREX tests/DUREX test.xcodeproj/project.xcworkspace/xcuserdata/imanol.xcuserdatad/UserInterfaceState.xcuserstate
0 โ 100644
No preview for this file type
DUREX tests/DUREX test.xcodeproj/project.xcworkspace/xcuserdata/imanol.xcuserdatad/WorkspaceSettings.xcsettings
0 โ 100644
1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
2 | +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
3 | +<plist version="1.0"> | ||
4 | +<dict> | ||
5 | + <key>HasAskedToTakeAutomaticSnapshotBeforeSignificantChanges</key> | ||
6 | + <true/> | ||
7 | + <key>SnapshotAutomaticallyBeforeSignificantChanges</key> | ||
8 | + <true/> | ||
9 | +</dict> | ||
10 | +</plist> |
DUREX tests/DUREX test.xcodeproj/xcuserdata/imanol.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
0 โ 100644
DUREX tests/DUREX test.xcodeproj/xcuserdata/imanol.xcuserdatad/xcschemes/DUREX Vendor Control.xcscheme
0 โ 100644
1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
2 | +<Scheme | ||
3 | + LastUpgradeVersion = "0510" | ||
4 | + version = "1.3"> | ||
5 | + <BuildAction | ||
6 | + parallelizeBuildables = "YES" | ||
7 | + buildImplicitDependencies = "YES"> | ||
8 | + <BuildActionEntries> | ||
9 | + <BuildActionEntry | ||
10 | + buildForTesting = "YES" | ||
11 | + buildForRunning = "YES" | ||
12 | + buildForProfiling = "YES" | ||
13 | + buildForArchiving = "YES" | ||
14 | + buildForAnalyzing = "YES"> | ||
15 | + <BuildableReference | ||
16 | + BuildableIdentifier = "primary" | ||
17 | + BlueprintIdentifier = "3471865C18070D9300FA0FB2" | ||
18 | + BuildableName = "DUREX test.app" | ||
19 | + BlueprintName = "DUREX test" | ||
20 | + ReferencedContainer = "container:DUREX test.xcodeproj"> | ||
21 | + </BuildableReference> | ||
22 | + </BuildActionEntry> | ||
23 | + </BuildActionEntries> | ||
24 | + </BuildAction> | ||
25 | + <TestAction | ||
26 | + selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | ||
27 | + selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | ||
28 | + shouldUseLaunchSchemeArgsEnv = "YES" | ||
29 | + buildConfiguration = "Debug"> | ||
30 | + <Testables> | ||
31 | + <TestableReference | ||
32 | + skipped = "NO"> | ||
33 | + <BuildableReference | ||
34 | + BuildableIdentifier = "primary" | ||
35 | + BlueprintIdentifier = "3471867718070D9300FA0FB2" | ||
36 | + BuildableName = "DUREX testTests.xctest" | ||
37 | + BlueprintName = "DUREX testTests" | ||
38 | + ReferencedContainer = "container:DUREX test.xcodeproj"> | ||
39 | + </BuildableReference> | ||
40 | + </TestableReference> | ||
41 | + </Testables> | ||
42 | + <MacroExpansion> | ||
43 | + <BuildableReference | ||
44 | + BuildableIdentifier = "primary" | ||
45 | + BlueprintIdentifier = "3471865C18070D9300FA0FB2" | ||
46 | + BuildableName = "DUREX test.app" | ||
47 | + BlueprintName = "DUREX test" | ||
48 | + ReferencedContainer = "container:DUREX test.xcodeproj"> | ||
49 | + </BuildableReference> | ||
50 | + </MacroExpansion> | ||
51 | + </TestAction> | ||
52 | + <LaunchAction | ||
53 | + selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | ||
54 | + selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | ||
55 | + launchStyle = "0" | ||
56 | + useCustomWorkingDirectory = "NO" | ||
57 | + buildConfiguration = "Debug" | ||
58 | + ignoresPersistentStateOnLaunch = "NO" | ||
59 | + debugDocumentVersioning = "YES" | ||
60 | + allowLocationSimulation = "YES"> | ||
61 | + <BuildableProductRunnable> | ||
62 | + <BuildableReference | ||
63 | + BuildableIdentifier = "primary" | ||
64 | + BlueprintIdentifier = "3471865C18070D9300FA0FB2" | ||
65 | + BuildableName = "DUREX test.app" | ||
66 | + BlueprintName = "DUREX test" | ||
67 | + ReferencedContainer = "container:DUREX test.xcodeproj"> | ||
68 | + </BuildableReference> | ||
69 | + </BuildableProductRunnable> | ||
70 | + <AdditionalOptions> | ||
71 | + </AdditionalOptions> | ||
72 | + </LaunchAction> | ||
73 | + <ProfileAction | ||
74 | + shouldUseLaunchSchemeArgsEnv = "YES" | ||
75 | + savedToolIdentifier = "" | ||
76 | + useCustomWorkingDirectory = "NO" | ||
77 | + buildConfiguration = "Release" | ||
78 | + debugDocumentVersioning = "YES"> | ||
79 | + <BuildableProductRunnable> | ||
80 | + <BuildableReference | ||
81 | + BuildableIdentifier = "primary" | ||
82 | + BlueprintIdentifier = "3471865C18070D9300FA0FB2" | ||
83 | + BuildableName = "DUREX test.app" | ||
84 | + BlueprintName = "DUREX test" | ||
85 | + ReferencedContainer = "container:DUREX test.xcodeproj"> | ||
86 | + </BuildableReference> | ||
87 | + </BuildableProductRunnable> | ||
88 | + </ProfileAction> | ||
89 | + <AnalyzeAction | ||
90 | + buildConfiguration = "Debug"> | ||
91 | + </AnalyzeAction> | ||
92 | + <ArchiveAction | ||
93 | + buildConfiguration = "Release" | ||
94 | + revealArchiveInOrganizer = "YES"> | ||
95 | + </ArchiveAction> | ||
96 | +</Scheme> |
DUREX tests/DUREX test.xcodeproj/xcuserdata/imanol.xcuserdatad/xcschemes/xcschememanagement.plist
0 โ 100644
1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
2 | +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
3 | +<plist version="1.0"> | ||
4 | +<dict> | ||
5 | + <key>SchemeUserState</key> | ||
6 | + <dict> | ||
7 | + <key>DUREX Vendor Control.xcscheme</key> | ||
8 | + <dict> | ||
9 | + <key>orderHint</key> | ||
10 | + <integer>0</integer> | ||
11 | + </dict> | ||
12 | + </dict> | ||
13 | + <key>SuppressBuildableAutocreation</key> | ||
14 | + <dict> | ||
15 | + <key>3471865C18070D9300FA0FB2</key> | ||
16 | + <dict> | ||
17 | + <key>primary</key> | ||
18 | + <true/> | ||
19 | + </dict> | ||
20 | + <key>3471867718070D9300FA0FB2</key> | ||
21 | + <dict> | ||
22 | + <key>primary</key> | ||
23 | + <true/> | ||
24 | + </dict> | ||
25 | + </dict> | ||
26 | +</dict> | ||
27 | +</plist> |
DUREX tests/EmmocoMobileFramework/Assets/system.json
0 โ 100644
1 | +{ | ||
2 | + "resources": { | ||
3 | + "$activeParameterGroup": { | ||
4 | + "id": -10, | ||
5 | + "align": 1, | ||
6 | + "pack": 1, | ||
7 | + "attributes": {"readwrite": true}, | ||
8 | + "type": "E:system@emmoco.com.System/ParameterGroup", | ||
9 | + "access": "rw", | ||
10 | + "size": 1 | ||
11 | + }, | ||
12 | + "$schemaHash": { | ||
13 | + "dim": 20, | ||
14 | + "id": -6, | ||
15 | + "align": 1, | ||
16 | + "attributes": {"readonly": true}, | ||
17 | + "type": "A20:u1", | ||
18 | + "access": "r", | ||
19 | + "size": 20 | ||
20 | + }, | ||
21 | + "$eapProtocolLevel": { | ||
22 | + "id": -3, | ||
23 | + "align": 2, | ||
24 | + "attributes": {"readonly": true}, | ||
25 | + "type": "u2", | ||
26 | + "access": "r", | ||
27 | + "size": 2 | ||
28 | + }, | ||
29 | + "$mcmProtocolLevel": { | ||
30 | + "id": -2, | ||
31 | + "align": 2, | ||
32 | + "attributes": {"readonly": true}, | ||
33 | + "type": "u2", | ||
34 | + "access": "r", | ||
35 | + "size": 2 | ||
36 | + }, | ||
37 | + "$mobileRssi": { | ||
38 | + "id": -8, | ||
39 | + "align": 1, | ||
40 | + "attributes": {"readonly": true}, | ||
41 | + "type": "i1", | ||
42 | + "access": "r", | ||
43 | + "size": 1 | ||
44 | + }, | ||
45 | + "$mcmDisconnect": { | ||
46 | + "id": -9, | ||
47 | + "align": 1, | ||
48 | + "attributes": {"writeonly": true}, | ||
49 | + "type": "u1", | ||
50 | + "access": "w", | ||
51 | + "size": 1 | ||
52 | + }, | ||
53 | + "$eapBuildDate": { | ||
54 | + "dim": 8, | ||
55 | + "id": -4, | ||
56 | + "align": 1, | ||
57 | + "attributes": {"readonly": true}, | ||
58 | + "type": "A8:u1", | ||
59 | + "access": "r", | ||
60 | + "size": 8 | ||
61 | + }, | ||
62 | + "$resourceCount": { | ||
63 | + "id": -7, | ||
64 | + "align": 1, | ||
65 | + "attributes": {"readonly": true}, | ||
66 | + "type": "S:system@emmoco.com.System/ResourceCount", | ||
67 | + "access": "r", | ||
68 | + "size": 2 | ||
69 | + }, | ||
70 | + "$fileIndexReset": { | ||
71 | + "id": -5, | ||
72 | + "align": 2, | ||
73 | + "attributes": {"writeonly": true}, | ||
74 | + "type": "i2", | ||
75 | + "access": "w", | ||
76 | + "size": 2 | ||
77 | + } | ||
78 | + }, | ||
79 | + "resourceNamesSys": [ | ||
80 | + "$activeParameterGroup", | ||
81 | + "$eapBuildDate", | ||
82 | + "$eapProtocolLevel", | ||
83 | + "$fileIndexReset", | ||
84 | + "$mcmDisconnect", | ||
85 | + "$mcmProtocolLevel", | ||
86 | + "$mobileRssi", | ||
87 | + "$resourceCount", | ||
88 | + "$schemaHash" | ||
89 | + ], | ||
90 | + "manifest": { | ||
91 | + "protocolLevel": 13, | ||
92 | + "hash": [ | ||
93 | + 108, | ||
94 | + 31, | ||
95 | + 53, | ||
96 | + 92, | ||
97 | + 46, | ||
98 | + 47, | ||
99 | + 48, | ||
100 | + 241, | ||
101 | + 201, | ||
102 | + 5, | ||
103 | + 236, | ||
104 | + 253, | ||
105 | + 10, | ||
106 | + 254, | ||
107 | + 240, | ||
108 | + 187 | ||
109 | + ], | ||
110 | + "toolVersion": "13.3.0.201307022239", | ||
111 | + "name": "System", | ||
112 | + "$$md5": "6c1f355c2e2f30f1c905ecfd0afef0bb", | ||
113 | + "build": [ | ||
114 | + 99, | ||
115 | + 80, | ||
116 | + 140, | ||
117 | + 161, | ||
118 | + 63, | ||
119 | + 1, | ||
120 | + 0, | ||
121 | + 0 | ||
122 | + ], | ||
123 | + "date": "2013-07-02T17:41:34", | ||
124 | + "idFormat": "BINARY4", | ||
125 | + "maxAlign": 2, | ||
126 | + "maxSize": 20, | ||
127 | + "version": "13.3.0" | ||
128 | + }, | ||
129 | + "resourceNames": [ | ||
130 | + "$mcmProtocolLevel", | ||
131 | + "$eapProtocolLevel", | ||
132 | + "$eapBuildDate", | ||
133 | + "$fileIndexReset", | ||
134 | + "$schemaHash", | ||
135 | + "$resourceCount", | ||
136 | + "$mobileRssi", | ||
137 | + "$mcmDisconnect", | ||
138 | + "$activeParameterGroup" | ||
139 | + ], | ||
140 | + "attributes": { | ||
141 | + "description": "System resources schema", | ||
142 | + "version": "13.3.0" | ||
143 | + }, | ||
144 | + "types": { | ||
145 | + "system@emmoco.com.System/ResourceCount": { | ||
146 | + "packed": false, | ||
147 | + "align": 1, | ||
148 | + "type": "S:system@emmoco.com.System/ResourceCount", | ||
149 | + "size": 2, | ||
150 | + "fields": [ | ||
151 | + { | ||
152 | + "pad": 0, | ||
153 | + "align": 1, | ||
154 | + "name": "app", | ||
155 | + "type": "u1", | ||
156 | + "size": 1 | ||
157 | + }, | ||
158 | + { | ||
159 | + "pad": 0, | ||
160 | + "align": 1, | ||
161 | + "name": "sys", | ||
162 | + "type": "u1", | ||
163 | + "size": 1 | ||
164 | + } | ||
165 | + ] | ||
166 | + }, | ||
167 | + "std:i2": { | ||
168 | + "align": 2, | ||
169 | + "size": 2 | ||
170 | + }, | ||
171 | + "std:i1": { | ||
172 | + "align": 1, | ||
173 | + "size": 1 | ||
174 | + }, | ||
175 | + "std:u1": { | ||
176 | + "align": 1, | ||
177 | + "size": 1 | ||
178 | + }, | ||
179 | + "system@emmoco.com.System/ParameterGroup": { | ||
180 | + "values": [ | ||
181 | + "GROUP_A", | ||
182 | + "GROUP_B" | ||
183 | + ], | ||
184 | + "align": 1, | ||
185 | + "pack": 1, | ||
186 | + "type": "E:system@emmoco.com.System/ParameterGroup", | ||
187 | + "size": 1 | ||
188 | + }, | ||
189 | + "std:u2": { | ||
190 | + "align": 2, | ||
191 | + "size": 2 | ||
192 | + } | ||
193 | + }, | ||
194 | + "resourceNamesApp": [], | ||
195 | + "imports": {"@emmoco.com.System": true} | ||
196 | +} | ||
0 | \ No newline at end of file | 197 | \ No newline at end of file |
DUREX tests/EmmocoMobileFramework/Docs/Classes/ArrayValue.html
0 โ 100644
1 | +<!DOCTYPE HTML> | ||
2 | +<html> | ||
3 | + <head> | ||
4 | + <meta http-equiv="Content-Type" content="html/html; charset=utf-8" /> | ||
5 | + <title>ArrayValue Class Reference</title> | ||
6 | + <meta id="xcode-display" name="xcode-display" content="render"/> | ||
7 | + <meta name="viewport" content="width=550" /> | ||
8 | + <link rel="stylesheet" type="text/css" href="../css/styles.css" media="all" /> | ||
9 | + <link rel="stylesheet" type="text/css" media="print" href="../css/stylesPrint.css" /> | ||
10 | + <meta name="generator" content="appledoc 2.2 (build 961)" /> | ||
11 | + </head> | ||
12 | + <body> | ||
13 | + | ||
14 | + <div id="em-wrapper"> | ||
15 | + <style> | ||
16 | + #utility_bar | ||
17 | + { | ||
18 | + position: relative; | ||
19 | + height: 35px; | ||
20 | + /*background: #231f20 url(../images/bg_tagline.png) no-repeat right | ||
21 | + center;*/ | ||
22 | + background: #231f20 url(http://www.emmoco.com/images/bg_tagline.png) no-repeat right center; | ||
23 | + color: #efefef; | ||
24 | + overflow: hidden; | ||
25 | + padding-left: 10px; | ||
26 | + } | ||
27 | + | ||
28 | + #utility_bar p | ||
29 | + { | ||
30 | + margin-top: 9px; | ||
31 | + margin-bottom: 0; | ||
32 | + } | ||
33 | + | ||
34 | + #utility_bar a | ||
35 | + { | ||
36 | + color: #efefef; | ||
37 | + margin-right: 15px; | ||
38 | + padding: 2px; | ||
39 | + } | ||
40 | + | ||
41 | + #utility_bar a:hover | ||
42 | + { | ||
43 | + color: #fff; | ||
44 | + } | ||
45 | + | ||
46 | + #utility_bar a.selected | ||
47 | + { | ||
48 | + text-decoration: none; | ||
49 | + background-color: #555; | ||
50 | + } | ||
51 | + </style> | ||
52 | + <!-- begin utility bar --> | ||
53 | + <div id="utility_bar"> | ||
54 | + | ||
55 | + <!-- user info / logout link --> | ||
56 | + <p> | ||
57 | + <a href="http://em-hub.com/">Em-Hub</a> | ||
58 | + <a href="http://wiki.emmoco.com/">Wiki</a> | ||
59 | + <a href="http://android.emmoco.com/">Android Docs</a> | ||
60 | + <a class="selected" href="http://ios.emmoco.com/">iOS Docs</a> | ||
61 | + <a href="http://support.emmoco.com/">Support</a> | ||
62 | + </p> | ||
63 | + | ||
64 | + </div> | ||
65 | + <!-- end utility bar --> | ||
66 | + | ||
67 | + <header id="top_header"> | ||
68 | + <div id="library" class="hideInXcode"> | ||
69 | + <h1><a id="libraryTitle" href="../index.html">iOS Framework </a></h1> | ||
70 | + <a id="developerHome" href="../index.html">Emmoco, Inc.</a> | ||
71 | + </div> | ||
72 | + | ||
73 | + <div id="title" role="banner"> | ||
74 | + <h1 class="hideInXcode">ArrayValue Class Reference</h1> | ||
75 | + </div> | ||
76 | + <ul id="headerButtons" role="toolbar"> | ||
77 | + <li id="toc_button"> | ||
78 | + <button aria-label="Show Table of Contents" role="checkbox" class="open" id="table_of_contents"><span class="disclosure"></span>Table of Contents</button> | ||
79 | + </li> | ||
80 | + <li id="jumpto_button" role="navigation"> | ||
81 | + <select id="jumpTo"> | ||
82 | + <option value="top">Jump To…</option> | ||
83 | + | ||
84 | + | ||
85 | + | ||
86 | + | ||
87 | + <option value="tasks">Tasks</option> | ||
88 | + | ||
89 | + | ||
90 | + | ||
91 | + | ||
92 | + | ||
93 | + | ||
94 | + | ||
95 | + | ||
96 | + | ||
97 | + <option value="instance_methods">Instance Methods</option> | ||
98 | + | ||
99 | + <option value="//api/name/copyFromResource:"> - copyFromResource:</option> | ||
100 | + | ||
101 | + <option value="//api/name/doubleValue"> - doubleValue</option> | ||
102 | + | ||
103 | + <option value="//api/name/enumValues"> - enumValues</option> | ||
104 | + | ||
105 | + <option value="//api/name/fieldNames"> - fieldNames</option> | ||
106 | + | ||
107 | + <option value="//api/name/fileEof"> - fileEof</option> | ||
108 | + | ||
109 | + <option value="//api/name/fileFetch"> - fileFetch</option> | ||
110 | + | ||
111 | + <option value="//api/name/fileStore"> - fileStore</option> | ||
112 | + | ||
113 | + <option value="//api/name/getDataOfSize:fromBuffer:"> - getDataOfSize:fromBuffer:</option> | ||
114 | + | ||
115 | + <option value="//api/name/index:"> - index:</option> | ||
116 | + | ||
117 | + <option value="//api/name/initWithName:type:schema:"> - initWithName:type:schema:</option> | ||
118 | + | ||
119 | + <option value="//api/name/length"> - length</option> | ||
120 | + | ||
121 | + <option value="//api/name/longValue"> - longValue</option> | ||
122 | + | ||
123 | + <option value="//api/name/max"> - max</option> | ||
124 | + | ||
125 | + <option value="//api/name/min"> - min</option> | ||
126 | + | ||
127 | + <option value="//api/name/putData:"> - putData:</option> | ||
128 | + | ||
129 | + <option value="//api/name/reset"> - reset</option> | ||
130 | + | ||
131 | + <option value="//api/name/select:"> - select:</option> | ||
132 | + | ||
133 | + <option value="//api/name/setDoubleValue:"> - setDoubleValue:</option> | ||
134 | + | ||
135 | + <option value="//api/name/setLongValue:"> - setLongValue:</option> | ||
136 | + | ||
137 | + <option value="//api/name/setStringValue:"> - setStringValue:</option> | ||
138 | + | ||
139 | + <option value="//api/name/step"> - step</option> | ||
140 | + | ||
141 | + <option value="//api/name/stringValue"> - stringValue</option> | ||
142 | + | ||
143 | + | ||
144 | + | ||
145 | +</select> | ||
146 | + </li> | ||
147 | + </ul> | ||
148 | + </header> | ||
149 | + <nav id="tocContainer" class="isShowingTOC"> | ||
150 | + <ul id="toc" role="tree"> | ||
151 | + | ||
152 | + | ||
153 | + | ||
154 | + | ||
155 | +<li role="treeitem" id="task_treeitem"><span class="nodisclosure"></span><span class="sectionName"><a href="#tasks">Tasks</a></span><ul> | ||
156 | + | ||
157 | +</ul></li> | ||
158 | + | ||
159 | + | ||
160 | + | ||
161 | + | ||
162 | + | ||
163 | + | ||
164 | + | ||
165 | + | ||
166 | + | ||
167 | +<li role="treeitem" class="children"><span class="disclosure"></span><span class="sectionName"><a href="#instance_methods">Instance Methods</a></span><ul> | ||
168 | + | ||
169 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/copyFromResource:">copyFromResource:</a></span></li> | ||
170 | + | ||
171 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/doubleValue">doubleValue</a></span></li> | ||
172 | + | ||
173 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/enumValues">enumValues</a></span></li> | ||
174 | + | ||
175 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/fieldNames">fieldNames</a></span></li> | ||
176 | + | ||
177 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/fileEof">fileEof</a></span></li> | ||
178 | + | ||
179 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/fileFetch">fileFetch</a></span></li> | ||
180 | + | ||
181 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/fileStore">fileStore</a></span></li> | ||
182 | + | ||
183 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/getDataOfSize:fromBuffer:">getDataOfSize:fromBuffer:</a></span></li> | ||
184 | + | ||
185 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/index:">index:</a></span></li> | ||
186 | + | ||
187 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/initWithName:type:schema:">initWithName:type:schema:</a></span></li> | ||
188 | + | ||
189 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/length">length</a></span></li> | ||
190 | + | ||
191 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/longValue">longValue</a></span></li> | ||
192 | + | ||
193 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/max">max</a></span></li> | ||
194 | + | ||
195 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/min">min</a></span></li> | ||
196 | + | ||
197 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/putData:">putData:</a></span></li> | ||
198 | + | ||
199 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/reset">reset</a></span></li> | ||
200 | + | ||
201 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/select:">select:</a></span></li> | ||
202 | + | ||
203 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/setDoubleValue:">setDoubleValue:</a></span></li> | ||
204 | + | ||
205 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/setLongValue:">setLongValue:</a></span></li> | ||
206 | + | ||
207 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/setStringValue:">setStringValue:</a></span></li> | ||
208 | + | ||
209 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/step">step</a></span></li> | ||
210 | + | ||
211 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/stringValue">stringValue</a></span></li> | ||
212 | + | ||
213 | +</ul></li> | ||
214 | + | ||
215 | + | ||
216 | + </ul> | ||
217 | + </nav> | ||
218 | + <article> | ||
219 | + <div id="contents" class="isShowingTOC" role="main"> | ||
220 | + <a title="ArrayValue Class Reference" name="top"></a> | ||
221 | + <div class="main-navigation navigation-top"> | ||
222 | + <ul> | ||
223 | + <li><a href="../index.html">Index</a></li> | ||
224 | + <li><a href="../hierarchy.html">Hierarchy</a></li> | ||
225 | +</ul> | ||
226 | + </div> | ||
227 | + <div id="header"> | ||
228 | + <div class="section-header"> | ||
229 | + <h1 class="title title-header">ArrayValue Class Reference</h1> | ||
230 | + </div> | ||
231 | + </div> | ||
232 | + <div id="container"> | ||
233 | + | ||
234 | + <div class="section section-specification"><table cellspacing="0"><tbody> | ||
235 | + <tr> | ||
236 | + <td class="specification-title">Inherits from</td> | ||
237 | + <td class="specification-value"><a href="../Classes/EMResourceValue.html">EMResourceValue</a> : NSObject</td> | ||
238 | +</tr><tr> | ||
239 | + <td class="specification-title">Conforms to</td> | ||
240 | + <td class="specification-value"><a href="../Protocols/EMResourceValueProtocol.html">EMResourceValueProtocol</a></td> | ||
241 | +</tr><tr> | ||
242 | + <td class="specification-title">Declared in</td> | ||
243 | + <td class="specification-value">EMResourceValue.m</td> | ||
244 | +</tr> | ||
245 | + </tbody></table></div> | ||
246 | + | ||
247 | + | ||
248 | + | ||
249 | + | ||
250 | + | ||
251 | + | ||
252 | + <div class="section section-tasks"> | ||
253 | + <a title="Tasks" name="tasks"></a> | ||
254 | + <h2 class="subtitle subtitle-tasks">Tasks</h2> | ||
255 | + | ||
256 | + | ||
257 | + | ||
258 | + | ||
259 | + | ||
260 | + <ul class="task-list"> | ||
261 | + <li> | ||
262 | + <span class="tooltip"> | ||
263 | + <code><a href="#//api/name/initWithName:type:schema:">– initWithName:type:schema:</a></code> | ||
264 | + | ||
265 | + </span> | ||
266 | + | ||
267 | + | ||
268 | +</li><li> | ||
269 | + <span class="tooltip"> | ||
270 | + <code><a href="#//api/name/putData:">– putData:</a></code> | ||
271 | + | ||
272 | + </span> | ||
273 | + | ||
274 | + | ||
275 | +</li><li> | ||
276 | + <span class="tooltip"> | ||
277 | + <code><a href="#//api/name/getDataOfSize:fromBuffer:">– getDataOfSize:fromBuffer:</a></code> | ||
278 | + | ||
279 | + </span> | ||
280 | + | ||
281 | + | ||
282 | +</li><li> | ||
283 | + <span class="tooltip"> | ||
284 | + <code><a href="#//api/name/setDoubleValue:">– setDoubleValue:</a></code> | ||
285 | + | ||
286 | + </span> | ||
287 | + | ||
288 | + | ||
289 | +</li><li> | ||
290 | + <span class="tooltip"> | ||
291 | + <code><a href="#//api/name/setLongValue:">– setLongValue:</a></code> | ||
292 | + | ||
293 | + </span> | ||
294 | + | ||
295 | + | ||
296 | +</li><li> | ||
297 | + <span class="tooltip"> | ||
298 | + <code><a href="#//api/name/setStringValue:">– setStringValue:</a></code> | ||
299 | + | ||
300 | + </span> | ||
301 | + | ||
302 | + | ||
303 | +</li><li> | ||
304 | + <span class="tooltip"> | ||
305 | + <code><a href="#//api/name/doubleValue">– doubleValue</a></code> | ||
306 | + | ||
307 | + </span> | ||
308 | + | ||
309 | + | ||
310 | +</li><li> | ||
311 | + <span class="tooltip"> | ||
312 | + <code><a href="#//api/name/longValue">– longValue</a></code> | ||
313 | + | ||
314 | + </span> | ||
315 | + | ||
316 | + | ||
317 | +</li><li> | ||
318 | + <span class="tooltip"> | ||
319 | + <code><a href="#//api/name/stringValue">– stringValue</a></code> | ||
320 | + | ||
321 | + </span> | ||
322 | + | ||
323 | + | ||
324 | +</li><li> | ||
325 | + <span class="tooltip"> | ||
326 | + <code><a href="#//api/name/copyFromResource:">– copyFromResource:</a></code> | ||
327 | + | ||
328 | + </span> | ||
329 | + | ||
330 | + | ||
331 | +</li><li> | ||
332 | + <span class="tooltip"> | ||
333 | + <code><a href="#//api/name/reset">– reset</a></code> | ||
334 | + | ||
335 | + </span> | ||
336 | + | ||
337 | + | ||
338 | +</li><li> | ||
339 | + <span class="tooltip"> | ||
340 | + <code><a href="#//api/name/min">– min</a></code> | ||
341 | + | ||
342 | + </span> | ||
343 | + | ||
344 | + | ||
345 | +</li><li> | ||
346 | + <span class="tooltip"> | ||
347 | + <code><a href="#//api/name/max">– max</a></code> | ||
348 | + | ||
349 | + </span> | ||
350 | + | ||
351 | + | ||
352 | +</li><li> | ||
353 | + <span class="tooltip"> | ||
354 | + <code><a href="#//api/name/step">– step</a></code> | ||
355 | + | ||
356 | + </span> | ||
357 | + | ||
358 | + | ||
359 | +</li><li> | ||
360 | + <span class="tooltip"> | ||
361 | + <code><a href="#//api/name/length">– length</a></code> | ||
362 | + | ||
363 | + </span> | ||
364 | + | ||
365 | + | ||
366 | +</li><li> | ||
367 | + <span class="tooltip"> | ||
368 | + <code><a href="#//api/name/enumValues">– enumValues</a></code> | ||
369 | + | ||
370 | + </span> | ||
371 | + | ||
372 | + | ||
373 | +</li><li> | ||
374 | + <span class="tooltip"> | ||
375 | + <code><a href="#//api/name/fieldNames">– fieldNames</a></code> | ||
376 | + | ||
377 | + </span> | ||
378 | + | ||
379 | + | ||
380 | +</li><li> | ||
381 | + <span class="tooltip"> | ||
382 | + <code><a href="#//api/name/index:">– index:</a></code> | ||
383 | + | ||
384 | + </span> | ||
385 | + | ||
386 | + | ||
387 | +</li><li> | ||
388 | + <span class="tooltip"> | ||
389 | + <code><a href="#//api/name/select:">– select:</a></code> | ||
390 | + | ||
391 | + </span> | ||
392 | + | ||
393 | + | ||
394 | +</li><li> | ||
395 | + <span class="tooltip"> | ||
396 | + <code><a href="#//api/name/fileEof">– fileEof</a></code> | ||
397 | + | ||
398 | + </span> | ||
399 | + | ||
400 | + | ||
401 | +</li><li> | ||
402 | + <span class="tooltip"> | ||
403 | + <code><a href="#//api/name/fileFetch">– fileFetch</a></code> | ||
404 | + | ||
405 | + </span> | ||
406 | + | ||
407 | + | ||
408 | +</li><li> | ||
409 | + <span class="tooltip"> | ||
410 | + <code><a href="#//api/name/fileStore">– fileStore</a></code> | ||
411 | + | ||
412 | + </span> | ||
413 | + | ||
414 | + | ||
415 | +</li> | ||
416 | + </ul> | ||
417 | + | ||
418 | + </div> | ||
419 | + | ||
420 | + | ||
421 | + | ||
422 | + | ||
423 | + | ||
424 | + | ||
425 | + | ||
426 | + | ||
427 | + | ||
428 | + <div class="section section-methods"> | ||
429 | + <a title="Instance Methods" name="instance_methods"></a> | ||
430 | + <h2 class="subtitle subtitle-methods">Instance Methods</h2> | ||
431 | + | ||
432 | + <div class="section-method"> | ||
433 | + <a name="//api/name/copyFromResource:" title="copyFromResource:"></a> | ||
434 | + <h3 class="subsubtitle method-title">copyFromResource:</h3> | ||
435 | + | ||
436 | + | ||
437 | + | ||
438 | + | ||
439 | + <div class="method-subsection method-declaration"><code>- (void)copyFromResource:(EMResourceValue *)<em>source</em></code></div> | ||
440 | + | ||
441 | + | ||
442 | + | ||
443 | + | ||
444 | + | ||
445 | + | ||
446 | + | ||
447 | + | ||
448 | + | ||
449 | + | ||
450 | + | ||
451 | + | ||
452 | + | ||
453 | + | ||
454 | + <div class="method-subsection declared-in-section"> | ||
455 | + <h4 class="method-subtitle">Declared In</h4> | ||
456 | + <code class="declared-in-ref">EMResourceValue.h</code><br /> | ||
457 | + </div> | ||
458 | + | ||
459 | + | ||
460 | +</div> | ||
461 | + | ||
462 | + <div class="section-method"> | ||
463 | + <a name="//api/name/doubleValue" title="doubleValue"></a> | ||
464 | + <h3 class="subsubtitle method-title">doubleValue</h3> | ||
465 | + | ||
466 | + | ||
467 | + | ||
468 | + | ||
469 | + <div class="method-subsection method-declaration"><code>- (double)doubleValue</code></div> | ||
470 | + | ||
471 | + | ||
472 | + | ||
473 | + | ||
474 | + | ||
475 | + | ||
476 | + | ||
477 | + | ||
478 | + | ||
479 | + | ||
480 | + | ||
481 | + | ||
482 | + | ||
483 | + | ||
484 | + <div class="method-subsection declared-in-section"> | ||
485 | + <h4 class="method-subtitle">Declared In</h4> | ||
486 | + <code class="declared-in-ref">EMResourceValue.h</code><br /> | ||
487 | + </div> | ||
488 | + | ||
489 | + | ||
490 | +</div> | ||
491 | + | ||
492 | + <div class="section-method"> | ||
493 | + <a name="//api/name/enumValues" title="enumValues"></a> | ||
494 | + <h3 class="subsubtitle method-title">enumValues</h3> | ||
495 | + | ||
496 | + | ||
497 | + | ||
498 | + | ||
499 | + <div class="method-subsection method-declaration"><code>- (NSArray *)enumValues</code></div> | ||
500 | + | ||
501 | + | ||
502 | + | ||
503 | + | ||
504 | + | ||
505 | + | ||
506 | + | ||
507 | + | ||
508 | + | ||
509 | + | ||
510 | + | ||
511 | + | ||
512 | + | ||
513 | + | ||
514 | + <div class="method-subsection declared-in-section"> | ||
515 | + <h4 class="method-subtitle">Declared In</h4> | ||
516 | + <code class="declared-in-ref">EMResourceValue.h</code><br /> | ||
517 | + </div> | ||
518 | + | ||
519 | + | ||
520 | +</div> | ||
521 | + | ||
522 | + <div class="section-method"> | ||
523 | + <a name="//api/name/fieldNames" title="fieldNames"></a> | ||
524 | + <h3 class="subsubtitle method-title">fieldNames</h3> | ||
525 | + | ||
526 | + | ||
527 | + | ||
528 | + | ||
529 | + <div class="method-subsection method-declaration"><code>- (NSArray *)fieldNames</code></div> | ||
530 | + | ||
531 | + | ||
532 | + | ||
533 | + | ||
534 | + | ||
535 | + | ||
536 | + | ||
537 | + | ||
538 | + | ||
539 | + | ||
540 | + | ||
541 | + | ||
542 | + | ||
543 | + | ||
544 | + <div class="method-subsection declared-in-section"> | ||
545 | + <h4 class="method-subtitle">Declared In</h4> | ||
546 | + <code class="declared-in-ref">EMResourceValue.h</code><br /> | ||
547 | + </div> | ||
548 | + | ||
549 | + | ||
550 | +</div> | ||
551 | + | ||
552 | + <div class="section-method"> | ||
553 | + <a name="//api/name/fileEof" title="fileEof"></a> | ||
554 | + <h3 class="subsubtitle method-title">fileEof</h3> | ||
555 | + | ||
556 | + | ||
557 | + | ||
558 | + | ||
559 | + <div class="method-subsection method-declaration"><code>- (BOOL)fileEof</code></div> | ||
560 | + | ||
561 | + | ||
562 | + | ||
563 | + | ||
564 | + | ||
565 | + | ||
566 | + | ||
567 | + | ||
568 | + | ||
569 | + | ||
570 | + | ||
571 | + | ||
572 | + | ||
573 | + | ||
574 | + <div class="method-subsection declared-in-section"> | ||
575 | + <h4 class="method-subtitle">Declared In</h4> | ||
576 | + <code class="declared-in-ref">EMResourceValue.h</code><br /> | ||
577 | + </div> | ||
578 | + | ||
579 | + | ||
580 | +</div> | ||
581 | + | ||
582 | + <div class="section-method"> | ||
583 | + <a name="//api/name/fileFetch" title="fileFetch"></a> | ||
584 | + <h3 class="subsubtitle method-title">fileFetch</h3> | ||
585 | + | ||
586 | + | ||
587 | + | ||
588 | + | ||
589 | + <div class="method-subsection method-declaration"><code>- (void)fileFetch</code></div> | ||
590 | + | ||
591 | + | ||
592 | + | ||
593 | + | ||
594 | + | ||
595 | + | ||
596 | + | ||
597 | + | ||
598 | + | ||
599 | + | ||
600 | + | ||
601 | + | ||
602 | + | ||
603 | + | ||
604 | + <div class="method-subsection declared-in-section"> | ||
605 | + <h4 class="method-subtitle">Declared In</h4> | ||
606 | + <code class="declared-in-ref">EMResourceValue.h</code><br /> | ||
607 | + </div> | ||
608 | + | ||
609 | + | ||
610 | +</div> | ||
611 | + | ||
612 | + <div class="section-method"> | ||
613 | + <a name="//api/name/fileStore" title="fileStore"></a> | ||
614 | + <h3 class="subsubtitle method-title">fileStore</h3> | ||
615 | + | ||
616 | + | ||
617 | + | ||
618 | + | ||
619 | + <div class="method-subsection method-declaration"><code>- (void)fileStore</code></div> | ||
620 | + | ||
621 | + | ||
622 | + | ||
623 | + | ||
624 | + | ||
625 | + | ||
626 | + | ||
627 | + | ||
628 | + | ||
629 | + | ||
630 | + | ||
631 | + | ||
632 | + | ||
633 | + | ||
634 | + <div class="method-subsection declared-in-section"> | ||
635 | + <h4 class="method-subtitle">Declared In</h4> | ||
636 | + <code class="declared-in-ref">EMResourceValue.h</code><br /> | ||
637 | + </div> | ||
638 | + | ||
639 | + | ||
640 | +</div> | ||
641 | + | ||
642 | + <div class="section-method"> | ||
643 | + <a name="//api/name/getDataOfSize:fromBuffer:" title="getDataOfSize:fromBuffer:"></a> | ||
644 | + <h3 class="subsubtitle method-title">getDataOfSize:fromBuffer:</h3> | ||
645 | + | ||
646 | + | ||
647 | + | ||
648 | + | ||
649 | + <div class="method-subsection method-declaration"><code>- (void)getDataOfSize:(int)<em>size</em> fromBuffer:(EMSerialPacket *)<em>buffer</em></code></div> | ||
650 | + | ||
651 | + | ||
652 | + | ||
653 | + | ||
654 | + | ||
655 | + | ||
656 | + | ||
657 | + | ||
658 | + | ||
659 | + | ||
660 | + | ||
661 | + | ||
662 | + | ||
663 | + | ||
664 | + <div class="method-subsection declared-in-section"> | ||
665 | + <h4 class="method-subtitle">Declared In</h4> | ||
666 | + <code class="declared-in-ref">EMResourceValue.h</code><br /> | ||
667 | + </div> | ||
668 | + | ||
669 | + | ||
670 | +</div> | ||
671 | + | ||
672 | + <div class="section-method"> | ||
673 | + <a name="//api/name/index:" title="index:"></a> | ||
674 | + <h3 class="subsubtitle method-title">index:</h3> | ||
675 | + | ||
676 | + | ||
677 | + | ||
678 | + | ||
679 | + <div class="method-subsection method-declaration"><code>- (EMResourceValue *)index:(int)<em>index</em></code></div> | ||
680 | + | ||
681 | + | ||
682 | + | ||
683 | + | ||
684 | + | ||
685 | + | ||
686 | + | ||
687 | + | ||
688 | + | ||
689 | + | ||
690 | + | ||
691 | + | ||
692 | + | ||
693 | + | ||
694 | + <div class="method-subsection declared-in-section"> | ||
695 | + <h4 class="method-subtitle">Declared In</h4> | ||
696 | + <code class="declared-in-ref">EMResourceValue.h</code><br /> | ||
697 | + </div> | ||
698 | + | ||
699 | + | ||
700 | +</div> | ||
701 | + | ||
702 | + <div class="section-method"> | ||
703 | + <a name="//api/name/initWithName:type:schema:" title="initWithName:type:schema:"></a> | ||
704 | + <h3 class="subsubtitle method-title">initWithName:type:schema:</h3> | ||
705 | + | ||
706 | + | ||
707 | + | ||
708 | + | ||
709 | + <div class="method-subsection method-declaration"><code>- (id)initWithName:(NSString *)<em>theName</em> type:(NSString *)<em>theType</em> schema:(EMSchema *)<em>theResourceSchema</em></code></div> | ||
710 | + | ||
711 | + | ||
712 | + | ||
713 | + | ||
714 | + | ||
715 | + | ||
716 | + | ||
717 | + | ||
718 | + | ||
719 | + | ||
720 | + | ||
721 | + | ||
722 | + | ||
723 | + | ||
724 | + <div class="method-subsection declared-in-section"> | ||
725 | + <h4 class="method-subtitle">Declared In</h4> | ||
726 | + <code class="declared-in-ref">EMResourceValue.h</code><br /> | ||
727 | + </div> | ||
728 | + | ||
729 | + | ||
730 | +</div> | ||
731 | + | ||
732 | + <div class="section-method"> | ||
733 | + <a name="//api/name/length" title="length"></a> | ||
734 | + <h3 class="subsubtitle method-title">length</h3> | ||
735 | + | ||
736 | + | ||
737 | + | ||
738 | + | ||
739 | + <div class="method-subsection method-declaration"><code>- (long)length</code></div> | ||
740 | + | ||
741 | + | ||
742 | + | ||
743 | + | ||
744 | + | ||
745 | + | ||
746 | + | ||
747 | + | ||
748 | + | ||
749 | + | ||
750 | + | ||
751 | + | ||
752 | + | ||
753 | + | ||
754 | + <div class="method-subsection declared-in-section"> | ||
755 | + <h4 class="method-subtitle">Declared In</h4> | ||
756 | + <code class="declared-in-ref">EMResourceValue.h</code><br /> | ||
757 | + </div> | ||
758 | + | ||
759 | + | ||
760 | +</div> | ||
761 | + | ||
762 | + <div class="section-method"> | ||
763 | + <a name="//api/name/longValue" title="longValue"></a> | ||
764 | + <h3 class="subsubtitle method-title">longValue</h3> | ||
765 | + | ||
766 | + | ||
767 | + | ||
768 | + | ||
769 | + <div class="method-subsection method-declaration"><code>- (long long)longValue</code></div> | ||
770 | + | ||
771 | + | ||
772 | + | ||
773 | + | ||
774 | + | ||
775 | + | ||
776 | + | ||
777 | + | ||
778 | + | ||
779 | + | ||
780 | + | ||
781 | + | ||
782 | + | ||
783 | + | ||
784 | + <div class="method-subsection declared-in-section"> | ||
785 | + <h4 class="method-subtitle">Declared In</h4> | ||
786 | + <code class="declared-in-ref">EMResourceValue.h</code><br /> | ||
787 | + </div> | ||
788 | + | ||
789 | + | ||
790 | +</div> | ||
791 | + | ||
792 | + <div class="section-method"> | ||
793 | + <a name="//api/name/max" title="max"></a> | ||
794 | + <h3 class="subsubtitle method-title">max</h3> | ||
795 | + | ||
796 | + | ||
797 | + | ||
798 | + | ||
799 | + <div class="method-subsection method-declaration"><code>- (double)max</code></div> | ||
800 | + | ||
801 | + | ||
802 | + | ||
803 | + | ||
804 | + | ||
805 | + | ||
806 | + | ||
807 | + | ||
808 | + | ||
809 | + | ||
810 | + | ||
811 | + | ||
812 | + | ||
813 | + | ||
814 | + <div class="method-subsection declared-in-section"> | ||
815 | + <h4 class="method-subtitle">Declared In</h4> | ||
816 | + <code class="declared-in-ref">EMResourceValue.h</code><br /> | ||
817 | + </div> | ||
818 | + | ||
819 | + | ||
820 | +</div> | ||
821 | + | ||
822 | + <div class="section-method"> | ||
823 | + <a name="//api/name/min" title="min"></a> | ||
824 | + <h3 class="subsubtitle method-title">min</h3> | ||
825 | + | ||
826 | + | ||
827 | + | ||
828 | + | ||
829 | + <div class="method-subsection method-declaration"><code>- (double)min</code></div> | ||
830 | + | ||
831 | + | ||
832 | + | ||
833 | + | ||
834 | + | ||
835 | + | ||
836 | + | ||
837 | + | ||
838 | + | ||
839 | + | ||
840 | + | ||
841 | + | ||
842 | + | ||
843 | + | ||
844 | + <div class="method-subsection declared-in-section"> | ||
845 | + <h4 class="method-subtitle">Declared In</h4> | ||
846 | + <code class="declared-in-ref">EMResourceValue.h</code><br /> | ||
847 | + </div> | ||
848 | + | ||
849 | + | ||
850 | +</div> | ||
851 | + | ||
852 | + <div class="section-method"> | ||
853 | + <a name="//api/name/putData:" title="putData:"></a> | ||
854 | + <h3 class="subsubtitle method-title">putData:</h3> | ||
855 | + | ||
856 | + | ||
857 | + | ||
858 | + | ||
859 | + <div class="method-subsection method-declaration"><code>- (void)putData:(EMSerialPacket *)<em>buffer</em></code></div> | ||
860 | + | ||
861 | + | ||
862 | + | ||
863 | + | ||
864 | + | ||
865 | + | ||
866 | + | ||
867 | + | ||
868 | + | ||
869 | + | ||
870 | + | ||
871 | + | ||
872 | + | ||
873 | + | ||
874 | + <div class="method-subsection declared-in-section"> | ||
875 | + <h4 class="method-subtitle">Declared In</h4> | ||
876 | + <code class="declared-in-ref">EMResourceValue.h</code><br /> | ||
877 | + </div> | ||
878 | + | ||
879 | + | ||
880 | +</div> | ||
881 | + | ||
882 | + <div class="section-method"> | ||
883 | + <a name="//api/name/reset" title="reset"></a> | ||
884 | + <h3 class="subsubtitle method-title">reset</h3> | ||
885 | + | ||
886 | + | ||
887 | + | ||
888 | + | ||
889 | + <div class="method-subsection method-declaration"><code>- (void)reset</code></div> | ||
890 | + | ||
891 | + | ||
892 | + | ||
893 | + | ||
894 | + | ||
895 | + | ||
896 | + | ||
897 | + | ||
898 | + | ||
899 | + | ||
900 | + | ||
901 | + | ||
902 | + | ||
903 | + | ||
904 | + <div class="method-subsection declared-in-section"> | ||
905 | + <h4 class="method-subtitle">Declared In</h4> | ||
906 | + <code class="declared-in-ref">EMResourceValue.h</code><br /> | ||
907 | + </div> | ||
908 | + | ||
909 | + | ||
910 | +</div> | ||
911 | + | ||
912 | + <div class="section-method"> | ||
913 | + <a name="//api/name/select:" title="select:"></a> | ||
914 | + <h3 class="subsubtitle method-title">select:</h3> | ||
915 | + | ||
916 | + | ||
917 | + | ||
918 | + | ||
919 | + <div class="method-subsection method-declaration"><code>- (EMResourceValue *)select:(NSString *)<em>fieldName</em></code></div> | ||
920 | + | ||
921 | + | ||
922 | + | ||
923 | + | ||
924 | + | ||
925 | + | ||
926 | + | ||
927 | + | ||
928 | + | ||
929 | + | ||
930 | + | ||
931 | + | ||
932 | + | ||
933 | + | ||
934 | + <div class="method-subsection declared-in-section"> | ||
935 | + <h4 class="method-subtitle">Declared In</h4> | ||
936 | + <code class="declared-in-ref">EMResourceValue.h</code><br /> | ||
937 | + </div> | ||
938 | + | ||
939 | + | ||
940 | +</div> | ||
941 | + | ||
942 | + <div class="section-method"> | ||
943 | + <a name="//api/name/setDoubleValue:" title="setDoubleValue:"></a> | ||
944 | + <h3 class="subsubtitle method-title">setDoubleValue:</h3> | ||
945 | + | ||
946 | + | ||
947 | + | ||
948 | + | ||
949 | + <div class="method-subsection method-declaration"><code>- (void)setDoubleValue:(double)<em>value</em></code></div> | ||
950 | + | ||
951 | + | ||
952 | + | ||
953 | + | ||
954 | + | ||
955 | + | ||
956 | + | ||
957 | + | ||
958 | + | ||
959 | + | ||
960 | + | ||
961 | + | ||
962 | + | ||
963 | + | ||
964 | + <div class="method-subsection declared-in-section"> | ||
965 | + <h4 class="method-subtitle">Declared In</h4> | ||
966 | + <code class="declared-in-ref">EMResourceValue.h</code><br /> | ||
967 | + </div> | ||
968 | + | ||
969 | + | ||
970 | +</div> | ||
971 | + | ||
972 | + <div class="section-method"> | ||
973 | + <a name="//api/name/setLongValue:" title="setLongValue:"></a> | ||
974 | + <h3 class="subsubtitle method-title">setLongValue:</h3> | ||
975 | + | ||
976 | + | ||
977 | + | ||
978 | + | ||
979 | + <div class="method-subsection method-declaration"><code>- (void)setLongValue:(long long)<em>value</em></code></div> | ||
980 | + | ||
981 | + | ||
982 | + | ||
983 | + | ||
984 | + | ||
985 | + | ||
986 | + | ||
987 | + | ||
988 | + | ||
989 | + | ||
990 | + | ||
991 | + | ||
992 | + | ||
993 | + | ||
994 | + <div class="method-subsection declared-in-section"> | ||
995 | + <h4 class="method-subtitle">Declared In</h4> | ||
996 | + <code class="declared-in-ref">EMResourceValue.h</code><br /> | ||
997 | + </div> | ||
998 | + | ||
999 | + | ||
1000 | +</div> | ||
1001 | + | ||
1002 | + <div class="section-method"> | ||
1003 | + <a name="//api/name/setStringValue:" title="setStringValue:"></a> | ||
1004 | + <h3 class="subsubtitle method-title">setStringValue:</h3> | ||
1005 | + | ||
1006 | + | ||
1007 | + | ||
1008 | + | ||
1009 | + <div class="method-subsection method-declaration"><code>- (void)setStringValue:(NSString *)<em>value</em></code></div> | ||
1010 | + | ||
1011 | + | ||
1012 | + | ||
1013 | + | ||
1014 | + | ||
1015 | + | ||
1016 | + | ||
1017 | + | ||
1018 | + | ||
1019 | + | ||
1020 | + | ||
1021 | + | ||
1022 | + | ||
1023 | + | ||
1024 | + <div class="method-subsection declared-in-section"> | ||
1025 | + <h4 class="method-subtitle">Declared In</h4> | ||
1026 | + <code class="declared-in-ref">EMResourceValue.h</code><br /> | ||
1027 | + </div> | ||
1028 | + | ||
1029 | + | ||
1030 | +</div> | ||
1031 | + | ||
1032 | + <div class="section-method"> | ||
1033 | + <a name="//api/name/step" title="step"></a> | ||
1034 | + <h3 class="subsubtitle method-title">step</h3> | ||
1035 | + | ||
1036 | + | ||
1037 | + | ||
1038 | + | ||
1039 | + <div class="method-subsection method-declaration"><code>- (double)step</code></div> | ||
1040 | + | ||
1041 | + | ||
1042 | + | ||
1043 | + | ||
1044 | + | ||
1045 | + | ||
1046 | + | ||
1047 | + | ||
1048 | + | ||
1049 | + | ||
1050 | + | ||
1051 | + | ||
1052 | + | ||
1053 | + | ||
1054 | + <div class="method-subsection declared-in-section"> | ||
1055 | + <h4 class="method-subtitle">Declared In</h4> | ||
1056 | + <code class="declared-in-ref">EMResourceValue.h</code><br /> | ||
1057 | + </div> | ||
1058 | + | ||
1059 | + | ||
1060 | +</div> | ||
1061 | + | ||
1062 | + <div class="section-method"> | ||
1063 | + <a name="//api/name/stringValue" title="stringValue"></a> | ||
1064 | + <h3 class="subsubtitle method-title">stringValue</h3> | ||
1065 | + | ||
1066 | + | ||
1067 | + | ||
1068 | + | ||
1069 | + <div class="method-subsection method-declaration"><code>- (NSString *)stringValue</code></div> | ||
1070 | + | ||
1071 | + | ||
1072 | + | ||
1073 | + | ||
1074 | + | ||
1075 | + | ||
1076 | + | ||
1077 | + | ||
1078 | + | ||
1079 | + | ||
1080 | + | ||
1081 | + | ||
1082 | + | ||
1083 | + | ||
1084 | + <div class="method-subsection declared-in-section"> | ||
1085 | + <h4 class="method-subtitle">Declared In</h4> | ||
1086 | + <code class="declared-in-ref">EMResourceValue.h</code><br /> | ||
1087 | + </div> | ||
1088 | + | ||
1089 | + | ||
1090 | +</div> | ||
1091 | + | ||
1092 | + </div> | ||
1093 | + | ||
1094 | + | ||
1095 | + </div> | ||
1096 | + <div class="main-navigation navigation-bottom"> | ||
1097 | + <ul> | ||
1098 | + <li><a href="../index.html">Index</a></li> | ||
1099 | + <li><a href="../hierarchy.html">Hierarchy</a></li> | ||
1100 | +</ul> | ||
1101 | + </div> | ||
1102 | + <div id="footer"> | ||
1103 | + <hr /> | ||
1104 | + | ||
1105 | + <style> | ||
1106 | + #em-footer | ||
1107 | + { | ||
1108 | + background-color: #fff; | ||
1109 | + height: 100px; | ||
1110 | + font-size: 90%; | ||
1111 | + overflow: hidden; | ||
1112 | + } | ||
1113 | + | ||
1114 | + #em-footer_logo_container | ||
1115 | + { | ||
1116 | + position: relative; | ||
1117 | + background-color: #d2d2d2; | ||
1118 | + height: 70px; | ||
1119 | + margin-bottom: 3px; | ||
1120 | + } | ||
1121 | + | ||
1122 | + #em-footer_logo_container a | ||
1123 | + { | ||
1124 | + position: absolute; | ||
1125 | + right: 7px; | ||
1126 | + top: 7px; | ||
1127 | + } | ||
1128 | + | ||
1129 | + </style> | ||
1130 | + | ||
1131 | + <!-- begin em-footer --> | ||
1132 | + <div id="em-footer"> | ||
1133 | + <div id="em-footer_logo_container"><a href="http://www.emmoco.com/"><img | ||
1134 | + src="http://www.emmoco.com/images/logo_emhub_footer.png" | ||
1135 | + alt="" width="85" height="57" alt="EMMOCO LOGO" /></a></div> | ||
1136 | + </div> | ||
1137 | + | ||
1138 | + <div class="footer-copyright"> | ||
1139 | + <p><span class="copyright">© 2014 Emmoco, Inc.. All rights reserved. (Last updated: 2014-02-20)</span><br /> | ||
1140 | + | ||
1141 | + <span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2 (build 961)</a>.</span></p> | ||
1142 | + | ||
1143 | + </div> | ||
1144 | + </div> | ||
1145 | + </div> | ||
1146 | + </article> | ||
1147 | + <script type="text/javascript"> | ||
1148 | + function jumpToChange() | ||
1149 | + { | ||
1150 | + window.location.hash = this.options[this.selectedIndex].value; | ||
1151 | + } | ||
1152 | + | ||
1153 | + function toggleTOC() | ||
1154 | + { | ||
1155 | + var contents = document.getElementById('contents'); | ||
1156 | + var tocContainer = document.getElementById('tocContainer'); | ||
1157 | + | ||
1158 | + if (this.getAttribute('class') == 'open') | ||
1159 | + { | ||
1160 | + this.setAttribute('class', ''); | ||
1161 | + contents.setAttribute('class', ''); | ||
1162 | + tocContainer.setAttribute('class', ''); | ||
1163 | + | ||
1164 | + window.name = "hideTOC"; | ||
1165 | + } | ||
1166 | + else | ||
1167 | + { | ||
1168 | + this.setAttribute('class', 'open'); | ||
1169 | + contents.setAttribute('class', 'isShowingTOC'); | ||
1170 | + tocContainer.setAttribute('class', 'isShowingTOC'); | ||
1171 | + | ||
1172 | + window.name = ""; | ||
1173 | + } | ||
1174 | + return false; | ||
1175 | + } | ||
1176 | + | ||
1177 | + function toggleTOCEntryChildren(e) | ||
1178 | + { | ||
1179 | + e.stopPropagation(); | ||
1180 | + var currentClass = this.getAttribute('class'); | ||
1181 | + if (currentClass == 'children') { | ||
1182 | + this.setAttribute('class', 'children open'); | ||
1183 | + } | ||
1184 | + else if (currentClass == 'children open') { | ||
1185 | + this.setAttribute('class', 'children'); | ||
1186 | + } | ||
1187 | + return false; | ||
1188 | + } | ||
1189 | + | ||
1190 | + function tocEntryClick(e) | ||
1191 | + { | ||
1192 | + e.stopPropagation(); | ||
1193 | + return true; | ||
1194 | + } | ||
1195 | + | ||
1196 | + function init() | ||
1197 | + { | ||
1198 | + var selectElement = document.getElementById('jumpTo'); | ||
1199 | + selectElement.addEventListener('change', jumpToChange, false); | ||
1200 | + | ||
1201 | + var tocButton = document.getElementById('table_of_contents'); | ||
1202 | + tocButton.addEventListener('click', toggleTOC, false); | ||
1203 | + | ||
1204 | + var taskTreeItem = document.getElementById('task_treeitem'); | ||
1205 | + if (taskTreeItem.getElementsByTagName('li').length > 0) | ||
1206 | + { | ||
1207 | + taskTreeItem.setAttribute('class', 'children'); | ||
1208 | + taskTreeItem.firstChild.setAttribute('class', 'disclosure'); | ||
1209 | + } | ||
1210 | + | ||
1211 | + var tocList = document.getElementById('toc'); | ||
1212 | + | ||
1213 | + var tocEntries = tocList.getElementsByTagName('li'); | ||
1214 | + for (var i = 0; i < tocEntries.length; i++) { | ||
1215 | + tocEntries[i].addEventListener('click', toggleTOCEntryChildren, false); | ||
1216 | + } | ||
1217 | + | ||
1218 | + var tocLinks = tocList.getElementsByTagName('a'); | ||
1219 | + for (var i = 0; i < tocLinks.length; i++) { | ||
1220 | + tocLinks[i].addEventListener('click', tocEntryClick, false); | ||
1221 | + } | ||
1222 | + | ||
1223 | + if (window.name == "hideTOC") { | ||
1224 | + toggleTOC.call(tocButton); | ||
1225 | + } | ||
1226 | + } | ||
1227 | + | ||
1228 | + window.onload = init; | ||
1229 | + </script> | ||
1230 | + </body> | ||
1231 | +</html> | ||
0 | \ No newline at end of file | 1232 | \ No newline at end of file |
DUREX tests/EmmocoMobileFramework/Docs/Classes/EMBluetoothLowEnergyConnectionType.html
0 โ 100644
1 | +<!DOCTYPE HTML> | ||
2 | +<html> | ||
3 | + <head> | ||
4 | + <meta http-equiv="Content-Type" content="html/html; charset=utf-8" /> | ||
5 | + <title>EMBluetoothLowEnergyConnectionType Class Reference</title> | ||
6 | + <meta id="xcode-display" name="xcode-display" content="render"/> | ||
7 | + <meta name="viewport" content="width=550" /> | ||
8 | + <link rel="stylesheet" type="text/css" href="../css/styles.css" media="all" /> | ||
9 | + <link rel="stylesheet" type="text/css" media="print" href="../css/stylesPrint.css" /> | ||
10 | + <meta name="generator" content="appledoc 2.2 (build 961)" /> | ||
11 | + </head> | ||
12 | + <body> | ||
13 | + | ||
14 | + <div id="em-wrapper"> | ||
15 | + <style> | ||
16 | + #utility_bar | ||
17 | + { | ||
18 | + position: relative; | ||
19 | + height: 35px; | ||
20 | + /*background: #231f20 url(../images/bg_tagline.png) no-repeat right | ||
21 | + center;*/ | ||
22 | + background: #231f20 url(http://www.emmoco.com/images/bg_tagline.png) no-repeat right center; | ||
23 | + color: #efefef; | ||
24 | + overflow: hidden; | ||
25 | + padding-left: 10px; | ||
26 | + } | ||
27 | + | ||
28 | + #utility_bar p | ||
29 | + { | ||
30 | + margin-top: 9px; | ||
31 | + margin-bottom: 0; | ||
32 | + } | ||
33 | + | ||
34 | + #utility_bar a | ||
35 | + { | ||
36 | + color: #efefef; | ||
37 | + margin-right: 15px; | ||
38 | + padding: 2px; | ||
39 | + } | ||
40 | + | ||
41 | + #utility_bar a:hover | ||
42 | + { | ||
43 | + color: #fff; | ||
44 | + } | ||
45 | + | ||
46 | + #utility_bar a.selected | ||
47 | + { | ||
48 | + text-decoration: none; | ||
49 | + background-color: #555; | ||
50 | + } | ||
51 | + </style> | ||
52 | + <!-- begin utility bar --> | ||
53 | + <div id="utility_bar"> | ||
54 | + | ||
55 | + <!-- user info / logout link --> | ||
56 | + <p> | ||
57 | + <a href="http://em-hub.com/">Em-Hub</a> | ||
58 | + <a href="http://wiki.emmoco.com/">Wiki</a> | ||
59 | + <a href="http://android.emmoco.com/">Android Docs</a> | ||
60 | + <a class="selected" href="http://ios.emmoco.com/">iOS Docs</a> | ||
61 | + <a href="http://support.emmoco.com/">Support</a> | ||
62 | + </p> | ||
63 | + | ||
64 | + </div> | ||
65 | + <!-- end utility bar --> | ||
66 | + | ||
67 | + <header id="top_header"> | ||
68 | + <div id="library" class="hideInXcode"> | ||
69 | + <h1><a id="libraryTitle" href="../index.html">iOS Framework </a></h1> | ||
70 | + <a id="developerHome" href="../index.html">Emmoco, Inc.</a> | ||
71 | + </div> | ||
72 | + | ||
73 | + <div id="title" role="banner"> | ||
74 | + <h1 class="hideInXcode">EMBluetoothLowEnergyConnectionType Class Reference</h1> | ||
75 | + </div> | ||
76 | + <ul id="headerButtons" role="toolbar"> | ||
77 | + <li id="toc_button"> | ||
78 | + <button aria-label="Show Table of Contents" role="checkbox" class="open" id="table_of_contents"><span class="disclosure"></span>Table of Contents</button> | ||
79 | + </li> | ||
80 | + <li id="jumpto_button" role="navigation"> | ||
81 | + <select id="jumpTo"> | ||
82 | + <option value="top">Jump To…</option> | ||
83 | + | ||
84 | + <option value="overview">Overview</option> | ||
85 | + | ||
86 | + | ||
87 | + | ||
88 | + | ||
89 | + <option value="tasks">Tasks</option> | ||
90 | + | ||
91 | + | ||
92 | + | ||
93 | + | ||
94 | + | ||
95 | + <option value="properties">Properties</option> | ||
96 | + | ||
97 | + <option value="//api/name/connected"> connected</option> | ||
98 | + | ||
99 | + <option value="//api/name/discoversAllEmmocoBLEDevices"> discoversAllEmmocoBLEDevices</option> | ||
100 | + | ||
101 | + | ||
102 | + | ||
103 | + | ||
104 | + | ||
105 | + | ||
106 | + <option value="instance_methods">Instance Methods</option> | ||
107 | + | ||
108 | + <option value="//api/name/connectToDevice:connectionDelegate:"> - connectToDevice:connectionDelegate:</option> | ||
109 | + | ||
110 | + <option value="//api/name/deviceType"> - deviceType</option> | ||
111 | + | ||
112 | + <option value="//api/name/disconnect"> - disconnect</option> | ||
113 | + | ||
114 | + <option value="//api/name/fetch:"> - fetch:</option> | ||
115 | + | ||
116 | + <option value="//api/name/fetchSystemResource:"> - fetchSystemResource:</option> | ||
117 | + | ||
118 | + <option value="//api/name/isAvailable"> - isAvailable</option> | ||
119 | + | ||
120 | + <option value="//api/name/lastReadValue"> - lastReadValue</option> | ||
121 | + | ||
122 | + <option value="//api/name/setConnectionDelegate:"> - setConnectionDelegate:</option> | ||
123 | + | ||
124 | + <option value="//api/name/startUpdating"> - startUpdating</option> | ||
125 | + | ||
126 | + <option value="//api/name/stopUpdating"> - stopUpdating</option> | ||
127 | + | ||
128 | + <option value="//api/name/store:"> - store:</option> | ||
129 | + | ||
130 | + | ||
131 | + | ||
132 | +</select> | ||
133 | + </li> | ||
134 | + </ul> | ||
135 | + </header> | ||
136 | + <nav id="tocContainer" class="isShowingTOC"> | ||
137 | + <ul id="toc" role="tree"> | ||
138 | + | ||
139 | +<li role="treeitem"><span class="nodisclosure"></span><span class="sectionName"><a href="#overview">Overview</a></span></li> | ||
140 | + | ||
141 | + | ||
142 | + | ||
143 | + | ||
144 | +<li role="treeitem" id="task_treeitem"><span class="nodisclosure"></span><span class="sectionName"><a href="#tasks">Tasks</a></span><ul> | ||
145 | + | ||
146 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#task_Extension Methods">Extension Methods</a></span></li> | ||
147 | + | ||
148 | +</ul></li> | ||
149 | + | ||
150 | + | ||
151 | + | ||
152 | + | ||
153 | + | ||
154 | +<li role="treeitem" class="children"><span class="disclosure"></span><span class="sectionName"><a href="#properties">Properties</a></span><ul> | ||
155 | + | ||
156 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/connected">connected</a></span></li> | ||
157 | + | ||
158 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/discoversAllEmmocoBLEDevices">discoversAllEmmocoBLEDevices</a></span></li> | ||
159 | + | ||
160 | +</ul></li> | ||
161 | + | ||
162 | + | ||
163 | + | ||
164 | + | ||
165 | + | ||
166 | +<li role="treeitem" class="children"><span class="disclosure"></span><span class="sectionName"><a href="#instance_methods">Instance Methods</a></span><ul> | ||
167 | + | ||
168 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/connectToDevice:connectionDelegate:">connectToDevice:connectionDelegate:</a></span></li> | ||
169 | + | ||
170 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/deviceType">deviceType</a></span></li> | ||
171 | + | ||
172 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/disconnect">disconnect</a></span></li> | ||
173 | + | ||
174 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/fetch:">fetch:</a></span></li> | ||
175 | + | ||
176 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/fetchSystemResource:">fetchSystemResource:</a></span></li> | ||
177 | + | ||
178 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/isAvailable">isAvailable</a></span></li> | ||
179 | + | ||
180 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/lastReadValue">lastReadValue</a></span></li> | ||
181 | + | ||
182 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/setConnectionDelegate:">setConnectionDelegate:</a></span></li> | ||
183 | + | ||
184 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/startUpdating">startUpdating</a></span></li> | ||
185 | + | ||
186 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/stopUpdating">stopUpdating</a></span></li> | ||
187 | + | ||
188 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/store:">store:</a></span></li> | ||
189 | + | ||
190 | +</ul></li> | ||
191 | + | ||
192 | + | ||
193 | + </ul> | ||
194 | + </nav> | ||
195 | + <article> | ||
196 | + <div id="contents" class="isShowingTOC" role="main"> | ||
197 | + <a title="EMBluetoothLowEnergyConnectionType Class Reference" name="top"></a> | ||
198 | + <div class="main-navigation navigation-top"> | ||
199 | + <ul> | ||
200 | + <li><a href="../index.html">Index</a></li> | ||
201 | + <li><a href="../hierarchy.html">Hierarchy</a></li> | ||
202 | +</ul> | ||
203 | + </div> | ||
204 | + <div id="header"> | ||
205 | + <div class="section-header"> | ||
206 | + <h1 class="title title-header">EMBluetoothLowEnergyConnectionType Class Reference</h1> | ||
207 | + </div> | ||
208 | + </div> | ||
209 | + <div id="container"> | ||
210 | + | ||
211 | + <div class="section section-specification"><table cellspacing="0"><tbody> | ||
212 | + <tr> | ||
213 | + <td class="specification-title">Inherits from</td> | ||
214 | + <td class="specification-value">NSObject</td> | ||
215 | +</tr><tr> | ||
216 | + <td class="specification-title">Conforms to</td> | ||
217 | + <td class="specification-value">CBCentralManagerDelegate<br />CBPeripheralDelegate<br /><a href="../Protocols/EMConnectionType.html">EMConnectionType</a></td> | ||
218 | +</tr><tr> | ||
219 | + <td class="specification-title">Declared in</td> | ||
220 | + <td class="specification-value">EMBluetoothLowEnergyConnectionType.h<br />EMBluetoothLowEnergyConnectionType.m</td> | ||
221 | +</tr> | ||
222 | + </tbody></table></div> | ||
223 | + | ||
224 | + | ||
225 | + | ||
226 | + | ||
227 | + <div class="section section-overview"> | ||
228 | + <a title="Overview" name="overview"></a> | ||
229 | + <h2 class="subtitle subtitle-overview">Overview</h2> | ||
230 | + <p>EMBluethoothLowEnergyConnectionType is a concrete <a href="../Protocols/EMConnectionType.html">EMConnectionType</a> for Bluetooth Low Energy.</p> | ||
231 | + | ||
232 | +<p>If you want the framework to interact with Bluetooth Low Energy devices, add an instance of this class to <a href="../Classes/EMConnectionListManager.html">EMConnectionListManager</a> via the -addConnectionTypeToUpdates: method.</p> | ||
233 | + </div> | ||
234 | + | ||
235 | + | ||
236 | + | ||
237 | + | ||
238 | + | ||
239 | + <div class="section section-tasks"> | ||
240 | + <a title="Tasks" name="tasks"></a> | ||
241 | + <h2 class="subtitle subtitle-tasks">Tasks</h2> | ||
242 | + | ||
243 | + | ||
244 | + | ||
245 | + <h3 class="subsubtitle task-title">Other Methods</h3> | ||
246 | + | ||
247 | + <ul class="task-list"> | ||
248 | + <li> | ||
249 | + <span class="tooltip"> | ||
250 | + <code><a href="#//api/name/discoversAllEmmocoBLEDevices"> discoversAllEmmocoBLEDevices</a></code> | ||
251 | + <span class="tooltip"><p>By default, EMBluetoothLowEnergyConnectionType will ‘discover’ devices that have a schema hash matching a schema in your application bundle. | ||
252 | +Set this flag to ‘YES’ for an instance of this class to discover all Emmoco BLE devices. | ||
253 | +NOTE: Most applications should not have this enabled.</p></span> | ||
254 | + </span> | ||
255 | + <span class="task-item-suffix">property</span> | ||
256 | + | ||
257 | +</li> | ||
258 | + </ul> | ||
259 | + | ||
260 | + | ||
261 | + | ||
262 | + <h3 class="subsubtitle task-title">Other Methods</h3> | ||
263 | + | ||
264 | + <ul class="task-list"> | ||
265 | + <li> | ||
266 | + <span class="tooltip"> | ||
267 | + <code><a href="#//api/name/setConnectionDelegate:">– setConnectionDelegate:</a></code> | ||
268 | + <span class="tooltip"><p>The delegate for connection communication</p></span> | ||
269 | + </span> | ||
270 | + | ||
271 | + | ||
272 | +</li><li> | ||
273 | + <span class="tooltip"> | ||
274 | + <code><a href="#//api/name/isAvailable">– isAvailable</a></code> | ||
275 | + <span class="tooltip"><p>YES if available on the current device, NO if unavailable.</p></span> | ||
276 | + </span> | ||
277 | + | ||
278 | + | ||
279 | +</li><li> | ||
280 | + <span class="tooltip"> | ||
281 | + <code><a href="#//api/name/lastReadValue">– lastReadValue</a></code> | ||
282 | + <span class="tooltip"><p>The last read resource value from the device</p></span> | ||
283 | + </span> | ||
284 | + | ||
285 | + | ||
286 | +</li><li> | ||
287 | + <span class="tooltip"> | ||
288 | + <code><a href="#//api/name/startUpdating">– startUpdating</a></code> | ||
289 | + <span class="tooltip"><p>Tells the connection to start looking for devices of its type.</p></span> | ||
290 | + </span> | ||
291 | + | ||
292 | + | ||
293 | +</li><li> | ||
294 | + <span class="tooltip"> | ||
295 | + <code><a href="#//api/name/stopUpdating">– stopUpdating</a></code> | ||
296 | + <span class="tooltip"><p>Tells the connection to stop looking for devices of its type.</p></span> | ||
297 | + </span> | ||
298 | + | ||
299 | + | ||
300 | +</li><li> | ||
301 | + <span class="tooltip"> | ||
302 | + <code><a href="#//api/name/deviceType">– deviceType</a></code> | ||
303 | + <span class="tooltip"><p>The type of device - this can be set to anything and retreived for printing or examining.</p></span> | ||
304 | + </span> | ||
305 | + | ||
306 | + | ||
307 | +</li><li> | ||
308 | + <span class="tooltip"> | ||
309 | + <code><a href="#//api/name/connectToDevice:connectionDelegate:">– connectToDevice:connectionDelegate:</a></code> | ||
310 | + <span class="tooltip"><p>Establishes a connection with a device</p></span> | ||
311 | + </span> | ||
312 | + | ||
313 | + | ||
314 | +</li><li> | ||
315 | + <span class="tooltip"> | ||
316 | + <code><a href="#//api/name/disconnect">– disconnect</a></code> | ||
317 | + <span class="tooltip"><p>disconnects the current device.</p></span> | ||
318 | + </span> | ||
319 | + | ||
320 | + | ||
321 | +</li><li> | ||
322 | + <span class="tooltip"> | ||
323 | + <code><a href="#//api/name/fetch:">– fetch:</a></code> | ||
324 | + <span class="tooltip"><p>Fetches a resource. Can be retrieved in “lastReadValue”</p></span> | ||
325 | + </span> | ||
326 | + | ||
327 | + | ||
328 | +</li><li> | ||
329 | + <span class="tooltip"> | ||
330 | + <code><a href="#//api/name/fetchSystemResource:">– fetchSystemResource:</a></code> | ||
331 | + <span class="tooltip"><p>Fetches a system resource. Can be retrieved in “lastReadValue”.</p></span> | ||
332 | + </span> | ||
333 | + | ||
334 | + | ||
335 | +</li><li> | ||
336 | + <span class="tooltip"> | ||
337 | + <code><a href="#//api/name/store:">– store:</a></code> | ||
338 | + <span class="tooltip"><p>writes a value to a device.</p></span> | ||
339 | + </span> | ||
340 | + | ||
341 | + | ||
342 | +</li> | ||
343 | + </ul> | ||
344 | + | ||
345 | + | ||
346 | + <a title="Extension Methods" name="task_Extension Methods"></a> | ||
347 | + <h3 class="subsubtitle task-title">Extension Methods</h3> | ||
348 | + | ||
349 | + <ul class="task-list"> | ||
350 | + <li> | ||
351 | + <span class="tooltip"> | ||
352 | + <code><a href="#//api/name/connected"> connected</a></code> | ||
353 | + <span class="tooltip"><p>A boolean indicating whether or not there is a connection with a device.</p></span> | ||
354 | + </span> | ||
355 | + <span class="task-item-suffix">property</span> | ||
356 | + | ||
357 | +</li> | ||
358 | + </ul> | ||
359 | + | ||
360 | + </div> | ||
361 | + | ||
362 | + | ||
363 | + | ||
364 | + | ||
365 | + | ||
366 | + <div class="section section-methods"> | ||
367 | + <a title="Properties" name="properties"></a> | ||
368 | + <h2 class="subtitle subtitle-methods">Properties</h2> | ||
369 | + | ||
370 | + <div class="section-method"> | ||
371 | + <a name="//api/name/connected" title="connected"></a> | ||
372 | + <h3 class="subsubtitle method-title">connected</h3> | ||
373 | + | ||
374 | + | ||
375 | + | ||
376 | + <div class="method-subsection brief-description"> | ||
377 | + <p>A boolean indicating whether or not there is a connection with a device.</p> | ||
378 | + </div> | ||
379 | + | ||
380 | + | ||
381 | + <div class="method-subsection method-declaration"><code>@property (nonatomic, getter=isConnected) BOOL connected</code></div> | ||
382 | + | ||
383 | + | ||
384 | + | ||
385 | + | ||
386 | + | ||
387 | + | ||
388 | + | ||
389 | + | ||
390 | + <div class="method-subsection discussion-section"> | ||
391 | + <h4 class="method-subtitle">Discussion</h4> | ||
392 | + <p>A boolean indicating whether or not there is a connection with a device.</p> | ||
393 | + </div> | ||
394 | + | ||
395 | + | ||
396 | + | ||
397 | + | ||
398 | + | ||
399 | + | ||
400 | + | ||
401 | + <div class="method-subsection declared-in-section"> | ||
402 | + <h4 class="method-subtitle">Declared In</h4> | ||
403 | + <code class="declared-in-ref">EMConnectionType.h</code><br /> | ||
404 | + </div> | ||
405 | + | ||
406 | + | ||
407 | +</div> | ||
408 | + | ||
409 | + <div class="section-method"> | ||
410 | + <a name="//api/name/discoversAllEmmocoBLEDevices" title="discoversAllEmmocoBLEDevices"></a> | ||
411 | + <h3 class="subsubtitle method-title">discoversAllEmmocoBLEDevices</h3> | ||
412 | + | ||
413 | + | ||
414 | + | ||
415 | + <div class="method-subsection brief-description"> | ||
416 | + <p>By default, EMBluetoothLowEnergyConnectionType will ‘discover’ devices that have a schema hash matching a schema in your application bundle. | ||
417 | +Set this flag to ‘YES’ for an instance of this class to discover all Emmoco BLE devices. | ||
418 | +NOTE: Most applications should not have this enabled.</p> | ||
419 | + </div> | ||
420 | + | ||
421 | + | ||
422 | + <div class="method-subsection method-declaration"><code>@property (nonatomic) BOOL discoversAllEmmocoBLEDevices</code></div> | ||
423 | + | ||
424 | + | ||
425 | + | ||
426 | + | ||
427 | + | ||
428 | + | ||
429 | + | ||
430 | + | ||
431 | + <div class="method-subsection discussion-section"> | ||
432 | + <h4 class="method-subtitle">Discussion</h4> | ||
433 | + <p>By default, EMBluetoothLowEnergyConnectionType will ‘discover’ devices that have a schema hash matching a schema in your application bundle. | ||
434 | +Set this flag to ‘YES’ for an instance of this class to discover all Emmoco BLE devices. | ||
435 | +NOTE: Most applications should not have this enabled.</p> | ||
436 | + </div> | ||
437 | + | ||
438 | + | ||
439 | + | ||
440 | + | ||
441 | + | ||
442 | + | ||
443 | + | ||
444 | + <div class="method-subsection declared-in-section"> | ||
445 | + <h4 class="method-subtitle">Declared In</h4> | ||
446 | + <code class="declared-in-ref">EMBluetoothLowEnergyConnectionType.h</code><br /> | ||
447 | + </div> | ||
448 | + | ||
449 | + | ||
450 | +</div> | ||
451 | + | ||
452 | + </div> | ||
453 | + | ||
454 | + | ||
455 | + | ||
456 | + | ||
457 | + | ||
458 | + <div class="section section-methods"> | ||
459 | + <a title="Instance Methods" name="instance_methods"></a> | ||
460 | + <h2 class="subtitle subtitle-methods">Instance Methods</h2> | ||
461 | + | ||
462 | + <div class="section-method"> | ||
463 | + <a name="//api/name/connectToDevice:connectionDelegate:" title="connectToDevice:connectionDelegate:"></a> | ||
464 | + <h3 class="subsubtitle method-title">connectToDevice:connectionDelegate:</h3> | ||
465 | + | ||
466 | + | ||
467 | + | ||
468 | + <div class="method-subsection brief-description"> | ||
469 | + <p>Establishes a connection with a device</p> | ||
470 | + </div> | ||
471 | + | ||
472 | + | ||
473 | + <div class="method-subsection method-declaration"><code>- (void)connectToDevice:(EMDeviceBasicDescription *)<em>device</em> connectionDelegate:(id<EMDeviceDelegate>)<em>connDelegate</em></code></div> | ||
474 | + | ||
475 | + | ||
476 | + | ||
477 | + | ||
478 | + | ||
479 | + | ||
480 | + | ||
481 | + | ||
482 | + <div class="method-subsection discussion-section"> | ||
483 | + <h4 class="method-subtitle">Discussion</h4> | ||
484 | + <p>Establishes a connection with a device</p> | ||
485 | + </div> | ||
486 | + | ||
487 | + | ||
488 | + | ||
489 | + | ||
490 | + | ||
491 | + | ||
492 | + | ||
493 | + <div class="method-subsection declared-in-section"> | ||
494 | + <h4 class="method-subtitle">Declared In</h4> | ||
495 | + <code class="declared-in-ref">EMConnectionType.h</code><br /> | ||
496 | + </div> | ||
497 | + | ||
498 | + | ||
499 | +</div> | ||
500 | + | ||
501 | + <div class="section-method"> | ||
502 | + <a name="//api/name/deviceType" title="deviceType"></a> | ||
503 | + <h3 class="subsubtitle method-title">deviceType</h3> | ||
504 | + | ||
505 | + | ||
506 | + | ||
507 | + <div class="method-subsection brief-description"> | ||
508 | + <p>The type of device - this can be set to anything and retreived for printing or examining.</p> | ||
509 | + </div> | ||
510 | + | ||
511 | + | ||
512 | + <div class="method-subsection method-declaration"><code>- (NSString *)deviceType</code></div> | ||
513 | + | ||
514 | + | ||
515 | + | ||
516 | + | ||
517 | + | ||
518 | + | ||
519 | + | ||
520 | + | ||
521 | + <div class="method-subsection discussion-section"> | ||
522 | + <h4 class="method-subtitle">Discussion</h4> | ||
523 | + <p>The type of device - this can be set to anything and retreived for printing or examining.</p> | ||
524 | + </div> | ||
525 | + | ||
526 | + | ||
527 | + | ||
528 | + | ||
529 | + | ||
530 | + | ||
531 | + | ||
532 | + <div class="method-subsection declared-in-section"> | ||
533 | + <h4 class="method-subtitle">Declared In</h4> | ||
534 | + <code class="declared-in-ref">EMConnectionType.h</code><br /> | ||
535 | + </div> | ||
536 | + | ||
537 | + | ||
538 | +</div> | ||
539 | + | ||
540 | + <div class="section-method"> | ||
541 | + <a name="//api/name/disconnect" title="disconnect"></a> | ||
542 | + <h3 class="subsubtitle method-title">disconnect</h3> | ||
543 | + | ||
544 | + | ||
545 | + | ||
546 | + <div class="method-subsection brief-description"> | ||
547 | + <p>disconnects the current device.</p> | ||
548 | + </div> | ||
549 | + | ||
550 | + | ||
551 | + <div class="method-subsection method-declaration"><code>- (void)disconnect</code></div> | ||
552 | + | ||
553 | + | ||
554 | + | ||
555 | + | ||
556 | + | ||
557 | + | ||
558 | + | ||
559 | + | ||
560 | + <div class="method-subsection discussion-section"> | ||
561 | + <h4 class="method-subtitle">Discussion</h4> | ||
562 | + <p>disconnects the current device.</p> | ||
563 | + </div> | ||
564 | + | ||
565 | + | ||
566 | + | ||
567 | + | ||
568 | + | ||
569 | + | ||
570 | + | ||
571 | + <div class="method-subsection declared-in-section"> | ||
572 | + <h4 class="method-subtitle">Declared In</h4> | ||
573 | + <code class="declared-in-ref">EMConnectionType.h</code><br /> | ||
574 | + </div> | ||
575 | + | ||
576 | + | ||
577 | +</div> | ||
578 | + | ||
579 | + <div class="section-method"> | ||
580 | + <a name="//api/name/fetch:" title="fetch:"></a> | ||
581 | + <h3 class="subsubtitle method-title">fetch:</h3> | ||
582 | + | ||
583 | + | ||
584 | + | ||
585 | + <div class="method-subsection brief-description"> | ||
586 | + <p>Fetches a resource. Can be retrieved in “lastReadValue”</p> | ||
587 | + </div> | ||
588 | + | ||
589 | + | ||
590 | + <div class="method-subsection method-declaration"><code>- (void)fetch:(EMResourceValue *)<em>value</em></code></div> | ||
591 | + | ||
592 | + | ||
593 | + | ||
594 | + | ||
595 | + | ||
596 | + | ||
597 | + | ||
598 | + | ||
599 | + <div class="method-subsection discussion-section"> | ||
600 | + <h4 class="method-subtitle">Discussion</h4> | ||
601 | + <p>Fetches a resource. Can be retrieved in “lastReadValue”</p> | ||
602 | + </div> | ||
603 | + | ||
604 | + | ||
605 | + | ||
606 | + | ||
607 | + | ||
608 | + | ||
609 | + | ||
610 | + <div class="method-subsection declared-in-section"> | ||
611 | + <h4 class="method-subtitle">Declared In</h4> | ||
612 | + <code class="declared-in-ref">EMConnectionType.h</code><br /> | ||
613 | + </div> | ||
614 | + | ||
615 | + | ||
616 | +</div> | ||
617 | + | ||
618 | + <div class="section-method"> | ||
619 | + <a name="//api/name/fetchSystemResource:" title="fetchSystemResource:"></a> | ||
620 | + <h3 class="subsubtitle method-title">fetchSystemResource:</h3> | ||
621 | + | ||
622 | + | ||
623 | + | ||
624 | + <div class="method-subsection brief-description"> | ||
625 | + <p>Fetches a system resource. Can be retrieved in “lastReadValue”.</p> | ||
626 | + </div> | ||
627 | + | ||
628 | + | ||
629 | + <div class="method-subsection method-declaration"><code>- (void)fetchSystemResource:(EMResourceValue *)<em>value</em></code></div> | ||
630 | + | ||
631 | + | ||
632 | + | ||
633 | + | ||
634 | + | ||
635 | + | ||
636 | + | ||
637 | + | ||
638 | + <div class="method-subsection discussion-section"> | ||
639 | + <h4 class="method-subtitle">Discussion</h4> | ||
640 | + <p>Fetches a system resource. Can be retrieved in “lastReadValue”.</p> | ||
641 | + </div> | ||
642 | + | ||
643 | + | ||
644 | + | ||
645 | + | ||
646 | + | ||
647 | + | ||
648 | + | ||
649 | + <div class="method-subsection declared-in-section"> | ||
650 | + <h4 class="method-subtitle">Declared In</h4> | ||
651 | + <code class="declared-in-ref">EMConnectionType.h</code><br /> | ||
652 | + </div> | ||
653 | + | ||
654 | + | ||
655 | +</div> | ||
656 | + | ||
657 | + <div class="section-method"> | ||
658 | + <a name="//api/name/isAvailable" title="isAvailable"></a> | ||
659 | + <h3 class="subsubtitle method-title">isAvailable</h3> | ||
660 | + | ||
661 | + | ||
662 | + | ||
663 | + <div class="method-subsection brief-description"> | ||
664 | + <p>YES if available on the current device, NO if unavailable.</p> | ||
665 | + </div> | ||
666 | + | ||
667 | + | ||
668 | + <div class="method-subsection method-declaration"><code>- (BOOL)isAvailable</code></div> | ||
669 | + | ||
670 | + | ||
671 | + | ||
672 | + | ||
673 | + | ||
674 | + | ||
675 | + | ||
676 | + | ||
677 | + <div class="method-subsection discussion-section"> | ||
678 | + <h4 class="method-subtitle">Discussion</h4> | ||
679 | + <p>YES if available on the current device, NO if unavailable.</p> | ||
680 | + </div> | ||
681 | + | ||
682 | + | ||
683 | + | ||
684 | + | ||
685 | + | ||
686 | + | ||
687 | + | ||
688 | + <div class="method-subsection declared-in-section"> | ||
689 | + <h4 class="method-subtitle">Declared In</h4> | ||
690 | + <code class="declared-in-ref">EMConnectionType.h</code><br /> | ||
691 | + </div> | ||
692 | + | ||
693 | + | ||
694 | +</div> | ||
695 | + | ||
696 | + <div class="section-method"> | ||
697 | + <a name="//api/name/lastReadValue" title="lastReadValue"></a> | ||
698 | + <h3 class="subsubtitle method-title">lastReadValue</h3> | ||
699 | + | ||
700 | + | ||
701 | + | ||
702 | + <div class="method-subsection brief-description"> | ||
703 | + <p>The last read resource value from the device</p> | ||
704 | + </div> | ||
705 | + | ||
706 | + | ||
707 | + <div class="method-subsection method-declaration"><code>- (EMResourceValue *)lastReadValue</code></div> | ||
708 | + | ||
709 | + | ||
710 | + | ||
711 | + | ||
712 | + | ||
713 | + | ||
714 | + | ||
715 | + | ||
716 | + <div class="method-subsection discussion-section"> | ||
717 | + <h4 class="method-subtitle">Discussion</h4> | ||
718 | + <p>The last read resource value from the device</p> | ||
719 | + </div> | ||
720 | + | ||
721 | + | ||
722 | + | ||
723 | + | ||
724 | + | ||
725 | + | ||
726 | + | ||
727 | + <div class="method-subsection declared-in-section"> | ||
728 | + <h4 class="method-subtitle">Declared In</h4> | ||
729 | + <code class="declared-in-ref">EMConnectionType.h</code><br /> | ||
730 | + </div> | ||
731 | + | ||
732 | + | ||
733 | +</div> | ||
734 | + | ||
735 | + <div class="section-method"> | ||
736 | + <a name="//api/name/setConnectionDelegate:" title="setConnectionDelegate:"></a> | ||
737 | + <h3 class="subsubtitle method-title">setConnectionDelegate:</h3> | ||
738 | + | ||
739 | + | ||
740 | + | ||
741 | + <div class="method-subsection brief-description"> | ||
742 | + <p>The delegate for connection communication</p> | ||
743 | + </div> | ||
744 | + | ||
745 | + | ||
746 | + <div class="method-subsection method-declaration"><code>- (void)setConnectionDelegate:(id<EMDeviceDelegate>)<em>connectionDelegate</em></code></div> | ||
747 | + | ||
748 | + | ||
749 | + | ||
750 | + | ||
751 | + | ||
752 | + | ||
753 | + | ||
754 | + | ||
755 | + <div class="method-subsection discussion-section"> | ||
756 | + <h4 class="method-subtitle">Discussion</h4> | ||
757 | + <p>The delegate for connection communication</p> | ||
758 | + </div> | ||
759 | + | ||
760 | + | ||
761 | + | ||
762 | + | ||
763 | + | ||
764 | + | ||
765 | + | ||
766 | + <div class="method-subsection declared-in-section"> | ||
767 | + <h4 class="method-subtitle">Declared In</h4> | ||
768 | + <code class="declared-in-ref">EMConnectionType.h</code><br /> | ||
769 | + </div> | ||
770 | + | ||
771 | + | ||
772 | +</div> | ||
773 | + | ||
774 | + <div class="section-method"> | ||
775 | + <a name="//api/name/startUpdating" title="startUpdating"></a> | ||
776 | + <h3 class="subsubtitle method-title">startUpdating</h3> | ||
777 | + | ||
778 | + | ||
779 | + | ||
780 | + <div class="method-subsection brief-description"> | ||
781 | + <p>Tells the connection to start looking for devices of its type.</p> | ||
782 | + </div> | ||
783 | + | ||
784 | + | ||
785 | + <div class="method-subsection method-declaration"><code>- (void)startUpdating</code></div> | ||
786 | + | ||
787 | + | ||
788 | + | ||
789 | + | ||
790 | + | ||
791 | + | ||
792 | + | ||
793 | + | ||
794 | + <div class="method-subsection discussion-section"> | ||
795 | + <h4 class="method-subtitle">Discussion</h4> | ||
796 | + <p>Tells the connection to start looking for devices of its type.</p> | ||
797 | + </div> | ||
798 | + | ||
799 | + | ||
800 | + | ||
801 | + | ||
802 | + | ||
803 | + | ||
804 | + | ||
805 | + <div class="method-subsection declared-in-section"> | ||
806 | + <h4 class="method-subtitle">Declared In</h4> | ||
807 | + <code class="declared-in-ref">EMConnectionType.h</code><br /> | ||
808 | + </div> | ||
809 | + | ||
810 | + | ||
811 | +</div> | ||
812 | + | ||
813 | + <div class="section-method"> | ||
814 | + <a name="//api/name/stopUpdating" title="stopUpdating"></a> | ||
815 | + <h3 class="subsubtitle method-title">stopUpdating</h3> | ||
816 | + | ||
817 | + | ||
818 | + | ||
819 | + <div class="method-subsection brief-description"> | ||
820 | + <p>Tells the connection to stop looking for devices of its type.</p> | ||
821 | + </div> | ||
822 | + | ||
823 | + | ||
824 | + <div class="method-subsection method-declaration"><code>- (void)stopUpdating</code></div> | ||
825 | + | ||
826 | + | ||
827 | + | ||
828 | + | ||
829 | + | ||
830 | + | ||
831 | + | ||
832 | + | ||
833 | + <div class="method-subsection discussion-section"> | ||
834 | + <h4 class="method-subtitle">Discussion</h4> | ||
835 | + <p>Tells the connection to stop looking for devices of its type.</p> | ||
836 | + </div> | ||
837 | + | ||
838 | + | ||
839 | + | ||
840 | + | ||
841 | + | ||
842 | + | ||
843 | + | ||
844 | + <div class="method-subsection declared-in-section"> | ||
845 | + <h4 class="method-subtitle">Declared In</h4> | ||
846 | + <code class="declared-in-ref">EMConnectionType.h</code><br /> | ||
847 | + </div> | ||
848 | + | ||
849 | + | ||
850 | +</div> | ||
851 | + | ||
852 | + <div class="section-method"> | ||
853 | + <a name="//api/name/store:" title="store:"></a> | ||
854 | + <h3 class="subsubtitle method-title">store:</h3> | ||
855 | + | ||
856 | + | ||
857 | + | ||
858 | + <div class="method-subsection brief-description"> | ||
859 | + <p>writes a value to a device.</p> | ||
860 | + </div> | ||
861 | + | ||
862 | + | ||
863 | + <div class="method-subsection method-declaration"><code>- (void)store:(EMResourceValue *)<em>value</em></code></div> | ||
864 | + | ||
865 | + | ||
866 | + | ||
867 | + | ||
868 | + | ||
869 | + | ||
870 | + | ||
871 | + | ||
872 | + <div class="method-subsection discussion-section"> | ||
873 | + <h4 class="method-subtitle">Discussion</h4> | ||
874 | + <p>writes a value to a device.</p> | ||
875 | + </div> | ||
876 | + | ||
877 | + | ||
878 | + | ||
879 | + | ||
880 | + | ||
881 | + | ||
882 | + | ||
883 | + <div class="method-subsection declared-in-section"> | ||
884 | + <h4 class="method-subtitle">Declared In</h4> | ||
885 | + <code class="declared-in-ref">EMConnectionType.h</code><br /> | ||
886 | + </div> | ||
887 | + | ||
888 | + | ||
889 | +</div> | ||
890 | + | ||
891 | + </div> | ||
892 | + | ||
893 | + | ||
894 | + </div> | ||
895 | + <div class="main-navigation navigation-bottom"> | ||
896 | + <ul> | ||
897 | + <li><a href="../index.html">Index</a></li> | ||
898 | + <li><a href="../hierarchy.html">Hierarchy</a></li> | ||
899 | +</ul> | ||
900 | + </div> | ||
901 | + <div id="footer"> | ||
902 | + <hr /> | ||
903 | + | ||
904 | + <style> | ||
905 | + #em-footer | ||
906 | + { | ||
907 | + background-color: #fff; | ||
908 | + height: 100px; | ||
909 | + font-size: 90%; | ||
910 | + overflow: hidden; | ||
911 | + } | ||
912 | + | ||
913 | + #em-footer_logo_container | ||
914 | + { | ||
915 | + position: relative; | ||
916 | + background-color: #d2d2d2; | ||
917 | + height: 70px; | ||
918 | + margin-bottom: 3px; | ||
919 | + } | ||
920 | + | ||
921 | + #em-footer_logo_container a | ||
922 | + { | ||
923 | + position: absolute; | ||
924 | + right: 7px; | ||
925 | + top: 7px; | ||
926 | + } | ||
927 | + | ||
928 | + </style> | ||
929 | + | ||
930 | + <!-- begin em-footer --> | ||
931 | + <div id="em-footer"> | ||
932 | + <div id="em-footer_logo_container"><a href="http://www.emmoco.com/"><img | ||
933 | + src="http://www.emmoco.com/images/logo_emhub_footer.png" | ||
934 | + alt="" width="85" height="57" alt="EMMOCO LOGO" /></a></div> | ||
935 | + </div> | ||
936 | + | ||
937 | + <div class="footer-copyright"> | ||
938 | + <p><span class="copyright">© 2014 Emmoco, Inc.. All rights reserved. (Last updated: 2014-02-20)</span><br /> | ||
939 | + | ||
940 | + <span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2 (build 961)</a>.</span></p> | ||
941 | + | ||
942 | + </div> | ||
943 | + </div> | ||
944 | + </div> | ||
945 | + </article> | ||
946 | + <script type="text/javascript"> | ||
947 | + function jumpToChange() | ||
948 | + { | ||
949 | + window.location.hash = this.options[this.selectedIndex].value; | ||
950 | + } | ||
951 | + | ||
952 | + function toggleTOC() | ||
953 | + { | ||
954 | + var contents = document.getElementById('contents'); | ||
955 | + var tocContainer = document.getElementById('tocContainer'); | ||
956 | + | ||
957 | + if (this.getAttribute('class') == 'open') | ||
958 | + { | ||
959 | + this.setAttribute('class', ''); | ||
960 | + contents.setAttribute('class', ''); | ||
961 | + tocContainer.setAttribute('class', ''); | ||
962 | + | ||
963 | + window.name = "hideTOC"; | ||
964 | + } | ||
965 | + else | ||
966 | + { | ||
967 | + this.setAttribute('class', 'open'); | ||
968 | + contents.setAttribute('class', 'isShowingTOC'); | ||
969 | + tocContainer.setAttribute('class', 'isShowingTOC'); | ||
970 | + | ||
971 | + window.name = ""; | ||
972 | + } | ||
973 | + return false; | ||
974 | + } | ||
975 | + | ||
976 | + function toggleTOCEntryChildren(e) | ||
977 | + { | ||
978 | + e.stopPropagation(); | ||
979 | + var currentClass = this.getAttribute('class'); | ||
980 | + if (currentClass == 'children') { | ||
981 | + this.setAttribute('class', 'children open'); | ||
982 | + } | ||
983 | + else if (currentClass == 'children open') { | ||
984 | + this.setAttribute('class', 'children'); | ||
985 | + } | ||
986 | + return false; | ||
987 | + } | ||
988 | + | ||
989 | + function tocEntryClick(e) | ||
990 | + { | ||
991 | + e.stopPropagation(); | ||
992 | + return true; | ||
993 | + } | ||
994 | + | ||
995 | + function init() | ||
996 | + { | ||
997 | + var selectElement = document.getElementById('jumpTo'); | ||
998 | + selectElement.addEventListener('change', jumpToChange, false); | ||
999 | + | ||
1000 | + var tocButton = document.getElementById('table_of_contents'); | ||
1001 | + tocButton.addEventListener('click', toggleTOC, false); | ||
1002 | + | ||
1003 | + var taskTreeItem = document.getElementById('task_treeitem'); | ||
1004 | + if (taskTreeItem.getElementsByTagName('li').length > 0) | ||
1005 | + { | ||
1006 | + taskTreeItem.setAttribute('class', 'children'); | ||
1007 | + taskTreeItem.firstChild.setAttribute('class', 'disclosure'); | ||
1008 | + } | ||
1009 | + | ||
1010 | + var tocList = document.getElementById('toc'); | ||
1011 | + | ||
1012 | + var tocEntries = tocList.getElementsByTagName('li'); | ||
1013 | + for (var i = 0; i < tocEntries.length; i++) { | ||
1014 | + tocEntries[i].addEventListener('click', toggleTOCEntryChildren, false); | ||
1015 | + } | ||
1016 | + | ||
1017 | + var tocLinks = tocList.getElementsByTagName('a'); | ||
1018 | + for (var i = 0; i < tocLinks.length; i++) { | ||
1019 | + tocLinks[i].addEventListener('click', tocEntryClick, false); | ||
1020 | + } | ||
1021 | + | ||
1022 | + if (window.name == "hideTOC") { | ||
1023 | + toggleTOC.call(tocButton); | ||
1024 | + } | ||
1025 | + } | ||
1026 | + | ||
1027 | + window.onload = init; | ||
1028 | + </script> | ||
1029 | + </body> | ||
1030 | +</html> | ||
0 | \ No newline at end of file | 1031 | \ No newline at end of file |
DUREX tests/EmmocoMobileFramework/Docs/Classes/EMBluetoothLowEnergyConnectionType_v12.html
0 โ 100644
1 | +<!DOCTYPE HTML> | ||
2 | +<html> | ||
3 | + <head> | ||
4 | + <meta http-equiv="Content-Type" content="html/html; charset=utf-8" /> | ||
5 | + <title>EMBluetoothLowEnergyConnectionType_v12 Class Reference</title> | ||
6 | + <meta id="xcode-display" name="xcode-display" content="render"/> | ||
7 | + <meta name="viewport" content="width=550" /> | ||
8 | + <link rel="stylesheet" type="text/css" href="../css/styles.css" media="all" /> | ||
9 | + <link rel="stylesheet" type="text/css" media="print" href="../css/stylesPrint.css" /> | ||
10 | + <meta name="generator" content="appledoc 2.2 (build 961)" /> | ||
11 | + </head> | ||
12 | + <body> | ||
13 | + | ||
14 | + <div id="em-wrapper"> | ||
15 | + <style> | ||
16 | + #utility_bar | ||
17 | + { | ||
18 | + position: relative; | ||
19 | + height: 35px; | ||
20 | + /*background: #231f20 url(../images/bg_tagline.png) no-repeat right | ||
21 | + center;*/ | ||
22 | + background: #231f20 url(http://www.emmoco.com/images/bg_tagline.png) no-repeat right center; | ||
23 | + color: #efefef; | ||
24 | + overflow: hidden; | ||
25 | + padding-left: 10px; | ||
26 | + } | ||
27 | + | ||
28 | + #utility_bar p | ||
29 | + { | ||
30 | + margin-top: 9px; | ||
31 | + margin-bottom: 0; | ||
32 | + } | ||
33 | + | ||
34 | + #utility_bar a | ||
35 | + { | ||
36 | + color: #efefef; | ||
37 | + margin-right: 15px; | ||
38 | + padding: 2px; | ||
39 | + } | ||
40 | + | ||
41 | + #utility_bar a:hover | ||
42 | + { | ||
43 | + color: #fff; | ||
44 | + } | ||
45 | + | ||
46 | + #utility_bar a.selected | ||
47 | + { | ||
48 | + text-decoration: none; | ||
49 | + background-color: #555; | ||
50 | + } | ||
51 | + </style> | ||
52 | + <!-- begin utility bar --> | ||
53 | + <div id="utility_bar"> | ||
54 | + | ||
55 | + <!-- user info / logout link --> | ||
56 | + <p> | ||
57 | + <a href="http://em-hub.com/">Em-Hub</a> | ||
58 | + <a href="http://wiki.emmoco.com/">Wiki</a> | ||
59 | + <a href="http://android.emmoco.com/">Android Docs</a> | ||
60 | + <a class="selected" href="http://ios.emmoco.com/">iOS Docs</a> | ||
61 | + <a href="http://support.emmoco.com/">Support</a> | ||
62 | + </p> | ||
63 | + | ||
64 | + </div> | ||
65 | + <!-- end utility bar --> | ||
66 | + | ||
67 | + <header id="top_header"> | ||
68 | + <div id="library" class="hideInXcode"> | ||
69 | + <h1><a id="libraryTitle" href="../index.html">iOS Framework </a></h1> | ||
70 | + <a id="developerHome" href="../index.html">Emmoco, Inc.</a> | ||
71 | + </div> | ||
72 | + | ||
73 | + <div id="title" role="banner"> | ||
74 | + <h1 class="hideInXcode">EMBluetoothLowEnergyConnectionType_v12 Class Reference</h1> | ||
75 | + </div> | ||
76 | + <ul id="headerButtons" role="toolbar"> | ||
77 | + <li id="toc_button"> | ||
78 | + <button aria-label="Show Table of Contents" role="checkbox" class="open" id="table_of_contents"><span class="disclosure"></span>Table of Contents</button> | ||
79 | + </li> | ||
80 | + <li id="jumpto_button" role="navigation"> | ||
81 | + <select id="jumpTo"> | ||
82 | + <option value="top">Jump To…</option> | ||
83 | + | ||
84 | + <option value="overview">Overview</option> | ||
85 | + | ||
86 | + | ||
87 | + | ||
88 | + | ||
89 | + <option value="tasks">Tasks</option> | ||
90 | + | ||
91 | + | ||
92 | + | ||
93 | + | ||
94 | + | ||
95 | + <option value="properties">Properties</option> | ||
96 | + | ||
97 | + <option value="//api/name/connected"> connected</option> | ||
98 | + | ||
99 | + | ||
100 | + | ||
101 | + | ||
102 | + | ||
103 | + | ||
104 | + <option value="instance_methods">Instance Methods</option> | ||
105 | + | ||
106 | + <option value="//api/name/connectToDevice:connectionDelegate:"> - connectToDevice:connectionDelegate:</option> | ||
107 | + | ||
108 | + <option value="//api/name/deviceType"> - deviceType</option> | ||
109 | + | ||
110 | + <option value="//api/name/disconnect"> - disconnect</option> | ||
111 | + | ||
112 | + <option value="//api/name/fetch:"> - fetch:</option> | ||
113 | + | ||
114 | + <option value="//api/name/fetchSystemResource:"> - fetchSystemResource:</option> | ||
115 | + | ||
116 | + <option value="//api/name/isAvailable"> - isAvailable</option> | ||
117 | + | ||
118 | + <option value="//api/name/startUpdating"> - startUpdating</option> | ||
119 | + | ||
120 | + <option value="//api/name/stopUpdating"> - stopUpdating</option> | ||
121 | + | ||
122 | + <option value="//api/name/store:"> - store:</option> | ||
123 | + | ||
124 | + | ||
125 | + | ||
126 | +</select> | ||
127 | + </li> | ||
128 | + </ul> | ||
129 | + </header> | ||
130 | + <nav id="tocContainer" class="isShowingTOC"> | ||
131 | + <ul id="toc" role="tree"> | ||
132 | + | ||
133 | +<li role="treeitem"><span class="nodisclosure"></span><span class="sectionName"><a href="#overview">Overview</a></span></li> | ||
134 | + | ||
135 | + | ||
136 | + | ||
137 | + | ||
138 | +<li role="treeitem" id="task_treeitem"><span class="nodisclosure"></span><span class="sectionName"><a href="#tasks">Tasks</a></span><ul> | ||
139 | + | ||
140 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#task_Extension Methods">Extension Methods</a></span></li> | ||
141 | + | ||
142 | +</ul></li> | ||
143 | + | ||
144 | + | ||
145 | + | ||
146 | + | ||
147 | + | ||
148 | +<li role="treeitem" class="children"><span class="disclosure"></span><span class="sectionName"><a href="#properties">Properties</a></span><ul> | ||
149 | + | ||
150 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/connected">connected</a></span></li> | ||
151 | + | ||
152 | +</ul></li> | ||
153 | + | ||
154 | + | ||
155 | + | ||
156 | + | ||
157 | + | ||
158 | +<li role="treeitem" class="children"><span class="disclosure"></span><span class="sectionName"><a href="#instance_methods">Instance Methods</a></span><ul> | ||
159 | + | ||
160 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/connectToDevice:connectionDelegate:">connectToDevice:connectionDelegate:</a></span></li> | ||
161 | + | ||
162 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/deviceType">deviceType</a></span></li> | ||
163 | + | ||
164 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/disconnect">disconnect</a></span></li> | ||
165 | + | ||
166 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/fetch:">fetch:</a></span></li> | ||
167 | + | ||
168 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/fetchSystemResource:">fetchSystemResource:</a></span></li> | ||
169 | + | ||
170 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/isAvailable">isAvailable</a></span></li> | ||
171 | + | ||
172 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/startUpdating">startUpdating</a></span></li> | ||
173 | + | ||
174 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/stopUpdating">stopUpdating</a></span></li> | ||
175 | + | ||
176 | + <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/store:">store:</a></span></li> | ||
177 | + | ||
178 | +</ul></li> | ||
179 | + | ||
180 | + | ||
181 | + </ul> | ||
182 | + </nav> | ||
183 | + <article> | ||
184 | + <div id="contents" class="isShowingTOC" role="main"> | ||
185 | + <a title="EMBluetoothLowEnergyConnectionType_v12 Class Reference" name="top"></a> | ||
186 | + <div class="main-navigation navigation-top"> | ||
187 | + <ul> | ||
188 | + <li><a href="../index.html">Index</a></li> | ||
189 | + <li><a href="../hierarchy.html">Hierarchy</a></li> | ||
190 | +</ul> | ||
191 | + </div> | ||
192 | + <div id="header"> | ||
193 | + <div class="section-header"> | ||
194 | + <h1 class="title title-header">EMBluetoothLowEnergyConnectionType_v12 Class Reference</h1> | ||
195 | + </div> | ||
196 | + </div> | ||
197 | + <div id="container"> | ||
198 | + | ||
199 | + <div class="section section-specification"><table cellspacing="0"><tbody> | ||
200 | + <tr> | ||
201 | + <td class="specification-title">Inherits from</td> | ||
202 | + <td class="specification-value">NSObject</td> | ||
203 | +</tr><tr> | ||
204 | + <td class="specification-title">Conforms to</td> | ||
205 | + <td class="specification-value">CBCentralManagerDelegate<br />CBPeripheralDelegate<br /><a href="../Protocols/EMConnectionType.html">EMConnectionType</a></td> | ||
206 | +</tr><tr> | ||
207 | + <td class="specification-title">Declared in</td> | ||
208 | + <td class="specification-value">EMBluetoothLowEnergyConnectionType_v12.h<br />EMBluetoothLowEnergyConnectionType_v12.m</td> | ||
209 | +</tr> | ||
210 | + </tbody></table></div> | ||
211 | + | ||
212 | + | ||
213 | + | ||
214 | + | ||
215 | + <div class="section section-overview"> | ||
216 | + <a title="Overview" name="overview"></a> | ||
217 | + <h2 class="subtitle subtitle-overview">Overview</h2> | ||
218 | + <p>EMBluethoothLowEnergyConnectionType is a concrete <a href="../Protocols/EMConnectionType.html">EMConnectionType</a> for Bluetooth Low Energy.</p> | ||
219 | + | ||
220 | +<p>If you want the framework to interact with Bluetooth Low Energy devices, add an instance of this class to <a href="../Classes/EMConnectionListManager.html">EMConnectionListManager</a> via the -addConnectionTypeToUpdates: method.</p> | ||
221 | + </div> | ||
222 | + | ||
223 | + | ||
224 | + | ||
225 | + | ||
226 | + | ||
227 | + <div class="section section-tasks"> | ||
228 | + <a title="Tasks" name="tasks"></a> | ||
229 | + <h2 class="subtitle subtitle-tasks">Tasks</h2> | ||
230 | + | ||
231 | + | ||
232 | + | ||
233 | + <h3 class="subsubtitle task-title">Other Methods</h3> | ||
234 | + | ||
235 | + <ul class="task-list"> | ||
236 | + <li> | ||
237 | + <span class="tooltip"> | ||
238 | + <code><a href="#//api/name/startUpdating">– startUpdating</a></code> | ||
239 | + <span class="tooltip"><p>Tells the connection to start looking for devices of its type.</p></span> | ||
240 | + </span> | ||
241 | + | ||
242 | + | ||
243 | +</li><li> | ||
244 | + <span class="tooltip"> | ||
245 | + <code><a href="#//api/name/stopUpdating">– stopUpdating</a></code> | ||
246 | + <span class="tooltip"><p>Tells the connection to stop looking for devices of its type.</p></span> | ||
247 | + </span> | ||
248 | + | ||
249 | + | ||
250 | +</li><li> | ||
251 | + <span class="tooltip"> | ||
252 | + <code><a href="#//api/name/isAvailable">– isAvailable</a></code> | ||
253 | + <span class="tooltip"><p>YES if available on the current device, NO if unavailable.</p></span> | ||
254 | + </span> | ||
255 | + | ||
256 | + | ||
257 | +</li><li> | ||
258 | + <span class="tooltip"> | ||
259 | + <code><a href="#//api/name/deviceType">– deviceType</a></code> | ||
260 | + <span class="tooltip"><p>The type of device - this can be set to anything and retreived for printing or examining.</p></span> | ||
261 | + </span> | ||
262 | + | ||
263 | + | ||
264 | +</li><li> | ||
265 | + <span class="tooltip"> | ||
266 | + <code><a href="#//api/name/connectToDevice:connectionDelegate:">– connectToDevice:connectionDelegate:</a></code> | ||
267 | + <span class="tooltip"><p>Establishes a connection with a device</p></span> | ||
268 | + </span> | ||
269 | + | ||
270 | + | ||
271 | +</li><li> | ||
272 | + <span class="tooltip"> | ||
273 | + <code><a href="#//api/name/disconnect">– disconnect</a></code> | ||
274 | + <span class="tooltip"><p>disconnects the current device.</p></span> | ||
275 | + </span> | ||
276 | + | ||
277 | + | ||
278 | +</li><li> | ||
279 | + <span class="tooltip"> | ||
280 | + <code><a href="#//api/name/fetch:">– fetch:</a></code> | ||
281 | + <span class="tooltip"><p>Fetches a resource. Can be retrieved in “lastReadValue”</p></span> | ||
282 | + </span> | ||
283 | + | ||
284 | + | ||
285 | +</li><li> | ||
286 | + <span class="tooltip"> | ||
287 | + <code><a href="#//api/name/fetchSystemResource:">– fetchSystemResource:</a></code> | ||
288 | + <span class="tooltip"><p>Fetches a system resource. Can be retrieved in “lastReadValue”.</p></span> | ||
289 | + </span> | ||
290 | + | ||
291 | + | ||
292 | +</li><li> | ||
293 | + <span class="tooltip"> | ||
294 | + <code><a href="#//api/name/store:">– store:</a></code> | ||
295 | + <span class="tooltip"><p>writes a value to a device.</p></span> | ||
296 | + </span> | ||
297 | + | ||
298 | + | ||
299 | +</li> | ||
300 | + </ul> | ||
301 | + | ||
302 | + | ||
303 | + <a title="Extension Methods" name="task_Extension Methods"></a> | ||
304 | + <h3 class="subsubtitle task-title">Extension Methods</h3> | ||
305 | + | ||
306 | + <ul class="task-list"> | ||
307 | + <li> | ||
308 | + <span class="tooltip"> | ||
309 | + <code><a href="#//api/name/connected"> connected</a></code> | ||
310 | + <span class="tooltip"><p>A boolean indicating whether or not there is a connection with a device.</p></span> | ||
311 | + </span> | ||
312 | + <span class="task-item-suffix">property</span> | ||
313 | + | ||
314 | +</li> | ||
315 | + </ul> | ||
316 | + | ||
317 | + </div> | ||
318 | + | ||
319 | + | ||
320 | + | ||
321 | + | ||
322 | + | ||
323 | + <div class="section section-methods"> | ||
324 | + <a title="Properties" name="properties"></a> | ||
325 | + <h2 class="subtitle subtitle-methods">Properties</h2> | ||
326 | + | ||
327 | + <div class="section-method"> | ||
328 | + <a name="//api/name/connected" title="connected"></a> | ||
329 | + <h3 class="subsubtitle method-title">connected</h3> | ||
330 | + | ||
331 | + | ||
332 | + | ||
333 | + <div class="method-subsection brief-description"> | ||
334 | + <p>A boolean indicating whether or not there is a connection with a device.</p> | ||
335 | + </div> | ||
336 | + | ||
337 | + | ||
338 | + <div class="method-subsection method-declaration"><code>@property (nonatomic, getter=isConnected) BOOL connected</code></div> | ||
339 | + | ||
340 | + | ||
341 | + | ||
342 | + | ||
343 | + | ||
344 | + | ||
345 | + | ||
346 | + | ||
347 | + <div class="method-subsection discussion-section"> | ||
348 | + <h4 class="method-subtitle">Discussion</h4> | ||
349 | + <p>A boolean indicating whether or not there is a connection with a device.</p> | ||
350 | + </div> | ||
351 | + | ||
352 | + | ||
353 | + | ||
354 | + | ||
355 | + | ||
356 | + | ||
357 | + | ||
358 | + <div class="method-subsection declared-in-section"> | ||
359 | + <h4 class="method-subtitle">Declared In</h4> | ||
360 | + <code class="declared-in-ref">EMConnectionType.h</code><br /> | ||
361 | + </div> | ||
362 | + | ||
363 | + | ||
364 | +</div> | ||
365 | + | ||
366 | + </div> | ||
367 | + | ||
368 | + | ||
369 | + | ||
370 | + | ||
371 | + | ||
372 | + <div class="section section-methods"> | ||
373 | + <a title="Instance Methods" name="instance_methods"></a> | ||
374 | + <h2 class="subtitle subtitle-methods">Instance Methods</h2> | ||
375 | + | ||
376 | + <div class="section-method"> | ||
377 | + <a name="//api/name/connectToDevice:connectionDelegate:" title="connectToDevice:connectionDelegate:"></a> | ||
378 | + <h3 class="subsubtitle method-title">connectToDevice:connectionDelegate:</h3> | ||
379 | + | ||
380 | + | ||
381 | + | ||
382 | + <div class="method-subsection brief-description"> | ||
383 | + <p>Establishes a connection with a device</p> | ||
384 | + </div> | ||
385 | + | ||
386 | + | ||
387 | + <div class="method-subsection method-declaration"><code>- (void)connectToDevice:(EMDeviceBasicDescription *)<em>device</em> connectionDelegate:(id<EMDeviceDelegate>)<em>connDelegate</em></code></div> | ||
388 | + | ||
389 | + | ||
390 | + | ||
391 | + | ||
392 | + | ||
393 | + | ||
394 | + | ||
395 | + | ||
396 | + <div class="method-subsection discussion-section"> | ||
397 | + <h4 class="method-subtitle">Discussion</h4> | ||
398 | + <p>Establishes a connection with a device</p> | ||
399 | + </div> | ||
400 | + | ||
401 | + | ||
402 | + | ||
403 | + | ||
404 | + | ||
405 | + | ||
406 | + | ||
407 | + <div class="method-subsection declared-in-section"> | ||
408 | + <h4 class="method-subtitle">Declared In</h4> | ||
409 | + <code class="declared-in-ref">EMConnectionType.h</code><br /> | ||
410 | + </div> | ||
411 | + | ||
412 | + | ||
413 | +</div> | ||
414 | + | ||
415 | + <div class="section-method"> | ||
416 | + <a name="//api/name/deviceType" title="deviceType"></a> | ||
417 | + <h3 class="subsubtitle method-title">deviceType</h3> | ||
418 | + | ||
419 | + | ||
420 | + | ||
421 | + <div class="method-subsection brief-description"> | ||
422 | + <p>The type of device - this can be set to anything and retreived for printing or examining.</p> | ||
423 | + </div> | ||
424 | + | ||
425 | + | ||
426 | + <div class="method-subsection method-declaration"><code>- (NSString *)deviceType</code></div> | ||
427 | + | ||
428 | + | ||
429 | + | ||
430 | + | ||
431 | + | ||
432 | + | ||
433 | + | ||
434 | + | ||
435 | + <div class="method-subsection discussion-section"> | ||
436 | + <h4 class="method-subtitle">Discussion</h4> | ||
437 | + <p>The type of device - this can be set to anything and retreived for printing or examining.</p> | ||
438 | + </div> | ||
439 | + | ||
440 | + | ||
441 | + | ||
442 | + | ||
443 | + | ||
444 | + | ||
445 | + | ||
446 | + <div class="method-subsection declared-in-section"> | ||
447 | + <h4 class="method-subtitle">Declared In</h4> | ||
448 | + <code class="declared-in-ref">EMConnectionType.h</code><br /> | ||
449 | + </div> | ||
450 | + | ||
451 | + | ||
452 | +</div> | ||
453 | + | ||
454 | + <div class="section-method"> | ||
455 | + <a name="//api/name/disconnect" title="disconnect"></a> | ||
456 | + <h3 class="subsubtitle method-title">disconnect</h3> | ||
457 | + | ||
458 | + | ||
459 | + | ||
460 | + <div class="method-subsection brief-description"> | ||
461 | + <p>disconnects the current device.</p> | ||
462 | + </div> | ||
463 | + | ||
464 | + | ||
465 | + <div class="method-subsection method-declaration"><code>- (void)disconnect</code></div> | ||
466 | + | ||
467 | + | ||
468 | + | ||
469 | + | ||
470 | + | ||
471 | + | ||
472 | + | ||
473 | + | ||
474 | + <div class="method-subsection discussion-section"> | ||
475 | + <h4 class="method-subtitle">Discussion</h4> | ||
476 | + <p>disconnects the current device.</p> | ||
477 | + </div> | ||
478 | + | ||
479 | + | ||
480 | + | ||
481 | + | ||
482 | + | ||
483 | + | ||
484 | + | ||
485 | + <div class="method-subsection declared-in-section"> | ||
486 | + <h4 class="method-subtitle">Declared In</h4> | ||
487 | + <code class="declared-in-ref">EMConnectionType.h</code><br /> | ||
488 | + </div> | ||
489 | + | ||
490 | + | ||
491 | +</div> | ||
492 | + | ||
493 | + <div class="section-method"> | ||
494 | + <a name="//api/name/fetch:" title="fetch:"></a> | ||
495 | + <h3 class="subsubtitle method-title">fetch:</h3> | ||
496 | + | ||
497 | + | ||
498 | + | ||
499 | + <div class="method-subsection brief-description"> | ||
500 | + <p>Fetches a resource. Can be retrieved in “lastReadValue”</p> | ||
501 | + </div> | ||
502 | + | ||
503 | + | ||
504 | + <div class="method-subsection method-declaration"><code>- (void)fetch:(EMResourceValue *)<em>value</em></code></div> | ||
505 | + | ||
506 | + | ||
507 | + | ||
508 | + | ||
509 | + | ||
510 | + | ||
511 | + | ||
512 | + | ||
513 | + <div class="method-subsection discussion-section"> | ||
514 | + <h4 class="method-subtitle">Discussion</h4> | ||
515 | + <p>Fetches a resource. Can be retrieved in “lastReadValue”</p> | ||
516 | + </div> | ||
517 | + | ||
518 | + | ||
519 | + | ||
520 | + | ||
521 | + | ||
522 | + | ||
523 | + | ||
524 | + <div class="method-subsection declared-in-section"> | ||
525 | + <h4 class="method-subtitle">Declared In</h4> | ||
526 | + <code class="declared-in-ref">EMConnectionType.h</code><br /> | ||
527 | + </div> | ||
528 | + | ||
529 | + | ||
530 | +</div> | ||
531 | + | ||
532 | + <div class="section-method"> | ||
533 | + <a name="//api/name/fetchSystemResource:" title="fetchSystemResource:"></a> | ||
534 | + <h3 class="subsubtitle method-title">fetchSystemResource:</h3> | ||
535 | + | ||
536 | + | ||
537 | + | ||
538 | + <div class="method-subsection brief-description"> | ||
539 | + <p>Fetches a system resource. Can be retrieved in “lastReadValue”.</p> | ||
540 | + </div> | ||
541 | + | ||
542 | + | ||
543 | + <div class="method-subsection method-declaration"><code>- (void)fetchSystemResource:(EMResourceValue *)<em>value</em></code></div> | ||
544 | + | ||
545 | + | ||
546 | + | ||
547 | + | ||
548 | + | ||
549 | + | ||
550 | + | ||
551 | + | ||
552 | + <div class="method-subsection discussion-section"> | ||
553 | + <h4 class="method-subtitle">Discussion</h4> | ||
554 | + <p>Fetches a system resource. Can be retrieved in “lastReadValue”.</p> | ||
555 | + </div> | ||
556 | + | ||
557 | + | ||
558 | + | ||
559 | + | ||
560 | + | ||
561 | + | ||
562 | + | ||
563 | + <div class="method-subsection declared-in-section"> | ||
564 | + <h4 class="method-subtitle">Declared In</h4> | ||
565 | + <code class="declared-in-ref">EMConnectionType.h</code><br /> | ||
566 | + </div> | ||
567 | + | ||
568 | + | ||
569 | +</div> | ||
570 | + | ||
571 | + <div class="section-method"> | ||
572 | + <a name="//api/name/isAvailable" title="isAvailable"></a> | ||
573 | + <h3 class="subsubtitle method-title">isAvailable</h3> | ||
574 | + | ||
575 | + | ||
576 | + | ||
577 | + <div class="method-subsection brief-description"> | ||
578 | + <p>YES if available on the current device, NO if unavailable.</p> | ||
579 | + </div> | ||
580 | + | ||
581 | + | ||
582 | + <div class="method-subsection method-declaration"><code>- (BOOL)isAvailable</code></div> | ||
583 | + | ||
584 | + | ||
585 | + | ||
586 | + | ||
587 | + | ||
588 | + | ||
589 | + | ||
590 | + | ||
591 | + <div class="method-subsection discussion-section"> | ||
592 | + <h4 class="method-subtitle">Discussion</h4> | ||
593 | + <p>YES if available on the current device, NO if unavailable.</p> | ||
594 | + </div> | ||
595 | + | ||
596 | + | ||
597 | + | ||
598 | + | ||
599 | + | ||
600 | + | ||
601 | + | ||
602 | + <div class="method-subsection declared-in-section"> | ||
603 | + <h4 class="method-subtitle">Declared In</h4> | ||
604 | + <code class="declared-in-ref">EMConnectionType.h</code><br /> | ||
605 | + </div> | ||
606 | + | ||
607 | + | ||
608 | +</div> | ||
609 | + | ||
610 | + <div class="section-method"> | ||
611 | + <a name="//api/name/startUpdating" title="startUpdating"></a> | ||
612 | + <h3 class="subsubtitle method-title">startUpdating</h3> | ||
613 | + | ||
614 | + | ||
615 | + | ||
616 | + <div class="method-subsection brief-description"> | ||
617 | + <p>Tells the connection to start looking for devices of its type.</p> | ||
618 | + </div> | ||
619 | + | ||
620 | + | ||
621 | + <div class="method-subsection method-declaration"><code>- (void)startUpdating</code></div> | ||
622 | + | ||
623 | + | ||
624 | + | ||
625 | + | ||
626 | + | ||
627 | + | ||
628 | + | ||
629 | + | ||
630 | + <div class="method-subsection discussion-section"> | ||
631 | + <h4 class="method-subtitle">Discussion</h4> | ||
632 | + <p>Tells the connection to start looking for devices of its type.</p> | ||
633 | + </div> | ||
634 | + | ||
635 | + | ||
636 | + | ||
637 | + | ||
638 | + | ||
639 | + | ||
640 | + | ||
641 | + <div class="method-subsection declared-in-section"> | ||
642 | + <h4 class="method-subtitle">Declared In</h4> | ||
643 | + <code class="declared-in-ref">EMConnectionType.h</code><br /> | ||
644 | + </div> | ||
645 | + | ||
646 | + | ||
647 | +</div> | ||
648 | + | ||
649 | + <div class="section-method"> | ||
650 | + <a name="//api/name/stopUpdating" title="stopUpdating"></a> | ||
651 | + <h3 class="subsubtitle method-title">stopUpdating</h3> | ||
652 | + | ||
653 | + | ||
654 | + | ||
655 | + <div class="method-subsection brief-description"> | ||
656 | + <p>Tells the connection to stop looking for devices of its type.</p> | ||
657 | + </div> | ||
658 | + | ||
659 | + | ||
660 | + <div class="method-subsection method-declaration"><code>- (void)stopUpdating</code></div> | ||
661 | + | ||
662 | + | ||
663 | + | ||
664 | + | ||
665 | + | ||
666 | + | ||
667 | + | ||
668 | + | ||
669 | + <div class="method-subsection discussion-section"> | ||
670 | + <h4 class="method-subtitle">Discussion</h4> | ||
671 | + <p>Tells the connection to stop looking for devices of its type.</p> | ||
672 | + </div> | ||
673 | + | ||
674 | + | ||
675 | + | ||
676 | + | ||
677 | + | ||
678 | + | ||
679 | + | ||
680 | + <div class="method-subsection declared-in-section"> | ||
681 | + <h4 class="method-subtitle">Declared In</h4> | ||
682 | + <code class="declared-in-ref">EMConnectionType.h</code><br /> | ||
683 | + </div> | ||
684 | + | ||
685 | + | ||
686 | +</div> | ||
687 | + | ||
688 | + <div class="section-method"> | ||
689 | + <a name="//api/name/store:" title="store:"></a> | ||
690 | + <h3 class="subsubtitle method-title">store:</h3> | ||
691 | + | ||
692 | + | ||
693 | + | ||
694 | + <div class="method-subsection brief-description"> | ||
695 | + <p>writes a value to a device.</p> | ||
696 | + </div> | ||
697 | + | ||
698 | + | ||
699 | + <div class="method-subsection method-declaration"><code>- (void)store:(EMResourceValue *)<em>value</em></code></div> | ||
700 | + | ||
701 | + | ||
702 | + | ||
703 | + | ||
704 | + | ||
705 | + | ||
706 | + | ||
707 | + | ||
708 | + <div class="method-subsection discussion-section"> | ||
709 | + <h4 class="method-subtitle">Discussion</h4> | ||
710 | + <p>writes a value to a device.</p> | ||
711 | + </div> | ||
712 | + | ||
713 | + | ||
714 | + | ||
715 | + | ||
716 | + | ||
717 | + | ||
718 | + | ||
719 | + <div class="method-subsection declared-in-section"> | ||
720 | + <h4 class="method-subtitle">Declared In</h4> | ||
721 | + <code class="declared-in-ref">EMConnectionType.h</code><br /> | ||
722 | + </div> | ||
723 | + | ||
724 | + | ||
725 | +</div> | ||
726 | + | ||
727 | + </div> | ||
728 | + | ||
729 | + | ||
730 | + </div> | ||
731 | + <div class="main-navigation navigation-bottom"> | ||
732 | + <ul> | ||
733 | + <li><a href="../index.html">Index</a></li> | ||
734 | + <li><a href="../hierarchy.html">Hierarchy</a></li> | ||
735 | +</ul> | ||
736 | + </div> | ||
737 | + <div id="footer"> | ||
738 | + <hr /> | ||
739 | + | ||
740 | + <style> | ||
741 | + #em-footer | ||
742 | + { | ||
743 | + background-color: #fff; | ||
744 | + height: 100px; | ||
745 | + font-size: 90%; | ||
746 | + overflow: hidden; | ||
747 | + } | ||
748 | + | ||
749 | + #em-footer_logo_container | ||
750 | + { | ||
751 | + position: relative; | ||
752 | + background-color: #d2d2d2; | ||
753 | + height: 70px; | ||
754 | + margin-bottom: 3px; | ||
755 | + } | ||
756 | + | ||
757 | + #em-footer_logo_container a | ||
758 | + { | ||
759 | + position: absolute; | ||
760 | + right: 7px; | ||
761 | + top: 7px; | ||
762 | + } | ||
763 | + | ||
764 | + </style> | ||
765 | + | ||
766 | + <!-- begin em-footer --> | ||
767 | + <div id="em-footer"> | ||
768 | + <div id="em-footer_logo_container"><a href="http://www.emmoco.com/"><img | ||
769 | + src="http://www.emmoco.com/images/logo_emhub_footer.png" | ||
770 | + alt="" width="85" height="57" alt="EMMOCO LOGO" /></a></div> | ||
771 | + </div> | ||
772 | + | ||
773 | + <div class="footer-copyright"> | ||
774 | + <p><span class="copyright">© 2014 Emmoco, Inc.. All rights reserved. (Last updated: 2014-02-20)</span><br /> | ||
775 | + | ||
776 | + <span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2 (build 961)</a>.</span></p> | ||
777 | + | ||
778 | + </div> | ||
779 | + </div> | ||
780 | + </div> | ||
781 | + </article> | ||
782 | + <script type="text/javascript"> | ||
783 | + function jumpToChange() | ||
784 | + { | ||
785 | + window.location.hash = this.options[this.selectedIndex].value; | ||
786 | + } | ||
787 | + | ||
788 | + function toggleTOC() | ||
789 | + { | ||
790 | + var contents = document.getElementById('contents'); | ||
791 | + var tocContainer = document.getElementById('tocContainer'); | ||
792 | + | ||
793 | + if (this.getAttribute('class') == 'open') | ||
794 | + { | ||
795 | + this.setAttribute('class', ''); | ||
796 | + contents.setAttribute('class', ''); | ||
797 | + tocContainer.setAttribute('class', ''); | ||
798 | + | ||
799 | + window.name = "hideTOC"; | ||
800 | + } | ||
801 | + else | ||
802 | + { | ||
803 | + this.setAttribute('class', 'open'); | ||
804 | + contents.setAttribute('class', 'isShowingTOC'); | ||
805 | + tocContainer.setAttribute('class', 'isShowingTOC'); | ||
806 | + | ||
807 | + window.name = ""; | ||
808 | + } | ||
809 | + return false; | ||
810 | + } | ||
811 | + | ||
812 | + function toggleTOCEntryChildren(e) | ||
813 | + { | ||
814 | + e.stopPropagation(); | ||
815 | + var currentClass = this.getAttribute('class'); | ||
816 | + if (currentClass == 'children') { | ||
817 | + this.setAttribute('class', 'children open'); | ||
818 | + } | ||
819 | + else if (currentClass == 'children open') { | ||
820 | + this.setAttribute('class', 'children'); | ||
821 | + } | ||
822 | + return false; | ||
823 | + } | ||
824 | + | ||
825 | + function tocEntryClick(e) | ||
826 | + { | ||
827 | + e.stopPropagation(); | ||
828 | + return true; | ||
829 | + } | ||
830 | + | ||
831 | + function init() | ||
832 | + { | ||
833 | + var selectElement = document.getElementById('jumpTo'); | ||
834 | + selectElement.addEventListener('change', jumpToChange, false); | ||
835 | + | ||
836 | + var tocButton = document.getElementById('table_of_contents'); | ||
837 | + tocButton.addEventListener('click', toggleTOC, false); | ||
838 | + | ||
839 | + var taskTreeItem = document.getElementById('task_treeitem'); | ||
840 | + if (taskTreeItem.getElementsByTagName('li').length > 0) | ||
841 | + { | ||
842 | + taskTreeItem.setAttribute('class', 'children'); | ||
843 | + taskTreeItem.firstChild.setAttribute('class', 'disclosure'); | ||
844 | + } | ||
845 | + | ||
846 | + var tocList = document.getElementById('toc'); | ||
847 | + | ||
848 | + var tocEntries = tocList.getElementsByTagName('li'); | ||
849 | + for (var i = 0; i < tocEntries.length; i++) { | ||
850 | + tocEntries[i].addEventListener('click', toggleTOCEntryChildren, false); | ||
851 | + } | ||
852 | + | ||
853 | + var tocLinks = tocList.getElementsByTagName('a'); | ||
854 | + for (var i = 0; i < tocLinks.length; i++) { | ||
855 | + tocLinks[i].addEventListener('click', tocEntryClick, false); | ||
856 | + } | ||
857 | + | ||
858 | + if (window.name == "hideTOC") { | ||
859 | + toggleTOC.call(tocButton); | ||
860 | + } | ||
861 | + } | ||
862 | + | ||
863 | + window.onload = init; | ||
864 | + </script> | ||
865 | + </body> | ||
866 | +</html> | ||
0 | \ No newline at end of file | 867 | \ No newline at end of file |