forked from 3lvis/Form
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request 3lvis#421 from jeffleeismyhero/feature/counter-field
Add Counter Type field with controls
- Loading branch information
Showing
13 changed files
with
132 additions
and
6 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -86,6 +86,9 @@ | |
44713C611AE8E9DC00AA97DA /* simple-number-field.json in Resources */ = {isa = PBXBuildFile; fileRef = 44713C601AE8E9DC00AA97DA /* simple-number-field.json */; }; | ||
44932E771AE79BBD00A159BE /* simple-section.json in Resources */ = {isa = PBXBuildFile; fileRef = 44932E761AE79BBD00A159BE /* simple-section.json */; }; | ||
4496E4961AE7913400F731C9 /* simple-text-field.json in Resources */ = {isa = PBXBuildFile; fileRef = 4496E4951AE7913400F731C9 /* simple-text-field.json */; }; | ||
7A7DC4A11B1E18810056E846 /* counter-field.json in Resources */ = {isa = PBXBuildFile; fileRef = 7A7DC4A01B1E18810056E846 /* counter-field.json */; }; | ||
7A7DC4A41B1E197A0056E846 /* [email protected] in Resources */ = {isa = PBXBuildFile; fileRef = 7A7DC4A21B1E197A0056E846 /* [email protected] */; }; | ||
7A7DC4A51B1E197A0056E846 /* [email protected] in Resources */ = {isa = PBXBuildFile; fileRef = 7A7DC4A31B1E197A0056E846 /* [email protected] */; }; | ||
8EC9C8158643C507F883EEC4 /* Pods.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4E09ABAE07DB25A266537B76 /* Pods.framework */; settings = {ATTRIBUTES = (Weak, ); }; }; | ||
BD2405701AE6B38D00592E19 /* default-values-in-template.json in Resources */ = {isa = PBXBuildFile; fileRef = BD24056F1AE6B38D00592E19 /* default-values-in-template.json */; }; | ||
BD5845751AC4074600596C62 /* FORMTooltipView.m in Sources */ = {isa = PBXBuildFile; fileRef = BD5845741AC4074600596C62 /* FORMTooltipView.m */; }; | ||
|
@@ -166,7 +169,7 @@ | |
144A28981A99B2CF004A9086 /* FORMClassFactory.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FORMClassFactory.h; sourceTree = "<group>"; }; | ||
144A28991A99B2CF004A9086 /* FORMClassFactory.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = FORMClassFactory.m; sourceTree = "<group>"; }; | ||
144A289A1A99B2CF004A9086 /* FORMField.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FORMField.h; sourceTree = "<group>"; }; | ||
144A289B1A99B2CF004A9086 /* FORMField.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = FORMField.m; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objc; }; | ||
144A289B1A99B2CF004A9086 /* FORMField.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = FORMField.m; sourceTree = "<group>"; }; | ||
144A289C1A99B2CF004A9086 /* FORMFieldValidation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FORMFieldValidation.h; sourceTree = "<group>"; }; | ||
144A289D1A99B2CF004A9086 /* FORMFieldValidation.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = FORMFieldValidation.m; sourceTree = "<group>"; }; | ||
144A289E1A99B2CF004A9086 /* FORMFieldValue.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FORMFieldValue.h; sourceTree = "<group>"; }; | ||
|
@@ -231,6 +234,9 @@ | |
4496E4951AE7913400F731C9 /* simple-text-field.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "simple-text-field.json"; sourceTree = "<group>"; }; | ||
4E09ABAE07DB25A266537B76 /* Pods.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods.framework; sourceTree = BUILT_PRODUCTS_DIR; }; | ||
653AC6BBDF66E205BA44BA17 /* Pods.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = Pods.release.xcconfig; path = "Pods/Target Support Files/Pods/Pods.release.xcconfig"; sourceTree = "<group>"; }; | ||
7A7DC4A01B1E18810056E846 /* counter-field.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "counter-field.json"; sourceTree = "<group>"; }; | ||
7A7DC4A21B1E197A0056E846 /* [email protected] */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "[email protected]"; sourceTree = "<group>"; }; | ||
7A7DC4A31B1E197A0056E846 /* [email protected] */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "[email protected]"; sourceTree = "<group>"; }; | ||
BD24056F1AE6B38D00592E19 /* default-values-in-template.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "default-values-in-template.json"; sourceTree = "<group>"; }; | ||
BD5845731AC4074600596C62 /* FORMTooltipView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FORMTooltipView.h; sourceTree = "<group>"; }; | ||
BD5845741AC4074600596C62 /* FORMTooltipView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = FORMTooltipView.m; sourceTree = "<group>"; }; | ||
|
@@ -446,6 +452,7 @@ | |
44713C601AE8E9DC00AA97DA /* simple-number-field.json */, | ||
44932E761AE79BBD00A159BE /* simple-section.json */, | ||
4496E4951AE7913400F731C9 /* simple-text-field.json */, | ||
7A7DC4A01B1E18810056E846 /* counter-field.json */, | ||
); | ||
path = JSONs; | ||
sourceTree = "<group>"; | ||
|
@@ -551,6 +558,8 @@ | |
14F5949E1AE0618300772756 /* Assets */ = { | ||
isa = PBXGroup; | ||
children = ( | ||
7A7DC4A21B1E197A0056E846 /* [email protected] */, | ||
7A7DC4A31B1E197A0056E846 /* [email protected] */, | ||
14F5949F1AE0618300772756 /* [email protected] */, | ||
14F594A01AE0618300772756 /* [email protected] */, | ||
14F594A11AE0618300772756 /* [email protected] */, | ||
|
@@ -647,11 +656,13 @@ | |
149C292C1A9A23DD00F88B91 /* multiple-show-hide-field-targets.json in Resources */, | ||
14B564731A06D87B00342CDA /* .travis.yml in Resources */, | ||
BD92FBDA1AE61FF000D45BD4 /* dynamic-formulas.json in Resources */, | ||
7A7DC4A11B1E18810056E846 /* counter-field.json in Resources */, | ||
149C292A1A9A23DD00F88B91 /* default-values.json in Resources */, | ||
44713C611AE8E9DC00AA97DA /* simple-number-field.json in Resources */, | ||
14C4183D1A019A1500636FD6 /* LICENSE.md in Resources */, | ||
149C292B1A9A23DD00F88B91 /* field-validations.json in Resources */, | ||
4496E4961AE7913400F731C9 /* simple-text-field.json in Resources */, | ||
7A7DC4A41B1E197A0056E846 /* [email protected] in Resources */, | ||
14F594A41AE0618300772756 /* [email protected] in Resources */, | ||
1492C05A1A9F740900D80D91 /* dynamic.json in Resources */, | ||
149C29331A9A251800F88B91 /* forms.json in Resources */, | ||
|
@@ -662,6 +673,7 @@ | |
144B80291AA882DB009C69DC /* section-field-position.json in Resources */, | ||
44932E771AE79BBD00A159BE /* simple-section.json in Resources */, | ||
149C292E1A9A23DD00F88B91 /* number-formula.json in Resources */, | ||
7A7DC4A51B1E197A0056E846 /* [email protected] in Resources */, | ||
14F594A51AE0618300772756 /* [email protected] in Resources */, | ||
14F594A31AE0618300772756 /* [email protected] in Resources */, | ||
14F594A61AE0618300772756 /* [email protected] in Resources */, | ||
|
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,23 @@ | ||
[ | ||
{ | ||
"id": "group", | ||
"title": "Group", | ||
"sections": [ | ||
{ | ||
"id": "section", | ||
"fields": [ | ||
{ | ||
"id": "count", | ||
"title": "My Counter", | ||
"type": "counter", | ||
"value": "1", | ||
"size": { | ||
"width": 25, | ||
"height": 1 | ||
} | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] |