質問編集履歴
1
記入漏れがあったため修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -116,40 +116,76 @@
|
|
116
116
|
|
117
117
|
|
118
118
|
|
119
|
+
#import <UIKit/UIKit.h>
|
120
|
+
|
121
|
+
|
122
|
+
|
119
|
-
@interface
|
123
|
+
@interface viewCell : UIViewController
|
120
124
|
|
121
125
|
{
|
122
126
|
|
123
|
-
IBOutlet UIScrollView *scrollview;
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
127
|
+
UIViewController *Top;
|
128
128
|
|
129
129
|
}
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
-(void)setTop:(UIViewController*)t;
|
134
|
+
|
135
|
+
|
130
136
|
|
131
137
|
@end
|
132
138
|
|
133
139
|
```
|
134
140
|
|
135
|
-
viewCell.
|
141
|
+
viewCell.m
|
136
142
|
|
137
143
|
```ここに言語を入力
|
138
144
|
|
139
145
|
|
140
146
|
|
147
|
+
#import "viewCell.h"
|
148
|
+
|
149
|
+
|
150
|
+
|
151
|
+
@interface viewCell ()
|
152
|
+
|
153
|
+
|
154
|
+
|
155
|
+
@end
|
156
|
+
|
157
|
+
|
158
|
+
|
159
|
+
@implementation viewCell
|
160
|
+
|
161
|
+
|
162
|
+
|
163
|
+
- (void)viewDidLoad {
|
164
|
+
|
165
|
+
[super viewDidLoad];
|
166
|
+
|
167
|
+
// Do any additional setup after loading the view from its nib.
|
168
|
+
|
169
|
+
}
|
170
|
+
|
171
|
+
|
172
|
+
|
173
|
+
- (void)didReceiveMemoryWarning {
|
174
|
+
|
175
|
+
[super didReceiveMemoryWarning];
|
176
|
+
|
177
|
+
// Dispose of any resources that can be recreated.
|
178
|
+
|
179
|
+
}
|
180
|
+
|
181
|
+
|
182
|
+
|
141
|
-
|
183
|
+
-(void)setTop:(UIViewController*)t;
|
142
184
|
|
143
185
|
{
|
144
186
|
|
145
|
-
IBOutlet UIScrollView *scrollview;
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
187
|
+
Top = t;
|
150
188
|
|
151
189
|
}
|
152
190
|
|
153
|
-
@end
|
154
|
-
|
155
191
|
```
|