Ifd_Mobile 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/Ifd_Mobile/lib_steps.rb +145 -145
- data/lib/Ifd_Mobile/methods/IFD_Assertion.rb +44 -44
- data/lib/Ifd_Mobile/methods/IFD_Connection.rb +28 -0
- data/lib/Ifd_Mobile/methods/core.rb +256 -256
- data/lib/Ifd_Mobile/methods/database_methods.rb +25 -0
- data/lib/Ifd_Mobile/methods/lib_schema_data_steps.rb +53 -0
- data/lib/Ifd_Mobile/methods/lib_var.rb +53 -53
- data/lib/Ifd_Mobile/methods/required_files.rb +3 -0
- data/lib/Ifd_Mobile/version.rb +5 -5
- data/project/Gemfile +11 -9
- data/project/Gemfile.lock +137 -50
- data/project/apps/TestApp/Test App 2/GestureTestViewController.h +18 -18
- data/project/apps/TestApp/Test App 2/GestureTestViewController.m +48 -48
- data/project/apps/TestApp/Test App 2/GestureTestViewController.xib +46 -46
- data/project/apps/TestApp/Test App 2/MyViewControllerViewController.h +42 -42
- data/project/apps/TestApp/Test App 2/MyViewControllerViewController.m +193 -193
- data/project/apps/TestApp/Test App 2/TA2AppDelegate.h +28 -28
- data/project/apps/TestApp/Test App 2/TA2AppDelegate.m +85 -85
- data/project/apps/TestApp/Test App 2/TestApp-Info.plist +40 -40
- data/project/apps/TestApp/Test App 2/TestApp-Prefix.pch +29 -29
- data/project/apps/TestApp/Test App 2/en.lproj/InfoPlist.strings +21 -21
- data/project/apps/TestApp/Test App 2/en.lproj/MyViewControllerViewController.xib +175 -175
- data/project/apps/TestApp/Test App 2/main.m +31 -31
- data/project/apps/TestApp/TestApp.xcodeproj/project.pbxproj +336 -336
- data/project/apps/TestApp/TestApp.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -7
- data/project/apps/TestApp/TestApp.xcodeproj/xcuserdata/anhpham.xcuserdatad/xcschemes/TestApp.xcscheme +88 -88
- data/project/apps/TestApp/TestApp.xcodeproj/xcuserdata/anhpham.xcuserdatad/xcschemes/xcschememanagement.plist +22 -22
- data/project/features/TestData/SqlScript/test.sql +0 -0
- data/project/features/android/Android_test1.feature +14 -16
- data/project/features/android/Android_test2.feature +14 -14
- data/project/features/iOS/iOS_test.feature +15 -15
- data/project/features/step_definitions/lib_steps/PolyClaim_homepage.rb +2 -12
- data/project/features/step_definitions/lib_steps/PolyClaim_loginpage.rb +3 -3
- data/project/features/step_definitions/repositories/android_ob_test.rb +9 -9
- data/project/features/step_definitions/repositories/ios_ob_test.rb +6 -6
- data/project/features/support/env.rb +36 -36
- data/project/features/support/hooks.rb +8 -8
- data/project/features/support/project_env.rb +55 -42
- metadata +7 -5
- data/project/apps/Bedder_2.0_0.17_VN.apk +0 -0
- data/project/apps/polyclaim.apk +0 -0
@@ -1,54 +1,54 @@
|
|
1
|
-
def var_collect string_var
|
2
|
-
if string_var =~ /^.*{year}.*$/
|
3
|
-
string_var = replace_year(string_var)
|
4
|
-
end
|
5
|
-
|
6
|
-
if string_var =~ /^.*{month}.*$/
|
7
|
-
string_var = replace_month(string_var)
|
8
|
-
end
|
9
|
-
|
10
|
-
if string_var =~ /^.*{day}.*$/
|
11
|
-
string_var = replace_day(string_var)
|
12
|
-
end
|
13
|
-
|
14
|
-
if string_var =~ /^.*{store_value}.*$/
|
15
|
-
string_var = $context_value
|
16
|
-
end
|
17
|
-
|
18
|
-
return string_var
|
19
|
-
end
|
20
|
-
|
21
|
-
def replace_year str
|
22
|
-
t = Time.now()
|
23
|
-
return str.gsub("{year}", t.year.to_s)
|
24
|
-
end
|
25
|
-
|
26
|
-
def replace_month str
|
27
|
-
t = Time.now()
|
28
|
-
_month = t.month
|
29
|
-
if _month < 10
|
30
|
-
return str.gsub("{month}", "0#{_month.to_s}")
|
31
|
-
else
|
32
|
-
return str.gsub("{month}", "#{_month.to_s}")
|
33
|
-
end
|
34
|
-
return str
|
35
|
-
end
|
36
|
-
|
37
|
-
def replace_day str
|
38
|
-
t = Time.now()
|
39
|
-
_day = t.day
|
40
|
-
if _day < 10
|
41
|
-
return str.gsub("{day}", "0#{_day.to_s}")
|
42
|
-
else
|
43
|
-
return str.gsub("{day}", "#{_day.to_s}")
|
44
|
-
end
|
45
|
-
return str
|
46
|
-
end
|
47
|
-
|
48
|
-
def replace_pipe str_pipe
|
49
|
-
put_log ">>>> #{str_pipe}"
|
50
|
-
if str_pipe =~ /^.*{pipe}.*$/
|
51
|
-
return str_pipe.gsub("{pipe}", "|")
|
52
|
-
end
|
53
|
-
return str_pipe
|
1
|
+
def var_collect string_var
|
2
|
+
if string_var =~ /^.*{year}.*$/
|
3
|
+
string_var = replace_year(string_var)
|
4
|
+
end
|
5
|
+
|
6
|
+
if string_var =~ /^.*{month}.*$/
|
7
|
+
string_var = replace_month(string_var)
|
8
|
+
end
|
9
|
+
|
10
|
+
if string_var =~ /^.*{day}.*$/
|
11
|
+
string_var = replace_day(string_var)
|
12
|
+
end
|
13
|
+
|
14
|
+
if string_var =~ /^.*{store_value}.*$/
|
15
|
+
string_var = $context_value
|
16
|
+
end
|
17
|
+
|
18
|
+
return string_var
|
19
|
+
end
|
20
|
+
|
21
|
+
def replace_year str
|
22
|
+
t = Time.now()
|
23
|
+
return str.gsub("{year}", t.year.to_s)
|
24
|
+
end
|
25
|
+
|
26
|
+
def replace_month str
|
27
|
+
t = Time.now()
|
28
|
+
_month = t.month
|
29
|
+
if _month < 10
|
30
|
+
return str.gsub("{month}", "0#{_month.to_s}")
|
31
|
+
else
|
32
|
+
return str.gsub("{month}", "#{_month.to_s}")
|
33
|
+
end
|
34
|
+
return str
|
35
|
+
end
|
36
|
+
|
37
|
+
def replace_day str
|
38
|
+
t = Time.now()
|
39
|
+
_day = t.day
|
40
|
+
if _day < 10
|
41
|
+
return str.gsub("{day}", "0#{_day.to_s}")
|
42
|
+
else
|
43
|
+
return str.gsub("{day}", "#{_day.to_s}")
|
44
|
+
end
|
45
|
+
return str
|
46
|
+
end
|
47
|
+
|
48
|
+
def replace_pipe str_pipe
|
49
|
+
put_log ">>>> #{str_pipe}"
|
50
|
+
if str_pipe =~ /^.*{pipe}.*$/
|
51
|
+
return str_pipe.gsub("{pipe}", "|")
|
52
|
+
end
|
53
|
+
return str_pipe
|
54
54
|
end
|
data/lib/Ifd_Mobile/version.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
module Ifd
|
2
|
-
module Mobile
|
3
|
-
VERSION = '0.1.
|
4
|
-
end
|
5
|
-
end
|
1
|
+
module Ifd
|
2
|
+
module Mobile
|
3
|
+
VERSION = '0.1.8'
|
4
|
+
end
|
5
|
+
end
|
data/project/Gemfile
CHANGED
@@ -1,10 +1,12 @@
|
|
1
|
-
source "http://www.rubygems.org"
|
2
|
-
|
3
|
-
gem "rest-client"
|
4
|
-
gem "rspec"
|
5
|
-
gem "selenium-webdriver"
|
6
|
-
gem "cucumber"
|
7
|
-
gem "rspec-expectations"
|
8
|
-
gem "appium_lib"
|
9
|
-
gem "rack-utf8_sanitizer"
|
1
|
+
source "http://www.rubygems.org"
|
2
|
+
|
3
|
+
gem "rest-client"
|
4
|
+
gem "rspec"
|
5
|
+
gem "selenium-webdriver"
|
6
|
+
gem "cucumber"
|
7
|
+
gem "rspec-expectations"
|
8
|
+
gem "appium_lib"
|
9
|
+
gem "rack-utf8_sanitizer"
|
10
|
+
gem "mysql2","> 0.3.18"
|
11
|
+
gem "tiny_tds", ">0.6.3.rc2"
|
10
12
|
gem "Ifd_Mobile"
|
data/project/Gemfile.lock
CHANGED
@@ -1,53 +1,123 @@
|
|
1
1
|
GEM
|
2
|
-
remote: http://
|
2
|
+
remote: http://rubygems.org/
|
3
3
|
specs:
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
4
|
+
actionmailer (4.2.4)
|
5
|
+
actionpack (= 4.2.4)
|
6
|
+
actionview (= 4.2.4)
|
7
|
+
activejob (= 4.2.4)
|
8
|
+
mail (~> 2.5, >= 2.5.4)
|
9
|
+
rails-dom-testing (~> 1.0, >= 1.0.5)
|
10
|
+
actionpack (4.2.4)
|
11
|
+
actionview (= 4.2.4)
|
12
|
+
activesupport (= 4.2.4)
|
13
|
+
rack (~> 1.6)
|
14
|
+
rack-test (~> 0.6.2)
|
15
|
+
rails-dom-testing (~> 1.0, >= 1.0.5)
|
16
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
17
|
+
actionview (4.2.4)
|
18
|
+
activesupport (= 4.2.4)
|
19
|
+
builder (~> 3.1)
|
20
|
+
erubis (~> 2.7.0)
|
21
|
+
rails-dom-testing (~> 1.0, >= 1.0.5)
|
22
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
23
|
+
activejob (4.2.4)
|
24
|
+
activesupport (= 4.2.4)
|
25
|
+
globalid (>= 0.3.0)
|
26
|
+
activemodel (4.2.4)
|
27
|
+
activesupport (= 4.2.4)
|
28
|
+
builder (~> 3.1)
|
29
|
+
activerecord (4.2.4)
|
30
|
+
activemodel (= 4.2.4)
|
31
|
+
activesupport (= 4.2.4)
|
32
|
+
arel (~> 6.0)
|
33
|
+
activesupport (4.2.4)
|
34
|
+
i18n (~> 0.7)
|
35
|
+
json (~> 1.7, >= 1.7.7)
|
36
|
+
minitest (~> 5.1)
|
37
|
+
thread_safe (~> 0.3, >= 0.3.4)
|
38
|
+
tzinfo (~> 1.1)
|
39
|
+
addressable (2.3.8)
|
40
|
+
arel (6.0.3)
|
16
41
|
builder (3.2.2)
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
42
|
+
capybara (2.4.4)
|
43
|
+
mime-types (>= 1.16)
|
44
|
+
nokogiri (>= 1.3.3)
|
45
|
+
rack (>= 1.0.0)
|
46
|
+
rack-test (>= 0.5.4)
|
47
|
+
xpath (~> 2.0)
|
48
|
+
chromedriver2-helper (0.0.8)
|
49
|
+
nokogiri
|
50
|
+
csv-diff (0.3.0)
|
25
51
|
diff-lcs (1.2.5)
|
26
52
|
domain_name (0.5.25)
|
27
53
|
unf (>= 0.0.5, < 1.0.0)
|
28
|
-
|
54
|
+
email_spec (1.6.0)
|
55
|
+
launchy (~> 2.1)
|
56
|
+
mail (~> 2.2)
|
57
|
+
erubis (2.7.0)
|
29
58
|
ffi (1.9.10-x64-mingw32)
|
30
59
|
gherkin (2.12.2)
|
31
60
|
multi_json (~> 1.3)
|
61
|
+
globalid (0.3.6)
|
62
|
+
activesupport (>= 4.1.0)
|
32
63
|
http-cookie (1.0.2)
|
33
64
|
domain_name (~> 0.5)
|
65
|
+
httparty (0.13.7)
|
66
|
+
json (~> 1.8)
|
67
|
+
multi_xml (>= 0.5.2)
|
68
|
+
i18n (0.7.0)
|
34
69
|
json (1.8.3)
|
70
|
+
launchy (2.4.3)
|
71
|
+
addressable (~> 2.3)
|
72
|
+
loofah (2.0.3)
|
73
|
+
nokogiri (>= 1.5.9)
|
74
|
+
mail (2.6.3)
|
75
|
+
mime-types (>= 1.16, < 3)
|
35
76
|
mime-types (2.6.2)
|
36
|
-
|
77
|
+
mini_portile (0.6.2)
|
78
|
+
minitest (5.8.1)
|
37
79
|
multi_json (1.11.2)
|
38
|
-
|
80
|
+
multi_xml (0.5.5)
|
81
|
+
mysql2 (0.3.18-x64-mingw32)
|
39
82
|
netrc (0.10.3)
|
40
|
-
nokogiri (1.6.
|
41
|
-
|
42
|
-
|
43
|
-
|
83
|
+
nokogiri (1.6.6.2-x64-mingw32)
|
84
|
+
mini_portile (~> 0.6.0)
|
85
|
+
parallel (1.6.1)
|
86
|
+
parallel_tests (1.9.0)
|
87
|
+
parallel
|
88
|
+
power_assert (0.2.4)
|
44
89
|
rack (1.6.4)
|
90
|
+
rack-test (0.6.3)
|
91
|
+
rack (>= 1.0)
|
45
92
|
rack-utf8_sanitizer (1.3.1)
|
46
93
|
rack (~> 1.0)
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
94
|
+
rails (4.2.4)
|
95
|
+
actionmailer (= 4.2.4)
|
96
|
+
actionpack (= 4.2.4)
|
97
|
+
actionview (= 4.2.4)
|
98
|
+
activejob (= 4.2.4)
|
99
|
+
activemodel (= 4.2.4)
|
100
|
+
activerecord (= 4.2.4)
|
101
|
+
activesupport (= 4.2.4)
|
102
|
+
bundler (>= 1.3.0, < 2.0)
|
103
|
+
railties (= 4.2.4)
|
104
|
+
sprockets-rails
|
105
|
+
rails-deprecated_sanitizer (1.0.3)
|
106
|
+
activesupport (>= 4.2.0.alpha)
|
107
|
+
rails-dom-testing (1.0.7)
|
108
|
+
activesupport (>= 4.2.0.beta, < 5.0)
|
109
|
+
nokogiri (~> 1.6.0)
|
110
|
+
rails-deprecated_sanitizer (>= 1.0.1)
|
111
|
+
rails-html-sanitizer (1.0.2)
|
112
|
+
loofah (~> 2.0)
|
113
|
+
railties (4.2.4)
|
114
|
+
actionpack (= 4.2.4)
|
115
|
+
activesupport (= 4.2.4)
|
116
|
+
rake (>= 0.8.7)
|
117
|
+
thor (>= 0.18.1, < 2.0)
|
118
|
+
rake (10.4.2)
|
119
|
+
rautomation (0.17.0)
|
120
|
+
ffi (~> 1.9.0)
|
51
121
|
rest-client (1.8.0-x64-mingw32)
|
52
122
|
ffi (~> 1.9)
|
53
123
|
http-cookie (>= 1.0.2, < 2.0)
|
@@ -66,30 +136,47 @@ GEM
|
|
66
136
|
diff-lcs (>= 1.2.0, < 2.0)
|
67
137
|
rspec-support (~> 3.3.0)
|
68
138
|
rspec-support (3.3.0)
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
139
|
+
sprockets (3.4.0)
|
140
|
+
rack (> 1, < 3)
|
141
|
+
sprockets-rails (2.3.3)
|
142
|
+
actionpack (>= 3.0)
|
143
|
+
activesupport (>= 3.0)
|
144
|
+
sprockets (>= 2.8, < 4.0)
|
145
|
+
test-unit (3.1.5)
|
146
|
+
power_assert
|
147
|
+
thor (0.19.1)
|
148
|
+
thread_safe (0.3.5)
|
149
|
+
tiny_tds (0.6.2-x64-mingw32)
|
150
|
+
tzinfo (1.2.2)
|
151
|
+
thread_safe (~> 0.1)
|
77
152
|
unf (0.1.4)
|
78
153
|
unf_ext
|
79
|
-
unf_ext (0.0.7.1)
|
80
154
|
unf_ext (0.0.7.1-x64-mingw32)
|
81
|
-
|
155
|
+
xpath (2.0.0)
|
156
|
+
nokogiri (~> 1.3)
|
82
157
|
|
83
158
|
PLATFORMS
|
84
|
-
ruby
|
85
159
|
x64-mingw32
|
86
160
|
|
87
161
|
DEPENDENCIES
|
88
|
-
|
89
|
-
|
90
|
-
|
162
|
+
actionmailer (~> 4.2.3)
|
163
|
+
capybara (~> 2.4.4)
|
164
|
+
chromedriver2-helper
|
165
|
+
csv-diff (~> 0.3.0)
|
166
|
+
email_spec
|
167
|
+
gherkin (~> 2.12.2)
|
168
|
+
httparty (~> 0.13.5)
|
169
|
+
json (= 1.8.3)
|
170
|
+
mail
|
171
|
+
mysql2 (= 0.3.18)
|
172
|
+
parallel_tests
|
91
173
|
rack-utf8_sanitizer
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
174
|
+
rails
|
175
|
+
rautomation (~> 0.17.0)
|
176
|
+
rest-client (~> 1.8.0)
|
177
|
+
rspec (~> 3.3.0)
|
178
|
+
test-unit (~> 3.1.2)
|
179
|
+
tiny_tds (~> 0.6.2)
|
180
|
+
|
181
|
+
BUNDLED WITH
|
182
|
+
1.10.6
|
@@ -1,18 +1,18 @@
|
|
1
|
-
//
|
2
|
-
// GestureTestViewController.h
|
3
|
-
// TestApp
|
4
|
-
//
|
5
|
-
// Created by ThinkSys- Amit on 12/07/13.
|
6
|
-
//
|
7
|
-
//
|
8
|
-
|
9
|
-
#import <UIKit/UIKit.h>
|
10
|
-
#import <MapKit/MapKit.h>
|
11
|
-
|
12
|
-
@interface GestureTestViewController : UIViewController<UIGestureRecognizerDelegate>
|
13
|
-
@property (retain, nonatomic) IBOutlet MKMapView *mapView;
|
14
|
-
|
15
|
-
|
16
|
-
- (IBAction)handleRotation:(UIRotationGestureRecognizer*)sender;
|
17
|
-
|
18
|
-
@end
|
1
|
+
//
|
2
|
+
// GestureTestViewController.h
|
3
|
+
// TestApp
|
4
|
+
//
|
5
|
+
// Created by ThinkSys- Amit on 12/07/13.
|
6
|
+
//
|
7
|
+
//
|
8
|
+
|
9
|
+
#import <UIKit/UIKit.h>
|
10
|
+
#import <MapKit/MapKit.h>
|
11
|
+
|
12
|
+
@interface GestureTestViewController : UIViewController<UIGestureRecognizerDelegate>
|
13
|
+
@property (retain, nonatomic) IBOutlet MKMapView *mapView;
|
14
|
+
|
15
|
+
|
16
|
+
- (IBAction)handleRotation:(UIRotationGestureRecognizer*)sender;
|
17
|
+
|
18
|
+
@end
|
@@ -1,48 +1,48 @@
|
|
1
|
-
//
|
2
|
-
// GestureTestViewController.m
|
3
|
-
// TestApp
|
4
|
-
//
|
5
|
-
// Created by ThinkSys- Amit on 12/07/13.
|
6
|
-
//
|
7
|
-
//
|
8
|
-
|
9
|
-
#import "GestureTestViewController.h"
|
10
|
-
|
11
|
-
@interface GestureTestViewController ()
|
12
|
-
|
13
|
-
@end
|
14
|
-
|
15
|
-
@implementation GestureTestViewController
|
16
|
-
|
17
|
-
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
|
18
|
-
{
|
19
|
-
self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
|
20
|
-
if (self) {
|
21
|
-
// Custom initialization
|
22
|
-
}
|
23
|
-
return self;
|
24
|
-
}
|
25
|
-
|
26
|
-
- (void)viewDidLoad
|
27
|
-
{
|
28
|
-
[super viewDidLoad];
|
29
|
-
// Do any additional setup after loading the view from its nib.
|
30
|
-
}
|
31
|
-
|
32
|
-
- (void)didReceiveMemoryWarning
|
33
|
-
{
|
34
|
-
[super didReceiveMemoryWarning];
|
35
|
-
// Dispose of any resources that can be recreated.
|
36
|
-
}
|
37
|
-
|
38
|
-
- (IBAction)handleRotation:(UIRotationGestureRecognizer*)sender
|
39
|
-
{
|
40
|
-
NSLog(@"Rotation Starts");
|
41
|
-
sender.view.transform = CGAffineTransformRotate(sender.view.transform, sender.rotation);
|
42
|
-
sender.rotation = 0;
|
43
|
-
}
|
44
|
-
- (void)dealloc {
|
45
|
-
[_mapView release];
|
46
|
-
[super dealloc];
|
47
|
-
}
|
48
|
-
@end
|
1
|
+
//
|
2
|
+
// GestureTestViewController.m
|
3
|
+
// TestApp
|
4
|
+
//
|
5
|
+
// Created by ThinkSys- Amit on 12/07/13.
|
6
|
+
//
|
7
|
+
//
|
8
|
+
|
9
|
+
#import "GestureTestViewController.h"
|
10
|
+
|
11
|
+
@interface GestureTestViewController ()
|
12
|
+
|
13
|
+
@end
|
14
|
+
|
15
|
+
@implementation GestureTestViewController
|
16
|
+
|
17
|
+
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
|
18
|
+
{
|
19
|
+
self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
|
20
|
+
if (self) {
|
21
|
+
// Custom initialization
|
22
|
+
}
|
23
|
+
return self;
|
24
|
+
}
|
25
|
+
|
26
|
+
- (void)viewDidLoad
|
27
|
+
{
|
28
|
+
[super viewDidLoad];
|
29
|
+
// Do any additional setup after loading the view from its nib.
|
30
|
+
}
|
31
|
+
|
32
|
+
- (void)didReceiveMemoryWarning
|
33
|
+
{
|
34
|
+
[super didReceiveMemoryWarning];
|
35
|
+
// Dispose of any resources that can be recreated.
|
36
|
+
}
|
37
|
+
|
38
|
+
- (IBAction)handleRotation:(UIRotationGestureRecognizer*)sender
|
39
|
+
{
|
40
|
+
NSLog(@"Rotation Starts");
|
41
|
+
sender.view.transform = CGAffineTransformRotate(sender.view.transform, sender.rotation);
|
42
|
+
sender.rotation = 0;
|
43
|
+
}
|
44
|
+
- (void)dealloc {
|
45
|
+
[_mapView release];
|
46
|
+
[super dealloc];
|
47
|
+
}
|
48
|
+
@end
|
@@ -1,47 +1,47 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
2
|
-
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="4514" systemVersion="12F45" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES">
|
3
|
-
<dependencies>
|
4
|
-
<deployment defaultVersion="1552" identifier="iOS"/>
|
5
|
-
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="3747"/>
|
6
|
-
</dependencies>
|
7
|
-
<objects>
|
8
|
-
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="GestureTestViewController">
|
9
|
-
<connections>
|
10
|
-
<outlet property="mapView" destination="4" id="24"/>
|
11
|
-
<outlet property="view" destination="1" id="3"/>
|
12
|
-
</connections>
|
13
|
-
</placeholder>
|
14
|
-
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
|
15
|
-
<view contentMode="scaleToFill" id="1">
|
16
|
-
<rect key="frame" x="0.0" y="0.0" width="320" height="568"/>
|
17
|
-
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
18
|
-
<subviews>
|
19
|
-
<mapView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" mapType="standard" showsUserLocation="YES" translatesAutoresizingMaskIntoConstraints="NO" id="4">
|
20
|
-
<rect key="frame" x="35" y="83" width="250" height="250"/>
|
21
|
-
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
22
|
-
<gestureRecognizers/>
|
23
|
-
<constraints>
|
24
|
-
<constraint firstAttribute="width" constant="250" id="18"/>
|
25
|
-
<constraint firstAttribute="height" constant="250" id="20"/>
|
26
|
-
</constraints>
|
27
|
-
<connections>
|
28
|
-
<outletCollection property="gestureRecognizers" destination="14" appends="YES" id="15"/>
|
29
|
-
</connections>
|
30
|
-
</mapView>
|
31
|
-
</subviews>
|
32
|
-
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
|
33
|
-
<constraints>
|
34
|
-
<constraint firstItem="4" firstAttribute="top" secondItem="1" secondAttribute="top" constant="83" id="22"/>
|
35
|
-
<constraint firstItem="4" firstAttribute="centerX" secondItem="1" secondAttribute="centerX" id="23"/>
|
36
|
-
</constraints>
|
37
|
-
<simulatedStatusBarMetrics key="simulatedStatusBarMetrics"/>
|
38
|
-
<simulatedScreenMetrics key="simulatedDestinationMetrics" type="retina4"/>
|
39
|
-
</view>
|
40
|
-
<rotationGestureRecognizer id="14">
|
41
|
-
<connections>
|
42
|
-
<action selector="handleRotation:" destination="-1" id="16"/>
|
43
|
-
<outlet property="delegate" destination="-1" id="25"/>
|
44
|
-
</connections>
|
45
|
-
</rotationGestureRecognizer>
|
46
|
-
</objects>
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
2
|
+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="4514" systemVersion="12F45" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES">
|
3
|
+
<dependencies>
|
4
|
+
<deployment defaultVersion="1552" identifier="iOS"/>
|
5
|
+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="3747"/>
|
6
|
+
</dependencies>
|
7
|
+
<objects>
|
8
|
+
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="GestureTestViewController">
|
9
|
+
<connections>
|
10
|
+
<outlet property="mapView" destination="4" id="24"/>
|
11
|
+
<outlet property="view" destination="1" id="3"/>
|
12
|
+
</connections>
|
13
|
+
</placeholder>
|
14
|
+
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
|
15
|
+
<view contentMode="scaleToFill" id="1">
|
16
|
+
<rect key="frame" x="0.0" y="0.0" width="320" height="568"/>
|
17
|
+
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
18
|
+
<subviews>
|
19
|
+
<mapView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" mapType="standard" showsUserLocation="YES" translatesAutoresizingMaskIntoConstraints="NO" id="4">
|
20
|
+
<rect key="frame" x="35" y="83" width="250" height="250"/>
|
21
|
+
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
22
|
+
<gestureRecognizers/>
|
23
|
+
<constraints>
|
24
|
+
<constraint firstAttribute="width" constant="250" id="18"/>
|
25
|
+
<constraint firstAttribute="height" constant="250" id="20"/>
|
26
|
+
</constraints>
|
27
|
+
<connections>
|
28
|
+
<outletCollection property="gestureRecognizers" destination="14" appends="YES" id="15"/>
|
29
|
+
</connections>
|
30
|
+
</mapView>
|
31
|
+
</subviews>
|
32
|
+
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
|
33
|
+
<constraints>
|
34
|
+
<constraint firstItem="4" firstAttribute="top" secondItem="1" secondAttribute="top" constant="83" id="22"/>
|
35
|
+
<constraint firstItem="4" firstAttribute="centerX" secondItem="1" secondAttribute="centerX" id="23"/>
|
36
|
+
</constraints>
|
37
|
+
<simulatedStatusBarMetrics key="simulatedStatusBarMetrics"/>
|
38
|
+
<simulatedScreenMetrics key="simulatedDestinationMetrics" type="retina4"/>
|
39
|
+
</view>
|
40
|
+
<rotationGestureRecognizer id="14">
|
41
|
+
<connections>
|
42
|
+
<action selector="handleRotation:" destination="-1" id="16"/>
|
43
|
+
<outlet property="delegate" destination="-1" id="25"/>
|
44
|
+
</connections>
|
45
|
+
</rotationGestureRecognizer>
|
46
|
+
</objects>
|
47
47
|
</document>
|