Wahoo Fitness API  3.6.1
Documentation for the iPhone version of the Wahoo Fitness API.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
WFDisplayElement.h
Go to the documentation of this file.
1 //
2 // WFDisplayElement.h
3 // WFConnector
4 //
5 // Created by Murray Hughes on 16/12/12.
6 // Copyright (c) 2012 Wahoo Fitness. All rights reserved.
7 //
8 
9 #import <Foundation/Foundation.h>
10 #import <QuartzCore/QuartzCore.h>
11 #import "WFDisplayTypes.h"
12 #import <WFConnector/_WFDisplayElement.h>
13 
14 @class WFDisplayPage;
16 
18 {
19  NSString* _key;
20  CGRect _frame;
22  NSString* _comment;
23  WFDisplayPage* _page;
24  NSMutableDictionary* _userDictionary;
25 
26  @private
27  NSMutableArray* _errors;
28  NSString* _type;
29  WFDisplayElementGroup* _group;
30 }
31 
32 // Key used to identify the element. Only needs to be set if you wish to modify any properties at runtime.
33 // Must be unique to the page but can be re-used on other pages.
34 // eg, you might have HR on all pages
35 @property (nonatomic, copy) NSString* key;
36 
37 @property (nonatomic, copy, readonly) NSString* type;
38 
39 @property (atomic, assign) CGRect frame;
40 
41 // Allows you to show and hide elements at runtime.
42 @property (atomic, assign, getter = isHidden) BOOL hidden;
43 
44 
45 @property (nonatomic, copy) NSString* comment;
46 
47 @property (nonatomic, assign) WFDisplayPage* page;
48 
49 @property (nonatomic, retain) NSMutableDictionary* userDictionary;
50 
51 + (instancetype) displayElementWithCustomType:(NSString*) type;
52 
53 @end
NSString * _comment
Definition: WFDisplayElement.h:22
Definition: WFDisplayElementGroup.h:11
NSMutableDictionary * _userDictionary
Definition: WFDisplayElement.h:24
Definition: _WFDisplayElement.h:11
signed char BOOL
Definition: types.h:110
WFDisplayPage * _page
Definition: WFDisplayElement.h:23
BOOL _hidden
Definition: WFDisplayElement.h:21
Definition: WFDisplayElement.h:17
CGRect _frame
Definition: WFDisplayElement.h:20
NSString * _key
Definition: WFDisplayElement.h:19