This repository has been archived by the owner on Mar 7, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 145
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update README.md * Use hex instead of fromHex * Removes phone number formatting. * Add Spacer field type for styling and separation * Correct merge conflicts * Correct merge conflicts * Remove unused implementation file * Revert "Remove unused implementation file" This reverts commit e614625. * Remove unused method within FORMSpacerFieldCell * Remove unused layoutSubviews method Add updateWithField method back
- Loading branch information
1 parent
15d67a5
commit 16e716e
Showing
7 changed files
with
66 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
@import UIKit; | ||
|
||
#import "FORMBaseFieldCell.h" | ||
|
||
static NSString * const FORMSpacerFieldCellIdentifier = @"FORMSpacerFieldCellIdentifier"; | ||
|
||
@interface FORMSpacerFieldCell : FORMBaseFieldCell | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#import "FORMSpacerFieldCell.h" | ||
@import Hex; | ||
|
||
@interface FORMSpacerFieldCell () | ||
|
||
@end | ||
|
||
@implementation FORMSpacerFieldCell | ||
|
||
- (instancetype)initWithFrame:(CGRect)frame { | ||
self = [super initWithFrame:frame]; | ||
if (!self) return nil; | ||
|
||
self.headingLabel.hidden = YES; | ||
|
||
return self; | ||
} | ||
|
||
#pragma mark - FORMBaseFormFieldCell | ||
|
||
- (void)updateWithField:(FORMField *)field { | ||
[super updateWithField:field]; | ||
|
||
self.headingLabel.hidden = YES; | ||
} | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
Tests/Tests.xcodeproj/project.xcworkspace/contents.xcworkspacedata
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.