GeezerVison is showing github.com — Initial commit · zhmios/RETableViewManager@7e06188
File treeExpand file treeCollapse file tree Open diff view settings Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboard +19Lines changed: 19 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| | 1 | +Copyright (c) 2013 Roman Efimov (https://github.com/romaonthego). | | 2 | + | | 3 | +Permission is hereby granted, free of charge, to any person obtaining a copy | | 4 | +of this software and associated documentation files (the "Software"), to deal | | 5 | +in the Software without restriction, including without limitation the rights | | 6 | +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | | 7 | +copies of the Software, and to permit persons to whom the Software is | | 8 | +furnished to do so, subject to the following conditions: | | 9 | + | | 10 | +The above copyright notice and this permission notice shall be included in | | 11 | +all copies or substantial portions of the Software. | | 12 | + | | 13 | +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | | 14 | +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | | 15 | +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | | 16 | +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | | 17 | +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | | 18 | +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | | 19 | +THE SOFTWARE. |
Collapse file Copy file name to clipboard +38Lines changed: 38 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| | 1 | +// | | 2 | +// REBoolItem.h | | 3 | +// RETableViewManager | | 4 | +// | | 5 | +// Copyright (c) 2013 Roman Efimov (https://github.com/romaonthego) | | 6 | +// | | 7 | +// Permission is hereby granted, free of charge, to any person obtaining a copy | | 8 | +// of this software and associated documentation files (the "Software"), to deal | | 9 | +// in the Software without restriction, including without limitation the rights | | 10 | +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | | 11 | +// copies of the Software, and to permit persons to whom the Software is | | 12 | +// furnished to do so, subject to the following conditions: | | 13 | +// | | 14 | +// The above copyright notice and this permission notice shall be included in | | 15 | +// all copies or substantial portions of the Software. | | 16 | +// | | 17 | +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | | 18 | +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | | 19 | +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | | 20 | +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | | 21 | +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | | 22 | +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | | 23 | +// THE SOFTWARE. | | 24 | +// | | 25 | + | | 26 | +#import "RETableViewItem.h" | | 27 | + | | 28 | +@interface REBoolItem : RETableViewItem | | 29 | + | | 30 | +@property (assign, nonatomic) BOOL value; | | 31 | + | | 32 | ++ (id)itemWithTitle:(NSString *)title value:(BOOL)value actionBlock:(void(^)(REBoolItem *item))actionBlock; | | 33 | ++ (id)itemWithTitle:(NSString *)title value:(BOOL)value; | | 34 | + | | 35 | +- (id)initWithTitle:(NSString *)title value:(BOOL)value actionBlock:(void(^)(REBoolItem *item))actionBlock; | | 36 | +- (id)initWithTitle:(NSString *)title value:(BOOL)value; | | 37 | + | | 38 | +@end |
Collapse file Copy file name to clipboard +58Lines changed: 58 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| | 1 | +// | | 2 | +// REBoolItem.m | | 3 | +// RETableViewManager | | 4 | +// | | 5 | +// Copyright (c) 2013 Roman Efimov (https://github.com/romaonthego) | | 6 | +// | | 7 | +// Permission is hereby granted, free of charge, to any person obtaining a copy | | 8 | +// of this software and associated documentation files (the "Software"), to deal | | 9 | +// in the Software without restriction, including without limitation the rights | | 10 | +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | | 11 | +// copies of the Software, and to permit persons to whom the Software is | | 12 | +// furnished to do so, subject to the following conditions: | | 13 | +// | | 14 | +// The above copyright notice and this permission notice shall be included in | | 15 | +// all copies or substantial portions of the Software. | | 16 | +// | | 17 | +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | | 18 | +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | | 19 | +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | | 20 | +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | | 21 | +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | | 22 | +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | | 23 | +// THE SOFTWARE. | | 24 | +// | | 25 | + | | 26 | +#import "REBoolItem.h" | | 27 | + | | 28 | +@implementation REBoolItem | | 29 | + | | 30 | ++ (id)itemWithTitle:(NSString *)title value:(BOOL)value | | 31 | +{ | | 32 | + return [[REBoolItem alloc] initWithTitle:title value:value]; | | 33 | +} | | 34 | + | | 35 | ++ (id)itemWithTitle:(NSString *)title value:(BOOL)value actionBlock:(void(^)(REBoolItem *item))actionBlock | | 36 | +{ | | 37 | + return [[REBoolItem alloc] initWithTitle:title value:value actionBlock:actionBlock]; | | 38 | +} | | 39 | + | | 40 | +- (id)initWithTitle:(NSString *)title value:(BOOL)value | | 41 | +{ | | 42 | + return [self initWithTitle:title value:value actionBlock:nil]; | | 43 | +} | | 44 | + | | 45 | +- (id)initWithTitle:(NSString *)title value:(BOOL)value actionBlock:(void(^)(REBoolItem *item))actionBlock | | 46 | +{ | | 47 | + self = [super init]; | | 48 | + if (!self) | | 49 | + return nil; | | 50 | + | | 51 | + self.title = title; | | 52 | + self.value = value; | | 53 | + self.actionBlock = actionBlock; | | 54 | + | | 55 | + return self; | | 56 | +} | | 57 | + | | 58 | +@end |
Collapse file Copy file name to clipboard +38Lines changed: 38 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| | 1 | +// | | 2 | +// REStringItem.h | | 3 | +// RETableViewManager | | 4 | +// | | 5 | +// Copyright (c) 2013 Roman Efimov (https://github.com/romaonthego) | | 6 | +// | | 7 | +// Permission is hereby granted, free of charge, to any person obtaining a copy | | 8 | +// of this software and associated documentation files (the "Software"), to deal | | 9 | +// in the Software without restriction, including without limitation the rights | | 10 | +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | | 11 | +// copies of the Software, and to permit persons to whom the Software is | | 12 | +// furnished to do so, subject to the following conditions: | | 13 | +// | | 14 | +// The above copyright notice and this permission notice shall be included in | | 15 | +// all copies or substantial portions of the Software. | | 16 | +// | | 17 | +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | | 18 | +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | | 19 | +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | | 20 | +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | | 21 | +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | | 22 | +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | | 23 | +// THE SOFTWARE. | | 24 | +// | | 25 | + | | 26 | +#import "RETableViewItem.h" | | 27 | + | | 28 | +@interface REStringItem : RETableViewItem | | 29 | + | | 30 | +@property (assign, nonatomic) UITableViewCellAccessoryType accessoryType; | | 31 | +@property (strong, nonatomic) UIView *accessoryView; | | 32 | + | | 33 | ++ (id)itemWithTitle:(NSString *)title actionBlock:(void(^)(RETableViewItem *item))actionBlock accessoryType:(UITableViewCellAccessoryType)accessoryType; | | 34 | ++ (id)itemWithTitle:(NSString *)title actionBlock:(void(^)(RETableViewItem *item))actionBlock accessoryType:(UITableViewCellAccessoryType)accessoryType accessoryView:(UIView *)accessoryView; | | 35 | +- (id)initWithTitle:(NSString *)title actionBlock:(void(^)(RETableViewItem *item))actionBlock accessoryType:(UITableViewCellAccessoryType)accessoryType; | | 36 | +- (id)initWithTitle:(NSString *)title actionBlock:(void(^)(RETableViewItem *item))actionBlock accessoryType:(UITableViewCellAccessoryType)accessoryType accessoryView:(UIView *)accessoryView; | | 37 | + | | 38 | +@end |
Collapse file Copy file name to clipboard +60Lines changed: 60 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| | 1 | +// | | 2 | +// REStringItem.m | | 3 | +// RETableViewManager | | 4 | +// | | 5 | +// Copyright (c) 2013 Roman Efimov (https://github.com/romaonthego) | | 6 | +// | | 7 | +// Permission is hereby granted, free of charge, to any person obtaining a copy | | 8 | +// of this software and associated documentation files (the "Software"), to deal | | 9 | +// in the Software without restriction, including without limitation the rights | | 10 | +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | | 11 | +// copies of the Software, and to permit persons to whom the Software is | | 12 | +// furnished to do so, subject to the following conditions: | | 13 | +// | | 14 | +// The above copyright notice and this permission notice shall be included in | | 15 | +// all copies or substantial portions of the Software. | | 16 | +// | | 17 | +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | | 18 | +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | | 19 | +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | | 20 | +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | | 21 | +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | | 22 | +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | | 23 | +// THE SOFTWARE. | | 24 | +// | | 25 | + | | 26 | +#import "REStringItem.h" | | 27 | + | | 28 | +@implementation REStringItem | | 29 | + | | 30 | ++ (id)itemWithTitle:(NSString *)title actionBlock:(void(^)(RETableViewItem *item))actionBlock accessoryType:(UITableViewCellAccessoryType)accessoryType | | 31 | +{ | | 32 | + return [[REStringItem alloc] initWithTitle:title actionBlock:actionBlock accessoryType:accessoryType accessoryView:nil]; | | 33 | +} | | 34 | + | | 35 | ++ (id)itemWithTitle:(NSString *)title actionBlock:(void(^)(RETableViewItem *item))actionBlock accessoryType:(UITableViewCellAccessoryType)accessoryType accessoryView:(UIView *)accessoryView | | 36 | +{ | | 37 | + return [[REStringItem alloc] initWithTitle:title actionBlock:actionBlock accessoryType:accessoryType accessoryView:accessoryView]; | | 38 | +} | | 39 | + | | 40 | +- (id)initWithTitle:(NSString *)title actionBlock:(void(^)(RETableViewItem *item))actionBlock accessoryType:(UITableViewCellAccessoryType)accessoryType; | | 41 | +{ | | 42 | + return [self initWithTitle:title actionBlock:actionBlock accessoryType:accessoryType accessoryView:nil]; | | 43 | +} | | 44 | + | | 45 | +- (id)initWithTitle:(NSString *)title actionBlock:(void(^)(RETableViewItem *item))actionBlock accessoryType:(UITableViewCellAccessoryType)accessoryType accessoryView:(UIView *)accessoryView | | 46 | +{ | | 47 | + self = [super init]; | | 48 | + if (!self) | | 49 | + return nil; | | 50 | + | | 51 | + self.title = title; | | 52 | + self.accessoryType = accessoryType; | | 53 | + self.accessoryView = accessoryView; | | 54 | + self.actionBlock = actionBlock; | | 55 | + self.performActionOnSelection = YES; | | 56 | + | | 57 | + return self; | | 58 | +} | | 59 | + | | 60 | +@end |
Collapse file Copy file name to clipboard +35Lines changed: 35 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| | 1 | +// | | 2 | +// RETableViewBoolCell.h | | 3 | +// RETableViewManager | | 4 | +// | | 5 | +// Copyright (c) 2013 Roman Efimov (https://github.com/romaonthego) | | 6 | +// | | 7 | +// Permission is hereby granted, free of charge, to any person obtaining a copy | | 8 | +// of this software and associated documentation files (the "Software"), to deal | | 9 | +// in the Software without restriction, including without limitation the rights | | 10 | +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | | 11 | +// copies of the Software, and to permit persons to whom the Software is | | 12 | +// furnished to do so, subject to the following conditions: | | 13 | +// | | 14 | +// The above copyright notice and this permission notice shall be included in | | 15 | +// all copies or substantial portions of the Software. | | 16 | +// | | 17 | +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | | 18 | +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | | 19 | +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | | 20 | +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | | 21 | +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | | 22 | +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | | 23 | +// THE SOFTWARE. | | 24 | +// | | 25 | + | | 26 | +#import "RETableViewCell.h" | | 27 | +#import "REBoolItem.h" | | 28 | + | | 29 | +@interface RETableViewBoolCell : RETableViewCell { | | 30 | + UISwitch *_switch; | | 31 | +} | | 32 | + | | 33 | +@property (strong, nonatomic) REBoolItem *item; | | 34 | + | | 35 | +@end |
Collapse file Copy file name to clipboard +58Lines changed: 58 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| | 1 | +// | | 2 | +// RETableViewBoolCell.m | | 3 | +// RETableViewManager | | 4 | +// | | 5 | +// Copyright (c) 2013 Roman Efimov (https://github.com/romaonthego) | | 6 | +// | | 7 | +// Permission is hereby granted, free of charge, to any person obtaining a copy | | 8 | +// of this software and associated documentation files (the "Software"), to deal | | 9 | +// in the Software without restriction, including without limitation the rights | | 10 | +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | | 11 | +// copies of the Software, and to permit persons to whom the Software is | | 12 | +// furnished to do so, subject to the following conditions: | | 13 | +// | | 14 | +// The above copyright notice and this permission notice shall be included in | | 15 | +// all copies or substantial portions of the Software. | | 16 | +// | | 17 | +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | | 18 | +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | | 19 | +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | | 20 | +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | | 21 | +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | | 22 | +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | | 23 | +// THE SOFTWARE. | | 24 | +// | | 25 | + | | 26 | +#import "RETableViewBoolCell.h" | | 27 | + | | 28 | +@implementation RETableViewBoolCell | | 29 | + | | 30 | +- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier | | 31 | +{ | | 32 | + self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]; | | 33 | + if (self) { | | 34 | + self.selectionStyle = UITableViewCellSelectionStyleNone; | | 35 | + _switch = [[UISwitch alloc] init]; | | 36 | + [_switch addTarget:self action:@selector(switchValueDidChanged:) forControlEvents:UIControlEventValueChanged]; | | 37 | + self.accessoryView = _switch; | | 38 | + } | | 39 | + return self; | | 40 | +} | | 41 | + | | 42 | +- (void)prepare | | 43 | +{ | | 44 | + self.textLabel.text = self.item.title; | | 45 | + _switch.on = self.item.value; | | 46 | +} | | 47 | + | | 48 | +#pragma mark - | | 49 | +#pragma mark UISwitch events | | 50 | + | | 51 | +- (void)switchValueDidChanged:(UISwitch *)switchView | | 52 | +{ | | 53 | + self.item.value = switchView.isOn; | | 54 | + if (self.item.actionBlock) | | 55 | + self.item.actionBlock(self.item); | | 56 | +} | | 57 | + | | 58 | +@end |
Collapse file Copy file name to clipboard +40Lines changed: 40 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| | 1 | +// | | 2 | +// RETableViewCell.h | | 3 | +// RETableViewManager | | 4 | +// | | 5 | +// Copyright (c) 2013 Roman Efimov (https://github.com/romaonthego) | | 6 | +// | | 7 | +// Permission is hereby granted, free of charge, to any person obtaining a copy | | 8 | +// of this software and associated documentation files (the "Software"), to deal | | 9 | +// in the Software without restriction, including without limitation the rights | | 10 | +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | | 11 | +// copies of the Software, and to permit persons to whom the Software is | | 12 | +// furnished to do so, subject to the following conditions: | | 13 | +// | | 14 | +// The above copyright notice and this permission notice shall be included in | | 15 | +// all copies or substantial portions of the Software. | | 16 | +// | | 17 | +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | | 18 | +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | | 19 | +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | | 20 | +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | | 21 | +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | | 22 | +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | | 23 | +// THE SOFTWARE. | | 24 | +// | | 25 | + | | 26 | +#import <UIKit/UIKit.h> | | 27 | +#import "RETableViewSection.h" | | 28 | + | | 29 | +@interface RETableViewCell : UITableViewCell | | 30 | + | | 31 | +@property (assign, nonatomic) NSInteger row; | | 32 | +@property (assign, nonatomic) NSInteger sectionIndex; | | 33 | +@property (weak, nonatomic) UITableView *parentTableView; | | 34 | +@property (weak, nonatomic) RETableViewSection *section; | | 35 | +@property (strong, nonatomic) NSObject *item; | | 36 | + | | 37 | +- (void)prepare; | | 38 | ++ (CGFloat)height; | | 39 | + | | 40 | +@end |
Collapse file Copy file name to clipboard +40Lines changed: 40 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| | 1 | +// | | 2 | +// RETableViewCell.m | | 3 | +// RETableViewManager | | 4 | +// | | 5 | +// Copyright (c) 2013 Roman Efimov (https://github.com/romaonthego) | | 6 | +// | | 7 | +// Permission is hereby granted, free of charge, to any person obtaining a copy | | 8 | +// of this software and associated documentation files (the "Software"), to deal | | 9 | +// in the Software without restriction, including without limitation the rights | | 10 | +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | | 11 | +// copies of the Software, and to permit persons to whom the Software is | | 12 | +// furnished to do so, subject to the following conditions: | | 13 | +// | | 14 | +// The above copyright notice and this permission notice shall be included in | | 15 | +// all copies or substantial portions of the Software. | | 16 | +// | | 17 | +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | | 18 | +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | | 19 | +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | | 20 | +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | | 21 | +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | | 22 | +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | | 23 | +// THE SOFTWARE. | | 24 | +// | | 25 | + | | 26 | +#import "RETableViewCell.h" | | 27 | + | | 28 | +@implementation RETableViewCell | | 29 | + | | 30 | ++ (CGFloat)height | | 31 | +{ | | 32 | + return 44; | | 33 | +} | | 34 | + | | 35 | +- (void)prepare | | 36 | +{ | | 37 | + | | 38 | +} | | 39 | + | | 40 | +@end |
|