From 29da1eebeea7ddca4d6951830a7874cf40de2a49 Mon Sep 17 00:00:00 2001 From: Roman Efimov Date: Tue, 2 Apr 2013 10:19:23 -0500 Subject: [PATCH] Add REFormattedNumberField as a dependency --- RETableViewManagerExample/Podfile | 1 + RETableViewManagerExample/Podfile.lock | 3 + .../REFormattedNumberField.h | 1 + .../REFormattedNumberField.h | 1 + .../Pods/Pods-Acknowledgements.markdown | 22 + .../Pods/Pods-Acknowledgements.plist | 26 + RETableViewManagerExample/Pods/Pods.xcconfig | 4 +- .../Pods/Pods.xcodeproj/project.pbxproj | 1556 +++++++++-------- .../Pods/REFormattedNumberField/LICENSE | 19 + .../Pods/REFormattedNumberField/README.md | 88 + .../REFormattedNumberField.podspec | 17 + .../REFormattedNumberField.h | 3 +- .../REFormattedNumberField.m | 11 +- .../project.pbxproj | 15 - .../Classes/Controllers/ListViewController.m | 2 +- 15 files changed, 1005 insertions(+), 764 deletions(-) create mode 120000 RETableViewManagerExample/Pods/BuildHeaders/REFormattedNumberField/REFormattedNumberField.h create mode 120000 RETableViewManagerExample/Pods/Headers/REFormattedNumberField/REFormattedNumberField.h create mode 100644 RETableViewManagerExample/Pods/REFormattedNumberField/LICENSE create mode 100644 RETableViewManagerExample/Pods/REFormattedNumberField/README.md create mode 100644 RETableViewManagerExample/Pods/REFormattedNumberField/REFormattedNumberField.podspec rename {REFormattedNumberField => RETableViewManagerExample/Pods/REFormattedNumberField/REFormattedNumberField}/REFormattedNumberField.h (91%) rename {REFormattedNumberField => RETableViewManagerExample/Pods/REFormattedNumberField/REFormattedNumberField}/REFormattedNumberField.m (89%) diff --git a/RETableViewManagerExample/Podfile b/RETableViewManagerExample/Podfile index cf1ba8b..7d56550 100644 --- a/RETableViewManagerExample/Podfile +++ b/RETableViewManagerExample/Podfile @@ -1,2 +1,3 @@ platform :ios, '5.0' +pod 'REFormattedNumberField' pod 'SDWebImage' diff --git a/RETableViewManagerExample/Podfile.lock b/RETableViewManagerExample/Podfile.lock index 8d5b782..70b4e77 100644 --- a/RETableViewManagerExample/Podfile.lock +++ b/RETableViewManagerExample/Podfile.lock @@ -1,13 +1,16 @@ PODS: +- REFormattedNumberField (1.0.2) - SDWebImage (3.2): - SDWebImage/MapKit (= 3.2) - SDWebImage/MapKit (3.2) DEPENDENCIES: +- REFormattedNumberField - SDWebImage SPEC CHECKSUMS: + REFormattedNumberField: a8031ed845b21935a8bd8f5a5bdcb735a4947d94 SDWebImage: 8082fe8d658ccafaaecd9e5ecda12ed01f09ba9c SDWebImage/MapKit: 8082fe8d658ccafaaecd9e5ecda12ed01f09ba9c diff --git a/RETableViewManagerExample/Pods/BuildHeaders/REFormattedNumberField/REFormattedNumberField.h b/RETableViewManagerExample/Pods/BuildHeaders/REFormattedNumberField/REFormattedNumberField.h new file mode 120000 index 0000000..144313e --- /dev/null +++ b/RETableViewManagerExample/Pods/BuildHeaders/REFormattedNumberField/REFormattedNumberField.h @@ -0,0 +1 @@ +../../REFormattedNumberField/REFormattedNumberField/REFormattedNumberField.h \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/Headers/REFormattedNumberField/REFormattedNumberField.h b/RETableViewManagerExample/Pods/Headers/REFormattedNumberField/REFormattedNumberField.h new file mode 120000 index 0000000..144313e --- /dev/null +++ b/RETableViewManagerExample/Pods/Headers/REFormattedNumberField/REFormattedNumberField.h @@ -0,0 +1 @@ +../../REFormattedNumberField/REFormattedNumberField/REFormattedNumberField.h \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/Pods-Acknowledgements.markdown b/RETableViewManagerExample/Pods/Pods-Acknowledgements.markdown index 35f0c60..5eb4fda 100644 --- a/RETableViewManagerExample/Pods/Pods-Acknowledgements.markdown +++ b/RETableViewManagerExample/Pods/Pods-Acknowledgements.markdown @@ -1,6 +1,28 @@ # Acknowledgements This application makes use of the following third party libraries: +## REFormattedNumberField + +Copyright (c) 2013 Roman Efimov (https://github.com/romaonthego). + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + ## SDWebImage Copyright (c) 2009 Olivier Poitrey diff --git a/RETableViewManagerExample/Pods/Pods-Acknowledgements.plist b/RETableViewManagerExample/Pods/Pods-Acknowledgements.plist index dc43d36..b298675 100644 --- a/RETableViewManagerExample/Pods/Pods-Acknowledgements.plist +++ b/RETableViewManagerExample/Pods/Pods-Acknowledgements.plist @@ -12,6 +12,32 @@ Type PSGroupSpecifier + + FooterText + Copyright (c) 2013 Roman Efimov (https://github.com/romaonthego). + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + Title + REFormattedNumberField + Type + PSGroupSpecifier + FooterText Copyright (c) 2009 Olivier Poitrey <rs@dailymotion.com> diff --git a/RETableViewManagerExample/Pods/Pods.xcconfig b/RETableViewManagerExample/Pods/Pods.xcconfig index 4794df6..83d8adf 100644 --- a/RETableViewManagerExample/Pods/Pods.xcconfig +++ b/RETableViewManagerExample/Pods/Pods.xcconfig @@ -1,7 +1,7 @@ ALWAYS_SEARCH_USER_PATHS = YES HEADER_SEARCH_PATHS = ${PODS_HEADERS_SEARCH_PATHS} OTHER_LDFLAGS = -ObjC -framework ImageIO -framework MapKit -PODS_BUILD_HEADERS_SEARCH_PATHS = "${PODS_ROOT}/BuildHeaders" "${PODS_ROOT}/BuildHeaders/SDWebImage" +PODS_BUILD_HEADERS_SEARCH_PATHS = "${PODS_ROOT}/BuildHeaders" "${PODS_ROOT}/BuildHeaders/REFormattedNumberField" "${PODS_ROOT}/BuildHeaders/SDWebImage" PODS_HEADERS_SEARCH_PATHS = ${PODS_PUBLIC_HEADERS_SEARCH_PATHS} -PODS_PUBLIC_HEADERS_SEARCH_PATHS = "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/SDWebImage" +PODS_PUBLIC_HEADERS_SEARCH_PATHS = "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/REFormattedNumberField" "${PODS_ROOT}/Headers/SDWebImage" PODS_ROOT = ${SRCROOT}/Pods \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/Pods.xcodeproj/project.pbxproj b/RETableViewManagerExample/Pods/Pods.xcodeproj/project.pbxproj index 5793b07..9d2f545 100644 --- a/RETableViewManagerExample/Pods/Pods.xcodeproj/project.pbxproj +++ b/RETableViewManagerExample/Pods/Pods.xcodeproj/project.pbxproj @@ -10,30 +10,7 @@ 46 objects - 008CE3DC1E664072B14ADD1D - - fileRef - 286FAFAD9A0A487F9358BCE5 - isa - PBXBuildFile - settings - - - 00BBD8A5267542F79874D4C1 - - children - - 8F62D234030543A2896B61FC - 92D3C91E98CA4D7293BAFE7F - - isa - PBXGroup - name - Targets Support Files - sourceTree - <group> - - 03F935667A014E39B0CDB038 + 07C9A549155C4778A28B1DB2 includeInIndex 1 @@ -42,31 +19,25 @@ lastKnownFileType sourcecode.c.h name - SDWebImageOperation.h + MKAnnotationView+WebCache.h path - SDWebImage/SDWebImage/SDWebImageOperation.h + SDWebImage/SDWebImage/MKAnnotationView+WebCache.h sourceTree SOURCE_ROOT - 0B826BEE223D484BA5AB8E92 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - SDWebImagePrefetcher.m - path - SDWebImage/SDWebImage/SDWebImagePrefetcher.m - sourceTree - SOURCE_ROOT - - 0D29B928699049E6920E9F13 + 0935F0EF31214D75945A4ECC fileRef - C576F9ED8BD64035979D0323 + C9793694B933425C976E92CD + isa + PBXBuildFile + settings + + + 0E09ACB9BF634B658B9F738C + + fileRef + 58744432FF4347DD955C9AC3 isa PBXBuildFile settings @@ -75,10 +46,38 @@ -fobjc-arc -DOS_OBJECT_USE_OBJC=0 - 0DE727EB81CC450A8C460ABF + 112D718AE43E485CA7931B56 + + children + + 865D0816C6E74BACAEA607A0 + + isa + PBXGroup + name + Frameworks + sourceTree + <group> + + 12C2CE41160943D1BC38BC94 + + includeInIndex + 1 + isa + PBXFileReference + lastKnownFileType + sourcecode.c.objc + name + SDWebImageDownloaderOperation.m + path + SDWebImage/SDWebImage/SDWebImageDownloaderOperation.m + sourceTree + SOURCE_ROOT + + 13459CBE86B94EF6AD799EC2 baseConfigurationReference - F173505387944A2781D2ADF4 + E49FB848FE69436B8F226AA9 buildSettings ALWAYS_SEARCH_USER_PATHS @@ -134,143 +133,10 @@ name Debug - 2623B9F48E4D4DDB8845047C - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - SDWebImageDecoder.h - path - SDWebImage/SDWebImage/SDWebImageDecoder.h - sourceTree - SOURCE_ROOT - - 2841AD1BE1734D018820E17A - - children - - 63BA17954E014468BEE07230 - - isa - PBXGroup - name - Pods - sourceTree - <group> - - 286FAFAD9A0A487F9358BCE5 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - SDWebImageCompat.h - path - SDWebImage/SDWebImage/SDWebImageCompat.h - sourceTree - SOURCE_ROOT - - 28B7207989F94E1EAEB6D4E8 - - buildConfigurations - - D5CE879847AC4921B46F7C03 - 0DE727EB81CC450A8C460ABF - - defaultConfigurationIsVisible - 0 - defaultConfigurationName - Release - isa - XCConfigurationList - - 2A6E501FCC204114A6B2F73C + 16A7444F83DF45439E5E74FC fileRef - C34316097CA54AD38A9C85E9 - isa - PBXBuildFile - settings - - - 2BB1E14CD5C2497BB8235035 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - UIImageView+WebCache.m - path - SDWebImage/SDWebImage/UIImageView+WebCache.m - sourceTree - SOURCE_ROOT - - 34520C204415431E85A8A705 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - SDWebImageDownloaderOperation.h - path - SDWebImage/SDWebImage/SDWebImageDownloaderOperation.h - sourceTree - SOURCE_ROOT - - 355C494C1650405E891FDEDA - - includeInIndex - 1 - isa - PBXFileReference - name - Pods-prefix.pch - path - Pods-prefix.pch - sourceTree - SOURCE_ROOT - - 39CA0A4D829D4E17A71739D9 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - SDImageCache.h - path - SDWebImage/SDWebImage/SDImageCache.h - sourceTree - SOURCE_ROOT - - 3A2B75E7EB4E4B6BB6CBAD96 - - fileRef - 34520C204415431E85A8A705 - isa - PBXBuildFile - settings - - - 3A485360353C46E49F91051C - - fileRef - F719419DB9A64506A0129F5F + 96148C5A498B4D2885880466 isa PBXBuildFile settings @@ -279,414 +145,21 @@ -fobjc-arc -DOS_OBJECT_USE_OBJC=0 - 3BE76F09B9C4487680A9BBCD - - buildActionMask - 2147483647 - files - - F18321C439CA4F73B5B79F0E - 008CE3DC1E664072B14ADD1D - C579DC05295A46598810017B - E91A0279CCDB4F949E94A213 - 3A2B75E7EB4E4B6BB6CBAD96 - 7CF0BFAEB01F4FD19DB08DC9 - F3E9D311AD9E4309B4E52BD3 - BBCDBB61721C4C2C8E497459 - F57AA4395868451EBEE64919 - 2A6E501FCC204114A6B2F73C - A4D7009FE73A4A259A2C42DB - - isa - PBXHeadersBuildPhase - runOnlyForDeploymentPostprocessing - 0 - - 3C0DEE78DBD6487A8DE0F0AB - - buildConfigurationList - 28B7207989F94E1EAEB6D4E8 - buildPhases - - FFF4A1C8F77F41D9A91E3A19 - DCBFDE08C3924808A2985E02 - 3BE76F09B9C4487680A9BBCD - - buildRules - - dependencies - - isa - PBXNativeTarget - name - Pods - productName - Pods - productReference - 993144B96FB64384BAD9D0C3 - productType - com.apple.product-type.library.static - - 4E95CE961530420C8E67B000 - - buildSettings - - isa - XCBuildConfiguration - name - Debug - - 5BDEABBB79294A2EBB2E113B - - fileRef - DB7EC4994F094EE0AED191A0 - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -fobjc-arc -DOS_OBJECT_USE_OBJC=0 - - - 5C25639BB0B444159415F9F2 + 18E8F89BC9C844B9A0343A9B children - 993144B96FB64384BAD9D0C3 + 900F786F448A4A1580241E20 + 2974964939814AC7A468E68C isa PBXGroup name - Products + REFormattedNumberField sourceTree <group> - 5F55FB5553BD440C870CE270 - - attributes - - LastUpgradeCheck - 0450 - - buildConfigurationList - CAFD1C1D0DF1461F8DC11AD5 - compatibilityVersion - Xcode 3.2 - developmentRegion - English - hasScannedForEncodings - 0 - isa - PBXProject - knownRegions - - en - - mainGroup - BAF76AC9E8474063AC389A06 - productRefGroup - 5C25639BB0B444159415F9F2 - projectReferences - - targets - - 3C0DEE78DBD6487A8DE0F0AB - - - 63BA17954E014468BEE07230 - - children - - 39CA0A4D829D4E17A71739D9 - 286FAFAD9A0A487F9358BCE5 - 2623B9F48E4D4DDB8845047C - BFD87FE921C946978A8D6B05 - 34520C204415431E85A8A705 - 6747B0E1F1B341C98258A691 - 03F935667A014E39B0CDB038 - EF11B1287FDB410EA73A3C0F - E34C595271604412AEE84ADA - E5489D15FE394BF0AF9C4E6E - F719419DB9A64506A0129F5F - 880AA0523C224DE9A19799F8 - C576F9ED8BD64035979D0323 - F50E158301C24F089A1FE806 - 0B826BEE223D484BA5AB8E92 - 7ED49CADA9854ADEAE333F82 - C34316097CA54AD38A9C85E9 - DB7EC4994F094EE0AED191A0 - 2BB1E14CD5C2497BB8235035 - 8D526E38A29A413683E1EC4C - - isa - PBXGroup - name - SDWebImage - sourceTree - <group> - - 6747B0E1F1B341C98258A691 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - SDWebImageManager.h - path - SDWebImage/SDWebImage/SDWebImageManager.h - sourceTree - SOURCE_ROOT - - 7436B75589324DF1AB79CCFB - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - MKAnnotationView+WebCache.h - path - SDWebImage/SDWebImage/MKAnnotationView+WebCache.h - sourceTree - SOURCE_ROOT - - 7CF0BFAEB01F4FD19DB08DC9 - - fileRef - 6747B0E1F1B341C98258A691 - isa - PBXBuildFile - settings - - - 7ED49CADA9854ADEAE333F82 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - UIButton+WebCache.h - path - SDWebImage/SDWebImage/UIButton+WebCache.h - sourceTree - SOURCE_ROOT - - 880AA0523C224DE9A19799F8 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - SDWebImageDownloader.m - path - SDWebImage/SDWebImage/SDWebImageDownloader.m - sourceTree - SOURCE_ROOT - - 8D526E38A29A413683E1EC4C - - children - - 7436B75589324DF1AB79CCFB - BF5355E67A7F4FC9B560BAF4 - - isa - PBXGroup - name - MapKit - sourceTree - <group> - - 8D649866E28E4FB6B90779FB - - buildSettings - - isa - XCBuildConfiguration - name - Release - - 8F62D234030543A2896B61FC - - children - - B7A52A1D8F634E87B37191EA - 355C494C1650405E891FDEDA - F173505387944A2781D2ADF4 - - isa - PBXGroup - name - Pods - sourceTree - <group> - - 92D3C91E98CA4D7293BAFE7F - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - PodsDummy_Pods.m - path - PodsDummy_Pods.m - sourceTree - SOURCE_ROOT - - 993144B96FB64384BAD9D0C3 - - explicitFileType - archive.ar - includeInIndex - 0 - isa - PBXFileReference - name - libPods.a - path - libPods.a - sourceTree - BUILT_PRODUCTS_DIR - - A43A87B6126649FA9BFCBB36 - - fileRef - E5489D15FE394BF0AF9C4E6E - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -fobjc-arc -DOS_OBJECT_USE_OBJC=0 - - - A4D7009FE73A4A259A2C42DB - - fileRef - 7436B75589324DF1AB79CCFB - isa - PBXBuildFile - settings - - - AD7D4B80B9364A6D83B37F6C - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - wrapper.framework - name - Foundation.framework - path - Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk/System/Library/Frameworks/Foundation.framework - sourceTree - DEVELOPER_DIR - - AF57C2ABCF844983AD704C86 - - fileRef - BF5355E67A7F4FC9B560BAF4 - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -fobjc-arc -DOS_OBJECT_USE_OBJC=0 - - - B7A52A1D8F634E87B37191EA - - includeInIndex - 1 - isa - PBXFileReference - name - Pods-resources.sh - path - Pods-resources.sh - sourceTree - SOURCE_ROOT - - B7DD38B225FC4D718425AB92 - - fileRef - 880AA0523C224DE9A19799F8 - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -fobjc-arc -DOS_OBJECT_USE_OBJC=0 - - - BAF76AC9E8474063AC389A06 - - children - - 5C25639BB0B444159415F9F2 - BCB4BB7358734C40BFB0A726 - 2841AD1BE1734D018820E17A - 00BBD8A5267542F79874D4C1 - - isa - PBXGroup - sourceTree - <group> - - BBCDBB61721C4C2C8E497459 - - fileRef - EF11B1287FDB410EA73A3C0F - isa - PBXBuildFile - settings - - - BCB4BB7358734C40BFB0A726 - - children - - AD7D4B80B9364A6D83B37F6C - - isa - PBXGroup - name - Frameworks - sourceTree - <group> - - BF5355E67A7F4FC9B560BAF4 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - MKAnnotationView+WebCache.m - path - SDWebImage/SDWebImage/MKAnnotationView+WebCache.m - sourceTree - SOURCE_ROOT - - BFD87FE921C946978A8D6B05 + 194C2BAD108B408A9F64886D includeInIndex 1 @@ -701,10 +174,54 @@ sourceTree SOURCE_ROOT - C06D8DFE9D9647C391B8C07C + 1A7C986ECB0E465CB871CA1B + + includeInIndex + 1 + isa + PBXFileReference + lastKnownFileType + sourcecode.c.objc + name + UIImageView+WebCache.m + path + SDWebImage/SDWebImage/UIImageView+WebCache.m + sourceTree + SOURCE_ROOT + + 1A829DFF8FCB471D9C10A129 + + children + + 07C9A549155C4778A28B1DB2 + 5FE05690C4BA45768579E7D5 + + isa + PBXGroup + name + MapKit + sourceTree + <group> + + 1C0BAAABE96345BD99E13F58 + + includeInIndex + 1 + isa + PBXFileReference + lastKnownFileType + sourcecode.c.h + name + SDWebImagePrefetcher.h + path + SDWebImage/SDWebImage/SDWebImagePrefetcher.h + sourceTree + SOURCE_ROOT + + 1E5ECE1FDE8D4D638F239F8B fileRef - E34C595271604412AEE84ADA + 1A7C986ECB0E465CB871CA1B isa PBXBuildFile settings @@ -713,16 +230,147 @@ -fobjc-arc -DOS_OBJECT_USE_OBJC=0 - C1E8B76E310645C083B386A8 + 1F4C2C84536246EFABA0A415 + + buildConfigurationList + 76919560FF594FF7B29A6220 + buildPhases + + 57C1AD67DAE7431CA28F6594 + FECF303899B94E7A961A1553 + 6B782E672BB248BCAA18955F + + buildRules + + dependencies + + isa + PBXNativeTarget + name + Pods + productName + Pods + productReference + E07DE924801A4FF892185C15 + productType + com.apple.product-type.library.static + + 2140EBB9069F495092A68C41 fileRef - AD7D4B80B9364A6D83B37F6C + 9F20F9F6D7CA4AE6B3845A0E isa PBXBuildFile settings - C34316097CA54AD38A9C85E9 + 21E99DF3831F4387ACAC6840 + + fileRef + 2A0349D281134B9C90E13555 + isa + PBXBuildFile + settings + + COMPILER_FLAGS + -fobjc-arc -DOS_OBJECT_USE_OBJC=0 + + + 23DFA847552C435B9CA226F0 + + fileRef + 12C2CE41160943D1BC38BC94 + isa + PBXBuildFile + settings + + COMPILER_FLAGS + -fobjc-arc -DOS_OBJECT_USE_OBJC=0 + + + 259892F8B7324FC4BFF6ED64 + + fileRef + C0525408BA88459590C4A64C + isa + PBXBuildFile + settings + + + 2974964939814AC7A468E68C + + includeInIndex + 1 + isa + PBXFileReference + lastKnownFileType + sourcecode.c.objc + name + REFormattedNumberField.m + path + REFormattedNumberField/REFormattedNumberField/REFormattedNumberField.m + sourceTree + SOURCE_ROOT + + 29BEFE7EE8F440F286ACE854 + + includeInIndex + 1 + isa + PBXFileReference + name + Pods-prefix.pch + path + Pods-prefix.pch + sourceTree + SOURCE_ROOT + + 2A0349D281134B9C90E13555 + + includeInIndex + 1 + isa + PBXFileReference + lastKnownFileType + sourcecode.c.objc + name + UIButton+WebCache.m + path + SDWebImage/SDWebImage/UIButton+WebCache.m + sourceTree + SOURCE_ROOT + + 3205FF16C3ED47F0975390FB + + fileRef + 7048BD7855A742A783583740 + isa + PBXBuildFile + settings + + + 35637C85B1AB407DBD6CC033 + + fileRef + E749037BC1464C5288EB9AED + isa + PBXBuildFile + settings + + + 371D1B942BA845B18012333E + + fileRef + 47511AB630B64B079FD8AD06 + isa + PBXBuildFile + settings + + COMPILER_FLAGS + -fobjc-arc -DOS_OBJECT_USE_OBJC=0 + + + 43FC4751E01B4D238AFD29E5 includeInIndex 1 @@ -737,19 +385,7 @@ sourceTree SOURCE_ROOT - C4F964353D0D49B4B7D4089F - - fileRef - 0B826BEE223D484BA5AB8E92 - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -fobjc-arc -DOS_OBJECT_USE_OBJC=0 - - - C576F9ED8BD64035979D0323 + 47511AB630B64B079FD8AD06 includeInIndex 1 @@ -758,51 +394,16 @@ lastKnownFileType sourcecode.c.objc name - SDWebImageDownloaderOperation.m + SDWebImagePrefetcher.m path - SDWebImage/SDWebImage/SDWebImageDownloaderOperation.m + SDWebImage/SDWebImage/SDWebImagePrefetcher.m sourceTree SOURCE_ROOT - C579DC05295A46598810017B - - fileRef - 2623B9F48E4D4DDB8845047C - isa - PBXBuildFile - settings - - - CA2578D3D57D42ED91922859 - - fileRef - 2BB1E14CD5C2497BB8235035 - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -fobjc-arc -DOS_OBJECT_USE_OBJC=0 - - - CAFD1C1D0DF1461F8DC11AD5 - - buildConfigurations - - 8D649866E28E4FB6B90779FB - 4E95CE961530420C8E67B000 - - defaultConfigurationIsVisible - 0 - defaultConfigurationName - Release - isa - XCConfigurationList - - D5CE879847AC4921B46F7C03 + 4A0400FEA18149C3A443B012 baseConfigurationReference - F173505387944A2781D2ADF4 + E49FB848FE69436B8F226AA9 buildSettings ALWAYS_SEARCH_USER_PATHS @@ -859,35 +460,43 @@ name Release - DB7EC4994F094EE0AED191A0 + 5536A96616C448BB8FDF347E - includeInIndex - 1 + fileRef + 5FE05690C4BA45768579E7D5 isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - UIButton+WebCache.m - path - SDWebImage/SDWebImage/UIButton+WebCache.m - sourceTree - SOURCE_ROOT + PBXBuildFile + settings + + COMPILER_FLAGS + -fobjc-arc -DOS_OBJECT_USE_OBJC=0 + - DCBFDE08C3924808A2985E02 + 57C1AD67DAE7431CA28F6594 buildActionMask 2147483647 files - C1E8B76E310645C083B386A8 + F14585D14D3C4261AABB12B5 + 0E09ACB9BF634B658B9F738C + 16A7444F83DF45439E5E74FC + 868FFCDD41564DDAA9AC1308 + F561E644B52F41E1B7FDA83F + 23DFA847552C435B9CA226F0 + CDC5A315778745E38B66DA7C + 371D1B942BA845B18012333E + 21E99DF3831F4387ACAC6840 + 1E5ECE1FDE8D4D638F239F8B + 5536A96616C448BB8FDF347E + A2654C247A2A42BA954D33BE isa - PBXFrameworksBuildPhase + PBXSourcesBuildPhase runOnlyForDeploymentPostprocessing 0 - E34C595271604412AEE84ADA + 58744432FF4347DD955C9AC3 includeInIndex 1 @@ -902,7 +511,7 @@ sourceTree SOURCE_ROOT - E5489D15FE394BF0AF9C4E6E + 5FE05690C4BA45768579E7D5 includeInIndex 1 @@ -911,82 +520,37 @@ lastKnownFileType sourcecode.c.objc name - SDWebImageCompat.m + MKAnnotationView+WebCache.m path - SDWebImage/SDWebImage/SDWebImageCompat.m + SDWebImage/SDWebImage/MKAnnotationView+WebCache.m sourceTree SOURCE_ROOT - E91A0279CCDB4F949E94A213 + 6B782E672BB248BCAA18955F - fileRef - BFD87FE921C946978A8D6B05 + buildActionMask + 2147483647 + files + + EB5F2EBDBF2742C18F8E0DA9 + 3205FF16C3ED47F0975390FB + 259892F8B7324FC4BFF6ED64 + B3869F69455446EEAC925AEF + 98B4733FD8D04F08A1EA24F5 + 0935F0EF31214D75945A4ECC + 2140EBB9069F495092A68C41 + 35637C85B1AB407DBD6CC033 + C7AECA9055834CF2A5305FCC + CD8F05E105E74784A0F259F1 + D245A55A695E41DDB6254307 + F372B418A8154344BD3FBD53 + isa - PBXBuildFile - settings - + PBXHeadersBuildPhase + runOnlyForDeploymentPostprocessing + 0 - EDA501678F6F43BC84D0679E - - fileRef - F50E158301C24F089A1FE806 - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -fobjc-arc -DOS_OBJECT_USE_OBJC=0 - - - EF11B1287FDB410EA73A3C0F - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - SDWebImagePrefetcher.h - path - SDWebImage/SDWebImage/SDWebImagePrefetcher.h - sourceTree - SOURCE_ROOT - - F173505387944A2781D2ADF4 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - text.xcconfig - name - Pods.xcconfig - path - Pods.xcconfig - sourceTree - SOURCE_ROOT - - F18321C439CA4F73B5B79F0E - - fileRef - 39CA0A4D829D4E17A71739D9 - isa - PBXBuildFile - settings - - - F3E9D311AD9E4309B4E52BD3 - - fileRef - 03F935667A014E39B0CDB038 - isa - PBXBuildFile - settings - - - F50E158301C24F089A1FE806 + 6D14EFB3AA5E4520B6839C78 includeInIndex 1 @@ -1001,16 +565,22 @@ sourceTree SOURCE_ROOT - F57AA4395868451EBEE64919 + 7048BD7855A742A783583740 - fileRef - 7ED49CADA9854ADEAE333F82 + includeInIndex + 1 isa - PBXBuildFile - settings - + PBXFileReference + lastKnownFileType + sourcecode.c.h + name + SDImageCache.h + path + SDWebImage/SDWebImage/SDImageCache.h + sourceTree + SOURCE_ROOT - F719419DB9A64506A0129F5F + 71497CA4350B4D9B90BB4FD8 includeInIndex 1 @@ -1025,40 +595,538 @@ sourceTree SOURCE_ROOT - F9C9D859148546CE9BE84DAF + 76919560FF594FF7B29A6220 + + buildConfigurations + + 4A0400FEA18149C3A443B012 + 13459CBE86B94EF6AD799EC2 + + defaultConfigurationIsVisible + 0 + defaultConfigurationName + Release + isa + XCConfigurationList + + 865D0816C6E74BACAEA607A0 + + includeInIndex + 1 + isa + PBXFileReference + lastKnownFileType + wrapper.framework + name + Foundation.framework + path + Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk/System/Library/Frameworks/Foundation.framework + sourceTree + DEVELOPER_DIR + + 868FFCDD41564DDAA9AC1308 fileRef - 92D3C91E98CA4D7293BAFE7F + 71497CA4350B4D9B90BB4FD8 + isa + PBXBuildFile + settings + + COMPILER_FLAGS + -fobjc-arc -DOS_OBJECT_USE_OBJC=0 + + + 87D983EFF1F745BEAD42CAE2 + + includeInIndex + 1 + isa + PBXFileReference + lastKnownFileType + sourcecode.c.h + name + SDWebImageDecoder.h + path + SDWebImage/SDWebImage/SDWebImageDecoder.h + sourceTree + SOURCE_ROOT + + 8924129F9F50431D85463EBB + + children + + BE1E4A7541834B968E774748 + EA037E669A6F41C0847896B2 + + isa + PBXGroup + name + Targets Support Files + sourceTree + <group> + + 8D710A92503144A59FFC851B + + fileRef + 865D0816C6E74BACAEA607A0 isa PBXBuildFile settings - FFF4A1C8F77F41D9A91E3A19 + 8FD619BA1CF04CBABD06B1E1 + + children + + 7048BD7855A742A783583740 + C0525408BA88459590C4A64C + 87D983EFF1F745BEAD42CAE2 + 194C2BAD108B408A9F64886D + C9793694B933425C976E92CD + 9F20F9F6D7CA4AE6B3845A0E + E749037BC1464C5288EB9AED + 1C0BAAABE96345BD99E13F58 + 58744432FF4347DD955C9AC3 + 96148C5A498B4D2885880466 + 71497CA4350B4D9B90BB4FD8 + 9B01393CFED541148AC6B903 + 12C2CE41160943D1BC38BC94 + 6D14EFB3AA5E4520B6839C78 + 47511AB630B64B079FD8AD06 + BE8D2D90976549C2BCAD09AF + 43FC4751E01B4D238AFD29E5 + 2A0349D281134B9C90E13555 + 1A7C986ECB0E465CB871CA1B + 1A829DFF8FCB471D9C10A129 + + isa + PBXGroup + name + SDWebImage + sourceTree + <group> + + 900F786F448A4A1580241E20 + + includeInIndex + 1 + isa + PBXFileReference + lastKnownFileType + sourcecode.c.h + name + REFormattedNumberField.h + path + REFormattedNumberField/REFormattedNumberField/REFormattedNumberField.h + sourceTree + SOURCE_ROOT + + 96148C5A498B4D2885880466 + + includeInIndex + 1 + isa + PBXFileReference + lastKnownFileType + sourcecode.c.objc + name + SDWebImageCompat.m + path + SDWebImage/SDWebImage/SDWebImageCompat.m + sourceTree + SOURCE_ROOT + + 96DE7D71E1AC4E6FA9D48EA2 + + buildSettings + + isa + XCBuildConfiguration + name + Release + + 98B4733FD8D04F08A1EA24F5 + + fileRef + 194C2BAD108B408A9F64886D + isa + PBXBuildFile + settings + + + 9B01393CFED541148AC6B903 + + includeInIndex + 1 + isa + PBXFileReference + lastKnownFileType + sourcecode.c.objc + name + SDWebImageDownloader.m + path + SDWebImage/SDWebImage/SDWebImageDownloader.m + sourceTree + SOURCE_ROOT + + 9F20F9F6D7CA4AE6B3845A0E + + includeInIndex + 1 + isa + PBXFileReference + lastKnownFileType + sourcecode.c.h + name + SDWebImageManager.h + path + SDWebImage/SDWebImage/SDWebImageManager.h + sourceTree + SOURCE_ROOT + + A2654C247A2A42BA954D33BE + + fileRef + EA037E669A6F41C0847896B2 + isa + PBXBuildFile + settings + + + AC03DB0EB4B24CB28751B6F6 + + children + + E07DE924801A4FF892185C15 + + isa + PBXGroup + name + Products + sourceTree + <group> + + ACC06546F321453FA760042C + + includeInIndex + 1 + isa + PBXFileReference + name + Pods-resources.sh + path + Pods-resources.sh + sourceTree + SOURCE_ROOT + + B02BE409AB534C49B91A136C + + buildConfigurations + + 96DE7D71E1AC4E6FA9D48EA2 + F1C0382C23A84FC68AEAAFC7 + + defaultConfigurationIsVisible + 0 + defaultConfigurationName + Release + isa + XCConfigurationList + + B3869F69455446EEAC925AEF + + fileRef + 87D983EFF1F745BEAD42CAE2 + isa + PBXBuildFile + settings + + + BE1E4A7541834B968E774748 + + children + + ACC06546F321453FA760042C + 29BEFE7EE8F440F286ACE854 + E49FB848FE69436B8F226AA9 + + isa + PBXGroup + name + Pods + sourceTree + <group> + + BE8D2D90976549C2BCAD09AF + + includeInIndex + 1 + isa + PBXFileReference + lastKnownFileType + sourcecode.c.h + name + UIButton+WebCache.h + path + SDWebImage/SDWebImage/UIButton+WebCache.h + sourceTree + SOURCE_ROOT + + C0525408BA88459590C4A64C + + includeInIndex + 1 + isa + PBXFileReference + lastKnownFileType + sourcecode.c.h + name + SDWebImageCompat.h + path + SDWebImage/SDWebImage/SDWebImageCompat.h + sourceTree + SOURCE_ROOT + + C36198A3A4C84AA0A613B534 + + children + + 18E8F89BC9C844B9A0343A9B + 8FD619BA1CF04CBABD06B1E1 + + isa + PBXGroup + name + Pods + sourceTree + <group> + + C7AECA9055834CF2A5305FCC + + fileRef + 1C0BAAABE96345BD99E13F58 + isa + PBXBuildFile + settings + + + C8E40FC1F7BA420297B638FB + + children + + AC03DB0EB4B24CB28751B6F6 + 112D718AE43E485CA7931B56 + C36198A3A4C84AA0A613B534 + 8924129F9F50431D85463EBB + + isa + PBXGroup + sourceTree + <group> + + C9793694B933425C976E92CD + + includeInIndex + 1 + isa + PBXFileReference + lastKnownFileType + sourcecode.c.h + name + SDWebImageDownloaderOperation.h + path + SDWebImage/SDWebImage/SDWebImageDownloaderOperation.h + sourceTree + SOURCE_ROOT + + CD8F05E105E74784A0F259F1 + + fileRef + BE8D2D90976549C2BCAD09AF + isa + PBXBuildFile + settings + + + CDC5A315778745E38B66DA7C + + fileRef + 6D14EFB3AA5E4520B6839C78 + isa + PBXBuildFile + settings + + COMPILER_FLAGS + -fobjc-arc -DOS_OBJECT_USE_OBJC=0 + + + D245A55A695E41DDB6254307 + + fileRef + 43FC4751E01B4D238AFD29E5 + isa + PBXBuildFile + settings + + + E07DE924801A4FF892185C15 + + explicitFileType + archive.ar + includeInIndex + 0 + isa + PBXFileReference + name + libPods.a + path + libPods.a + sourceTree + BUILT_PRODUCTS_DIR + + E49FB848FE69436B8F226AA9 + + includeInIndex + 1 + isa + PBXFileReference + lastKnownFileType + text.xcconfig + name + Pods.xcconfig + path + Pods.xcconfig + sourceTree + SOURCE_ROOT + + E749037BC1464C5288EB9AED + + includeInIndex + 1 + isa + PBXFileReference + lastKnownFileType + sourcecode.c.h + name + SDWebImageOperation.h + path + SDWebImage/SDWebImage/SDWebImageOperation.h + sourceTree + SOURCE_ROOT + + EA037E669A6F41C0847896B2 + + includeInIndex + 1 + isa + PBXFileReference + lastKnownFileType + sourcecode.c.objc + name + PodsDummy_Pods.m + path + PodsDummy_Pods.m + sourceTree + SOURCE_ROOT + + EB5F2EBDBF2742C18F8E0DA9 + + fileRef + 900F786F448A4A1580241E20 + isa + PBXBuildFile + settings + + + EE55D5A535D94AE88ABE8AC9 + + attributes + + LastUpgradeCheck + 0450 + + buildConfigurationList + B02BE409AB534C49B91A136C + compatibilityVersion + Xcode 3.2 + developmentRegion + English + hasScannedForEncodings + 0 + isa + PBXProject + knownRegions + + en + + mainGroup + C8E40FC1F7BA420297B638FB + productRefGroup + AC03DB0EB4B24CB28751B6F6 + projectReferences + + targets + + 1F4C2C84536246EFABA0A415 + + + F14585D14D3C4261AABB12B5 + + fileRef + 2974964939814AC7A468E68C + isa + PBXBuildFile + settings + + COMPILER_FLAGS + -fobjc-arc -DOS_OBJECT_USE_OBJC=0 + + + F1C0382C23A84FC68AEAAFC7 + + buildSettings + + isa + XCBuildConfiguration + name + Debug + + F372B418A8154344BD3FBD53 + + fileRef + 07C9A549155C4778A28B1DB2 + isa + PBXBuildFile + settings + + + F561E644B52F41E1B7FDA83F + + fileRef + 9B01393CFED541148AC6B903 + isa + PBXBuildFile + settings + + COMPILER_FLAGS + -fobjc-arc -DOS_OBJECT_USE_OBJC=0 + + + FECF303899B94E7A961A1553 buildActionMask 2147483647 files - C06D8DFE9D9647C391B8C07C - A43A87B6126649FA9BFCBB36 - 3A485360353C46E49F91051C - B7DD38B225FC4D718425AB92 - 0D29B928699049E6920E9F13 - EDA501678F6F43BC84D0679E - C4F964353D0D49B4B7D4089F - 5BDEABBB79294A2EBB2E113B - CA2578D3D57D42ED91922859 - AF57C2ABCF844983AD704C86 - F9C9D859148546CE9BE84DAF + 8D710A92503144A59FFC851B isa - PBXSourcesBuildPhase + PBXFrameworksBuildPhase runOnlyForDeploymentPostprocessing 0 rootObject - 5F55FB5553BD440C870CE270 + EE55D5A535D94AE88ABE8AC9 diff --git a/RETableViewManagerExample/Pods/REFormattedNumberField/LICENSE b/RETableViewManagerExample/Pods/REFormattedNumberField/LICENSE new file mode 100644 index 0000000..a15fab6 --- /dev/null +++ b/RETableViewManagerExample/Pods/REFormattedNumberField/LICENSE @@ -0,0 +1,19 @@ +Copyright (c) 2013 Roman Efimov (https://github.com/romaonthego). + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/REFormattedNumberField/README.md b/RETableViewManagerExample/Pods/REFormattedNumberField/README.md new file mode 100644 index 0000000..bf43d44 --- /dev/null +++ b/RETableViewManagerExample/Pods/REFormattedNumberField/README.md @@ -0,0 +1,88 @@ +# REFormattedNumberField + +UITextField subclass that allows numeric input in a predefined format. + +![Screenshot of REFormattedNumberField](https://github.com/romaonthego/REFormattedNumberField/raw/master/Screenshot.png "REFormattedNumberField Screenshot") + +## Requirements +* Xcode 4.5 or higher +* Apple LLVM compiler +* iOS 5.0 or higher +* ARC + +## Demo + +Build and run the `REFormattedNumberFieldExample` project in Xcode to see `REFormattedNumberField` in action. + +## Installation + +### via CocoaPods + +The recommended approach for installating REFormattedNumberField is via the [CocoaPods](http://cocoapods.org/) package manager, as it provides flexible dependency management and dead simple installation. + +Install CocoaPods if not already available: + +``` bash +$ [sudo] gem install cocoapods +$ pod setup +``` + +Edit your Podfile and add REFormattedNumberField: + +``` bash +$ edit Podfile +platform :ios, '5.0' +pod 'REFormattedNumberField', '~> 1.0.2' +``` + +Install into your Xcode project: + +``` bash +$ pod install +``` + +### Simple Install + +All you need to do is drop `REFormattedNumberField` files into your project, and add `#include "REFormattedNumberField.h"` to the top of classes that will use it. + +## Example Usage + +Pretty much all you need is just to specify `format` NSString, where `X` are digits and all other characters are separators. + +``` objective-c +REFormattedNumberField *phoneField1 = [[REFormattedNumberField alloc] initWithFrame:CGRectMake(20, 20, 280, 30)]; +phoneField1.format = @"(XXX) XXX-XXXX"; +[self.view addSubview:phoneField1]; + +REFormattedNumberField *phoneField2 = [[REFormattedNumberField alloc] initWithFrame:CGRectMake(20, 80, 280, 30)]; +phoneField2.format = @"+X (XXX) XXX-XXXX"; +[self.view addSubview:phoneField2]; + +REFormattedNumberField *ccField = [[REFormattedNumberField alloc] initWithFrame:CGRectMake(20, 140, 280, 30)]; +ccField.format = @"XXXX XXXX XXXX XXXX"; +[self.view addSubview:ccField]; + +REFormattedNumberField *ccExpirationField = [[REFormattedNumberField alloc] initWithFrame:CGRectMake(20, 200, 280, 30)]; +ccExpirationField.format = @"XX/XX"; +[self.view addSubview:ccExpirationField]; +``` + +## Contact + +Roman Efimov + +- https://github.com/romaonthego +- https://twitter.com/romaonthego +- romefimov@gmail.com + +## License + +REFormattedNumberField is available under the MIT license. + +Copyright © 2013 Roman Efimov. + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/RETableViewManagerExample/Pods/REFormattedNumberField/REFormattedNumberField.podspec b/RETableViewManagerExample/Pods/REFormattedNumberField/REFormattedNumberField.podspec new file mode 100644 index 0000000..f4fb9ff --- /dev/null +++ b/RETableViewManagerExample/Pods/REFormattedNumberField/REFormattedNumberField.podspec @@ -0,0 +1,17 @@ +Pod::Spec.new do |s| + s.name = 'REFormattedNumberField' + s.version = '1.0.2' + s.authors = { 'Roman Efimov' => 'romefimov@gmail.com' } + s.homepage = 'https://github.com/romaonthego/REFormattedNumberField' + s.summary = 'UITextField subclass that allows number input in a predefined format.' + s.source = { :git => 'https://github.com/romaonthego/REFormattedNumberField.git', + :tag => '1.0.2' } + s.license = { :type => "MIT", :file => "LICENSE" } + + s.platform = :ios, '5.0' + s.requires_arc = true + s.source_files = 'REFormattedNumberField' + s.public_header_files = 'REFormattedNumberField/*.h' + + s.ios.deployment_target = '5.0' +end diff --git a/REFormattedNumberField/REFormattedNumberField.h b/RETableViewManagerExample/Pods/REFormattedNumberField/REFormattedNumberField/REFormattedNumberField.h similarity index 91% rename from REFormattedNumberField/REFormattedNumberField.h rename to RETableViewManagerExample/Pods/REFormattedNumberField/REFormattedNumberField/REFormattedNumberField.h index 426aa13..d71613f 100644 --- a/REFormattedNumberField/REFormattedNumberField.h +++ b/RETableViewManagerExample/Pods/REFormattedNumberField/REFormattedNumberField/REFormattedNumberField.h @@ -27,6 +27,7 @@ @interface REFormattedNumberField : UITextField -@property (copy, nonatomic) NSString *format; +@property (copy, readwrite, nonatomic) NSString *format; +@property (copy, readonly, nonatomic) NSString *unformattedText; @end diff --git a/REFormattedNumberField/REFormattedNumberField.m b/RETableViewManagerExample/Pods/REFormattedNumberField/REFormattedNumberField/REFormattedNumberField.m similarity index 89% rename from REFormattedNumberField/REFormattedNumberField.m rename to RETableViewManagerExample/Pods/REFormattedNumberField/REFormattedNumberField/REFormattedNumberField.m index 6efb8e4..e883294 100644 --- a/REFormattedNumberField/REFormattedNumberField.m +++ b/RETableViewManagerExample/Pods/REFormattedNumberField/REFormattedNumberField/REFormattedNumberField.m @@ -101,7 +101,16 @@ - (void)formatInput:(UITextField *)textField { - self.text = [self string:textField.text withNumberFormat:_format]; + __typeof (&*self) __weak weakSelf = self; + dispatch_async(dispatch_get_main_queue(), ^{ + textField.text = [weakSelf string:textField.text withNumberFormat:_format]; + }); +} + +- (NSString *)unformattedText +{ + NSRegularExpression *regex = [NSRegularExpression regularExpressionWithPattern:@"\\D" options:NSRegularExpressionCaseInsensitive error:NULL]; + return [regex stringByReplacingMatchesInString:self.text options:0 range:NSMakeRange(0, self.text.length) withTemplate:@""]; } @end diff --git a/RETableViewManagerExample/RETableViewManagerExample.xcodeproj/project.pbxproj b/RETableViewManagerExample/RETableViewManagerExample.xcodeproj/project.pbxproj index 9b55473..ca9c34d 100644 --- a/RETableViewManagerExample/RETableViewManagerExample.xcodeproj/project.pbxproj +++ b/RETableViewManagerExample/RETableViewManagerExample.xcodeproj/project.pbxproj @@ -30,7 +30,6 @@ 30DB067816E934AD006C9530 /* RETableViewManager.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 30DB066516E934AD006C9530 /* RETableViewManager.bundle */; }; 30DB067916E934AD006C9530 /* RETableViewManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 30DB066716E934AD006C9530 /* RETableViewManager.m */; }; 30DB067A16E934AD006C9530 /* RETableViewSection.m in Sources */ = {isa = PBXBuildFile; fileRef = 30DB066916E934AD006C9530 /* RETableViewSection.m */; }; - 30DB067E16E934C5006C9530 /* REFormattedNumberField.m in Sources */ = {isa = PBXBuildFile; fileRef = 30DB067D16E934C5006C9530 /* REFormattedNumberField.m */; }; 30EF93B316E039B800B84981 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 30EF93B216E039B800B84981 /* UIKit.framework */; }; 30EF93B516E039B800B84981 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 30EF93B416E039B800B84981 /* Foundation.framework */; }; 30EF93B716E039B800B84981 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 30EF93B616E039B800B84981 /* CoreGraphics.framework */; }; @@ -89,8 +88,6 @@ 30DB066716E934AD006C9530 /* RETableViewManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RETableViewManager.m; sourceTree = ""; }; 30DB066816E934AD006C9530 /* RETableViewSection.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RETableViewSection.h; sourceTree = ""; }; 30DB066916E934AD006C9530 /* RETableViewSection.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RETableViewSection.m; sourceTree = ""; }; - 30DB067C16E934C5006C9530 /* REFormattedNumberField.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = REFormattedNumberField.h; sourceTree = ""; }; - 30DB067D16E934C5006C9530 /* REFormattedNumberField.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = REFormattedNumberField.m; sourceTree = ""; }; 30EF93AF16E039B800B84981 /* RETableViewManagerExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = RETableViewManagerExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; 30EF93B216E039B800B84981 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; 30EF93B416E039B800B84981 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; @@ -223,20 +220,9 @@ path = Items; sourceTree = ""; }; - 30DB067B16E934C5006C9530 /* REFormattedNumberField */ = { - isa = PBXGroup; - children = ( - 30DB067C16E934C5006C9530 /* REFormattedNumberField.h */, - 30DB067D16E934C5006C9530 /* REFormattedNumberField.m */, - ); - name = REFormattedNumberField; - path = ../REFormattedNumberField; - sourceTree = ""; - }; 30EF93A616E039B800B84981 = { isa = PBXGroup; children = ( - 30DB067B16E934C5006C9530 /* REFormattedNumberField */, 30DB064616E934AD006C9530 /* RETableViewManager */, 30EF93B816E039B800B84981 /* RETableViewManagerExample */, 30EF93B116E039B800B84981 /* Frameworks */, @@ -391,7 +377,6 @@ 30DB067716E934AD006C9530 /* RETableViewItem.m in Sources */, 30DB067916E934AD006C9530 /* RETableViewManager.m in Sources */, 30DB067A16E934AD006C9530 /* RETableViewSection.m in Sources */, - 30DB067E16E934C5006C9530 /* REFormattedNumberField.m in Sources */, 302D2150170B25B10085654F /* ControlsViewController.m in Sources */, 302D2151170B25B10085654F /* ListViewController.m in Sources */, 302D2152170B25B10085654F /* RootViewController.m in Sources */, diff --git a/RETableViewManagerExample/RETableViewManagerExample/Classes/Controllers/ListViewController.m b/RETableViewManagerExample/RETableViewManagerExample/Classes/Controllers/ListViewController.m index 6626aad..013aada 100644 --- a/RETableViewManagerExample/RETableViewManagerExample/Classes/Controllers/ListViewController.m +++ b/RETableViewManagerExample/RETableViewManagerExample/Classes/Controllers/ListViewController.m @@ -63,7 +63,7 @@ NSURL *userpicURL = [NSURL URLWithString:[dictionary objectForKey:@"userpic_url"]]; NSURL *imageURL = [NSURL URLWithString:[dictionary objectForKey:@"image_url"]]; - // Create section with header view + // Create section with a header view // section = [[RETableViewSection alloc] initWithHeaderView:[ListHeaderView headerViewWithImageURL:userpicURL username:username]]; [_manager addSection:section];