XLForm.m 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. //
  2. // XLForm.m
  3. // XLForm ( https://github.com/xmartlabs/XLForm )
  4. //
  5. // Copyright (c) 2015 Xmartlabs ( http://xmartlabs.com )
  6. //
  7. //
  8. // Permission is hereby granted, free of charge, to any person obtaining a copy
  9. // of this software and associated documentation files (the "Software"), to deal
  10. // in the Software without restriction, including without limitation the rights
  11. // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  12. // copies of the Software, and to permit persons to whom the Software is
  13. // furnished to do so, subject to the following conditions:
  14. //
  15. // The above copyright notice and this permission notice shall be included in
  16. // all copies or substantial portions of the Software.
  17. //
  18. // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  19. // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  20. // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  21. // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  22. // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  23. // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  24. // THE SOFTWARE.
  25. #import "XLForm.h"
  26. NSString *const XLFormRowDescriptorTypeText = @"text";
  27. NSString *const XLFormRowDescriptorTypeName = @"name";
  28. NSString *const XLFormRowDescriptorTypeURL = @"url";
  29. NSString *const XLFormRowDescriptorTypeEmail = @"email";
  30. NSString *const XLFormRowDescriptorTypePassword = @"password";
  31. NSString *const XLFormRowDescriptorTypeNumber = @"number";
  32. NSString *const XLFormRowDescriptorTypePhone = @"phone";
  33. NSString *const XLFormRowDescriptorTypeTwitter = @"twitter";
  34. NSString *const XLFormRowDescriptorTypeAccount = @"account";
  35. NSString *const XLFormRowDescriptorTypeInteger = @"integer";
  36. NSString *const XLFormRowDescriptorTypeImage = @"image";
  37. NSString *const XLFormRowDescriptorTypeDecimal = @"decimal";
  38. NSString *const XLFormRowDescriptorTypeTextView = @"textView";
  39. NSString *const XLFormRowDescriptorTypeZipCode = @"zipCode";
  40. NSString *const XLFormRowDescriptorTypeSelectorPush = @"selectorPush";
  41. NSString *const XLFormRowDescriptorTypeSelectorPopover = @"selectorPopover";
  42. NSString *const XLFormRowDescriptorTypeSelectorActionSheet = @"selectorActionSheet";
  43. NSString *const XLFormRowDescriptorTypeSelectorAlertView = @"selectorAlertView";
  44. NSString *const XLFormRowDescriptorTypeSelectorPickerView = @"selectorPickerView";
  45. NSString *const XLFormRowDescriptorTypeSelectorPickerViewInline = @"selectorPickerViewInline";
  46. NSString *const XLFormRowDescriptorTypeMultipleSelector = @"multipleSelector";
  47. NSString *const XLFormRowDescriptorTypeMultipleSelectorPopover = @"multipleSelectorPopover";
  48. NSString *const XLFormRowDescriptorTypeSelectorLeftRight = @"selectorLeftRight";
  49. NSString *const XLFormRowDescriptorTypeSelectorSegmentedControl = @"selectorSegmentedControl";
  50. NSString *const XLFormRowDescriptorTypeDateInline = @"dateInline";
  51. NSString *const XLFormRowDescriptorTypeDateTimeInline = @"datetimeInline";
  52. NSString *const XLFormRowDescriptorTypeTimeInline = @"timeInline";
  53. NSString *const XLFormRowDescriptorTypeCountDownTimerInline = @"countDownTimerInline";
  54. NSString *const XLFormRowDescriptorTypeDate = @"date";
  55. NSString *const XLFormRowDescriptorTypeDateTime = @"datetime";
  56. NSString *const XLFormRowDescriptorTypeTime = @"time";
  57. NSString *const XLFormRowDescriptorTypeCountDownTimer = @"countDownTimer";
  58. NSString *const XLFormRowDescriptorTypeDatePicker = @"datePicker";
  59. NSString *const XLFormRowDescriptorTypePicker = @"picker";
  60. NSString *const XLFormRowDescriptorTypeSlider = @"slider";
  61. NSString *const XLFormRowDescriptorTypeBooleanCheck = @"booleanCheck";
  62. NSString *const XLFormRowDescriptorTypeBooleanSwitch = @"booleanSwitch";
  63. NSString *const XLFormRowDescriptorTypeButton = @"button";
  64. NSString *const XLFormRowDescriptorTypeInfo = @"info";
  65. NSString *const XLFormRowDescriptorTypeStepCounter = @"stepCounter";