Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Mar 7, 2021. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions Demo.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,8 @@
42ED55BB3985830447C7EC6F /* Pods_CocoaPods_Basic_ObjC.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 07A98696E9AE57AA5ED35615 /* Pods_CocoaPods_Basic_ObjC.framework */; };
43B5CBB8974CFFEFAD7535CE /* Pods_CocoaPods_Payment.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3841465E0BCB95DB9D521885 /* Pods_CocoaPods_Payment.framework */; };
739F1D308833B568F7E3EDCF /* Pods_CocoaPods_iPhone_Storyboard.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6283A96200ECA336FF064FA2 /* Pods_CocoaPods_iPhone_Storyboard.framework */; };
7A1D3E391DD78E2A0002C33C /* FORMToggleFieldCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 7A1D3E381DD78E2A0002C33C /* FORMToggleFieldCell.m */; };
7A1D3E3B1DD7A1570002C33C /* toggle-field.json in Resources */ = {isa = PBXBuildFile; fileRef = 7A1D3E3A1DD7A1570002C33C /* toggle-field.json */; };
7A1D3E391DD78E2A0002C33C /* FORMSwitchFieldCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 7A1D3E381DD78E2A0002C33C /* FORMSwitchFieldCell.m */; };
7A1D3E3B1DD7A1570002C33C /* switch-field.json in Resources */ = {isa = PBXBuildFile; fileRef = 7A1D3E3A1DD7A1570002C33C /* switch-field.json */; };
7A41ADEF1DABE0EB0063DB62 /* FORMSegmentFieldCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 7A41ADEE1DABE0EB0063DB62 /* FORMSegmentFieldCell.m */; };
7A41ADF11DAC2FCD0063DB62 /* segment-field.json in Resources */ = {isa = PBXBuildFile; fileRef = 7A41ADF01DAC2FCD0063DB62 /* segment-field.json */; };
7A4ABAF31D7DBE7200DAE893 /* FORMSpacerFieldCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 7A4ABAF21D7DBE7200DAE893 /* FORMSpacerFieldCell.m */; };
Expand Down Expand Up @@ -398,9 +398,9 @@
71ED68BA8DBA9D8DEB2F1288 /* Pods-CocoaPods-LoginDemo.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CocoaPods-LoginDemo.debug.xcconfig"; path = "Pods/Target Support Files/Pods-CocoaPods-LoginDemo/Pods-CocoaPods-LoginDemo.debug.xcconfig"; sourceTree = "<group>"; };
729E65C530FAEB51178E6C77 /* Pods-CocoaPods-Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CocoaPods-Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-CocoaPods-Tests/Pods-CocoaPods-Tests.release.xcconfig"; sourceTree = "<group>"; };
7313DABFEEF45FCCCD39281E /* Pods.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods.framework; sourceTree = BUILT_PRODUCTS_DIR; };
7A1D3E371DD78E2A0002C33C /* FORMToggleFieldCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = FORMToggleFieldCell.h; path = Switch/FORMToggleFieldCell.h; sourceTree = "<group>"; };
7A1D3E381DD78E2A0002C33C /* FORMToggleFieldCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = FORMToggleFieldCell.m; path = Switch/FORMToggleFieldCell.m; sourceTree = "<group>"; };
7A1D3E3A1DD7A1570002C33C /* toggle-field.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "toggle-field.json"; sourceTree = "<group>"; };
7A1D3E371DD78E2A0002C33C /* FORMSwitchFieldCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = FORMSwitchFieldCell.h; path = Switch/FORMSwitchFieldCell.h; sourceTree = "<group>"; };
7A1D3E381DD78E2A0002C33C /* FORMSwitchFieldCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = FORMSwitchFieldCell.m; path = Switch/FORMSwitchFieldCell.m; sourceTree = "<group>"; };
7A1D3E3A1DD7A1570002C33C /* switch-field.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "switch-field.json"; sourceTree = "<group>"; };
7A41ADED1DABE0EB0063DB62 /* FORMSegmentFieldCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = FORMSegmentFieldCell.h; path = Switch/FORMSegmentFieldCell.h; sourceTree = "<group>"; };
7A41ADEE1DABE0EB0063DB62 /* FORMSegmentFieldCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = FORMSegmentFieldCell.m; path = Switch/FORMSegmentFieldCell.m; sourceTree = "<group>"; };
7A41ADF01DAC2FCD0063DB62 /* segment-field.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "segment-field.json"; sourceTree = "<group>"; };
Expand Down Expand Up @@ -586,7 +586,7 @@
140803641BEA50AB0098C288 /* Cells */ = {
isa = PBXGroup;
children = (
7A1D3E361DD78DF10002C33C /* Toggle */,
7A1D3E361DD78DF10002C33C /* Switch */,
7A41ADE91DABD2930063DB62 /* Segment */,
7AB346BD1D78C83100AAAD2E /* Spacer */,
140803651BEA50AB0098C288 /* Base */,
Expand Down Expand Up @@ -784,7 +784,7 @@
1408042B1BEA50C00098C288 /* simple-section.json */,
1408042C1BEA50C00098C288 /* simple-text-field.json */,
1408042D1BEA50C00098C288 /* styled-fields.json */,
7A1D3E3A1DD7A1570002C33C /* toggle-field.json */,
7A1D3E3A1DD7A1570002C33C /* switch-field.json */,
);
path = JSONs;
sourceTree = "<group>";
Expand Down Expand Up @@ -1012,13 +1012,13 @@
name = Frameworks;
sourceTree = "<group>";
};
7A1D3E361DD78DF10002C33C /* Toggle */ = {
7A1D3E361DD78DF10002C33C /* Switch */ = {
isa = PBXGroup;
children = (
7A1D3E371DD78E2A0002C33C /* FORMToggleFieldCell.h */,
7A1D3E381DD78E2A0002C33C /* FORMToggleFieldCell.m */,
7A1D3E371DD78E2A0002C33C /* FORMSwitchFieldCell.h */,
7A1D3E381DD78E2A0002C33C /* FORMSwitchFieldCell.m */,
);
name = Toggle;
name = Switch;
sourceTree = "<group>";
};
7A41ADE91DABD2930063DB62 /* Segment */ = {
Expand Down Expand Up @@ -1233,7 +1233,7 @@
attributes = {
CLASSPREFIX = "";
LastSwiftUpdateCheck = 0710;
LastUpgradeCheck = 0800;
LastUpgradeCheck = 0810;
ORGANIZATIONNAME = "";
TargetAttributes = {
1406BB791BEA520D00131623 = {
Expand Down Expand Up @@ -1383,7 +1383,7 @@
1408043F1BEA50C00098C288 /* collapsed-groups.json in Resources */,
7A41ADF11DAC2FCD0063DB62 /* segment-field.json in Resources */,
1408044E1BEA50C00098C288 /* simple-text-field.json in Resources */,
7A1D3E3B1DD7A1570002C33C /* toggle-field.json in Resources */,
7A1D3E3B1DD7A1570002C33C /* switch-field.json in Resources */,
1408044A1BEA50C00098C288 /* postal_codes.json in Resources */,
1408044C1BEA50C00098C288 /* simple-number-field.json in Resources */,
140804401BEA50C00098C288 /* counter-field.json in Resources */,
Expand Down Expand Up @@ -1867,7 +1867,7 @@
140804001BEA50AB0098C288 /* DDMathEvaluator+FORM.m in Sources */,
140803E81BEA50AB0098C288 /* FORMData.m in Sources */,
140803DB1BEA50AB0098C288 /* FORMPopoverFieldCell.m in Sources */,
7A1D3E391DD78E2A0002C33C /* FORMToggleFieldCell.m in Sources */,
7A1D3E391DD78E2A0002C33C /* FORMSwitchFieldCell.m in Sources */,
140803F41BEA50AB0098C288 /* FORMNameInputValidator.m in Sources */,
1408043C1BEA50C00098C288 /* FORMValidatorTests.m in Sources */,
140804381BEA50C00098C288 /* FORMSectionTests.m in Sources */,
Expand Down
2 changes: 1 addition & 1 deletion Demo.xcodeproj/xcshareddata/xcschemes/Tests.xcscheme
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0800"
LastUpgradeVersion = "0810"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

#import "FORMBaseFieldCell.h"

static NSString * const FORMToggleFieldCellIdentifier = @"FORMToggleFieldCellIdentifier";
static NSString * const FORMSwitchFieldCellIdentifier = @"FORMSwitchFieldCellIdentifier";

@interface FORMToggleFieldCell : FORMBaseFieldCell
@interface FORMSwitchFieldCell : FORMBaseFieldCell

- (void)setTintColor:(UIColor *)tintColor UI_APPEARANCE_SELECTOR;
- (void)setBackgroundColor:(UIColor *)backgroundColor UI_APPEARANCE_SELECTOR;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,50 +1,50 @@
#import "FORMToggleFieldCell.h"
#import "FORMSwitchFieldCell.h"
@import Hex;
#import "FORMFieldValue.h"

static NSString * const FORMToggleTintColorKey = @"tint_color";
static NSString * const FORMToggleBackgroundColorKey = @"background_color";
static NSString * const FORMSwitchTintColorKey = @"tint_color";
static NSString * const FORMSwitchBackgroundColorKey = @"background_color";

static const CGFloat FORMToggleFieldCellMarginTop = 36.0f;
static const CGFloat FORMToggleFieldCellMarginBottom = 4.0f;
static const CGFloat FORMSwitchFieldCellMarginTop = 36.0f;
static const CGFloat FORMSwitchFieldCellMarginBottom = 4.0f;

@interface FORMToggleFieldCell ()
@interface FORMSwitchFieldCell ()

@property (nonatomic) UISwitch *toggle;
@property (nonatomic) UISwitch *switchControl;

@end

@implementation FORMToggleFieldCell
@implementation FORMSwitchFieldCell

- (instancetype)initWithFrame:(CGRect)frame {
self = [super initWithFrame:frame];
if (!self) return nil;

self.toggle = [[UISwitch alloc] initWithFrame:frame];
[self.toggle addTarget:self action:@selector(toggleAction:) forControlEvents:UIControlEventValueChanged];
[self.contentView addSubview:self.toggle];
self.switchControl = [[UISwitch alloc] initWithFrame:frame];
[self.switchControl addTarget:self action:@selector(switchAction:) forControlEvents:UIControlEventValueChanged];
[self.contentView addSubview:self.switchControl];

return self;
}

#pragma mark - FORMBaseFormFieldCell

- (void)updateFieldWithDisabled:(BOOL)disabled {
self.toggle.alpha = disabled ? 0.5f : 1.0f;
self.toggle.enabled = disabled ? NO : YES;
self.switchControl.alpha = disabled ? 0.5f : 1.0f;
self.switchControl.enabled = disabled ? NO : YES;
}

- (void)updateWithField:(FORMField *)field {
[super updateWithField:field];

self.toggle.enabled = !field.disabled;
self.switchControl.enabled = !field.disabled;
self.disabled = field.disabled;
self.toggle.on = [field.value boolValue];
self.switchControl.on = [field.value boolValue];

if ([field.accessibilityLabel length] > 0) {
self.toggle.accessibilityLabel = field.accessibilityLabel;
self.switchControl.accessibilityLabel = field.accessibilityLabel;
} else {
self.toggle.accessibilityLabel = self.headingLabel.text;
self.switchControl.accessibilityLabel = self.headingLabel.text;
}
}

Expand All @@ -53,13 +53,13 @@ - (void)updateWithField:(FORMField *)field {
- (void)layoutSubviews {
[super layoutSubviews];

self.toggle.frame = [self toggleFrame];
self.switchControl.frame = [self switchFrame];
}

- (CGRect)toggleFrame {
- (CGRect)switchFrame {
CGFloat marginX = FORMTextFieldCellMarginX;
CGFloat marginTop = FORMToggleFieldCellMarginTop;
CGFloat marginBotton = FORMToggleFieldCellMarginBottom;
CGFloat marginTop = FORMSwitchFieldCellMarginTop;
CGFloat marginBotton = FORMSwitchFieldCellMarginBottom;

CGFloat width = CGRectGetWidth(self.frame) - (marginX * 2);
CGFloat height = CGRectGetHeight(self.frame) - marginTop - marginBotton;
Expand All @@ -70,7 +70,7 @@ - (CGRect)toggleFrame {

#pragma mark - Actions

- (void)toggleAction:(id)sender {
- (void)switchAction:(id)sender {
self.field.value = [sender isOn] ? @YES : @NO;

if ([self.delegate respondsToSelector:@selector(fieldCell:updatedWithField:)]) {
Expand All @@ -81,21 +81,21 @@ - (void)toggleAction:(id)sender {
#pragma mark - Styling

- (void)setTintColor:(UIColor *)tintColor {
NSString *style = [self.field.styles valueForKey:FORMToggleTintColorKey];
NSString *style = [self.field.styles valueForKey:FORMSwitchTintColorKey];
if ([style length] > 0) {
tintColor = [[UIColor alloc] initWithHex:style];
}

self.toggle.onTintColor = tintColor;
self.switchControl.onTintColor = tintColor;
}

- (void)setBackgroundColor:(UIColor *)backgroundColor {
NSString *style = [self.field.styles valueForKey:FORMToggleBackgroundColorKey];
NSString *style = [self.field.styles valueForKey:FORMSwitchBackgroundColorKey];
if ([style length] > 0) {
backgroundColor = [[UIColor alloc] initWithHex:style];
}

self.toggle.backgroundColor = backgroundColor;
self.switchControl.backgroundColor = backgroundColor;
}

@end
8 changes: 4 additions & 4 deletions Source/FORMDataSource.m
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#import "FORMButtonFieldCell.h"
#import "FORMSpacerFieldCell.h"
#import "FORMSegmentFieldCell.h"
#import "FORMToggleFieldCell.h"
#import "FORMSwitchFieldCell.h"
#import "FORMFieldValue.h"
#import "HYPParsedRelationship.h"

Expand Down Expand Up @@ -196,9 +196,9 @@ - (UICollectionViewCell *)collectionView:(UICollectionView *)collectionView
forCellWithReuseIdentifier:identifier];
break;

case FORMFieldTypeToggle:
identifier = [NSString stringWithFormat:@"%@-%@", FORMToggleFieldCellIdentifier, field.fieldID];
[collectionView registerClass:[FORMToggleFieldCell class]
case FORMFieldTypeSwitch:
identifier = [NSString stringWithFormat:@"%@-%@", FORMSwitchFieldCellIdentifier, field.fieldID];
[collectionView registerClass:[FORMSwitchFieldCell class]
forCellWithReuseIdentifier:identifier];
break;

Expand Down
6 changes: 3 additions & 3 deletions Source/FORMDefaultStyle.m
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#import "FORMTextFieldCell.h"
#import "FORMButtonFieldCell.h"
#import "FORMSegmentFieldCell.h"
#import "FORMToggleFieldCell.h"
#import "FORMSwitchFieldCell.h"
#import "FORMBaseFieldCell.h"

@import Hex;
Expand Down Expand Up @@ -107,8 +107,8 @@ + (void)applyStyle {
[[FORMSegmentFieldCell appearance] setBackgroundColor:[[UIColor alloc] initWithHex:@"FFFFFF"]];
[[FORMSegmentFieldCell appearance] setTintColor:[[UIColor alloc] initWithHex:@"3DAFEB"]];

[[FORMToggleFieldCell appearance] setBackgroundColor:[[UIColor alloc] initWithHex:@"FFFFFF"]];
[[FORMToggleFieldCell appearance] setTintColor:[[UIColor alloc] initWithHex:@"3DAFEB"]];
[[FORMSwitchFieldCell appearance] setBackgroundColor:[[UIColor alloc] initWithHex:@"FFFFFF"]];
[[FORMSwitchFieldCell appearance] setTintColor:[[UIColor alloc] initWithHex:@"3DAFEB"]];

}

Expand Down
2 changes: 1 addition & 1 deletion Source/Models/FORMField.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ typedef NS_ENUM(NSInteger, FORMFieldType) {
FORMFieldTypeSpacer,
FORMFieldTypeCount,
FORMFieldTypeSegment,
FORMFieldTypeToggle,
FORMFieldTypeSwitch,
FORMFieldTypeCustom
};

Expand Down
8 changes: 4 additions & 4 deletions Source/Models/FORMField.m
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ - (void)setValue:(id)fieldValue {
case FORMFieldTypeButton:
case FORMFieldTypeSpacer:
case FORMFieldTypeSegment:
case FORMFieldTypeToggle:
case FORMFieldTypeSwitch:
case FORMFieldTypeCustom:
break;
}
Expand Down Expand Up @@ -183,7 +183,7 @@ - (id)rawFieldValue {
case FORMFieldTypeButton:
case FORMFieldTypeSpacer:
case FORMFieldTypeSegment:
case FORMFieldTypeToggle:
case FORMFieldTypeSwitch:
case FORMFieldTypeCustom:
return nil;
}
Expand Down Expand Up @@ -259,8 +259,8 @@ - (FORMFieldType)typeFromTypeString:(NSString *)typeString {
return FORMFieldTypeSpacer;
} else if ([typeString isEqualToString:@"segment"]) {
return FORMFieldTypeSegment;
} else if ([typeString isEqualToString:@"toggle"]) {
return FORMFieldTypeToggle;
} else if ([typeString isEqualToString:@"switch"]) {
return FORMFieldTypeSwitch;
} else {
return FORMFieldTypeCustom;
}
Expand Down
14 changes: 7 additions & 7 deletions Tests/FORMDataSourceTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -947,14 +947,14 @@ - (void)testStyleFields {
XCTAssertEqualObjects([segmentField.styles objectForKey:@"font"], @"AvenirNext-DemiBold");
XCTAssertEqualObjects([segmentField.styles objectForKey:@"font_size"], @"16.0");

// Toggle Field Styles
FORMField *toggleField = [dataSource fieldWithID:@"styled_toggle" includingHiddenFields:NO];
XCTAssertNotNil(toggleField);
// Switch Field Styles
FORMField *switchField = [dataSource fieldWithID:@"styled_switch" includingHiddenFields:NO];
XCTAssertNotNil(switchField);

[dataSource fieldCell:nil updatedWithField:toggleField];
XCTAssertNotNil(toggleField.styles);
XCTAssertEqualObjects([toggleField.styles objectForKey:@"tint_color"], @"#FF0000");
XCTAssertEqualObjects([toggleField.styles objectForKey:@"background_color"], @"#FFFFFF");
[dataSource fieldCell:nil updatedWithField:switchField];
XCTAssertNotNil(switchField.styles);
XCTAssertEqualObjects([switchField.styles objectForKey:@"tint_color"], @"#FF0000");
XCTAssertEqualObjects([switchField.styles objectForKey:@"background_color"], @"#FFFFFF");

// Text Field Styles
FORMField *textField = [dataSource fieldWithID:@"styled_text_field" includingHiddenFields:NO];
Expand Down
10 changes: 5 additions & 5 deletions Tests/FORMDataTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -824,16 +824,16 @@ - (void)testInitializatingASegmentFieldWithAValueInTheJSON {
XCTAssertEqualObjects(formData.values[@"segment"], @"part_1");
}

- (void)testInitializatingAToggleFieldWithAValueInTheJSON {
NSArray *JSON = [NSJSONSerialization JSONObjectWithContentsOfFile:@"toggle-field.json"
- (void)testInitializatingASwitchFieldWithAValueInTheJSON {
NSArray *JSON = [NSJSONSerialization JSONObjectWithContentsOfFile:@"switch-field.json"
inBundle:[NSBundle bundleForClass:[self class]]];

FORMData *formData = [[FORMData alloc] initWithJSON:JSON
initialValues:nil
disabledFieldIDs:nil
disabled:NO];

XCTAssertEqualObjects(formData.values[@"toggle"], @YES);
XCTAssertEqualObjects(formData.values[@"switch"], @YES);
}

- (void)testFieldStyles {
Expand Down Expand Up @@ -874,8 +874,8 @@ - (void)testFieldStyles {
XCTAssertEqualObjects([field.styles objectForKey:@"font"], @"AvenirNext-DemiBold");
XCTAssertEqualObjects([field.styles objectForKey:@"font_size"], @"16.0");

// Toggle Styles
field = [formData fieldWithID:@"styled_toggle" includingHiddenFields:NO];
// Switch Styles
field = [formData fieldWithID:@"styled_switch" includingHiddenFields:NO];
XCTAssertNotNil(field);
XCTAssertNotNil(field.styles);

Expand Down
12 changes: 6 additions & 6 deletions Tests/FORMFieldTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -187,20 +187,20 @@ - (void)testInitWithDictionary {
XCTAssertNil(field.validation);
XCTAssertFalse(field.hidden);

field = [[FORMField alloc] initWithDictionary:@{@"id": @"toggle_control",
@"title": @"Toggle Control",
field = [[FORMField alloc] initWithDictionary:@{@"id": @"switch_control",
@"title": @"Switch Control",
@"accessibility_label": @"Accessibility label",
@"type": @"toggle",
@"type": @"switch",
@"value": @YES,
@"size": @{@"width": @30,
@"height": @1}
}
position:1
disabled:NO
disabledFieldsIDs:@[@"toggle_control"]];
disabledFieldsIDs:@[@"switch_control"]];
XCTAssertNotNil(field);
XCTAssertEqualObjects(field.typeString, @"toggle");
XCTAssertTrue(field.type == FORMFieldTypeToggle);
XCTAssertEqualObjects(field.typeString, @"switch");
XCTAssertTrue(field.type == FORMFieldTypeSwitch);

XCTAssertEqualObjects(field.value, @YES);
XCTAssertEqualObjects(field.accessibilityLabel, @"Accessibility label");
Expand Down
Loading