diff --git a/RETableViewManager/Cells/RETableViewCreditCardCell.h b/RETableViewManager/Cells/RETableViewCreditCardCell.h index 947cd25..1da4dd0 100644 --- a/RETableViewManager/Cells/RETableViewCreditCardCell.h +++ b/RETableViewManager/Cells/RETableViewCreditCardCell.h @@ -23,8 +23,8 @@ // THE SOFTWARE. // -#import "RETableViewCell.h" #import "REFormattedNumberField.h" +#import "RETableViewCell.h" #import "RECreditCardItem.h" @interface RETableViewCreditCardCell : RETableViewCell diff --git a/RETableViewManagerExample/Podfile b/RETableViewManagerExample/Podfile deleted file mode 100644 index b9e44e5..0000000 --- a/RETableViewManagerExample/Podfile +++ /dev/null @@ -1,3 +0,0 @@ -platform :ios, '5.0' -pod 'REFormattedNumberField', '~> 1.0.3' -pod 'SDWebImage', '~> 3.2' \ No newline at end of file diff --git a/RETableViewManagerExample/Podfile.lock b/RETableViewManagerExample/Podfile.lock deleted file mode 100644 index 4714e6d..0000000 --- a/RETableViewManagerExample/Podfile.lock +++ /dev/null @@ -1,17 +0,0 @@ - -PODS: -- REFormattedNumberField (1.0.3) -- SDWebImage (3.2): - - SDWebImage/MapKit (= 3.2) -- SDWebImage/MapKit (3.2) - -DEPENDENCIES: -- REFormattedNumberField (~> 1.0.3) -- SDWebImage (~> 3.2) - -SPEC CHECKSUMS: - REFormattedNumberField: 8aabb3be9ce2dd53aafd8f4783cf43413ad288ef - SDWebImage: 8082fe8d658ccafaaecd9e5ecda12ed01f09ba9c - SDWebImage/MapKit: 8082fe8d658ccafaaecd9e5ecda12ed01f09ba9c - -COCOAPODS: 0.16.4 diff --git a/RETableViewManagerExample/Pods/BuildHeaders/REFormattedNumberField/REFormattedNumberField.h b/RETableViewManagerExample/Pods/BuildHeaders/REFormattedNumberField/REFormattedNumberField.h deleted file mode 120000 index 144313e..0000000 --- a/RETableViewManagerExample/Pods/BuildHeaders/REFormattedNumberField/REFormattedNumberField.h +++ /dev/null @@ -1 +0,0 @@ -../../REFormattedNumberField/REFormattedNumberField/REFormattedNumberField.h \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/BuildHeaders/SDWebImage/MKAnnotationView+WebCache.h b/RETableViewManagerExample/Pods/BuildHeaders/SDWebImage/MKAnnotationView+WebCache.h deleted file mode 120000 index a1007a9..0000000 --- a/RETableViewManagerExample/Pods/BuildHeaders/SDWebImage/MKAnnotationView+WebCache.h +++ /dev/null @@ -1 +0,0 @@ -../../SDWebImage/SDWebImage/MKAnnotationView+WebCache.h \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/BuildHeaders/SDWebImage/SDImageCache.h b/RETableViewManagerExample/Pods/BuildHeaders/SDWebImage/SDImageCache.h deleted file mode 120000 index 9893ccc..0000000 --- a/RETableViewManagerExample/Pods/BuildHeaders/SDWebImage/SDImageCache.h +++ /dev/null @@ -1 +0,0 @@ -../../SDWebImage/SDWebImage/SDImageCache.h \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/BuildHeaders/SDWebImage/SDWebImageCompat.h b/RETableViewManagerExample/Pods/BuildHeaders/SDWebImage/SDWebImageCompat.h deleted file mode 120000 index 088c749..0000000 --- a/RETableViewManagerExample/Pods/BuildHeaders/SDWebImage/SDWebImageCompat.h +++ /dev/null @@ -1 +0,0 @@ -../../SDWebImage/SDWebImage/SDWebImageCompat.h \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/BuildHeaders/SDWebImage/SDWebImageDecoder.h b/RETableViewManagerExample/Pods/BuildHeaders/SDWebImage/SDWebImageDecoder.h deleted file mode 120000 index b4d0b05..0000000 --- a/RETableViewManagerExample/Pods/BuildHeaders/SDWebImage/SDWebImageDecoder.h +++ /dev/null @@ -1 +0,0 @@ -../../SDWebImage/SDWebImage/SDWebImageDecoder.h \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/BuildHeaders/SDWebImage/SDWebImageDownloader.h b/RETableViewManagerExample/Pods/BuildHeaders/SDWebImage/SDWebImageDownloader.h deleted file mode 120000 index 501f4ff..0000000 --- a/RETableViewManagerExample/Pods/BuildHeaders/SDWebImage/SDWebImageDownloader.h +++ /dev/null @@ -1 +0,0 @@ -../../SDWebImage/SDWebImage/SDWebImageDownloader.h \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/BuildHeaders/SDWebImage/SDWebImageDownloaderOperation.h b/RETableViewManagerExample/Pods/BuildHeaders/SDWebImage/SDWebImageDownloaderOperation.h deleted file mode 120000 index a864736..0000000 --- a/RETableViewManagerExample/Pods/BuildHeaders/SDWebImage/SDWebImageDownloaderOperation.h +++ /dev/null @@ -1 +0,0 @@ -../../SDWebImage/SDWebImage/SDWebImageDownloaderOperation.h \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/BuildHeaders/SDWebImage/SDWebImageManager.h b/RETableViewManagerExample/Pods/BuildHeaders/SDWebImage/SDWebImageManager.h deleted file mode 120000 index f9d2aa2..0000000 --- a/RETableViewManagerExample/Pods/BuildHeaders/SDWebImage/SDWebImageManager.h +++ /dev/null @@ -1 +0,0 @@ -../../SDWebImage/SDWebImage/SDWebImageManager.h \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/BuildHeaders/SDWebImage/SDWebImageOperation.h b/RETableViewManagerExample/Pods/BuildHeaders/SDWebImage/SDWebImageOperation.h deleted file mode 120000 index a0769c4..0000000 --- a/RETableViewManagerExample/Pods/BuildHeaders/SDWebImage/SDWebImageOperation.h +++ /dev/null @@ -1 +0,0 @@ -../../SDWebImage/SDWebImage/SDWebImageOperation.h \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/BuildHeaders/SDWebImage/SDWebImagePrefetcher.h b/RETableViewManagerExample/Pods/BuildHeaders/SDWebImage/SDWebImagePrefetcher.h deleted file mode 120000 index fcc0b60..0000000 --- a/RETableViewManagerExample/Pods/BuildHeaders/SDWebImage/SDWebImagePrefetcher.h +++ /dev/null @@ -1 +0,0 @@ -../../SDWebImage/SDWebImage/SDWebImagePrefetcher.h \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/BuildHeaders/SDWebImage/UIButton+WebCache.h b/RETableViewManagerExample/Pods/BuildHeaders/SDWebImage/UIButton+WebCache.h deleted file mode 120000 index 5586e49..0000000 --- a/RETableViewManagerExample/Pods/BuildHeaders/SDWebImage/UIButton+WebCache.h +++ /dev/null @@ -1 +0,0 @@ -../../SDWebImage/SDWebImage/UIButton+WebCache.h \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/BuildHeaders/SDWebImage/UIImageView+WebCache.h b/RETableViewManagerExample/Pods/BuildHeaders/SDWebImage/UIImageView+WebCache.h deleted file mode 120000 index 336b44b..0000000 --- a/RETableViewManagerExample/Pods/BuildHeaders/SDWebImage/UIImageView+WebCache.h +++ /dev/null @@ -1 +0,0 @@ -../../SDWebImage/SDWebImage/UIImageView+WebCache.h \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/docset-installed.txt b/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/docset-installed.txt deleted file mode 100644 index 182a906..0000000 --- a/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/docset-installed.txt +++ /dev/null @@ -1,4 +0,0 @@ -Documentation set was installed to Xcode! - -Path: /Users/roman/Library/Developer/Shared/Documentation/DocSets/org.cocoapods.REFormattedNumberField-1.0.3.docset -Time: 2013-04-04 22:44:34 +0000 \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/docset/Contents/Info.plist b/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/docset/Contents/Info.plist deleted file mode 100644 index c811d52..0000000 --- a/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/docset/Contents/Info.plist +++ /dev/null @@ -1,35 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleIdentifier - org.cocoapods.REFormattedNumberField-1.0.3 - CFBundleName - REFormattedNumberField 1.0.3 Documentation - CFBundleShortVersionString - 1.0 - CFBundleVersion - 1.0 - - - DocSetDescription - UITextField subclass that allows number input in a predefined format. - - DocSetFeedName - REFormattedNumberField 1.0.3 Documentation - - DocSetMinimumXcodeVersion - 3.0 - - DashDocSetFamily - appledoc - DocSetPublisherIdentifier - org.cocoapods.documentation - DocSetPublisherName - Roman Efimov - NSHumanReadableCopyright - Roman Efimov - - diff --git a/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/docset/Contents/Resources/Documents/Classes/REFormattedNumberField.html b/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/docset/Contents/Resources/Documents/Classes/REFormattedNumberField.html deleted file mode 100644 index 7c21123..0000000 --- a/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/docset/Contents/Resources/Documents/Classes/REFormattedNumberField.html +++ /dev/null @@ -1,325 +0,0 @@ - - - - - REFormattedNumberField Class Reference - - - - - - - -
- - - - -
- -
-
- - - -
- -
- - - - - - - -
Inherits fromUITextField
Declared inREFormattedNumberField.h
- - - - - - -
- -

Tasks

- - - - - - - -
- - - - - -
- -

Properties

- -
- -

format

- - - -
@property (copy, readwrite, nonatomic) NSString *format
- - -
- -
- -

unformattedText

- - - -
@property (copy, readonly, nonatomic) NSString *unformattedText
- - -
- -
- - - - - -
- -

Instance Methods

- -
- -

string:withNumberFormat:

- - - -
- (NSString *)string:(NSString *)string withNumberFormat:(NSString *)format
- - -
- -
- - -
- - -
-
- - - \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/docset/Contents/Resources/Documents/css/styles.css b/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/docset/Contents/Resources/Documents/css/styles.css deleted file mode 100755 index bf946c0..0000000 --- a/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/docset/Contents/Resources/Documents/css/styles.css +++ /dev/null @@ -1,584 +0,0 @@ -body { - font-family: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; - font-size: 13px; -} - -code { - font-family: Courier, Consolas, monospace; - font-size: 13px; - color: #666; -} - -pre { - font-family: Courier, Consolas, monospace; - font-size: 13px; - line-height: 18px; - tab-interval: 0.5em; - border: 1px solid #C7CFD5; - background-color: #F1F5F9; - color: #666; - padding: 0.3em 1em; -} - -ul { - list-style-type: square; -} - -li { - margin-bottom: 10px; -} - -a, a code { - text-decoration: none; - color: #36C; -} - -a:hover, a:hover code { - text-decoration: underline; - color: #36C; -} - -h2 { - border-bottom: 1px solid #8391A8; - color: #3C4C6C; - font-size: 187%; - font-weight: normal; - margin-top: 1.75em; - padding-bottom: 2px; -} - -table { - margin-bottom: 4em; - border-collapse:collapse; - vertical-align: middle; -} - -td { - border: 1px solid #9BB3CD; - padding: .667em; - font-size: 100%; -} - -th { - border: 1px solid #9BB3CD; - padding: .3em .667em .3em .667em; - background: #93A5BB; - font-size: 103%; - font-weight: bold; - color: white; - text-align: left; -} - -/* @group Common page elements */ - -#top_header { - height: 91px; - left: 0; - min-width: 598px; - position: absolute; - right: 0; - top: 0; - z-index: 900; -} - -#footer { - clear: both; - padding-top: 20px; - text-align: center; -} - -#contents, #overview_contents { - -webkit-overflow-scrolling: touch; - border-top: 1px solid #2B334F; - position: absolute; - top: 91px; - left: 0; - right: 0; - bottom: 0; - overflow-x: hidden; - overflow-y: auto; - padding-left: 2em; - padding-right: 2em; - padding-top: 1em; - min-width: 550px; -} - -#contents.isShowingTOC { - left: 230px; - min-width: 320px; -} - -.copyright { - font-size: 12px; -} - -.generator { - font-size: 11px; -} - -.main-navigation ul li { - display: inline; - margin-left: 15px; - list-style: none; -} - -.navigation-top { - clear: both; - float: right; -} - -.navigation-bottom { - clear: both; - float: right; - margin-top: 20px; - margin-bottom: -10px; -} - -.open > .disclosure { - background-image: url("../img/disclosure_open.png"); -} - -.disclosure { - background: url("../img/disclosure.png") no-repeat scroll 0 0; -} - -.disclosure, .nodisclosure { - display: inline-block; - height: 8px; - margin-right: 5px; - position: relative; - width: 9px; -} - -/* @end */ - -/* @group Header */ - -#top_header #library { - background: url("../img/library_background.png") repeat-x 0 0 #485E78; - background-color: #ccc; - height: 35px; - font-size: 115%; -} - -#top_header #library #libraryTitle { - color: #FFFFFF; - margin-left: 15px; - text-shadow: 0 -1px 0 #485E78; - top: 8px; - position: absolute; -} - -#top_header #library #developerHome { - color: #92979E; - right: 15px; - top: 8px; - position: absolute; -} - -#top_header #library a:hover { - text-decoration: none; -} - -#top_header #title { - background: url("../img/title_background.png") repeat-x 0 0 #8A98A9; - border-bottom: 1px solid #B6B6B6; - height: 25px; - overflow: hidden; -} - -#top_header h1 { - font-size: 115%; - font-weight: normal; - margin: 0; - padding: 3px 0 2px; - text-align: center; - text-shadow: 0 1px 0 #D5D5D5; - white-space: nowrap; -} - -#headerButtons { - background-color: #D8D8D8; - background-image: url("../img/button_bar_background.png"); - border-bottom: 1px solid #EDEDED; - border-top: 1px solid #2B334F; - font-size: 8pt; - height: 28px; - left: 0; - list-style: none outside none; - margin: 0; - overflow: hidden; - padding: 0; - position: absolute; - right: 0; - top: 61px; -} - -#headerButtons li { - background-repeat: no-repeat; - display: inline; - margin-top: 0; - margin-bottom: 0; - padding: 0; -} - -#toc_button button { - border-color: #ACACAC; - border-style: none solid none none; - border-width: 0 1px 0 0; - height: 28px; - margin: 0; - padding-left: 30px; - text-align: left; - width: 230px; -} - -li#jumpto_button { - left: 230px; - margin-left: 0; - position: absolute; -} - -li#jumpto_button select { - height: 22px; - margin: 5px 2px 0 10px; - max-width: 300px; -} - -/* @end */ - -/* @group Table of contents */ - -#tocContainer.isShowingTOC { - border-right: 1px solid #ACACAC; - display: block; - overflow-x: hidden; - overflow-y: auto; - padding: 0; -} - -#tocContainer { - background-color: #E4EBF7; - border-top: 1px solid #2B334F; - bottom: 0; - display: none; - left: 0; - overflow: hidden; - position: absolute; - top: 91px; - width: 229px; -} - -#tocContainer > ul#toc { - font-size: 11px; - margin: 0; - padding: 12px 0 18px; - width: 209px; - -moz-user-select: none; - -webkit-user-select: none; - user-select: none; -} - -#tocContainer > ul#toc > li { - margin: 0; - padding: 0 0 7px 30px; - text-indent: -15px; -} - -#tocContainer > ul#toc > li > .sectionName a { - color: #000000; - font-weight: bold; -} - -#tocContainer > ul#toc > li > .sectionName a:hover { - text-decoration: none; -} - -#tocContainer > ul#toc li.children > ul { - display: none; - height: 0; -} - -#tocContainer > ul#toc > li > ul { - margin: 0; - padding: 0; -} - -#tocContainer > ul#toc > li > ul, ul#toc > li > ul > li { - margin-left: 0; - margin-bottom: 0; - padding-left: 15px; -} - -#tocContainer > ul#toc > li ul { - list-style: none; - margin-right: 0; - padding-right: 0; -} - -#tocContainer > ul#toc li.children.open > ul { - display: block; - height: auto; - margin-left: -15px; - padding-left: 0; -} - -#tocContainer > ul#toc > li > ul, ul#toc > li > ul > li { - margin-left: 0; - padding-left: 15px; -} - -#tocContainer li ul li { - margin-top: 0.583em; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; -} - -#tocContainer li ul li span.sectionName { - white-space: normal; -} - -#tocContainer > ul#toc > li > ul > li > .sectionName a { - font-weight: bold; -} - -#tocContainer > ul#toc > li > ul a { - color: #4F4F4F; -} - -/* @end */ - -/* @group Index formatting */ - -.index-title { - font-size: 13px; - font-weight: normal; -} - -.index-column { - float: left; - width: 30%; - min-width: 200px; - font-size: 11px; -} - -.index-column ul { - margin: 8px 0 0 0; - padding: 0; - list-style: none; -} - -.index-column ul li { - margin: 0 0 3px 0; - padding: 0; -} - -.hierarchy-column { - min-width: 400px; -} - -.hierarchy-column ul { - margin: 3px 0 0 15px; -} - -.hierarchy-column ul li { - list-style-type: square; -} - -/* @end */ - -/* @group Common formatting elements */ - -.title { - font-weight: normal; - font-size: 215%; - margin-top:0; -} - -.subtitle { - font-weight: normal; - font-size: 180%; - color: #3C4C6C; - border-bottom: 1px solid #5088C5; -} - -.subsubtitle { - font-weight: normal; - font-size: 145%; - height: 0.7em; -} - -.note { - border: 1px solid #5088C5; - background-color: white; - margin: 1.667em 0 1.75em 0; - padding: 0 .667em .083em .750em; -} - -.warning { - border: 1px solid #5088C5; - background-color: #F0F3F7; - margin-bottom: 0.5em; - padding: 0.3em 0.8em; -} - -.bug { - border: 1px solid #000; - background-color: #ffffcc; - margin-bottom: 0.5em; - padding: 0.3em 0.8em; -} - -.deprecated { - color: #F60425; -} - -/* @end */ - -/* @group Common layout */ - -.section { - margin-top: 3em; -} - -/* @end */ - -/* @group Object specification section */ - -.section-specification { - margin-left: 2.5em; - margin-right: 2.5em; - font-size: 12px; -} - -.section-specification table { - margin-bottom: 0em; - border-top: 1px solid #d6e0e5; -} - -.section-specification td { - vertical-align: top; - border-bottom: 1px solid #d6e0e5; - border-left-width: 0px; - border-right-width: 0px; - border-top-width: 0px; - padding: .6em; -} - -.section-specification .specification-title { - font-weight: bold; -} - -/* @end */ - -/* @group Tasks section */ - -.task-list { - list-style-type: none; - padding-left: 0px; -} - -.task-list li { - margin-bottom: 3px; -} - -.task-item-suffix { - color: #996; - font-size: 12px; - font-style: italic; - margin-left: 0.5em; -} - -span.tooltip span.tooltip { - font-size: 1.0em; - display: none; - padding: 0.3em; - border: 1px solid #aaa; - background-color: #fdfec8; - color: #000; - text-align: left; -} - -span.tooltip:hover span.tooltip { - display: block; - position: absolute; - margin-left: 2em; -} - -/* @end */ - -/* @group Method section */ - -.section-method { - margin-top: 2.3em; -} - -.method-title { - margin-bottom: 1.5em; -} - -.method-subtitle { - margin-top: 0.7em; - margin-bottom: 0.2em; -} - -.method-subsection p { - margin-top: 0.4em; - margin-bottom: 0.8em; -} - -.method-declaration { - margin-top:1.182em; - margin-bottom:.909em; -} - -.method-declaration code { - font:14px Courier, Consolas, monospace; - color:#000; -} - -.declaration { - color: #000; -} - -.argument-def { - margin-top: 0.3em; - margin-bottom: 0.3em; -} - -.argument-def dd { - margin-left: 1.25em; -} - -.see-also-section ul { - list-style-type: none; - padding-left: 0px; - margin-top: 0; -} - -.see-also-section li { - margin-bottom: 3px; -} - -.declared-in-ref { - color: #666; -} - -#tocContainer.hideInXcode { - display: none; - border: 0px solid black; -} - -#top_header.hideInXcode { - display: none; -} - -#contents.hideInXcode { - border: 0px solid black; - top: 0px; - left: 0px; -} - -/* @end */ - diff --git a/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/docset/Contents/Resources/Documents/css/stylesPrint.css b/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/docset/Contents/Resources/Documents/css/stylesPrint.css deleted file mode 100644 index dc54cd2..0000000 --- a/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/docset/Contents/Resources/Documents/css/stylesPrint.css +++ /dev/null @@ -1,22 +0,0 @@ - -header { - display: none; -} - -div.main-navigation, div.navigation-top { - display: none; -} - -div#overview_contents, div#contents.isShowingTOC, div#contents { - overflow: visible; - position: relative; - top: 0px; - border: none; - left: 0; -} -#tocContainer.isShowingTOC { - display: none; -} -nav { - display: none; -} \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/docset/Contents/Resources/Documents/hierarchy.html b/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/docset/Contents/Resources/Documents/hierarchy.html deleted file mode 100644 index a280b9d..0000000 --- a/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/docset/Contents/Resources/Documents/hierarchy.html +++ /dev/null @@ -1,70 +0,0 @@ - - - - - REFormattedNumberField 1.0.3 Hierarchy - - - - - -
- - - - -
-
-
- - -
- -
-

Class Hierarchy

- - - -
- - - -
- - -
-
- - \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/docset/Contents/Resources/Documents/img/button_bar_background.png b/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/docset/Contents/Resources/Documents/img/button_bar_background.png deleted file mode 100644 index d2cd0d8..0000000 Binary files a/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/docset/Contents/Resources/Documents/img/button_bar_background.png and /dev/null differ diff --git a/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/docset/Contents/Resources/Documents/img/disclosure.png b/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/docset/Contents/Resources/Documents/img/disclosure.png deleted file mode 100644 index 147198f..0000000 Binary files a/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/docset/Contents/Resources/Documents/img/disclosure.png and /dev/null differ diff --git a/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/docset/Contents/Resources/Documents/img/disclosure_open.png b/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/docset/Contents/Resources/Documents/img/disclosure_open.png deleted file mode 100644 index ea3842b..0000000 Binary files a/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/docset/Contents/Resources/Documents/img/disclosure_open.png and /dev/null differ diff --git a/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/docset/Contents/Resources/Documents/img/library_background.png b/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/docset/Contents/Resources/Documents/img/library_background.png deleted file mode 100644 index 8fa6d45..0000000 Binary files a/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/docset/Contents/Resources/Documents/img/library_background.png and /dev/null differ diff --git a/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/docset/Contents/Resources/Documents/img/title_background.png b/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/docset/Contents/Resources/Documents/img/title_background.png deleted file mode 100644 index 9001dac..0000000 Binary files a/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/docset/Contents/Resources/Documents/img/title_background.png and /dev/null differ diff --git a/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/docset/Contents/Resources/Documents/index.html b/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/docset/Contents/Resources/Documents/index.html deleted file mode 100644 index ca864b5..0000000 --- a/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/docset/Contents/Resources/Documents/index.html +++ /dev/null @@ -1,184 +0,0 @@ - - - - - REFormattedNumberField 1.0.3 Reference - - - - - -
- - - - -
-
-
- - -
- -
- - -

REFormattedNumberField

- -

UITextField subclass that allows numeric input in a predefined format.

- -

!Screenshot of REFormattedNumberField

- -

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

- -

CocoaPods

- -

The recommended approach for installating REFormattedNumberField is via the CocoaPods package manager, as it provides flexible dependency management and dead simple installation. -For best results, it is recommended that you install via CocoaPods >= 0.15.2 using Git >= 1.8.0 installed via Homebrew.

- -

Install CocoaPods if not already available:

- -

bash -$ [sudo] gem install cocoapods -$ pod setup -

- -

Change to the directory of your Xcode project:

- -

bash -$ cd /path/to/MyProject -$ touch Podfile -$ edit Podfile -

- -

Edit your Podfile and add REFormattedNumberField:

- -

bash -platform :ios, '5.0' -pod 'REFormattedNumberField', '~> 1.0.3' -

- -

Install into your Xcode project:

- -

bash -$ pod install -

- -

Open your project in Xcode from the .xcworkspace file (not the usual project file)

- -

bash -$ open MyProject.xcworkspace -

- -

Please note that if your installation fails, it may be because you are installing with a version of Git lower than CocoaPods is expecting. Please ensure that you are running Git >= 1.8.0 by executing git --version. You can get a full picture of the installation details by executing pod install --verbose.

- -

Manual 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

- - - - -

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.

- - -
- - - - - -
-

Class References

- -
- - - -
- - -
-
- - \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/docset/Contents/Resources/Nodes.xml b/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/docset/Contents/Resources/Nodes.xml deleted file mode 100644 index ba3b069..0000000 --- a/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/docset/Contents/Resources/Nodes.xml +++ /dev/null @@ -1,34 +0,0 @@ - - - - - REFormattedNumberField 1.0.3 - index.html - - - - - Classes - index.html - - - - - - - - - - - - - - - REFormattedNumberField - Classes/REFormattedNumberField.html - - - - - - \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/docset/Contents/Resources/Tokens1.xml b/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/docset/Contents/Resources/Tokens1.xml deleted file mode 100644 index be73b17..0000000 --- a/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/docset/Contents/Resources/Tokens1.xml +++ /dev/null @@ -1,70 +0,0 @@ - - - - - - //apple_ref/occ/cl/REFormattedNumberField - - REFormattedNumberField.h - - - - - - - //apple_ref/occ/instm/REFormattedNumberField/setFormat: - - REFormattedNumberField.h - - @property (copy, readwrite, nonatomic) NSString *format - - - //api/name/format - - - - //apple_ref/occ/instp/REFormattedNumberField/format - - REFormattedNumberField.h - - @property (copy, readwrite, nonatomic) NSString *format - - - //api/name/format - - - - //apple_ref/occ/instm/REFormattedNumberField/setUnformattedText: - - REFormattedNumberField.h - - @property (copy, readonly, nonatomic) NSString *unformattedText - - - //api/name/unformattedText - - - - //apple_ref/occ/instp/REFormattedNumberField/unformattedText - - REFormattedNumberField.h - - @property (copy, readonly, nonatomic) NSString *unformattedText - - - //api/name/unformattedText - - - - //apple_ref/occ/instm/REFormattedNumberField/string:withNumberFormat: - - REFormattedNumberField.h - - - (NSString *)string:(NSString *)string withNumberFormat:(NSString *)format - - - //api/name/string:withNumberFormat: - - - - \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/docset/Contents/Resources/docSet.dsidx b/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/docset/Contents/Resources/docSet.dsidx deleted file mode 100644 index e604042..0000000 Binary files a/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/docset/Contents/Resources/docSet.dsidx and /dev/null differ diff --git a/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/docset/Contents/Resources/docSet.mom b/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/docset/Contents/Resources/docSet.mom deleted file mode 100644 index 8e38182..0000000 Binary files a/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/docset/Contents/Resources/docSet.mom and /dev/null differ diff --git a/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/docset/Contents/Resources/docSet.skidx b/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/docset/Contents/Resources/docSet.skidx deleted file mode 100644 index c2491c3..0000000 Binary files a/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/docset/Contents/Resources/docSet.skidx and /dev/null differ diff --git a/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/docset/Contents/Resources/docSet.toc b/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/docset/Contents/Resources/docSet.toc deleted file mode 100644 index 79480e7..0000000 Binary files a/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/docset/Contents/Resources/docSet.toc and /dev/null differ diff --git a/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/html/Classes/REFormattedNumberField.html b/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/html/Classes/REFormattedNumberField.html deleted file mode 100644 index 7c21123..0000000 --- a/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/html/Classes/REFormattedNumberField.html +++ /dev/null @@ -1,325 +0,0 @@ - - - - - REFormattedNumberField Class Reference - - - - - - - -
- - - - -
- -
-
- - - -
- -
- - - - - - - -
Inherits fromUITextField
Declared inREFormattedNumberField.h
- - - - - - -
- -

Tasks

- - - - - - - -
- - - - - -
- -

Properties

- -
- -

format

- - - -
@property (copy, readwrite, nonatomic) NSString *format
- - -
- -
- -

unformattedText

- - - -
@property (copy, readonly, nonatomic) NSString *unformattedText
- - -
- -
- - - - - -
- -

Instance Methods

- -
- -

string:withNumberFormat:

- - - -
- (NSString *)string:(NSString *)string withNumberFormat:(NSString *)format
- - -
- -
- - -
- - -
-
- - - \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/html/css/styles.css b/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/html/css/styles.css deleted file mode 100755 index bf946c0..0000000 --- a/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/html/css/styles.css +++ /dev/null @@ -1,584 +0,0 @@ -body { - font-family: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; - font-size: 13px; -} - -code { - font-family: Courier, Consolas, monospace; - font-size: 13px; - color: #666; -} - -pre { - font-family: Courier, Consolas, monospace; - font-size: 13px; - line-height: 18px; - tab-interval: 0.5em; - border: 1px solid #C7CFD5; - background-color: #F1F5F9; - color: #666; - padding: 0.3em 1em; -} - -ul { - list-style-type: square; -} - -li { - margin-bottom: 10px; -} - -a, a code { - text-decoration: none; - color: #36C; -} - -a:hover, a:hover code { - text-decoration: underline; - color: #36C; -} - -h2 { - border-bottom: 1px solid #8391A8; - color: #3C4C6C; - font-size: 187%; - font-weight: normal; - margin-top: 1.75em; - padding-bottom: 2px; -} - -table { - margin-bottom: 4em; - border-collapse:collapse; - vertical-align: middle; -} - -td { - border: 1px solid #9BB3CD; - padding: .667em; - font-size: 100%; -} - -th { - border: 1px solid #9BB3CD; - padding: .3em .667em .3em .667em; - background: #93A5BB; - font-size: 103%; - font-weight: bold; - color: white; - text-align: left; -} - -/* @group Common page elements */ - -#top_header { - height: 91px; - left: 0; - min-width: 598px; - position: absolute; - right: 0; - top: 0; - z-index: 900; -} - -#footer { - clear: both; - padding-top: 20px; - text-align: center; -} - -#contents, #overview_contents { - -webkit-overflow-scrolling: touch; - border-top: 1px solid #2B334F; - position: absolute; - top: 91px; - left: 0; - right: 0; - bottom: 0; - overflow-x: hidden; - overflow-y: auto; - padding-left: 2em; - padding-right: 2em; - padding-top: 1em; - min-width: 550px; -} - -#contents.isShowingTOC { - left: 230px; - min-width: 320px; -} - -.copyright { - font-size: 12px; -} - -.generator { - font-size: 11px; -} - -.main-navigation ul li { - display: inline; - margin-left: 15px; - list-style: none; -} - -.navigation-top { - clear: both; - float: right; -} - -.navigation-bottom { - clear: both; - float: right; - margin-top: 20px; - margin-bottom: -10px; -} - -.open > .disclosure { - background-image: url("../img/disclosure_open.png"); -} - -.disclosure { - background: url("../img/disclosure.png") no-repeat scroll 0 0; -} - -.disclosure, .nodisclosure { - display: inline-block; - height: 8px; - margin-right: 5px; - position: relative; - width: 9px; -} - -/* @end */ - -/* @group Header */ - -#top_header #library { - background: url("../img/library_background.png") repeat-x 0 0 #485E78; - background-color: #ccc; - height: 35px; - font-size: 115%; -} - -#top_header #library #libraryTitle { - color: #FFFFFF; - margin-left: 15px; - text-shadow: 0 -1px 0 #485E78; - top: 8px; - position: absolute; -} - -#top_header #library #developerHome { - color: #92979E; - right: 15px; - top: 8px; - position: absolute; -} - -#top_header #library a:hover { - text-decoration: none; -} - -#top_header #title { - background: url("../img/title_background.png") repeat-x 0 0 #8A98A9; - border-bottom: 1px solid #B6B6B6; - height: 25px; - overflow: hidden; -} - -#top_header h1 { - font-size: 115%; - font-weight: normal; - margin: 0; - padding: 3px 0 2px; - text-align: center; - text-shadow: 0 1px 0 #D5D5D5; - white-space: nowrap; -} - -#headerButtons { - background-color: #D8D8D8; - background-image: url("../img/button_bar_background.png"); - border-bottom: 1px solid #EDEDED; - border-top: 1px solid #2B334F; - font-size: 8pt; - height: 28px; - left: 0; - list-style: none outside none; - margin: 0; - overflow: hidden; - padding: 0; - position: absolute; - right: 0; - top: 61px; -} - -#headerButtons li { - background-repeat: no-repeat; - display: inline; - margin-top: 0; - margin-bottom: 0; - padding: 0; -} - -#toc_button button { - border-color: #ACACAC; - border-style: none solid none none; - border-width: 0 1px 0 0; - height: 28px; - margin: 0; - padding-left: 30px; - text-align: left; - width: 230px; -} - -li#jumpto_button { - left: 230px; - margin-left: 0; - position: absolute; -} - -li#jumpto_button select { - height: 22px; - margin: 5px 2px 0 10px; - max-width: 300px; -} - -/* @end */ - -/* @group Table of contents */ - -#tocContainer.isShowingTOC { - border-right: 1px solid #ACACAC; - display: block; - overflow-x: hidden; - overflow-y: auto; - padding: 0; -} - -#tocContainer { - background-color: #E4EBF7; - border-top: 1px solid #2B334F; - bottom: 0; - display: none; - left: 0; - overflow: hidden; - position: absolute; - top: 91px; - width: 229px; -} - -#tocContainer > ul#toc { - font-size: 11px; - margin: 0; - padding: 12px 0 18px; - width: 209px; - -moz-user-select: none; - -webkit-user-select: none; - user-select: none; -} - -#tocContainer > ul#toc > li { - margin: 0; - padding: 0 0 7px 30px; - text-indent: -15px; -} - -#tocContainer > ul#toc > li > .sectionName a { - color: #000000; - font-weight: bold; -} - -#tocContainer > ul#toc > li > .sectionName a:hover { - text-decoration: none; -} - -#tocContainer > ul#toc li.children > ul { - display: none; - height: 0; -} - -#tocContainer > ul#toc > li > ul { - margin: 0; - padding: 0; -} - -#tocContainer > ul#toc > li > ul, ul#toc > li > ul > li { - margin-left: 0; - margin-bottom: 0; - padding-left: 15px; -} - -#tocContainer > ul#toc > li ul { - list-style: none; - margin-right: 0; - padding-right: 0; -} - -#tocContainer > ul#toc li.children.open > ul { - display: block; - height: auto; - margin-left: -15px; - padding-left: 0; -} - -#tocContainer > ul#toc > li > ul, ul#toc > li > ul > li { - margin-left: 0; - padding-left: 15px; -} - -#tocContainer li ul li { - margin-top: 0.583em; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; -} - -#tocContainer li ul li span.sectionName { - white-space: normal; -} - -#tocContainer > ul#toc > li > ul > li > .sectionName a { - font-weight: bold; -} - -#tocContainer > ul#toc > li > ul a { - color: #4F4F4F; -} - -/* @end */ - -/* @group Index formatting */ - -.index-title { - font-size: 13px; - font-weight: normal; -} - -.index-column { - float: left; - width: 30%; - min-width: 200px; - font-size: 11px; -} - -.index-column ul { - margin: 8px 0 0 0; - padding: 0; - list-style: none; -} - -.index-column ul li { - margin: 0 0 3px 0; - padding: 0; -} - -.hierarchy-column { - min-width: 400px; -} - -.hierarchy-column ul { - margin: 3px 0 0 15px; -} - -.hierarchy-column ul li { - list-style-type: square; -} - -/* @end */ - -/* @group Common formatting elements */ - -.title { - font-weight: normal; - font-size: 215%; - margin-top:0; -} - -.subtitle { - font-weight: normal; - font-size: 180%; - color: #3C4C6C; - border-bottom: 1px solid #5088C5; -} - -.subsubtitle { - font-weight: normal; - font-size: 145%; - height: 0.7em; -} - -.note { - border: 1px solid #5088C5; - background-color: white; - margin: 1.667em 0 1.75em 0; - padding: 0 .667em .083em .750em; -} - -.warning { - border: 1px solid #5088C5; - background-color: #F0F3F7; - margin-bottom: 0.5em; - padding: 0.3em 0.8em; -} - -.bug { - border: 1px solid #000; - background-color: #ffffcc; - margin-bottom: 0.5em; - padding: 0.3em 0.8em; -} - -.deprecated { - color: #F60425; -} - -/* @end */ - -/* @group Common layout */ - -.section { - margin-top: 3em; -} - -/* @end */ - -/* @group Object specification section */ - -.section-specification { - margin-left: 2.5em; - margin-right: 2.5em; - font-size: 12px; -} - -.section-specification table { - margin-bottom: 0em; - border-top: 1px solid #d6e0e5; -} - -.section-specification td { - vertical-align: top; - border-bottom: 1px solid #d6e0e5; - border-left-width: 0px; - border-right-width: 0px; - border-top-width: 0px; - padding: .6em; -} - -.section-specification .specification-title { - font-weight: bold; -} - -/* @end */ - -/* @group Tasks section */ - -.task-list { - list-style-type: none; - padding-left: 0px; -} - -.task-list li { - margin-bottom: 3px; -} - -.task-item-suffix { - color: #996; - font-size: 12px; - font-style: italic; - margin-left: 0.5em; -} - -span.tooltip span.tooltip { - font-size: 1.0em; - display: none; - padding: 0.3em; - border: 1px solid #aaa; - background-color: #fdfec8; - color: #000; - text-align: left; -} - -span.tooltip:hover span.tooltip { - display: block; - position: absolute; - margin-left: 2em; -} - -/* @end */ - -/* @group Method section */ - -.section-method { - margin-top: 2.3em; -} - -.method-title { - margin-bottom: 1.5em; -} - -.method-subtitle { - margin-top: 0.7em; - margin-bottom: 0.2em; -} - -.method-subsection p { - margin-top: 0.4em; - margin-bottom: 0.8em; -} - -.method-declaration { - margin-top:1.182em; - margin-bottom:.909em; -} - -.method-declaration code { - font:14px Courier, Consolas, monospace; - color:#000; -} - -.declaration { - color: #000; -} - -.argument-def { - margin-top: 0.3em; - margin-bottom: 0.3em; -} - -.argument-def dd { - margin-left: 1.25em; -} - -.see-also-section ul { - list-style-type: none; - padding-left: 0px; - margin-top: 0; -} - -.see-also-section li { - margin-bottom: 3px; -} - -.declared-in-ref { - color: #666; -} - -#tocContainer.hideInXcode { - display: none; - border: 0px solid black; -} - -#top_header.hideInXcode { - display: none; -} - -#contents.hideInXcode { - border: 0px solid black; - top: 0px; - left: 0px; -} - -/* @end */ - diff --git a/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/html/css/stylesPrint.css b/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/html/css/stylesPrint.css deleted file mode 100644 index dc54cd2..0000000 --- a/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/html/css/stylesPrint.css +++ /dev/null @@ -1,22 +0,0 @@ - -header { - display: none; -} - -div.main-navigation, div.navigation-top { - display: none; -} - -div#overview_contents, div#contents.isShowingTOC, div#contents { - overflow: visible; - position: relative; - top: 0px; - border: none; - left: 0; -} -#tocContainer.isShowingTOC { - display: none; -} -nav { - display: none; -} \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/html/hierarchy.html b/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/html/hierarchy.html deleted file mode 100644 index a280b9d..0000000 --- a/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/html/hierarchy.html +++ /dev/null @@ -1,70 +0,0 @@ - - - - - REFormattedNumberField 1.0.3 Hierarchy - - - - - -
- - - - -
-
-
- - -
- -
-

Class Hierarchy

- - - -
- - - -
- - -
-
- - \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/html/img/button_bar_background.png b/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/html/img/button_bar_background.png deleted file mode 100644 index d2cd0d8..0000000 Binary files a/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/html/img/button_bar_background.png and /dev/null differ diff --git a/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/html/img/disclosure.png b/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/html/img/disclosure.png deleted file mode 100644 index 147198f..0000000 Binary files a/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/html/img/disclosure.png and /dev/null differ diff --git a/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/html/img/disclosure_open.png b/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/html/img/disclosure_open.png deleted file mode 100644 index ea3842b..0000000 Binary files a/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/html/img/disclosure_open.png and /dev/null differ diff --git a/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/html/img/library_background.png b/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/html/img/library_background.png deleted file mode 100644 index 8fa6d45..0000000 Binary files a/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/html/img/library_background.png and /dev/null differ diff --git a/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/html/img/title_background.png b/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/html/img/title_background.png deleted file mode 100644 index 9001dac..0000000 Binary files a/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/html/img/title_background.png and /dev/null differ diff --git a/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/html/index.html b/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/html/index.html deleted file mode 100644 index ca864b5..0000000 --- a/RETableViewManagerExample/Pods/Documentation/REFormattedNumberField/html/index.html +++ /dev/null @@ -1,184 +0,0 @@ - - - - - REFormattedNumberField 1.0.3 Reference - - - - - -
- - - - -
-
-
- - -
- -
- - -

REFormattedNumberField

- -

UITextField subclass that allows numeric input in a predefined format.

- -

!Screenshot of REFormattedNumberField

- -

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

- -

CocoaPods

- -

The recommended approach for installating REFormattedNumberField is via the CocoaPods package manager, as it provides flexible dependency management and dead simple installation. -For best results, it is recommended that you install via CocoaPods >= 0.15.2 using Git >= 1.8.0 installed via Homebrew.

- -

Install CocoaPods if not already available:

- -

bash -$ [sudo] gem install cocoapods -$ pod setup -

- -

Change to the directory of your Xcode project:

- -

bash -$ cd /path/to/MyProject -$ touch Podfile -$ edit Podfile -

- -

Edit your Podfile and add REFormattedNumberField:

- -

bash -platform :ios, '5.0' -pod 'REFormattedNumberField', '~> 1.0.3' -

- -

Install into your Xcode project:

- -

bash -$ pod install -

- -

Open your project in Xcode from the .xcworkspace file (not the usual project file)

- -

bash -$ open MyProject.xcworkspace -

- -

Please note that if your installation fails, it may be because you are installing with a version of Git lower than CocoaPods is expecting. Please ensure that you are running Git >= 1.8.0 by executing git --version. You can get a full picture of the installation details by executing pod install --verbose.

- -

Manual 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

- - - - -

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.

- - -
- - - - - -
-

Class References

- -
- - - -
- - -
-
- - \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset-installed.txt b/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset-installed.txt deleted file mode 100644 index 6aa875e..0000000 --- a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset-installed.txt +++ /dev/null @@ -1,4 +0,0 @@ -Documentation set was installed to Xcode! - -Path: /Users/roman/Library/Developer/Shared/Documentation/DocSets/org.cocoapods.SDWebImage-3.2.docset -Time: 2013-04-02 14:39:57 +0000 \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Info.plist b/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Info.plist deleted file mode 100644 index 1872dda..0000000 --- a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Info.plist +++ /dev/null @@ -1,35 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleIdentifier - org.cocoapods.SDWebImage-3.2 - CFBundleName - SDWebImage 3.2 Documentation - CFBundleShortVersionString - 1.0 - CFBundleVersion - 1.0 - - - DocSetDescription - This library provides a category for UIImageVIew with support for remote images coming from the web. It provides an UIImageView category adding web image and cache management to the Cocoa Touch framework, an asynchronous image downloader, an asynchronous memory + disk image caching with automatic cache expiration handling, a guarantee that the same URL won't be downloaded several times, a guarantee that bogus URLs won't be retried again and again, and performances! - - DocSetFeedName - SDWebImage 3.2 Documentation - - DocSetMinimumXcodeVersion - 3.0 - - DashDocSetFamily - appledoc - DocSetPublisherIdentifier - org.cocoapods.documentation - DocSetPublisherName - Olivier Poitrey - NSHumanReadableCopyright - Olivier Poitrey - - diff --git a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Documents/Categories/MKAnnotationView+WebCache.html b/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Documents/Categories/MKAnnotationView+WebCache.html deleted file mode 100644 index 6a7a929..0000000 --- a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Documents/Categories/MKAnnotationView+WebCache.html +++ /dev/null @@ -1,754 +0,0 @@ - - - - - MKAnnotationView(WebCache) Category Reference - - - - - - - -
- - - - -
- -
-
- - - -
- -
- - - - -
Declared inMKAnnotationView+WebCache.h
- - - - -
- -

Overview

-

Integrates SDWebImage async downloading and caching of remote images with MKAnnotationView.

-
- - - - - -
- -

Tasks

- - - - - - - -
- - - - - - - - - -
- -

Instance Methods

- -
- -

cancelCurrentImageLoad

- - - -
-

Cancel the current download

-
- - - -
- (void)cancelCurrentImageLoad
- - - - - - - - - -
-

Discussion

-

Cancel the current download

-
- - - - - - - -
-

Declared In

- MKAnnotationView+WebCache.h
-
- - -
- -
- -

setImageWithURL:

- - - -
-

Set the imageView image with an url.

-
- - - -
- (void)setImageWithURL:(NSURL *)url
- - - -
-

Parameters

- -
-
url
-

The url for the image.

-
- -
- - - - - - - -
-

Discussion

-

Set the imageView image with an url.

- -

The downloand is asynchronous and cached.

-
- - - - - - - -
-

Declared In

- MKAnnotationView+WebCache.h
-
- - -
- -
- -

setImageWithURL:completed:

- - - -
-

Set the imageView image with an url.

-
- - - -
- (void)setImageWithURL:(NSURL *)url completed:(SDWebImageCompletedBlock)completedBlock
- - - -
-

Parameters

- -
-
url
-

The url for the image.

-
- -
-
completedBlock
-

A block called when operation has been completed. This block as no return value -and takes the requested UIImage as first parameter. In case of error the image parameter -is nil and the second parameter may contain an NSError. The third parameter is a Boolean -indicating if the image was retrived from the local cache of from the network.

-
- -
- - - - - - - -
-

Discussion

-

Set the imageView image with an url.

- -

The downloand is asynchronous and cached.

-
- - - - - - - -
-

Declared In

- MKAnnotationView+WebCache.h
-
- - -
- -
- -

setImageWithURL:placeholderImage:

- - - -
-

Set the imageView image with an url and a placeholder.

-
- - - -
- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder
- - - -
-

Parameters

- -
-
url
-

The url for the image.

-
- -
-
placeholder
-

The image to be set initially, until the image request finishes.

-
- -
- - - - - - - -
-

Discussion

-

Set the imageView image with an url and a placeholder.

- -

The downloand is asynchronous and cached.

-
- - - - - - - - - -
-

Declared In

- MKAnnotationView+WebCache.h
-
- - -
- -
- -

setImageWithURL:placeholderImage:completed:

- - - -
-

Set the imageView image with an url, placeholder.

-
- - - -
- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder completed:(SDWebImageCompletedBlock)completedBlock
- - - -
-

Parameters

- -
-
url
-

The url for the image.

-
- -
-
placeholder
-

The image to be set initially, until the image request finishes.

-
- -
-
completedBlock
-

A block called when operation has been completed. This block as no return value -and takes the requested UIImage as first parameter. In case of error the image parameter -is nil and the second parameter may contain an NSError. The third parameter is a Boolean -indicating if the image was retrived from the local cache of from the network.

-
- -
- - - - - - - -
-

Discussion

-

Set the imageView image with an url, placeholder.

- -

The downloand is asynchronous and cached.

-
- - - - - - - -
-

Declared In

- MKAnnotationView+WebCache.h
-
- - -
- -
- -

setImageWithURL:placeholderImage:options:

- - - -
-

Set the imageView image with an url, placeholder and custom options.

-
- - - -
- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options
- - - -
-

Parameters

- -
-
url
-

The url for the image.

-
- -
-
placeholder
-

The image to be set initially, until the image request finishes.

-
- -
-
options
-

The options to use when downloading the image. @see SDWebImageOptions for the possible values.

-
- -
- - - - - - - -
-

Discussion

-

Set the imageView image with an url, placeholder and custom options.

- -

The downloand is asynchronous and cached.

-
- - - - - - - -
-

Declared In

- MKAnnotationView+WebCache.h
-
- - -
- -
- -

setImageWithURL:placeholderImage:options:completed:

- - - -
-

Set the imageView image with an url, placeholder and custom options.

-
- - - -
- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options completed:(SDWebImageCompletedBlock)completedBlock
- - - -
-

Parameters

- -
-
url
-

The url for the image.

-
- -
-
placeholder
-

The image to be set initially, until the image request finishes.

-
- -
-
options
-

The options to use when downloading the image. @see SDWebImageOptions for the possible values.

-
- -
-
completedBlock
-

A block called when operation has been completed. This block as no return value -and takes the requested UIImage as first parameter. In case of error the image parameter -is nil and the second parameter may contain an NSError. The third parameter is a Boolean -indicating if the image was retrived from the local cache of from the network.

-
- -
- - - - - - - -
-

Discussion

-

Set the imageView image with an url, placeholder and custom options.

- -

The downloand is asynchronous and cached.

-
- - - - - - - -
-

Declared In

- MKAnnotationView+WebCache.h
-
- - -
- -
- - -
- - -
-
- - - \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Documents/Categories/UIButton+WebCache.html b/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Documents/Categories/UIButton+WebCache.html deleted file mode 100644 index 3d4553f..0000000 --- a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Documents/Categories/UIButton+WebCache.html +++ /dev/null @@ -1,1244 +0,0 @@ - - - - - UIButton(WebCache) Category Reference - - - - - - - -
- - - - -
- -
-
- - - -
- -
- - - - -
Declared inUIButton+WebCache.h
- - - - -
- -

Overview

-

Integrates SDWebImage async downloading and caching of remote images with UIButtonView.

-
- - - - - -
- -

Tasks

- - - - - - - -
- - - - - - - - - -
- -

Instance Methods

- -
- -

cancelCurrentImageLoad

- - - -
-

Cancel the current download

-
- - - -
- (void)cancelCurrentImageLoad
- - - - - - - - - -
-

Discussion

-

Cancel the current download

-
- - - - - - - -
-

Declared In

- UIButton+WebCache.h
-
- - -
- -
- -

setBackgroundImageWithURL:forState:

- - - -
-

Set the backgroundImageView image with an url.

-
- - - -
- (void)setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state
- - - -
-

Parameters

- -
-
url
-

The url for the image.

-
- -
-
state
-

The state that uses the specified title. The values are described in UIControlState.

-
- -
- - - - - - - -
-

Discussion

-

Set the backgroundImageView image with an url.

- -

The downloand is asynchronous and cached.

-
- - - - - - - -
-

Declared In

- UIButton+WebCache.h
-
- - -
- -
- -

setBackgroundImageWithURL:forState:completed:

- - - -
-

Set the backgroundImageView image with an url.

-
- - - -
- (void)setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state completed:(SDWebImageCompletedBlock)completedBlock
- - - -
-

Parameters

- -
-
url
-

The url for the image.

-
- -
-
state
-

The state that uses the specified title. The values are described in UIControlState.

-
- -
-
success
-

A block to be executed when the image request succeed This block has no return value and takes the retrieved image as argument.

-
- -
-
failure
-

A block object to be executed when the image request failed. This block has no return value and takes the error object describing the network or parsing error that occurred (may be nil).

-
- -
- - - - - - - -
-

Discussion

-

Set the backgroundImageView image with an url.

- -

The downloand is asynchronous and cached.

-
- - - - - - - -
-

Declared In

- UIButton+WebCache.h
-
- - -
- -
- -

setBackgroundImageWithURL:forState:placeholderImage:

- - - -
-

Set the backgroundImageView image with an url and a placeholder.

-
- - - -
- (void)setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder
- - - -
-

Parameters

- -
-
url
-

The url for the image.

-
- -
-
state
-

The state that uses the specified title. The values are described in UIControlState.

-
- -
-
placeholder
-

The image to be set initially, until the image request finishes.

-
- -
- - - - - - - -
-

Discussion

-

Set the backgroundImageView image with an url and a placeholder.

- -

The downloand is asynchronous and cached.

-
- - - - - - - -
-

Declared In

- UIButton+WebCache.h
-
- - -
- -
- -

setBackgroundImageWithURL:forState:placeholderImage:completed:

- - - -
-

Set the backgroundImageView image with an url, placeholder.

-
- - - -
- (void)setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder completed:(SDWebImageCompletedBlock)completedBlock
- - - -
-

Parameters

- -
-
url
-

The url for the image.

-
- -
-
state
-

The state that uses the specified title. The values are described in UIControlState.

-
- -
-
placeholder
-

The image to be set initially, until the image request finishes.

-
- -
-
success
-

A block to be executed when the image request succeed This block has no return value and takes the retrieved image as argument.

-
- -
-
failure
-

A block object to be executed when the image request failed. This block has no return value and takes the error object describing the network or parsing error that occurred (may be nil).

-
- -
- - - - - - - -
-

Discussion

-

Set the backgroundImageView image with an url, placeholder.

- -

The downloand is asynchronous and cached.

-
- - - - - - - -
-

Declared In

- UIButton+WebCache.h
-
- - -
- -
- -

setBackgroundImageWithURL:forState:placeholderImage:options:

- - - -
-

Set the backgroundImageView image with an url, placeholder and custom options.

-
- - - -
- (void)setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options
- - - -
-

Parameters

- -
-
url
-

The url for the image.

-
- -
-
state
-

The state that uses the specified title. The values are described in UIControlState.

-
- -
-
placeholder
-

The image to be set initially, until the image request finishes.

-
- -
-
options
-

The options to use when downloading the image. @see SDWebImageOptions for the possible values.

-
- -
- - - - - - - -
-

Discussion

-

Set the backgroundImageView image with an url, placeholder and custom options.

- -

The downloand is asynchronous and cached.

-
- - - - - - - -
-

Declared In

- UIButton+WebCache.h
-
- - -
- -
- -

setBackgroundImageWithURL:forState:placeholderImage:options:completed:

- - - -
-

Set the backgroundImageView image with an url, placeholder and custom options.

-
- - - -
- (void)setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options completed:(SDWebImageCompletedBlock)completedBlock
- - - -
-

Parameters

- -
-
url
-

The url for the image.

-
- -
-
placeholder
-

The image to be set initially, until the image request finishes.

-
- -
-
options
-

The options to use when downloading the image. @see SDWebImageOptions for the possible values.

-
- -
-
success
-

A block to be executed when the image request succeed This block has no return value and takes the retrieved image as argument.

-
- -
-
failure
-

A block object to be executed when the image request failed. This block has no return value and takes the error object describing the network or parsing error that occurred (may be nil).

-
- -
- - - - - - - -
-

Discussion

-

Set the backgroundImageView image with an url, placeholder and custom options.

- -

The downloand is asynchronous and cached.

-
- - - - - - - -
-

Declared In

- UIButton+WebCache.h
-
- - -
- -
- -

setImageWithURL:forState:

- - - -
-

Set the imageView image with an url.

-
- - - -
- (void)setImageWithURL:(NSURL *)url forState:(UIControlState)state
- - - -
-

Parameters

- -
-
url
-

The url for the image.

-
- -
-
state
-

The state that uses the specified title. The values are described in UIControlState.

-
- -
- - - - - - - -
-

Discussion

-

Set the imageView image with an url.

- -

The downloand is asynchronous and cached.

-
- - - - - - - -
-

Declared In

- UIButton+WebCache.h
-
- - -
- -
- -

setImageWithURL:forState:completed:

- - - -
-

Set the imageView image with an url.

-
- - - -
- (void)setImageWithURL:(NSURL *)url forState:(UIControlState)state completed:(SDWebImageCompletedBlock)completedBlock
- - - -
-

Parameters

- -
-
url
-

The url for the image.

-
- -
-
state
-

The state that uses the specified title. The values are described in UIControlState.

-
- -
-
completedBlock
-

A block called when operation has been completed. This block as no return value -and takes the requested UIImage as first parameter. In case of error the image parameter -is nil and the second parameter may contain an NSError. The third parameter is a Boolean -indicating if the image was retrived from the local cache of from the network.

-
- -
- - - - - - - -
-

Discussion

-

Set the imageView image with an url.

- -

The downloand is asynchronous and cached.

-
- - - - - - - -
-

Declared In

- UIButton+WebCache.h
-
- - -
- -
- -

setImageWithURL:forState:placeholderImage:

- - - -
-

Set the imageView image with an url and a placeholder.

-
- - - -
- (void)setImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder
- - - -
-

Parameters

- -
-
url
-

The url for the image.

-
- -
-
state
-

The state that uses the specified title. The values are described in UIControlState.

-
- -
-
placeholder
-

The image to be set initially, until the image request finishes.

-
- -
- - - - - - - -
-

Discussion

-

Set the imageView image with an url and a placeholder.

- -

The downloand is asynchronous and cached.

-
- - - - - - - -
-

Declared In

- UIButton+WebCache.h
-
- - -
- -
- -

setImageWithURL:forState:placeholderImage:completed:

- - - -
-

Set the imageView image with an url, placeholder.

-
- - - -
- (void)setImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder completed:(SDWebImageCompletedBlock)completedBlock
- - - -
-

Parameters

- -
-
url
-

The url for the image.

-
- -
-
state
-

The state that uses the specified title. The values are described in UIControlState.

-
- -
-
placeholder
-

The image to be set initially, until the image request finishes.

-
- -
-
completedBlock
-

A block called when operation has been completed. This block as no return value -and takes the requested UIImage as first parameter. In case of error the image parameter -is nil and the second parameter may contain an NSError. The third parameter is a Boolean -indicating if the image was retrived from the local cache of from the network.

-
- -
- - - - - - - -
-

Discussion

-

Set the imageView image with an url, placeholder.

- -

The downloand is asynchronous and cached.

-
- - - - - - - -
-

Declared In

- UIButton+WebCache.h
-
- - -
- -
- -

setImageWithURL:forState:placeholderImage:options:

- - - -
-

Set the imageView image with an url, placeholder and custom options.

-
- - - -
- (void)setImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options
- - - -
-

Parameters

- -
-
url
-

The url for the image.

-
- -
-
state
-

The state that uses the specified title. The values are described in UIControlState.

-
- -
-
placeholder
-

The image to be set initially, until the image request finishes.

-
- -
-
options
-

The options to use when downloading the image. @see SDWebImageOptions for the possible values.

-
- -
- - - - - - - -
-

Discussion

-

Set the imageView image with an url, placeholder and custom options.

- -

The downloand is asynchronous and cached.

-
- - - - - - - -
-

Declared In

- UIButton+WebCache.h
-
- - -
- -
- -

setImageWithURL:forState:placeholderImage:options:completed:

- - - -
-

Set the imageView image with an url, placeholder and custom options.

-
- - - -
- (void)setImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options completed:(SDWebImageCompletedBlock)completedBlock
- - - -
-

Parameters

- -
-
url
-

The url for the image.

-
- -
-
state
-

The state that uses the specified title. The values are described in UIControlState.

-
- -
-
placeholder
-

The image to be set initially, until the image request finishes.

-
- -
-
options
-

The options to use when downloading the image. @see SDWebImageOptions for the possible values.

-
- -
-
completedBlock
-

A block called when operation has been completed. This block as no return value -and takes the requested UIImage as first parameter. In case of error the image parameter -is nil and the second parameter may contain an NSError. The third parameter is a Boolean -indicating if the image was retrived from the local cache of from the network.

-
- -
- - - - - - - -
-

Discussion

-

Set the imageView image with an url, placeholder and custom options.

- -

The downloand is asynchronous and cached.

-
- - - - - - - -
-

Declared In

- UIButton+WebCache.h
-
- - -
- -
- - -
- - -
-
- - - \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Documents/Categories/UIImage+ForceDecode.html b/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Documents/Categories/UIImage+ForceDecode.html deleted file mode 100644 index 6251ad2..0000000 --- a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Documents/Categories/UIImage+ForceDecode.html +++ /dev/null @@ -1,265 +0,0 @@ - - - - - UIImage(ForceDecode) Category Reference - - - - - - - -
- - - - -
- -
-
- - - -
- -
- - - - -
Declared inSDWebImageDecoder.h
- - - - - - -
- -

Tasks

- - - - - - - -
- - - - - - - -
- -

Class Methods

- -
- -

decodedImageWithImage:

- - - -
+ (UIImage *)decodedImageWithImage:(UIImage *)image
- - -
- -
- - - - -
- - -
-
- - - \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Documents/Categories/UIImageView+WebCache.html b/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Documents/Categories/UIImageView+WebCache.html deleted file mode 100644 index cfc46b6..0000000 --- a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Documents/Categories/UIImageView+WebCache.html +++ /dev/null @@ -1,870 +0,0 @@ - - - - - UIImageView(WebCache) Category Reference - - - - - - - -
- - - - -
- -
-
- - - -
- -
- - - - -
Declared inUIImageView+WebCache.h
- - - - -
- -

Overview

-

Integrates SDWebImage async downloading and caching of remote images with UIImageView.

- -

Usage with a UITableViewCell sub-class:

- -
#import <SDWebImage/UIImageView+WebCache.h>
-
-...
-
-- (UITableViewCell *)tableView:(UITableView *)tableView
-         cellForRowAtIndexPath:(NSIndexPath *)indexPath
-{
-    static NSString *MyIdentifier = @"MyIdentifier";
-
-    UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:MyIdentifier];
-
-    if (cell == nil)
-    {
-        cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault
-                                       reuseIdentifier:MyIdentifier] autorelease];
-    }
-
-    // Here we use the provided setImageWithURL: method to load the web image
-    // Ensure you use a placeholder image otherwise cells will be initialized with no image
-    [cell.imageView setImageWithURL:[NSURL URLWithString:@"http://example.com/image.jpg"]
-                   placeholderImage:[UIImage imageNamed:@"placeholder"]];
-
-    cell.textLabel.text = @"My Text";
-    return cell;
-}
-
-
- - - - - -
- -

Tasks

- - - - - - - -
- - - - - - - - - -
- -

Instance Methods

- -
- -

cancelCurrentImageLoad

- - - -
-

Cancel the current download

-
- - - -
- (void)cancelCurrentImageLoad
- - - - - - - - - -
-

Discussion

-

Cancel the current download

-
- - - - - - - -
-

Declared In

- UIImageView+WebCache.h
-
- - -
- -
- -

setImageWithURL:

- - - -
-

Set the imageView image with an url.

-
- - - -
- (void)setImageWithURL:(NSURL *)url
- - - -
-

Parameters

- -
-
url
-

The url for the image.

-
- -
- - - - - - - -
-

Discussion

-

Set the imageView image with an url.

- -

The downloand is asynchronous and cached.

-
- - - - - - - -
-

Declared In

- UIImageView+WebCache.h
-
- - -
- -
- -

setImageWithURL:completed:

- - - -
-

Set the imageView image with an url.

-
- - - -
- (void)setImageWithURL:(NSURL *)url completed:(SDWebImageCompletedBlock)completedBlock
- - - -
-

Parameters

- -
-
url
-

The url for the image.

-
- -
-
completedBlock
-

A block called when operation has been completed. This block as no return value -and takes the requested UIImage as first parameter. In case of error the image parameter -is nil and the second parameter may contain an NSError. The third parameter is a Boolean -indicating if the image was retrived from the local cache of from the network.

-
- -
- - - - - - - -
-

Discussion

-

Set the imageView image with an url.

- -

The downloand is asynchronous and cached.

-
- - - - - - - -
-

Declared In

- UIImageView+WebCache.h
-
- - -
- -
- -

setImageWithURL:placeholderImage:

- - - -
-

Set the imageView image with an url and a placeholder.

-
- - - -
- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder
- - - -
-

Parameters

- -
-
url
-

The url for the image.

-
- -
-
placeholder
-

The image to be set initially, until the image request finishes.

-
- -
- - - - - - - -
-

Discussion

-

Set the imageView image with an url and a placeholder.

- -

The downloand is asynchronous and cached.

-
- - - - - - - - - -
-

Declared In

- UIImageView+WebCache.h
-
- - -
- -
- -

setImageWithURL:placeholderImage:completed:

- - - -
-

Set the imageView image with an url, placeholder.

-
- - - -
- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder completed:(SDWebImageCompletedBlock)completedBlock
- - - -
-

Parameters

- -
-
url
-

The url for the image.

-
- -
-
placeholder
-

The image to be set initially, until the image request finishes.

-
- -
-
completedBlock
-

A block called when operation has been completed. This block as no return value -and takes the requested UIImage as first parameter. In case of error the image parameter -is nil and the second parameter may contain an NSError. The third parameter is a Boolean -indicating if the image was retrived from the local cache of from the network.

-
- -
- - - - - - - -
-

Discussion

-

Set the imageView image with an url, placeholder.

- -

The downloand is asynchronous and cached.

-
- - - - - - - -
-

Declared In

- UIImageView+WebCache.h
-
- - -
- -
- -

setImageWithURL:placeholderImage:options:

- - - -
-

Set the imageView image with an url, placeholder and custom options.

-
- - - -
- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options
- - - -
-

Parameters

- -
-
url
-

The url for the image.

-
- -
-
placeholder
-

The image to be set initially, until the image request finishes.

-
- -
-
options
-

The options to use when downloading the image. @see SDWebImageOptions for the possible values.

-
- -
- - - - - - - -
-

Discussion

-

Set the imageView image with an url, placeholder and custom options.

- -

The downloand is asynchronous and cached.

-
- - - - - - - -
-

Declared In

- UIImageView+WebCache.h
-
- - -
- -
- -

setImageWithURL:placeholderImage:options:completed:

- - - -
-

Set the imageView image with an url, placeholder and custom options.

-
- - - -
- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options completed:(SDWebImageCompletedBlock)completedBlock
- - - -
-

Parameters

- -
-
url
-

The url for the image.

-
- -
-
placeholder
-

The image to be set initially, until the image request finishes.

-
- -
-
options
-

The options to use when downloading the image. @see SDWebImageOptions for the possible values.

-
- -
-
completedBlock
-

A block called when operation has been completed. This block as no return value -and takes the requested UIImage as first parameter. In case of error the image parameter -is nil and the second parameter may contain an NSError. The third parameter is a Boolean -indicating if the image was retrived from the local cache of from the network.

-
- -
- - - - - - - -
-

Discussion

-

Set the imageView image with an url, placeholder and custom options.

- -

The downloand is asynchronous and cached.

-
- - - - - - - -
-

Declared In

- UIImageView+WebCache.h
-
- - -
- -
- -

setImageWithURL:placeholderImage:options:progress:completed:

- - - -
-

Set the imageView image with an url, placeholder and custom options.

-
- - - -
- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options progress:(SDWebImageDownloaderProgressBlock)progressBlock completed:(SDWebImageCompletedBlock)completedBlock
- - - -
-

Parameters

- -
-
url
-

The url for the image.

-
- -
-
placeholder
-

The image to be set initially, until the image request finishes.

-
- -
-
options
-

The options to use when downloading the image. @see SDWebImageOptions for the possible values.

-
- -
-
progressBlock
-

A block called while image is downloading

-
- -
-
completedBlock
-

A block called when operation has been completed. This block as no return value -and takes the requested UIImage as first parameter. In case of error the image parameter -is nil and the second parameter may contain an NSError. The third parameter is a Boolean -indicating if the image was retrived from the local cache of from the network.

-
- -
- - - - - - - -
-

Discussion

-

Set the imageView image with an url, placeholder and custom options.

- -

The downloand is asynchronous and cached.

-
- - - - - - - -
-

Declared In

- UIImageView+WebCache.h
-
- - -
- -
- - -
- - -
-
- - - \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Documents/Classes/SDImageCache.html b/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Documents/Classes/SDImageCache.html deleted file mode 100644 index 90bcdb3..0000000 --- a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Documents/Classes/SDImageCache.html +++ /dev/null @@ -1,1249 +0,0 @@ - - - - - SDImageCache Class Reference - - - - - - - -
- - - - -
- -
-
- - - -
- -
- - - - - - - -
Inherits fromNSObject
Declared inSDImageCache.h
- - - - -
- -

Overview

-

SDImageCache maintains a memory cache and an optional disk cache. Disk cache write operations are performed -asynchronous so it doesn’t add unnecessary latency to the UI.

-
- - - - - -
- -

Tasks

- - - - - - - -
- - - - - -
- -

Properties

- -
- -

maxCacheAge

- - - -
-

The maximum length of time to keep an image in the cache, in seconds

-
- - - -
@property (assign, nonatomic) NSInteger maxCacheAge
- - - - - - - - - -
-

Discussion

-

The maximum length of time to keep an image in the cache, in seconds

-
- - - - - - - -
-

Declared In

- SDImageCache.h
-
- - -
- -
- - - -
- -

Class Methods

- -
- -

sharedImageCache

- - - -
-

Returns global shared cache instance

-
- - - -
+ (SDImageCache *)sharedImageCache
- - - - - -
-

Return Value

-

SDImageCache global instance

-
- - - - - -
-

Discussion

-

Returns global shared cache instance

-
- - - - - - - -
-

Declared In

- SDImageCache.h
-
- - -
- -
- - - -
- -

Instance Methods

- -
- -

cleanDisk

- - - -
-

Remove all expired cached image from disk

-
- - - -
- (void)cleanDisk
- - - - - - - - - -
-

Discussion

-

Remove all expired cached image from disk

-
- - - - - - - -
-

Declared In

- SDImageCache.h
-
- - -
- -
- -

clearDisk

- - - -
-

Clear all disk cached images

-
- - - -
- (void)clearDisk
- - - - - - - - - -
-

Discussion

-

Clear all disk cached images

-
- - - - - - - -
-

Declared In

- SDImageCache.h
-
- - -
- -
- -

clearMemory

- - - -
-

Clear all memory cached images

-
- - - -
- (void)clearMemory
- - - - - - - - - -
-

Discussion

-

Clear all memory cached images

-
- - - - - - - -
-

Declared In

- SDImageCache.h
-
- - -
- -
- -

getDiskCount

- - - -
-

Get the number of images in the disk cache

-
- - - -
- (int)getDiskCount
- - - - - - - - - -
-

Discussion

-

Get the number of images in the disk cache

-
- - - - - - - -
-

Declared In

- SDImageCache.h
-
- - -
- -
- -

getSize

- - - -
-

Get the size used by the disk cache

-
- - - -
- (int)getSize
- - - - - - - - - -
-

Discussion

-

Get the size used by the disk cache

-
- - - - - - - -
-

Declared In

- SDImageCache.h
-
- - -
- -
- -

imageFromDiskCacheForKey:

- - - -
-

Query the disk cache synchronousely.

-
- - - -
- (UIImage *)imageFromDiskCacheForKey:(NSString *)key
- - - -
-

Parameters

- -
-
key
-

The unique key used to store the wanted image

-
- -
- - - - - - - -
-

Discussion

-

Query the disk cache synchronousely.

-
- - - - - - - -
-

Declared In

- SDImageCache.h
-
- - -
- -
- -

imageFromMemoryCacheForKey:

- - - -
-

Query the memory cache.

-
- - - -
- (UIImage *)imageFromMemoryCacheForKey:(NSString *)key
- - - -
-

Parameters

- -
-
key
-

The unique key used to store the wanted image

-
- -
- - - - - - - -
-

Discussion

-

Query the memory cache.

-
- - - - - - - -
-

Declared In

- SDImageCache.h
-
- - -
- -
- -

initWithNamespace:

- - - -
-

Init a new cache store with a specific namespace

-
- - - -
- (id)initWithNamespace:(NSString *)ns
- - - -
-

Parameters

- -
-
ns
-

The namespace to use for this cache store

-
- -
- - - - - - - -
-

Discussion

-

Init a new cache store with a specific namespace

-
- - - - - - - -
-

Declared In

- SDImageCache.h
-
- - -
- -
- -

queryDiskCacheForKey:done:

- - - -
-

Query the disk cache asynchronousely.

-
- - - -
- (void)queryDiskCacheForKey:(NSString *)key done:(void ( ^ ) ( UIImage *image , SDImageCacheType cacheType ))doneBlock
- - - -
-

Parameters

- -
-
key
-

The unique key used to store the wanted image

-
- -
- - - - - - - -
-

Discussion

-

Query the disk cache asynchronousely.

-
- - - - - - - -
-

Declared In

- SDImageCache.h
-
- - -
- -
- -

removeImageForKey:

- - - -
-

Remove the image from memory and disk cache synchronousely

-
- - - -
- (void)removeImageForKey:(NSString *)key
- - - -
-

Parameters

- -
-
key
-

The unique image cache key

-
- -
- - - - - - - -
-

Discussion

-

Remove the image from memory and disk cache synchronousely

-
- - - - - - - -
-

Declared In

- SDImageCache.h
-
- - -
- -
- -

removeImageForKey:fromDisk:

- - - -
-

Remove the image from memory and optionaly disk cache synchronousely

-
- - - -
- (void)removeImageForKey:(NSString *)key fromDisk:(BOOL)fromDisk
- - - -
-

Parameters

- -
-
key
-

The unique image cache key

-
- -
-
fromDisk
-

Also remove cache entry from disk if YES

-
- -
- - - - - - - -
-

Discussion

-

Remove the image from memory and optionaly disk cache synchronousely

-
- - - - - - - -
-

Declared In

- SDImageCache.h
-
- - -
- -
- -

storeImage:forKey:

- - - -
-

Store an image into memory and disk cache at the given key.

-
- - - -
- (void)storeImage:(UIImage *)image forKey:(NSString *)key
- - - -
-

Parameters

- -
-
image
-

The image to store

-
- -
-
key
-

The unique image cache key, usually it’s image absolute URL

-
- -
- - - - - - - -
-

Discussion

-

Store an image into memory and disk cache at the given key.

-
- - - - - - - -
-

Declared In

- SDImageCache.h
-
- - -
- -
- -

storeImage:forKey:toDisk:

- - - -
-

Store an image into memory and optionally disk cache at the given key.

-
- - - -
- (void)storeImage:(UIImage *)image forKey:(NSString *)key toDisk:(BOOL)toDisk
- - - -
-

Parameters

- -
-
image
-

The image to store

-
- -
-
key
-

The unique image cache key, usually it’s image absolute URL

-
- -
-
toDisk
-

Store the image to disk cache if YES

-
- -
- - - - - - - -
-

Discussion

-

Store an image into memory and optionally disk cache at the given key.

-
- - - - - - - -
-

Declared In

- SDImageCache.h
-
- - -
- -
- -

storeImage:imageData:forKey:toDisk:

- - - -
-

Store an image into memory and optionally disk cache at the given key.

-
- - - -
- (void)storeImage:(UIImage *)image imageData:(NSData *)data forKey:(NSString *)key toDisk:(BOOL)toDisk
- - - -
-

Parameters

- -
-
image
-

The image to store

-
- -
-
data
-

The image data as returned by the server, this representation will be used for disk storage -instead of converting the given image object into a storable/compressed image format in order -to save quality and CPU

-
- -
-
key
-

The unique image cache key, usually it’s image absolute URL

-
- -
-
toDisk
-

Store the image to disk cache if YES

-
- -
- - - - - - - -
-

Discussion

-

Store an image into memory and optionally disk cache at the given key.

-
- - - - - - - -
-

Declared In

- SDImageCache.h
-
- - -
- -
- - -
- - -
-
- - - \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Documents/Classes/SDWebImageDownloader.html b/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Documents/Classes/SDWebImageDownloader.html deleted file mode 100644 index 53b66a5..0000000 --- a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Documents/Classes/SDWebImageDownloader.html +++ /dev/null @@ -1,595 +0,0 @@ - - - - - SDWebImageDownloader Class Reference - - - - - - - -
- - - - -
- -
-
- - - -
- -
- - - - - - - -
Inherits fromNSObject
Declared inSDWebImageDownloader.h
- - - - -
- -

Overview

-

Asynchronous downloader dedicated and optimized for image loading.

-
- - - - - -
- -

Tasks

- - - - - - - -
- - - - - -
- -

Properties

- -
- -

maxConcurrentDownloads

- - - -
@property (assign, nonatomic) NSInteger maxConcurrentDownloads
- - -
- -
- -

queueMode

- - - -
-

Changes download operations unqueue mode. Default value is SDWebImageDownloaderFILOQueueMode.

-
- - - -
@property (assign, nonatomic) SDWebImageDownloaderQueueMode queueMode
- - - - - - - - - -
-

Discussion

-

Changes download operations unqueue mode. Default value is SDWebImageDownloaderFILOQueueMode.

-
- - - - - - - -
-

Declared In

- SDWebImageDownloader.h
-
- - -
- -
- - - -
- -

Class Methods

- -
- -

sharedDownloader

- - - -
+ (SDWebImageDownloader *)sharedDownloader
- - -
- -
- - - -
- -

Instance Methods

- -
- -

downloadImageWithURL:options:progress:completed:

- - - -
-

Creates a SDWebImageDownloader async downloader instance with a given URL

-
- - - -
- (id<SDWebImageOperation>)downloadImageWithURL:(NSURL *)url options:(SDWebImageDownloaderOptions)options progress:(SDWebImageDownloaderProgressBlock)progressBlock completed:(SDWebImageDownloaderCompletedBlock)completedBlock
- - - -
-

Parameters

- -
-
url
-

The URL to the image to download

-
- -
-
options
-

The options to be used for this download

-
- -
-
completed
-

A block called once the download is completed. -If the download succeeded, the image parameter is set, in case of error, -error parameter is set with the error. The last parameter is always YES -if SDWebImageDownloaderProgressiveDownload isn’t use. With the -SDWebImageDownloaderProgressiveDownload option, this block is called -repeatedly with the partial image object and the finished argument set to NO -before to be called a last time with the full image and finished argument -set to YES. In case of error, the finished argument is always YES.

-
- -
-
progress
-

A block called repeatedly while the image is downloading

-
- -
- - - -
-

Return Value

-

A cancellable SDWebImageOperation

-
- - - - - -
-

Discussion

-

Creates a SDWebImageDownloader async downloader instance with a given URL

- -

The delegate will be informed when the image is finish downloaded or an error has happen.

-
- - - - - - - -
-

Declared In

- SDWebImageDownloader.h
-
- - -
- -
- -

setValue:forHTTPHeaderField:

- - - -
-

Set a value for a HTTP header to be appended to each download HTTP request.

-
- - - -
- (void)setValue:(NSString *)value forHTTPHeaderField:(NSString *)field
- - - -
-

Parameters

- -
-
value
-

The value for the header field. Use nil value to remove the header.

-
- -
-
field
-

The name of the header field to set.

-
- -
- - - - - - - -
-

Discussion

-

Set a value for a HTTP header to be appended to each download HTTP request.

-
- - - - - - - -
-

Declared In

- SDWebImageDownloader.h
-
- - -
- -
- -

valueForHTTPHeaderField:

- - - -
-

Returns the value of the specified HTTP header field.

-
- - - -
- (NSString *)valueForHTTPHeaderField:(NSString *)field
- - - - - -
-

Return Value

-

The value associated with the header field field, or nil if there is no corresponding header field.

-
- - - - - -
-

Discussion

-

Returns the value of the specified HTTP header field.

-
- - - - - - - -
-

Declared In

- SDWebImageDownloader.h
-
- - -
- -
- - -
- - -
-
- - - \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Documents/Classes/SDWebImageDownloaderOperation.html b/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Documents/Classes/SDWebImageDownloaderOperation.html deleted file mode 100644 index 442ab43..0000000 --- a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Documents/Classes/SDWebImageDownloaderOperation.html +++ /dev/null @@ -1,328 +0,0 @@ - - - - - SDWebImageDownloaderOperation Class Reference - - - - - - - -
- - - - -
- -
-
- - - -
- -
- - - - - - - - - - -
Inherits fromNSOperation
Conforms toSDWebImageOperation
Declared inSDWebImageDownloaderOperation.h
- - - - - - -
- -

Tasks

- - - - - - - -
- - - - - -
- -

Properties

- -
- -

options

- - - -
@property (assign, nonatomic, readonly) SDWebImageDownloaderOptions options
- - -
- -
- -

request

- - - -
@property (strong, nonatomic, readonly) NSURLRequest *request
- - -
- -
- - - - - -
- -

Instance Methods

- -
- -

initWithRequest:queue:options:progress:completed:cancelled:

- - - -
- (id)initWithRequest:(NSURLRequest *)request queue:(dispatch_queue_t)queue options:(SDWebImageDownloaderOptions)options progress:(SDWebImageDownloaderProgressBlock)progressBlock completed:(SDWebImageDownloaderCompletedBlock)completedBlock cancelled:(void ( ^ ) ( ))cancelBlock
- - -
- -
- - -
- - -
-
- - - \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Documents/Classes/SDWebImageManager.html b/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Documents/Classes/SDWebImageManager.html deleted file mode 100644 index bd9ccf3..0000000 --- a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Documents/Classes/SDWebImageManager.html +++ /dev/null @@ -1,692 +0,0 @@ - - - - - SDWebImageManager Class Reference - - - - - - - -
- - - - -
- -
-
- - - -
- -
- - - - - - - -
Inherits fromNSObject
Declared inSDWebImageManager.h
- - - - -
- -

Overview

-

The SDWebImageManager is the class behind the UIImageView+WebCache category and likes. -It ties the asynchronous downloader (SDWebImageDownloader) with the image cache store (SDImageCache). -You can use this class directly to benefit from web image downloading with caching in another context than -a UIView.

- -

Here is a simple example of how to use SDWebImageManager:

- -

SDWebImageManager manager = [SDWebImageManager sharedManager]; -[manager downloadWithURL:imageURL -delegate:self -options:0 -progress:nil -completed:^(UIImage image, NSError *error, BOOL fromCache) -{ -if (image) -{ -// do something with image -} -}];

-
- - - - - -
- -

Tasks

- - - - - - - -
- - - - - -
- -

Properties

- -
- -

cacheKeyFilter

- - - -
-

The cache filter is a block used each time SDWebImageManager need to convert an URL into a cache key. This can -be used to remove dynamic part of an image URL.

-
- - - -
@property (strong) NSString *^ ) ( NSURL *url ) cacheKeyFilter
- - - - - - - - - -
-

Discussion

-

The cache filter is a block used each time SDWebImageManager need to convert an URL into a cache key. This can -be used to remove dynamic part of an image URL.

- -

The following example sets a filter in the application delegate that will remove any query-string from the -URL before to use it as a cache key:

- -
[[SDWebImageManager sharedManager] setCacheKeyFilter:^(NSURL *url)
-{
-    url = [[NSURL alloc] initWithScheme:url.scheme host:url.host path:url.path];
-    return [url absoluteString];
-}];
-
-
- - - - - - - -
-

Declared In

- SDWebImageManager.h
-
- - -
- -
- -

delegate

- - - -
@property (weak, nonatomic) id<SDWebImageManagerDelegate> delegate
- - -
- -
- -

imageCache

- - - -
@property (strong, nonatomic, readonly) SDImageCache *imageCache
- - -
- -
- -

imageDownloader

- - - -
@property (strong, nonatomic, readonly) SDWebImageDownloader *imageDownloader
- - -
- -
- - - -
- -

Class Methods

- -
- -

sharedManager

- - - -
-

Returns global SDWebImageManager instance.

-
- - - -
+ (SDWebImageManager *)sharedManager
- - - - - -
-

Return Value

-

SDWebImageManager shared instance

-
- - - - - -
-

Discussion

-

Returns global SDWebImageManager instance.

-
- - - - - - - -
-

Declared In

- SDWebImageManager.h
-
- - -
- -
- - - -
- -

Instance Methods

- -
- -

cancelAll

- - - -
-

Cancel all current opreations

-
- - - -
- (void)cancelAll
- - - - - - - - - -
-

Discussion

-

Cancel all current opreations

-
- - - - - - - -
-

Declared In

- SDWebImageManager.h
-
- - -
- -
- -

downloadWithURL:options:progress:completed:

- - - -
-

Downloads the image at the given URL if not present in cache or return the cached version otherwise.

-
- - - -
- (id<SDWebImageOperation>)downloadWithURL:(NSURL *)url options:(SDWebImageOptions)options progress:(SDWebImageDownloaderProgressBlock)progressBlock completed:(SDWebImageCompletedWithFinishedBlock)completedBlock
- - - -
-

Parameters

- -
-
url
-

The URL to the image

-
- -
-
options
-

A mask to specify options to use for this request

-
- -
-
progressBlock
-

A block called while image is downloading

-
- -
-
completedBlock
-

A block called when operation has been completed.

- -

This block as no return value and takes the requested UIImage as first parameter. -In case of error the image parameter is nil and the second parameter may contain an NSError.

- -

The third parameter is a Boolean indicating if the image was retrived from the local cache -of from the network.

- -

The last parameter is set to NO when the SDWebImageProgressiveDownload option is used and -the image is downloading. This block is thus called repetidly with a partial image. When -image is fully downloaded, the block is called a last time with the full image and the last -parameter set to YES.

-
- -
-
delegate
-

The delegate object used to send result back

-
- -
- - - -
-

Return Value

-

Returns a cancellable NSOperation

-
- - - - - -
-

Discussion

-

Downloads the image at the given URL if not present in cache or return the cached version otherwise.

-
- - - - - - - -
-

Declared In

- SDWebImageManager.h
-
- - -
- -
- -

isRunning

- - - -
-

Check one or more operations running

-
- - - -
- (BOOL)isRunning
- - - - - - - - - -
-

Discussion

-

Check one or more operations running

-
- - - - - - - -
-

Declared In

- SDWebImageManager.h
-
- - -
- -
- - -
- - -
-
- - - \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Documents/Classes/SDWebImagePrefetcher.html b/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Documents/Classes/SDWebImagePrefetcher.html deleted file mode 100644 index bb2c033..0000000 --- a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Documents/Classes/SDWebImagePrefetcher.html +++ /dev/null @@ -1,633 +0,0 @@ - - - - - SDWebImagePrefetcher Class Reference - - - - - - - -
- - - - -
- -
-
- - - -
- -
- - - - - - - -
Inherits fromNSObject
Declared inSDWebImagePrefetcher.h
- - - - -
- -

Overview

-

Prefetch some URLs in the cache for future use. Images are downloaded in low priority.

-
- - - - - -
- -

Tasks

- - - - - -
    -
  • - -   maxConcurrentDownloads -

    Maximum number of URLs to prefetch at the same time. Defaults to 3.

    -
    - property - -
  • - -   options -

    SDWebImageOptions for prefetcher. Defaults to SDWebImageLowPriority.

    -
    - property - -
  • - - + sharedImagePrefetcher -

    Return the global image prefetcher instance.

    -
    - - -
  • - - – prefetchURLs: -

    Assign list of URLs to let SDWebImagePrefetcher to queue the prefetching, -currently one image is downloaded at a time, -and skips images for failed downloads and proceed to the next image in the list

    -
    - - -
  • - - – prefetchURLs:completed: -

    Assign list of URLs to let SDWebImagePrefetcher to queue the prefetching, -currently one image is downloaded at a time, -and skips images for failed downloads and proceed to the next image in the list

    -
    - - -
  • - - – cancelPrefetching -

    Remove and cancel queued list

    -
    - - -
  • -
- -
- - - - - -
- -

Properties

- -
- -

maxConcurrentDownloads

- - - -
-

Maximum number of URLs to prefetch at the same time. Defaults to 3.

-
- - - -
@property (nonatomic, assign) NSUInteger maxConcurrentDownloads
- - - - - - - - - -
-

Discussion

-

Maximum number of URLs to prefetch at the same time. Defaults to 3.

-
- - - - - - - -
-

Declared In

- SDWebImagePrefetcher.h
-
- - -
- -
- -

options

- - - -
-

SDWebImageOptions for prefetcher. Defaults to SDWebImageLowPriority.

-
- - - -
@property (nonatomic, assign) SDWebImageOptions options
- - - - - - - - - -
-

Discussion

-

SDWebImageOptions for prefetcher. Defaults to SDWebImageLowPriority.

-
- - - - - - - -
-

Declared In

- SDWebImagePrefetcher.h
-
- - -
- -
- - - -
- -

Class Methods

- -
- -

sharedImagePrefetcher

- - - -
-

Return the global image prefetcher instance.

-
- - - -
+ (SDWebImagePrefetcher *)sharedImagePrefetcher
- - - - - - - - - -
-

Discussion

-

Return the global image prefetcher instance.

-
- - - - - - - -
-

Declared In

- SDWebImagePrefetcher.h
-
- - -
- -
- - - -
- -

Instance Methods

- -
- -

cancelPrefetching

- - - -
-

Remove and cancel queued list

-
- - - -
- (void)cancelPrefetching
- - - - - - - - - -
-

Discussion

-

Remove and cancel queued list

-
- - - - - - - -
-

Declared In

- SDWebImagePrefetcher.h
-
- - -
- -
- -

prefetchURLs:

- - - -
-

Assign list of URLs to let SDWebImagePrefetcher to queue the prefetching, -currently one image is downloaded at a time, -and skips images for failed downloads and proceed to the next image in the list

-
- - - -
- (void)prefetchURLs:(NSArray *)urls
- - - -
-

Parameters

- -
-
urls
-

list of URLs to prefetch

-
- -
- - - - - - - -
-

Discussion

-

Assign list of URLs to let SDWebImagePrefetcher to queue the prefetching, -currently one image is downloaded at a time, -and skips images for failed downloads and proceed to the next image in the list

-
- - - - - - - -
-

Declared In

- SDWebImagePrefetcher.h
-
- - -
- -
- -

prefetchURLs:completed:

- - - -
-

Assign list of URLs to let SDWebImagePrefetcher to queue the prefetching, -currently one image is downloaded at a time, -and skips images for failed downloads and proceed to the next image in the list

-
- - - -
- (void)prefetchURLs:(NSArray *)urls completed:(void ( ^ ) ( NSUInteger finishedCount , NSUInteger skippedCount ))completionBlock
- - - -
-

Parameters

- -
-
urls
-

list of URLs to prefetch

-
- -
-
completionBlock
-

block to be called when prefetching is completed

-
- -
- - - - - - - -
-

Discussion

-

Assign list of URLs to let SDWebImagePrefetcher to queue the prefetching, -currently one image is downloaded at a time, -and skips images for failed downloads and proceed to the next image in the list

-
- - - - - - - -
-

Declared In

- SDWebImagePrefetcher.h
-
- - -
- -
- - -
- - -
-
- - - \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Documents/Protocols/SDWebImageManagerDelegate.html b/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Documents/Protocols/SDWebImageManagerDelegate.html deleted file mode 100644 index 53eec44..0000000 --- a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Documents/Protocols/SDWebImageManagerDelegate.html +++ /dev/null @@ -1,415 +0,0 @@ - - - - - SDWebImageManagerDelegate Protocol Reference - - - - - - - -
- - - - -
- -
-
- - - -
- -
- - - - - - - -
Conforms toNSObject
Declared inSDWebImageManager.h
- - - - -
- -

Overview

-

Even if the image is cached, respect the HTTP response cache control, and refresh the image from remote location if needed. -The disk caching will be handled by NSURLCache instead of SDWebImage leading to slight performance degradation. -This option helps deal with images changing behind the same request URL, e.g. Facebook graph api profile pics. -If a cached image is refreshed, the completion block is called once with the cached image and again with the final image.

- -

Use this flag only if you can’t make your URLs static with embeded cache busting parameter.

-
- - - - - -
- -

Tasks

- - - - - - - -
- - - - - - - - - -
- -

Instance Methods

- -
- -

imageManager:shouldDownloadImageForURL:

- - - -
-

Controls which image should be downloaded when the image is not found in the cache.

-
- - - -
- (BOOL)imageManager:(SDWebImageManager *)imageManager shouldDownloadImageForURL:(NSURL *)imageURL
- - - -
-

Parameters

- -
-
imageManager
-

The current SDWebImageManager

-
- -
-
imageURL
-

The url of the image to be downloaded

-
- -
- - - -
-

Return Value

-

Return NO to prevent the downloading of the image on cache misses. If not implemented, YES is implied.

-
- - - - - -
-

Discussion

-

Controls which image should be downloaded when the image is not found in the cache.

-
- - - - - - - -
-

Declared In

- SDWebImageManager.h
-
- - -
- -
- -

imageManager:transformDownloadedImage:withURL:

- - - -
-

Allows to transform the image immediately after it has been downloaded and just before to cache it on disk and memory. -NOTE: This method is called from a global queue in order to not to block the main thread.

-
- - - -
- (UIImage *)imageManager:(SDWebImageManager *)imageManager transformDownloadedImage:(UIImage *)image withURL:(NSURL *)imageURL
- - - -
-

Parameters

- -
-
imageManager
-

The current SDWebImageManager

-
- -
-
image
-

The image to transform

-
- -
-
imageURL
-

The url of the image to transform

-
- -
- - - -
-

Return Value

-

The transformed image object.

-
- - - - - -
-

Discussion

-

Allows to transform the image immediately after it has been downloaded and just before to cache it on disk and memory. -NOTE: This method is called from a global queue in order to not to block the main thread.

-
- - - - - - - -
-

Declared In

- SDWebImageManager.h
-
- - -
- -
- - -
- - -
-
- - - \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Documents/Protocols/SDWebImageOperation.html b/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Documents/Protocols/SDWebImageOperation.html deleted file mode 100644 index 3f89bbb..0000000 --- a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Documents/Protocols/SDWebImageOperation.html +++ /dev/null @@ -1,268 +0,0 @@ - - - - - SDWebImageOperation Protocol Reference - - - - - - - -
- - - - -
- -
-
- - - -
- -
- - - - - - - -
Conforms toNSObject
Declared inSDWebImageOperation.h
- - - - - - -
- -

Tasks

- - - - - - - -
- - - - - - - - - -
- -

Instance Methods

- -
- -

cancel

- - - -
- (void)cancel
- - -
- -
- - -
- - -
-
- - - \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Documents/css/styles.css b/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Documents/css/styles.css deleted file mode 100755 index bf946c0..0000000 --- a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Documents/css/styles.css +++ /dev/null @@ -1,584 +0,0 @@ -body { - font-family: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; - font-size: 13px; -} - -code { - font-family: Courier, Consolas, monospace; - font-size: 13px; - color: #666; -} - -pre { - font-family: Courier, Consolas, monospace; - font-size: 13px; - line-height: 18px; - tab-interval: 0.5em; - border: 1px solid #C7CFD5; - background-color: #F1F5F9; - color: #666; - padding: 0.3em 1em; -} - -ul { - list-style-type: square; -} - -li { - margin-bottom: 10px; -} - -a, a code { - text-decoration: none; - color: #36C; -} - -a:hover, a:hover code { - text-decoration: underline; - color: #36C; -} - -h2 { - border-bottom: 1px solid #8391A8; - color: #3C4C6C; - font-size: 187%; - font-weight: normal; - margin-top: 1.75em; - padding-bottom: 2px; -} - -table { - margin-bottom: 4em; - border-collapse:collapse; - vertical-align: middle; -} - -td { - border: 1px solid #9BB3CD; - padding: .667em; - font-size: 100%; -} - -th { - border: 1px solid #9BB3CD; - padding: .3em .667em .3em .667em; - background: #93A5BB; - font-size: 103%; - font-weight: bold; - color: white; - text-align: left; -} - -/* @group Common page elements */ - -#top_header { - height: 91px; - left: 0; - min-width: 598px; - position: absolute; - right: 0; - top: 0; - z-index: 900; -} - -#footer { - clear: both; - padding-top: 20px; - text-align: center; -} - -#contents, #overview_contents { - -webkit-overflow-scrolling: touch; - border-top: 1px solid #2B334F; - position: absolute; - top: 91px; - left: 0; - right: 0; - bottom: 0; - overflow-x: hidden; - overflow-y: auto; - padding-left: 2em; - padding-right: 2em; - padding-top: 1em; - min-width: 550px; -} - -#contents.isShowingTOC { - left: 230px; - min-width: 320px; -} - -.copyright { - font-size: 12px; -} - -.generator { - font-size: 11px; -} - -.main-navigation ul li { - display: inline; - margin-left: 15px; - list-style: none; -} - -.navigation-top { - clear: both; - float: right; -} - -.navigation-bottom { - clear: both; - float: right; - margin-top: 20px; - margin-bottom: -10px; -} - -.open > .disclosure { - background-image: url("../img/disclosure_open.png"); -} - -.disclosure { - background: url("../img/disclosure.png") no-repeat scroll 0 0; -} - -.disclosure, .nodisclosure { - display: inline-block; - height: 8px; - margin-right: 5px; - position: relative; - width: 9px; -} - -/* @end */ - -/* @group Header */ - -#top_header #library { - background: url("../img/library_background.png") repeat-x 0 0 #485E78; - background-color: #ccc; - height: 35px; - font-size: 115%; -} - -#top_header #library #libraryTitle { - color: #FFFFFF; - margin-left: 15px; - text-shadow: 0 -1px 0 #485E78; - top: 8px; - position: absolute; -} - -#top_header #library #developerHome { - color: #92979E; - right: 15px; - top: 8px; - position: absolute; -} - -#top_header #library a:hover { - text-decoration: none; -} - -#top_header #title { - background: url("../img/title_background.png") repeat-x 0 0 #8A98A9; - border-bottom: 1px solid #B6B6B6; - height: 25px; - overflow: hidden; -} - -#top_header h1 { - font-size: 115%; - font-weight: normal; - margin: 0; - padding: 3px 0 2px; - text-align: center; - text-shadow: 0 1px 0 #D5D5D5; - white-space: nowrap; -} - -#headerButtons { - background-color: #D8D8D8; - background-image: url("../img/button_bar_background.png"); - border-bottom: 1px solid #EDEDED; - border-top: 1px solid #2B334F; - font-size: 8pt; - height: 28px; - left: 0; - list-style: none outside none; - margin: 0; - overflow: hidden; - padding: 0; - position: absolute; - right: 0; - top: 61px; -} - -#headerButtons li { - background-repeat: no-repeat; - display: inline; - margin-top: 0; - margin-bottom: 0; - padding: 0; -} - -#toc_button button { - border-color: #ACACAC; - border-style: none solid none none; - border-width: 0 1px 0 0; - height: 28px; - margin: 0; - padding-left: 30px; - text-align: left; - width: 230px; -} - -li#jumpto_button { - left: 230px; - margin-left: 0; - position: absolute; -} - -li#jumpto_button select { - height: 22px; - margin: 5px 2px 0 10px; - max-width: 300px; -} - -/* @end */ - -/* @group Table of contents */ - -#tocContainer.isShowingTOC { - border-right: 1px solid #ACACAC; - display: block; - overflow-x: hidden; - overflow-y: auto; - padding: 0; -} - -#tocContainer { - background-color: #E4EBF7; - border-top: 1px solid #2B334F; - bottom: 0; - display: none; - left: 0; - overflow: hidden; - position: absolute; - top: 91px; - width: 229px; -} - -#tocContainer > ul#toc { - font-size: 11px; - margin: 0; - padding: 12px 0 18px; - width: 209px; - -moz-user-select: none; - -webkit-user-select: none; - user-select: none; -} - -#tocContainer > ul#toc > li { - margin: 0; - padding: 0 0 7px 30px; - text-indent: -15px; -} - -#tocContainer > ul#toc > li > .sectionName a { - color: #000000; - font-weight: bold; -} - -#tocContainer > ul#toc > li > .sectionName a:hover { - text-decoration: none; -} - -#tocContainer > ul#toc li.children > ul { - display: none; - height: 0; -} - -#tocContainer > ul#toc > li > ul { - margin: 0; - padding: 0; -} - -#tocContainer > ul#toc > li > ul, ul#toc > li > ul > li { - margin-left: 0; - margin-bottom: 0; - padding-left: 15px; -} - -#tocContainer > ul#toc > li ul { - list-style: none; - margin-right: 0; - padding-right: 0; -} - -#tocContainer > ul#toc li.children.open > ul { - display: block; - height: auto; - margin-left: -15px; - padding-left: 0; -} - -#tocContainer > ul#toc > li > ul, ul#toc > li > ul > li { - margin-left: 0; - padding-left: 15px; -} - -#tocContainer li ul li { - margin-top: 0.583em; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; -} - -#tocContainer li ul li span.sectionName { - white-space: normal; -} - -#tocContainer > ul#toc > li > ul > li > .sectionName a { - font-weight: bold; -} - -#tocContainer > ul#toc > li > ul a { - color: #4F4F4F; -} - -/* @end */ - -/* @group Index formatting */ - -.index-title { - font-size: 13px; - font-weight: normal; -} - -.index-column { - float: left; - width: 30%; - min-width: 200px; - font-size: 11px; -} - -.index-column ul { - margin: 8px 0 0 0; - padding: 0; - list-style: none; -} - -.index-column ul li { - margin: 0 0 3px 0; - padding: 0; -} - -.hierarchy-column { - min-width: 400px; -} - -.hierarchy-column ul { - margin: 3px 0 0 15px; -} - -.hierarchy-column ul li { - list-style-type: square; -} - -/* @end */ - -/* @group Common formatting elements */ - -.title { - font-weight: normal; - font-size: 215%; - margin-top:0; -} - -.subtitle { - font-weight: normal; - font-size: 180%; - color: #3C4C6C; - border-bottom: 1px solid #5088C5; -} - -.subsubtitle { - font-weight: normal; - font-size: 145%; - height: 0.7em; -} - -.note { - border: 1px solid #5088C5; - background-color: white; - margin: 1.667em 0 1.75em 0; - padding: 0 .667em .083em .750em; -} - -.warning { - border: 1px solid #5088C5; - background-color: #F0F3F7; - margin-bottom: 0.5em; - padding: 0.3em 0.8em; -} - -.bug { - border: 1px solid #000; - background-color: #ffffcc; - margin-bottom: 0.5em; - padding: 0.3em 0.8em; -} - -.deprecated { - color: #F60425; -} - -/* @end */ - -/* @group Common layout */ - -.section { - margin-top: 3em; -} - -/* @end */ - -/* @group Object specification section */ - -.section-specification { - margin-left: 2.5em; - margin-right: 2.5em; - font-size: 12px; -} - -.section-specification table { - margin-bottom: 0em; - border-top: 1px solid #d6e0e5; -} - -.section-specification td { - vertical-align: top; - border-bottom: 1px solid #d6e0e5; - border-left-width: 0px; - border-right-width: 0px; - border-top-width: 0px; - padding: .6em; -} - -.section-specification .specification-title { - font-weight: bold; -} - -/* @end */ - -/* @group Tasks section */ - -.task-list { - list-style-type: none; - padding-left: 0px; -} - -.task-list li { - margin-bottom: 3px; -} - -.task-item-suffix { - color: #996; - font-size: 12px; - font-style: italic; - margin-left: 0.5em; -} - -span.tooltip span.tooltip { - font-size: 1.0em; - display: none; - padding: 0.3em; - border: 1px solid #aaa; - background-color: #fdfec8; - color: #000; - text-align: left; -} - -span.tooltip:hover span.tooltip { - display: block; - position: absolute; - margin-left: 2em; -} - -/* @end */ - -/* @group Method section */ - -.section-method { - margin-top: 2.3em; -} - -.method-title { - margin-bottom: 1.5em; -} - -.method-subtitle { - margin-top: 0.7em; - margin-bottom: 0.2em; -} - -.method-subsection p { - margin-top: 0.4em; - margin-bottom: 0.8em; -} - -.method-declaration { - margin-top:1.182em; - margin-bottom:.909em; -} - -.method-declaration code { - font:14px Courier, Consolas, monospace; - color:#000; -} - -.declaration { - color: #000; -} - -.argument-def { - margin-top: 0.3em; - margin-bottom: 0.3em; -} - -.argument-def dd { - margin-left: 1.25em; -} - -.see-also-section ul { - list-style-type: none; - padding-left: 0px; - margin-top: 0; -} - -.see-also-section li { - margin-bottom: 3px; -} - -.declared-in-ref { - color: #666; -} - -#tocContainer.hideInXcode { - display: none; - border: 0px solid black; -} - -#top_header.hideInXcode { - display: none; -} - -#contents.hideInXcode { - border: 0px solid black; - top: 0px; - left: 0px; -} - -/* @end */ - diff --git a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Documents/css/stylesPrint.css b/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Documents/css/stylesPrint.css deleted file mode 100644 index dc54cd2..0000000 --- a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Documents/css/stylesPrint.css +++ /dev/null @@ -1,22 +0,0 @@ - -header { - display: none; -} - -div.main-navigation, div.navigation-top { - display: none; -} - -div#overview_contents, div#contents.isShowingTOC, div#contents { - overflow: visible; - position: relative; - top: 0px; - border: none; - left: 0; -} -#tocContainer.isShowingTOC { - display: none; -} -nav { - display: none; -} \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Documents/hierarchy.html b/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Documents/hierarchy.html deleted file mode 100644 index 1354438..0000000 --- a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Documents/hierarchy.html +++ /dev/null @@ -1,111 +0,0 @@ - - - - - SDWebImage 3.2 Hierarchy - - - - - -
- - - - -
-
-
- - -
- -
-

Class Hierarchy

- - - -
- - - -
- -

Protocol References

- - - -

Category References

- - -
- -
- - -
-
- - \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Documents/img/button_bar_background.png b/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Documents/img/button_bar_background.png deleted file mode 100644 index d2cd0d8..0000000 Binary files a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Documents/img/button_bar_background.png and /dev/null differ diff --git a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Documents/img/disclosure.png b/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Documents/img/disclosure.png deleted file mode 100644 index 147198f..0000000 Binary files a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Documents/img/disclosure.png and /dev/null differ diff --git a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Documents/img/disclosure_open.png b/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Documents/img/disclosure_open.png deleted file mode 100644 index ea3842b..0000000 Binary files a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Documents/img/disclosure_open.png and /dev/null differ diff --git a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Documents/img/library_background.png b/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Documents/img/library_background.png deleted file mode 100644 index 8fa6d45..0000000 Binary files a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Documents/img/library_background.png and /dev/null differ diff --git a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Documents/img/title_background.png b/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Documents/img/title_background.png deleted file mode 100644 index 9001dac..0000000 Binary files a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Documents/img/title_background.png and /dev/null differ diff --git a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Documents/index.html b/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Documents/index.html deleted file mode 100644 index 1f33d66..0000000 --- a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Documents/index.html +++ /dev/null @@ -1,371 +0,0 @@ - - - - - SDWebImage 3.2 Reference - - - - - -
- - - - -
-
-
- - -
- -
- - -

Web Image

- -

This library provides a category for UIImageVIew with support for remote images coming from the web.

- -

It provides:

- -
    -
  • An UIImageView category adding web image and cache management to the Cocoa Touch framework
  • -
  • An asynchronous image downloader
  • -
  • An asynchronous memory + disk image caching with automatic cache expiration handling
  • -
  • A background image decompression
  • -
  • A guarantee that the same URL won’t be downloaded several times
  • -
  • A guarantee that bogus URLs won’t be retried again and again
  • -
  • A guarantee that main thread will never be blocked
  • -
  • Performances!
  • -
  • Use GCD and ARC
  • -
- - -

NOTE: The version 3.0 of SDWebImage isn’t fully backward compatible with 2.0 and requires iOS 5.0 -minimum deployement version. If you need iOS < 5.0 support, please use the last 2.0 version.

- -

How is SDWebImage better than X?

- -

Who Use It

- -

Find out who use SDWebImage and add your app to the list.

- -

How To Use

- -

API documentation is available at http://hackemist.com/SDWebImage/doc/

- -

Using UIImageView+WebCache category with UITableView

- -

Just #import the UIImageView+WebCache.h header, and call the setImageWithURL:placeholderImage: -method from the tableView:cellForRowAtIndexPath: UITableViewDataSource method. Everything will be -handled for you, from async downloads to caching management.

- -

```objective-c

- -

import <SDWebImage/UIImageView+WebCache.h>

- -

- -
    -
  • (UITableViewCell )tableView:(UITableView )tableView cellForRowAtIndexPath:(NSIndexPath )indexPath -{ - static NSString MyIdentifier = @“MyIdentifier”;

    - -

    UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:MyIdentifier];

    - -

    if (cell == nil) - { - cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault - reuseIdentifier:MyIdentifier] autorelease]; - }

    - -

    // Here we use the new provided setImageWithURL: method to load the web image - [cell.imageView setImageWithURL:[NSURL URLWithString:@“http://www.domain.com/path/to/image.jpg”] - placeholderImage:[UIImage imageNamed:@“placeholder.png”]];

    - -

    cell.textLabel.text = @“My Text”; - return cell; -} -```

  • -
- - -

Using blocks

- -

With blocks, you can be notified about the image download progress and whenever the image retrival -has completed with success or not:

- -

```objective-c -// Here we use the new provided setImageWithURL: method to load the web image -[cell.imageView setImageWithURL:[NSURL URLWithString:@“http://www.domain.com/path/to/image.jpg”]

- -
           placeholderImage:[UIImage imageNamed:@"placeholder.png"]
-                  completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType) {... completion code here ...}];
-
- -

```

- -

Note: neither your success nor failure block will be call if your image request is canceled before completion.

- -

Using SDWebImageManager

- -

The SDWebImageManager is the class behind the UIImageView+WebCache category. It ties the -asynchronous downloader with the image cache store. You can use this class directly to benefit -from web image downloading with caching in another context than a UIView (ie: with Cocoa).

- -

Here is a simple example of how to use SDWebImageManager:

- -

```objective-c -SDWebImageManager *manager = [SDWebImageManager sharedManager]; -[manager downloadWithURL:imageURL

- -
             options:0
-             progress:^(NSUInteger receivedSize, long long expectedSize)
-             {
-                 // progression tracking code
-             }
-             completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType)
-             {
-                 if (image)
-                 {
-                     // do something with image
-                 }
-             }];
-
- -

```

- -

Using Asynchronous Image Downloader Independently

- -

It’s also possible to use the async image downloader independently:

- -

```objective-c -[SDWebImageDownloader.sharedDownloader downloadImageWithURL:imageURL

- -
                                                options:0
-                                               progress:^(NSUInteger receivedSize, long long expectedSize)
-                                               {
-                                                   // progression tracking code
-                                               }
-                                               completed:^(UIImage *image, NSError *error, BOOL finished)
-                                               {
-                                                   if (image && finished)
-                                                   {
-                                                       // do something with image
-                                                   }
-                                               }];
-
- -

```

- -

Using Asynchronous Image Caching Independently

- -

It is also possible to use the aync based image cache store independently. SDImageCache -maintains a memory cache and an optional disk cache. Disk cache write operations are performed -asynchronous so it doesn’t add unnecessary latency to the UI.

- -

The SDImageCache class provides a singleton instance for convenience but you can create your own -instance if you want to create separated cache namespace.

- -

To lookup the cache, you use the imageForKey: method. If the method returns nil, it means the cache -doesn’t currently own the image. You are thus responsible for generating and caching it. The cache -key is an application unique identifier for the image to cache. It is generally the absolute URL of -the image.

- -

```objective-c -SDImageCache imageCache = [SDImageCache.alloc initWithNamespace:@“myNamespace”]; -[imageCache queryDiskCacheForKey:myCacheKey done:^(UIImage image) -{

- -
// image is not nil if image was found
-
- -

}]; -```

- -

By default SDImageCache will lookup the disk cache if an image can’t be found in the memory cache. -You can prevent this from happening by calling the alternative method imageFromMemoryCacheForKey:.

- -

To store an image into the cache, you use the storeImage:forKey: method:

- -

objective-c -[[SDImageCache sharedImageCache] storeImage:myImage forKey:myCacheKey]; -

- -

By default, the image will be stored in memory cache as well as on disk cache (asynchronously). If -you want only the memory cache, use the alternative method storeImage:forKey:toDisk: with a negative -third argument.

- -

Using cache key filter

- -

Sometime, you may not want to use the image URL as cache key because part of the URL is dynamic -(i.e.: for access control purpose). SDWebImageManager provides a way to set a cache key filter that -takes the NSURL as input, and output a cache key NSString.

- -

The following example sets a filter in the application delegate that will remove any query-string from -the URL before to use it as a cache key:

- -

```objective-c -– (BOOL)application:(UIApplication )application didFinishLaunchingWithOptions:(NSDictionary )launchOptions -{

- -
SDWebImageManager.sharedManager.cacheKeyFilter:^(NSURL *url)
-{
-    url = [[[NSURL alloc] initWithScheme:url.scheme host:url.host path:url.path] autorelease];
-    return [url absoluteString];
-};
-
-// Your app init code...
-return YES;
-
- -

} -```

- -

Common Problems

- -

Using dynamic image size with UITableViewCell

- -

UITableView determins the size of the image by the first image set for a cell. If your remote images -don’t have the same size as your placeholder image, you may experience strange anamorphic scaling issue. -The following article gives a way to workaround this issue:

- -

http://www.wrichards.com/blog/2011/11/sdwebimage-fixed-width-cell-images/

- -

Installation

- -

There are two ways to use this in your project: copy all the files into your project, or import the project as a static library.

- -

Add the SDWebImage project to your project

- -
    -
  • Download and unzip the last version of the framework from the download page
  • -
  • Right-click on the project navigator and select “Add Files to "Your Project”:
  • -
  • In the dialog, select SDWebImage.framework:
  • -
  • Check the “Copy items into destination group’s folder (if needed)” checkbox
  • -
- - -

Add dependencies

- -
    -
  • In you application project app’s target settings, find the “Build Phases” section and open the “Link Binary With Libraries” block:
  • -
  • Click the “+” button again and select the “ImageIO.framework”, this is needed by the progressive download feature:
  • -
- - -

Add Linker Flag

- -

Open the “Build Settings” tab, in the “Linking” section, locate the “Other Linker Flags” setting and add the “-ObjC” flag:

- -

Other Linker Flags_other_linker_flags.jpg)

- -

Import headers in your source files

- -

In the source files where you need to use the library, import the header file:

- -

```objective-c

- -

import <SDWebImage/UIImageView+WebCache.h>

- -

```

- -

Build Project

- -

At this point your workspace should build without error. If you are having problem, post to the Issue and the -community can help you solve it.

- -

Future Enhancements

- -
    -
  • LRU memory cache cleanup instead of reset on memory warning
  • -
- - -

Licenses

- -

All source code is licensed under the MIT License.

- - -
- - - - - - - - - -
- -

Protocol References

- - - -

Category References

- - -
- -
- - -
-
- - \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Nodes.xml b/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Nodes.xml deleted file mode 100644 index 4410ba5..0000000 --- a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Nodes.xml +++ /dev/null @@ -1,100 +0,0 @@ - - - - - SDWebImage 3.2 - index.html - - - - - Classes - index.html - - - - - - - - - - - - - Categories - index.html - - - - - - - - - - - - Protocols - index.html - - - - - - - - - - - - - - SDImageCache - Classes/SDImageCache.html - - - SDWebImageDownloader - Classes/SDWebImageDownloader.html - - - SDWebImageDownloaderOperation - Classes/SDWebImageDownloaderOperation.html - - - SDWebImageManager - Classes/SDWebImageManager.html - - - SDWebImagePrefetcher - Classes/SDWebImagePrefetcher.html - - - - MKAnnotationView(WebCache) - Categories/MKAnnotationView+WebCache.html - - - UIButton(WebCache) - Categories/UIButton+WebCache.html - - - UIImage(ForceDecode) - Categories/UIImage+ForceDecode.html - - - UIImageView(WebCache) - Categories/UIImageView+WebCache.html - - - - SDWebImageManagerDelegate - Protocols/SDWebImageManagerDelegate.html - - - SDWebImageOperation - Protocols/SDWebImageOperation.html - - - - \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Tokens1.xml b/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Tokens1.xml deleted file mode 100644 index a51e09f..0000000 --- a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Tokens1.xml +++ /dev/null @@ -1,271 +0,0 @@ - - - - - - //apple_ref/occ/cl/SDImageCache - SDImageCache maintains a memory cache and an optional disk cache. Disk cache write operations are performed -asynchronous so it doesn’t add unnecessary latency to the UI. - SDImageCache.h - - - - - - - //apple_ref/occ/instm/SDImageCache/setMaxCacheAge: - The maximum length of time to keep an image in the cache, in seconds - SDImageCache.h - - @property (assign, nonatomic) NSInteger maxCacheAge - - - //api/name/maxCacheAge - - - - //apple_ref/occ/instp/SDImageCache/maxCacheAge - The maximum length of time to keep an image in the cache, in seconds - SDImageCache.h - - @property (assign, nonatomic) NSInteger maxCacheAge - - - //api/name/maxCacheAge - - - - //apple_ref/occ/clm/SDImageCache/sharedImageCache - Returns global shared cache instance - SDImageCache.h - - + (SDImageCache *)sharedImageCache - - SDImageCache global instance - //api/name/sharedImageCache - - - - //apple_ref/occ/instm/SDImageCache/initWithNamespace: - Init a new cache store with a specific namespace - SDImageCache.h - - - (id)initWithNamespace:(NSString *)ns - - - ns - The namespace to use for this cache store - - - - //api/name/initWithNamespace: - - - - //apple_ref/occ/instm/SDImageCache/storeImage:forKey: - Store an image into memory and disk cache at the given key. - SDImageCache.h - - - (void)storeImage:(UIImage *)image forKey:(NSString *)key - - - image - The image to store - - key - The unique image cache key, usually it's image absolute URL - - - - //api/name/storeImage:forKey: - - - - //apple_ref/occ/instm/SDImageCache/storeImage:forKey:toDisk: - Store an image into memory and optionally disk cache at the given key. - SDImageCache.h - - - (void)storeImage:(UIImage *)image forKey:(NSString *)key toDisk:(BOOL)toDisk - - - image - The image to store - - key - The unique image cache key, usually it's image absolute URL - - toDisk - Store the image to disk cache if YES - - - - //api/name/storeImage:forKey:toDisk: - - - - //apple_ref/occ/instm/SDImageCache/storeImage:imageData:forKey:toDisk: - Store an image into memory and optionally disk cache at the given key. - SDImageCache.h - - - (void)storeImage:(UIImage *)image imageData:(NSData *)data forKey:(NSString *)key toDisk:(BOOL)toDisk - - - image - The image to store - - data - The image data as returned by the server, this representation will be used for disk storage -instead of converting the given image object into a storable/compressed image format in order -to save quality and CPU - - key - The unique image cache key, usually it's image absolute URL - - toDisk - Store the image to disk cache if YES - - - - //api/name/storeImage:imageData:forKey:toDisk: - - - - //apple_ref/occ/instm/SDImageCache/queryDiskCacheForKey:done: - Query the disk cache asynchronousely. - SDImageCache.h - - - (void)queryDiskCacheForKey:(NSString *)key done:(void ( ^ ) ( UIImage *image , SDImageCacheType cacheType ))doneBlock - - - key - The unique key used to store the wanted image - - - - //api/name/queryDiskCacheForKey:done: - - - - //apple_ref/occ/instm/SDImageCache/imageFromMemoryCacheForKey: - Query the memory cache. - SDImageCache.h - - - (UIImage *)imageFromMemoryCacheForKey:(NSString *)key - - - key - The unique key used to store the wanted image - - - - //api/name/imageFromMemoryCacheForKey: - - - - //apple_ref/occ/instm/SDImageCache/imageFromDiskCacheForKey: - Query the disk cache synchronousely. - SDImageCache.h - - - (UIImage *)imageFromDiskCacheForKey:(NSString *)key - - - key - The unique key used to store the wanted image - - - - //api/name/imageFromDiskCacheForKey: - - - - //apple_ref/occ/instm/SDImageCache/removeImageForKey: - Remove the image from memory and disk cache synchronousely - SDImageCache.h - - - (void)removeImageForKey:(NSString *)key - - - key - The unique image cache key - - - - //api/name/removeImageForKey: - - - - //apple_ref/occ/instm/SDImageCache/removeImageForKey:fromDisk: - Remove the image from memory and optionaly disk cache synchronousely - SDImageCache.h - - - (void)removeImageForKey:(NSString *)key fromDisk:(BOOL)fromDisk - - - key - The unique image cache key - - fromDisk - Also remove cache entry from disk if YES - - - - //api/name/removeImageForKey:fromDisk: - - - - //apple_ref/occ/instm/SDImageCache/clearMemory - Clear all memory cached images - SDImageCache.h - - - (void)clearMemory - - - //api/name/clearMemory - - - - //apple_ref/occ/instm/SDImageCache/clearDisk - Clear all disk cached images - SDImageCache.h - - - (void)clearDisk - - - //api/name/clearDisk - - - - //apple_ref/occ/instm/SDImageCache/cleanDisk - Remove all expired cached image from disk - SDImageCache.h - - - (void)cleanDisk - - - //api/name/cleanDisk - - - - //apple_ref/occ/instm/SDImageCache/getSize - Get the size used by the disk cache - SDImageCache.h - - - (int)getSize - - - //api/name/getSize - - - - //apple_ref/occ/instm/SDImageCache/getDiskCount - Get the number of images in the disk cache - SDImageCache.h - - - (int)getDiskCount - - - //api/name/getDiskCount - - - - \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Tokens10.xml b/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Tokens10.xml deleted file mode 100644 index 3d9cbe0..0000000 --- a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Tokens10.xml +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - //apple_ref/occ/intf/SDWebImageManagerDelegate - Even if the image is cached, respect the HTTP response cache control, and refresh the image from remote location if needed. -The disk caching will be handled by NSURLCache instead of SDWebImage leading to slight performance degradation. -This option helps deal with images changing behind the same request URL, e.g. Facebook graph api profile pics. -If a cached image is refreshed, the completion block is called once with the cached image and again with the final image. - SDWebImageManager.h - - - - - - - //apple_ref/occ/intfm/SDWebImageManagerDelegate/imageManager:shouldDownloadImageForURL: - Controls which image should be downloaded when the image is not found in the cache. - SDWebImageManager.h - - - (BOOL)imageManager:(SDWebImageManager *)imageManager shouldDownloadImageForURL:(NSURL *)imageURL - - - imageManager - The current SDWebImageManager - - imageURL - The url of the image to be downloaded - - - Return NO to prevent the downloading of the image on cache misses. If not implemented, YES is implied. - //api/name/imageManager:shouldDownloadImageForURL: - - - - //apple_ref/occ/intfm/SDWebImageManagerDelegate/imageManager:transformDownloadedImage:withURL: - Allows to transform the image immediately after it has been downloaded and just before to cache it on disk and memory. -NOTE: This method is called from a global queue in order to not to block the main thread. - SDWebImageManager.h - - - (UIImage *)imageManager:(SDWebImageManager *)imageManager transformDownloadedImage:(UIImage *)image withURL:(NSURL *)imageURL - - - imageManager - The current SDWebImageManager - - image - The image to transform - - imageURL - The url of the image to transform - - - The transformed image object. - //api/name/imageManager:transformDownloadedImage:withURL: - - - - \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Tokens11.xml b/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Tokens11.xml deleted file mode 100644 index b696b88..0000000 --- a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Tokens11.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - //apple_ref/occ/intf/SDWebImageOperation - - SDWebImageOperation.h - - - - - - - //apple_ref/occ/intfm/SDWebImageOperation/cancel - - SDWebImageOperation.h - - - (void)cancel - - - //api/name/cancel - - - - \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Tokens2.xml b/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Tokens2.xml deleted file mode 100644 index 4583b59..0000000 --- a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Tokens2.xml +++ /dev/null @@ -1,132 +0,0 @@ - - - - - - //apple_ref/occ/cl/SDWebImageDownloader - Asynchronous downloader dedicated and optimized for image loading. - SDWebImageDownloader.h - - - - - - - //apple_ref/occ/instm/SDWebImageDownloader/setMaxConcurrentDownloads: - - SDWebImageDownloader.h - - @property (assign, nonatomic) NSInteger maxConcurrentDownloads - - - //api/name/maxConcurrentDownloads - - - - //apple_ref/occ/instp/SDWebImageDownloader/maxConcurrentDownloads - - SDWebImageDownloader.h - - @property (assign, nonatomic) NSInteger maxConcurrentDownloads - - - //api/name/maxConcurrentDownloads - - - - //apple_ref/occ/instm/SDWebImageDownloader/setQueueMode: - Changes download operations unqueue mode. Default value is SDWebImageDownloaderFILOQueueMode. - SDWebImageDownloader.h - - @property (assign, nonatomic) SDWebImageDownloaderQueueMode queueMode - - - //api/name/queueMode - - - - //apple_ref/occ/instp/SDWebImageDownloader/queueMode - Changes download operations unqueue mode. Default value is SDWebImageDownloaderFILOQueueMode. - SDWebImageDownloader.h - - @property (assign, nonatomic) SDWebImageDownloaderQueueMode queueMode - - - //api/name/queueMode - - - - //apple_ref/occ/clm/SDWebImageDownloader/sharedDownloader - - SDWebImageDownloader.h - - + (SDWebImageDownloader *)sharedDownloader - - - //api/name/sharedDownloader - - - - //apple_ref/occ/instm/SDWebImageDownloader/setValue:forHTTPHeaderField: - Set a value for a HTTP header to be appended to each download HTTP request. - SDWebImageDownloader.h - - - (void)setValue:(NSString *)value forHTTPHeaderField:(NSString *)field - - - value - The value for the header field. Use nil value to remove the header. - - field - The name of the header field to set. - - - - //api/name/setValue:forHTTPHeaderField: - - - - //apple_ref/occ/instm/SDWebImageDownloader/valueForHTTPHeaderField: - Returns the value of the specified HTTP header field. - SDWebImageDownloader.h - - - (NSString *)valueForHTTPHeaderField:(NSString *)field - - The value associated with the header field field, or nil if there is no corresponding header field. - //api/name/valueForHTTPHeaderField: - - - - //apple_ref/occ/instm/SDWebImageDownloader/downloadImageWithURL:options:progress:completed: - Creates a SDWebImageDownloader async downloader instance with a given URL - SDWebImageDownloader.h - - - (id<SDWebImageOperation>)downloadImageWithURL:(NSURL *)url options:(SDWebImageDownloaderOptions)options progress:(SDWebImageDownloaderProgressBlock)progressBlock completed:(SDWebImageDownloaderCompletedBlock)completedBlock - - - url - The URL to the image to download - - options - The options to be used for this download - - completed - A block called once the download is completed. -If the download succeeded, the image parameter is set, in case of error, -error parameter is set with the error. The last parameter is always YES -if SDWebImageDownloaderProgressiveDownload isn't use. With the -SDWebImageDownloaderProgressiveDownload option, this block is called -repeatedly with the partial image object and the finished argument set to NO -before to be called a last time with the full image and finished argument -set to YES. In case of error, the finished argument is always YES. - - progress - A block called repeatedly while the image is downloading - - - A cancellable SDWebImageOperation - //api/name/downloadImageWithURL:options:progress:completed: - - - - \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Tokens3.xml b/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Tokens3.xml deleted file mode 100644 index 977b116..0000000 --- a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Tokens3.xml +++ /dev/null @@ -1,70 +0,0 @@ - - - - - - //apple_ref/occ/cl/SDWebImageDownloaderOperation - - SDWebImageDownloaderOperation.h - - - - - - - //apple_ref/occ/instm/SDWebImageDownloaderOperation/setRequest: - - SDWebImageDownloaderOperation.h - - @property (strong, nonatomic, readonly) NSURLRequest *request - - - //api/name/request - - - - //apple_ref/occ/instp/SDWebImageDownloaderOperation/request - - SDWebImageDownloaderOperation.h - - @property (strong, nonatomic, readonly) NSURLRequest *request - - - //api/name/request - - - - //apple_ref/occ/instm/SDWebImageDownloaderOperation/setOptions: - - SDWebImageDownloaderOperation.h - - @property (assign, nonatomic, readonly) SDWebImageDownloaderOptions options - - - //api/name/options - - - - //apple_ref/occ/instp/SDWebImageDownloaderOperation/options - - SDWebImageDownloaderOperation.h - - @property (assign, nonatomic, readonly) SDWebImageDownloaderOptions options - - - //api/name/options - - - - //apple_ref/occ/instm/SDWebImageDownloaderOperation/initWithRequest:queue:options:progress:completed:cancelled: - - SDWebImageDownloaderOperation.h - - - (id)initWithRequest:(NSURLRequest *)request queue:(dispatch_queue_t)queue options:(SDWebImageDownloaderOptions)options progress:(SDWebImageDownloaderProgressBlock)progressBlock completed:(SDWebImageDownloaderCompletedBlock)completedBlock cancelled:(void ( ^ ) ( ))cancelBlock - - - //api/name/initWithRequest:queue:options:progress:completed:cancelled: - - - - \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Tokens4.xml b/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Tokens4.xml deleted file mode 100644 index 87b2f8e..0000000 --- a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Tokens4.xml +++ /dev/null @@ -1,180 +0,0 @@ - - - - - - //apple_ref/occ/cl/SDWebImageManager - The SDWebImageManager is the class behind the UIImageView+WebCache category and likes. -It ties the asynchronous downloader (SDWebImageDownloader with the image cache store (SDImageCache. -You can use this class directly to benefit from web image downloading with caching in another context than -a UIView. - SDWebImageManager.h - - - - - - - //apple_ref/occ/instm/SDWebImageManager/setDelegate: - - SDWebImageManager.h - - @property (weak, nonatomic) id<SDWebImageManagerDelegate> delegate - - - //api/name/delegate - - - - //apple_ref/occ/instp/SDWebImageManager/delegate - - SDWebImageManager.h - - @property (weak, nonatomic) id<SDWebImageManagerDelegate> delegate - - - //api/name/delegate - - - - //apple_ref/occ/instm/SDWebImageManager/setImageCache: - - SDWebImageManager.h - - @property (strong, nonatomic, readonly) SDImageCache *imageCache - - - //api/name/imageCache - - - - //apple_ref/occ/instp/SDWebImageManager/imageCache - - SDWebImageManager.h - - @property (strong, nonatomic, readonly) SDImageCache *imageCache - - - //api/name/imageCache - - - - //apple_ref/occ/instm/SDWebImageManager/setImageDownloader: - - SDWebImageManager.h - - @property (strong, nonatomic, readonly) SDWebImageDownloader *imageDownloader - - - //api/name/imageDownloader - - - - //apple_ref/occ/instp/SDWebImageManager/imageDownloader - - SDWebImageManager.h - - @property (strong, nonatomic, readonly) SDWebImageDownloader *imageDownloader - - - //api/name/imageDownloader - - - - //apple_ref/occ/instm/SDWebImageManager/setCacheKeyFilter: - The cache filter is a block used each time SDWebImageManager need to convert an URL into a cache key. This can -be used to remove dynamic part of an image URL. - SDWebImageManager.h - - @property (strong) NSString *^ ) ( NSURL *url ) cacheKeyFilter - - - //api/name/cacheKeyFilter - - - - //apple_ref/occ/instp/SDWebImageManager/cacheKeyFilter - The cache filter is a block used each time SDWebImageManager need to convert an URL into a cache key. This can -be used to remove dynamic part of an image URL. - SDWebImageManager.h - - @property (strong) NSString *^ ) ( NSURL *url ) cacheKeyFilter - - - //api/name/cacheKeyFilter - - - - //apple_ref/occ/clm/SDWebImageManager/sharedManager - Returns global SDWebImageManager instance. - SDWebImageManager.h - - + (SDWebImageManager *)sharedManager - - SDWebImageManager shared instance - //api/name/sharedManager - - - - //apple_ref/occ/instm/SDWebImageManager/downloadWithURL:options:progress:completed: - Downloads the image at the given URL if not present in cache or return the cached version otherwise. - SDWebImageManager.h - - - (id<SDWebImageOperation>)downloadWithURL:(NSURL *)url options:(SDWebImageOptions)options progress:(SDWebImageDownloaderProgressBlock)progressBlock completed:(SDWebImageCompletedWithFinishedBlock)completedBlock - - - url - The URL to the image - - options - A mask to specify options to use for this request - - progressBlock - A block called while image is downloading - - completedBlock - A block called when operation has been completed. - -This block as no return value and takes the requested UIImage as first parameter. -In case of error the image parameter is nil and the second parameter may contain an NSError. - -The third parameter is a Boolean indicating if the image was retrived from the local cache -of from the network. - -The last parameter is set to NO when the SDWebImageProgressiveDownload option is used and -the image is downloading. This block is thus called repetidly with a partial image. When -image is fully downloaded, the block is called a last time with the full image and the last -parameter set to YES. - - delegate - The delegate object used to send result back - - - Returns a cancellable NSOperation - //api/name/downloadWithURL:options:progress:completed: - - - - //apple_ref/occ/instm/SDWebImageManager/cancelAll - Cancel all current opreations - SDWebImageManager.h - - - (void)cancelAll - - - //api/name/cancelAll - - - - //apple_ref/occ/instm/SDWebImageManager/isRunning - Check one or more operations running - SDWebImageManager.h - - - (BOOL)isRunning - - - //api/name/isRunning - - - - \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Tokens5.xml b/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Tokens5.xml deleted file mode 100644 index 4b89daa..0000000 --- a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Tokens5.xml +++ /dev/null @@ -1,120 +0,0 @@ - - - - - - //apple_ref/occ/cl/SDWebImagePrefetcher - Prefetch some URLs in the cache for future use. Images are downloaded in low priority. - SDWebImagePrefetcher.h - - - - - - - //apple_ref/occ/instm/SDWebImagePrefetcher/setMaxConcurrentDownloads: - Maximum number of URLs to prefetch at the same time. Defaults to 3. - SDWebImagePrefetcher.h - - @property (nonatomic, assign) NSUInteger maxConcurrentDownloads - - - //api/name/maxConcurrentDownloads - - - - //apple_ref/occ/instp/SDWebImagePrefetcher/maxConcurrentDownloads - Maximum number of URLs to prefetch at the same time. Defaults to 3. - SDWebImagePrefetcher.h - - @property (nonatomic, assign) NSUInteger maxConcurrentDownloads - - - //api/name/maxConcurrentDownloads - - - - //apple_ref/occ/instm/SDWebImagePrefetcher/setOptions: - SDWebImageOptions for prefetcher. Defaults to SDWebImageLowPriority. - SDWebImagePrefetcher.h - - @property (nonatomic, assign) SDWebImageOptions options - - - //api/name/options - - - - //apple_ref/occ/instp/SDWebImagePrefetcher/options - SDWebImageOptions for prefetcher. Defaults to SDWebImageLowPriority. - SDWebImagePrefetcher.h - - @property (nonatomic, assign) SDWebImageOptions options - - - //api/name/options - - - - //apple_ref/occ/clm/SDWebImagePrefetcher/sharedImagePrefetcher - Return the global image prefetcher instance. - SDWebImagePrefetcher.h - - + (SDWebImagePrefetcher *)sharedImagePrefetcher - - - //api/name/sharedImagePrefetcher - - - - //apple_ref/occ/instm/SDWebImagePrefetcher/prefetchURLs: - Assign list of URLs to let SDWebImagePrefetcher to queue the prefetching, -currently one image is downloaded at a time, -and skips images for failed downloads and proceed to the next image in the list - SDWebImagePrefetcher.h - - - (void)prefetchURLs:(NSArray *)urls - - - urls - list of URLs to prefetch - - - - //api/name/prefetchURLs: - - - - //apple_ref/occ/instm/SDWebImagePrefetcher/prefetchURLs:completed: - Assign list of URLs to let SDWebImagePrefetcher to queue the prefetching, -currently one image is downloaded at a time, -and skips images for failed downloads and proceed to the next image in the list - SDWebImagePrefetcher.h - - - (void)prefetchURLs:(NSArray *)urls completed:(void ( ^ ) ( NSUInteger finishedCount , NSUInteger skippedCount ))completionBlock - - - urls - list of URLs to prefetch - - completionBlock - block to be called when prefetching is completed - - - - //api/name/prefetchURLs:completed: - - - - //apple_ref/occ/instm/SDWebImagePrefetcher/cancelPrefetching - Remove and cancel queued list - SDWebImagePrefetcher.h - - - (void)cancelPrefetching - - - //api/name/cancelPrefetching - - - - \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Tokens6.xml b/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Tokens6.xml deleted file mode 100644 index 9f05226..0000000 --- a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Tokens6.xml +++ /dev/null @@ -1,163 +0,0 @@ - - - - - - //apple_ref/occ/cat/MKAnnotationView(WebCache) - Integrates SDWebImage async downloading and caching of remote images with MKAnnotationView. - MKAnnotationView+WebCache.h - - - - - - - //apple_ref/occ/intfm/MKAnnotationView(WebCache)/setImageWithURL: - Set the imageView image with an url. - MKAnnotationView+WebCache.h - - - (void)setImageWithURL:(NSURL *)url - - - url - The url for the image. - - - - //api/name/setImageWithURL: - - - - //apple_ref/occ/intfm/MKAnnotationView(WebCache)/setImageWithURL:placeholderImage: - Set the imageView image with an url and a placeholder. - MKAnnotationView+WebCache.h - - - //apple_ref/occ/intfm/MKAnnotationView(WebCache)/setImageWithURL:placeholderImage:options: - - - - - (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder - - - url - The url for the image. - - placeholder - The image to be set initially, until the image request finishes. - - - - //api/name/setImageWithURL:placeholderImage: - - - - //apple_ref/occ/intfm/MKAnnotationView(WebCache)/setImageWithURL:placeholderImage:options: - Set the imageView image with an url, placeholder and custom options. - MKAnnotationView+WebCache.h - - - (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options - - - url - The url for the image. - - placeholder - The image to be set initially, until the image request finishes. - - options - The options to use when downloading the image. @see SDWebImageOptions for the possible values. - - - - //api/name/setImageWithURL:placeholderImage:options: - - - - //apple_ref/occ/intfm/MKAnnotationView(WebCache)/setImageWithURL:completed: - Set the imageView image with an url. - MKAnnotationView+WebCache.h - - - (void)setImageWithURL:(NSURL *)url completed:(SDWebImageCompletedBlock)completedBlock - - - url - The url for the image. - - completedBlock - A block called when operation has been completed. This block as no return value -and takes the requested UIImage as first parameter. In case of error the image parameter -is nil and the second parameter may contain an NSError. The third parameter is a Boolean -indicating if the image was retrived from the local cache of from the network. - - - - //api/name/setImageWithURL:completed: - - - - //apple_ref/occ/intfm/MKAnnotationView(WebCache)/setImageWithURL:placeholderImage:completed: - Set the imageView image with an url, placeholder. - MKAnnotationView+WebCache.h - - - (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder completed:(SDWebImageCompletedBlock)completedBlock - - - url - The url for the image. - - placeholder - The image to be set initially, until the image request finishes. - - completedBlock - A block called when operation has been completed. This block as no return value -and takes the requested UIImage as first parameter. In case of error the image parameter -is nil and the second parameter may contain an NSError. The third parameter is a Boolean -indicating if the image was retrived from the local cache of from the network. - - - - //api/name/setImageWithURL:placeholderImage:completed: - - - - //apple_ref/occ/intfm/MKAnnotationView(WebCache)/setImageWithURL:placeholderImage:options:completed: - Set the imageView image with an url, placeholder and custom options. - MKAnnotationView+WebCache.h - - - (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options completed:(SDWebImageCompletedBlock)completedBlock - - - url - The url for the image. - - placeholder - The image to be set initially, until the image request finishes. - - options - The options to use when downloading the image. @see SDWebImageOptions for the possible values. - - completedBlock - A block called when operation has been completed. This block as no return value -and takes the requested UIImage as first parameter. In case of error the image parameter -is nil and the second parameter may contain an NSError. The third parameter is a Boolean -indicating if the image was retrived from the local cache of from the network. - - - - //api/name/setImageWithURL:placeholderImage:options:completed: - - - - //apple_ref/occ/intfm/MKAnnotationView(WebCache)/cancelCurrentImageLoad - Cancel the current download - MKAnnotationView+WebCache.h - - - (void)cancelCurrentImageLoad - - - //api/name/cancelCurrentImageLoad - - - - \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Tokens7.xml b/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Tokens7.xml deleted file mode 100644 index 136f490..0000000 --- a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Tokens7.xml +++ /dev/null @@ -1,323 +0,0 @@ - - - - - - //apple_ref/occ/cat/UIButton(WebCache) - Integrates SDWebImage async downloading and caching of remote images with UIButtonView. - UIButton+WebCache.h - - - - - - - //apple_ref/occ/intfm/UIButton(WebCache)/setImageWithURL:forState: - Set the imageView image with an url. - UIButton+WebCache.h - - - (void)setImageWithURL:(NSURL *)url forState:(UIControlState)state - - - url - The url for the image. - - state - The state that uses the specified title. The values are described in UIControlState. - - - - //api/name/setImageWithURL:forState: - - - - //apple_ref/occ/intfm/UIButton(WebCache)/setImageWithURL:forState:placeholderImage: - Set the imageView image with an url and a placeholder. - UIButton+WebCache.h - - - (void)setImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder - - - url - The url for the image. - - state - The state that uses the specified title. The values are described in UIControlState. - - placeholder - The image to be set initially, until the image request finishes. - - - - //api/name/setImageWithURL:forState:placeholderImage: - - - - //apple_ref/occ/intfm/UIButton(WebCache)/setImageWithURL:forState:placeholderImage:options: - Set the imageView image with an url, placeholder and custom options. - UIButton+WebCache.h - - - (void)setImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options - - - url - The url for the image. - - state - The state that uses the specified title. The values are described in UIControlState. - - placeholder - The image to be set initially, until the image request finishes. - - options - The options to use when downloading the image. @see SDWebImageOptions for the possible values. - - - - //api/name/setImageWithURL:forState:placeholderImage:options: - - - - //apple_ref/occ/intfm/UIButton(WebCache)/setImageWithURL:forState:completed: - Set the imageView image with an url. - UIButton+WebCache.h - - - (void)setImageWithURL:(NSURL *)url forState:(UIControlState)state completed:(SDWebImageCompletedBlock)completedBlock - - - url - The url for the image. - - state - The state that uses the specified title. The values are described in UIControlState. - - completedBlock - A block called when operation has been completed. This block as no return value -and takes the requested UIImage as first parameter. In case of error the image parameter -is nil and the second parameter may contain an NSError. The third parameter is a Boolean -indicating if the image was retrived from the local cache of from the network. - - - - //api/name/setImageWithURL:forState:completed: - - - - //apple_ref/occ/intfm/UIButton(WebCache)/setImageWithURL:forState:placeholderImage:completed: - Set the imageView image with an url, placeholder. - UIButton+WebCache.h - - - (void)setImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder completed:(SDWebImageCompletedBlock)completedBlock - - - url - The url for the image. - - state - The state that uses the specified title. The values are described in UIControlState. - - placeholder - The image to be set initially, until the image request finishes. - - completedBlock - A block called when operation has been completed. This block as no return value -and takes the requested UIImage as first parameter. In case of error the image parameter -is nil and the second parameter may contain an NSError. The third parameter is a Boolean -indicating if the image was retrived from the local cache of from the network. - - - - //api/name/setImageWithURL:forState:placeholderImage:completed: - - - - //apple_ref/occ/intfm/UIButton(WebCache)/setImageWithURL:forState:placeholderImage:options:completed: - Set the imageView image with an url, placeholder and custom options. - UIButton+WebCache.h - - - (void)setImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options completed:(SDWebImageCompletedBlock)completedBlock - - - url - The url for the image. - - state - The state that uses the specified title. The values are described in UIControlState. - - placeholder - The image to be set initially, until the image request finishes. - - options - The options to use when downloading the image. @see SDWebImageOptions for the possible values. - - completedBlock - A block called when operation has been completed. This block as no return value -and takes the requested UIImage as first parameter. In case of error the image parameter -is nil and the second parameter may contain an NSError. The third parameter is a Boolean -indicating if the image was retrived from the local cache of from the network. - - - - //api/name/setImageWithURL:forState:placeholderImage:options:completed: - - - - //apple_ref/occ/intfm/UIButton(WebCache)/setBackgroundImageWithURL:forState: - Set the backgroundImageView image with an url. - UIButton+WebCache.h - - - (void)setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state - - - url - The url for the image. - - state - The state that uses the specified title. The values are described in UIControlState. - - - - //api/name/setBackgroundImageWithURL:forState: - - - - //apple_ref/occ/intfm/UIButton(WebCache)/setBackgroundImageWithURL:forState:placeholderImage: - Set the backgroundImageView image with an url and a placeholder. - UIButton+WebCache.h - - - (void)setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder - - - url - The url for the image. - - state - The state that uses the specified title. The values are described in UIControlState. - - placeholder - The image to be set initially, until the image request finishes. - - - - //api/name/setBackgroundImageWithURL:forState:placeholderImage: - - - - //apple_ref/occ/intfm/UIButton(WebCache)/setBackgroundImageWithURL:forState:placeholderImage:options: - Set the backgroundImageView image with an url, placeholder and custom options. - UIButton+WebCache.h - - - (void)setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options - - - url - The url for the image. - - state - The state that uses the specified title. The values are described in UIControlState. - - placeholder - The image to be set initially, until the image request finishes. - - options - The options to use when downloading the image. @see SDWebImageOptions for the possible values. - - - - //api/name/setBackgroundImageWithURL:forState:placeholderImage:options: - - - - //apple_ref/occ/intfm/UIButton(WebCache)/setBackgroundImageWithURL:forState:completed: - Set the backgroundImageView image with an url. - UIButton+WebCache.h - - - (void)setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state completed:(SDWebImageCompletedBlock)completedBlock - - - url - The url for the image. - - state - The state that uses the specified title. The values are described in UIControlState. - - success - A block to be executed when the image request succeed This block has no return value and takes the retrieved image as argument. - - failure - A block object to be executed when the image request failed. This block has no return value and takes the error object describing the network or parsing error that occurred (may be nil). - - - - //api/name/setBackgroundImageWithURL:forState:completed: - - - - //apple_ref/occ/intfm/UIButton(WebCache)/setBackgroundImageWithURL:forState:placeholderImage:completed: - Set the backgroundImageView image with an url, placeholder. - UIButton+WebCache.h - - - (void)setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder completed:(SDWebImageCompletedBlock)completedBlock - - - url - The url for the image. - - state - The state that uses the specified title. The values are described in UIControlState. - - placeholder - The image to be set initially, until the image request finishes. - - success - A block to be executed when the image request succeed This block has no return value and takes the retrieved image as argument. - - failure - A block object to be executed when the image request failed. This block has no return value and takes the error object describing the network or parsing error that occurred (may be nil). - - - - //api/name/setBackgroundImageWithURL:forState:placeholderImage:completed: - - - - //apple_ref/occ/intfm/UIButton(WebCache)/setBackgroundImageWithURL:forState:placeholderImage:options:completed: - Set the backgroundImageView image with an url, placeholder and custom options. - UIButton+WebCache.h - - - (void)setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options completed:(SDWebImageCompletedBlock)completedBlock - - - url - The url for the image. - - placeholder - The image to be set initially, until the image request finishes. - - options - The options to use when downloading the image. @see SDWebImageOptions for the possible values. - - success - A block to be executed when the image request succeed This block has no return value and takes the retrieved image as argument. - - failure - A block object to be executed when the image request failed. This block has no return value and takes the error object describing the network or parsing error that occurred (may be nil). - - - - //api/name/setBackgroundImageWithURL:forState:placeholderImage:options:completed: - - - - //apple_ref/occ/intfm/UIButton(WebCache)/cancelCurrentImageLoad - Cancel the current download - UIButton+WebCache.h - - - (void)cancelCurrentImageLoad - - - //api/name/cancelCurrentImageLoad - - - - \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Tokens8.xml b/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Tokens8.xml deleted file mode 100644 index f6843b8..0000000 --- a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Tokens8.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - //apple_ref/occ/cat/UIImage(ForceDecode) - - SDWebImageDecoder.h - - - - - - - //apple_ref/occ/intfm/UIImage(ForceDecode)/decodedImageWithImage: - - SDWebImageDecoder.h - - + (UIImage *)decodedImageWithImage:(UIImage *)image - - - //api/name/decodedImageWithImage: - - - - \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Tokens9.xml b/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Tokens9.xml deleted file mode 100644 index 0e46446..0000000 --- a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/Tokens9.xml +++ /dev/null @@ -1,194 +0,0 @@ - - - - - - //apple_ref/occ/cat/UIImageView(WebCache) - Integrates SDWebImage async downloading and caching of remote images with UIImageView. - UIImageView+WebCache.h - - - - - - - //apple_ref/occ/intfm/UIImageView(WebCache)/setImageWithURL: - Set the imageView image with an url. - UIImageView+WebCache.h - - - (void)setImageWithURL:(NSURL *)url - - - url - The url for the image. - - - - //api/name/setImageWithURL: - - - - //apple_ref/occ/intfm/UIImageView(WebCache)/setImageWithURL:placeholderImage: - Set the imageView image with an url and a placeholder. - UIImageView+WebCache.h - - - //apple_ref/occ/intfm/UIImageView(WebCache)/setImageWithURL:placeholderImage:options: - - - - - (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder - - - url - The url for the image. - - placeholder - The image to be set initially, until the image request finishes. - - - - //api/name/setImageWithURL:placeholderImage: - - - - //apple_ref/occ/intfm/UIImageView(WebCache)/setImageWithURL:placeholderImage:options: - Set the imageView image with an url, placeholder and custom options. - UIImageView+WebCache.h - - - (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options - - - url - The url for the image. - - placeholder - The image to be set initially, until the image request finishes. - - options - The options to use when downloading the image. @see SDWebImageOptions for the possible values. - - - - //api/name/setImageWithURL:placeholderImage:options: - - - - //apple_ref/occ/intfm/UIImageView(WebCache)/setImageWithURL:completed: - Set the imageView image with an url. - UIImageView+WebCache.h - - - (void)setImageWithURL:(NSURL *)url completed:(SDWebImageCompletedBlock)completedBlock - - - url - The url for the image. - - completedBlock - A block called when operation has been completed. This block as no return value -and takes the requested UIImage as first parameter. In case of error the image parameter -is nil and the second parameter may contain an NSError. The third parameter is a Boolean -indicating if the image was retrived from the local cache of from the network. - - - - //api/name/setImageWithURL:completed: - - - - //apple_ref/occ/intfm/UIImageView(WebCache)/setImageWithURL:placeholderImage:completed: - Set the imageView image with an url, placeholder. - UIImageView+WebCache.h - - - (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder completed:(SDWebImageCompletedBlock)completedBlock - - - url - The url for the image. - - placeholder - The image to be set initially, until the image request finishes. - - completedBlock - A block called when operation has been completed. This block as no return value -and takes the requested UIImage as first parameter. In case of error the image parameter -is nil and the second parameter may contain an NSError. The third parameter is a Boolean -indicating if the image was retrived from the local cache of from the network. - - - - //api/name/setImageWithURL:placeholderImage:completed: - - - - //apple_ref/occ/intfm/UIImageView(WebCache)/setImageWithURL:placeholderImage:options:completed: - Set the imageView image with an url, placeholder and custom options. - UIImageView+WebCache.h - - - (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options completed:(SDWebImageCompletedBlock)completedBlock - - - url - The url for the image. - - placeholder - The image to be set initially, until the image request finishes. - - options - The options to use when downloading the image. @see SDWebImageOptions for the possible values. - - completedBlock - A block called when operation has been completed. This block as no return value -and takes the requested UIImage as first parameter. In case of error the image parameter -is nil and the second parameter may contain an NSError. The third parameter is a Boolean -indicating if the image was retrived from the local cache of from the network. - - - - //api/name/setImageWithURL:placeholderImage:options:completed: - - - - //apple_ref/occ/intfm/UIImageView(WebCache)/setImageWithURL:placeholderImage:options:progress:completed: - Set the imageView image with an url, placeholder and custom options. - UIImageView+WebCache.h - - - (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options progress:(SDWebImageDownloaderProgressBlock)progressBlock completed:(SDWebImageCompletedBlock)completedBlock - - - url - The url for the image. - - placeholder - The image to be set initially, until the image request finishes. - - options - The options to use when downloading the image. @see SDWebImageOptions for the possible values. - - progressBlock - A block called while image is downloading - - completedBlock - A block called when operation has been completed. This block as no return value -and takes the requested UIImage as first parameter. In case of error the image parameter -is nil and the second parameter may contain an NSError. The third parameter is a Boolean -indicating if the image was retrived from the local cache of from the network. - - - - //api/name/setImageWithURL:placeholderImage:options:progress:completed: - - - - //apple_ref/occ/intfm/UIImageView(WebCache)/cancelCurrentImageLoad - Cancel the current download - UIImageView+WebCache.h - - - (void)cancelCurrentImageLoad - - - //api/name/cancelCurrentImageLoad - - - - \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/docSet.dsidx b/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/docSet.dsidx deleted file mode 100644 index 902ab7d..0000000 Binary files a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/docSet.dsidx and /dev/null differ diff --git a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/docSet.mom b/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/docSet.mom deleted file mode 100644 index 8e38182..0000000 Binary files a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/docSet.mom and /dev/null differ diff --git a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/docSet.skidx b/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/docSet.skidx deleted file mode 100644 index 50df901..0000000 Binary files a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/docSet.skidx and /dev/null differ diff --git a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/docSet.toc b/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/docSet.toc deleted file mode 100644 index a65d16d..0000000 Binary files a/RETableViewManagerExample/Pods/Documentation/SDWebImage/docset/Contents/Resources/docSet.toc and /dev/null differ diff --git a/RETableViewManagerExample/Pods/Documentation/SDWebImage/html/Categories/MKAnnotationView+WebCache.html b/RETableViewManagerExample/Pods/Documentation/SDWebImage/html/Categories/MKAnnotationView+WebCache.html deleted file mode 100644 index 6a7a929..0000000 --- a/RETableViewManagerExample/Pods/Documentation/SDWebImage/html/Categories/MKAnnotationView+WebCache.html +++ /dev/null @@ -1,754 +0,0 @@ - - - - - MKAnnotationView(WebCache) Category Reference - - - - - - - -
- - - - -
- -
-
- - - -
- -
- - - - -
Declared inMKAnnotationView+WebCache.h
- - - - -
- -

Overview

-

Integrates SDWebImage async downloading and caching of remote images with MKAnnotationView.

-
- - - - - -
- -

Tasks

- - - - - - - -
- - - - - - - - - -
- -

Instance Methods

- -
- -

cancelCurrentImageLoad

- - - -
-

Cancel the current download

-
- - - -
- (void)cancelCurrentImageLoad
- - - - - - - - - -
-

Discussion

-

Cancel the current download

-
- - - - - - - -
-

Declared In

- MKAnnotationView+WebCache.h
-
- - -
- -
- -

setImageWithURL:

- - - -
-

Set the imageView image with an url.

-
- - - -
- (void)setImageWithURL:(NSURL *)url
- - - -
-

Parameters

- -
-
url
-

The url for the image.

-
- -
- - - - - - - -
-

Discussion

-

Set the imageView image with an url.

- -

The downloand is asynchronous and cached.

-
- - - - - - - -
-

Declared In

- MKAnnotationView+WebCache.h
-
- - -
- -
- -

setImageWithURL:completed:

- - - -
-

Set the imageView image with an url.

-
- - - -
- (void)setImageWithURL:(NSURL *)url completed:(SDWebImageCompletedBlock)completedBlock
- - - -
-

Parameters

- -
-
url
-

The url for the image.

-
- -
-
completedBlock
-

A block called when operation has been completed. This block as no return value -and takes the requested UIImage as first parameter. In case of error the image parameter -is nil and the second parameter may contain an NSError. The third parameter is a Boolean -indicating if the image was retrived from the local cache of from the network.

-
- -
- - - - - - - -
-

Discussion

-

Set the imageView image with an url.

- -

The downloand is asynchronous and cached.

-
- - - - - - - -
-

Declared In

- MKAnnotationView+WebCache.h
-
- - -
- -
- -

setImageWithURL:placeholderImage:

- - - -
-

Set the imageView image with an url and a placeholder.

-
- - - -
- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder
- - - -
-

Parameters

- -
-
url
-

The url for the image.

-
- -
-
placeholder
-

The image to be set initially, until the image request finishes.

-
- -
- - - - - - - -
-

Discussion

-

Set the imageView image with an url and a placeholder.

- -

The downloand is asynchronous and cached.

-
- - - - - - - - - -
-

Declared In

- MKAnnotationView+WebCache.h
-
- - -
- -
- -

setImageWithURL:placeholderImage:completed:

- - - -
-

Set the imageView image with an url, placeholder.

-
- - - -
- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder completed:(SDWebImageCompletedBlock)completedBlock
- - - -
-

Parameters

- -
-
url
-

The url for the image.

-
- -
-
placeholder
-

The image to be set initially, until the image request finishes.

-
- -
-
completedBlock
-

A block called when operation has been completed. This block as no return value -and takes the requested UIImage as first parameter. In case of error the image parameter -is nil and the second parameter may contain an NSError. The third parameter is a Boolean -indicating if the image was retrived from the local cache of from the network.

-
- -
- - - - - - - -
-

Discussion

-

Set the imageView image with an url, placeholder.

- -

The downloand is asynchronous and cached.

-
- - - - - - - -
-

Declared In

- MKAnnotationView+WebCache.h
-
- - -
- -
- -

setImageWithURL:placeholderImage:options:

- - - -
-

Set the imageView image with an url, placeholder and custom options.

-
- - - -
- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options
- - - -
-

Parameters

- -
-
url
-

The url for the image.

-
- -
-
placeholder
-

The image to be set initially, until the image request finishes.

-
- -
-
options
-

The options to use when downloading the image. @see SDWebImageOptions for the possible values.

-
- -
- - - - - - - -
-

Discussion

-

Set the imageView image with an url, placeholder and custom options.

- -

The downloand is asynchronous and cached.

-
- - - - - - - -
-

Declared In

- MKAnnotationView+WebCache.h
-
- - -
- -
- -

setImageWithURL:placeholderImage:options:completed:

- - - -
-

Set the imageView image with an url, placeholder and custom options.

-
- - - -
- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options completed:(SDWebImageCompletedBlock)completedBlock
- - - -
-

Parameters

- -
-
url
-

The url for the image.

-
- -
-
placeholder
-

The image to be set initially, until the image request finishes.

-
- -
-
options
-

The options to use when downloading the image. @see SDWebImageOptions for the possible values.

-
- -
-
completedBlock
-

A block called when operation has been completed. This block as no return value -and takes the requested UIImage as first parameter. In case of error the image parameter -is nil and the second parameter may contain an NSError. The third parameter is a Boolean -indicating if the image was retrived from the local cache of from the network.

-
- -
- - - - - - - -
-

Discussion

-

Set the imageView image with an url, placeholder and custom options.

- -

The downloand is asynchronous and cached.

-
- - - - - - - -
-

Declared In

- MKAnnotationView+WebCache.h
-
- - -
- -
- - -
- - -
-
- - - \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/Documentation/SDWebImage/html/Categories/UIButton+WebCache.html b/RETableViewManagerExample/Pods/Documentation/SDWebImage/html/Categories/UIButton+WebCache.html deleted file mode 100644 index 3d4553f..0000000 --- a/RETableViewManagerExample/Pods/Documentation/SDWebImage/html/Categories/UIButton+WebCache.html +++ /dev/null @@ -1,1244 +0,0 @@ - - - - - UIButton(WebCache) Category Reference - - - - - - - -
- - - - -
- -
-
- - - -
- -
- - - - -
Declared inUIButton+WebCache.h
- - - - -
- -

Overview

-

Integrates SDWebImage async downloading and caching of remote images with UIButtonView.

-
- - - - - -
- -

Tasks

- - - - - - - -
- - - - - - - - - -
- -

Instance Methods

- -
- -

cancelCurrentImageLoad

- - - -
-

Cancel the current download

-
- - - -
- (void)cancelCurrentImageLoad
- - - - - - - - - -
-

Discussion

-

Cancel the current download

-
- - - - - - - -
-

Declared In

- UIButton+WebCache.h
-
- - -
- -
- -

setBackgroundImageWithURL:forState:

- - - -
-

Set the backgroundImageView image with an url.

-
- - - -
- (void)setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state
- - - -
-

Parameters

- -
-
url
-

The url for the image.

-
- -
-
state
-

The state that uses the specified title. The values are described in UIControlState.

-
- -
- - - - - - - -
-

Discussion

-

Set the backgroundImageView image with an url.

- -

The downloand is asynchronous and cached.

-
- - - - - - - -
-

Declared In

- UIButton+WebCache.h
-
- - -
- -
- -

setBackgroundImageWithURL:forState:completed:

- - - -
-

Set the backgroundImageView image with an url.

-
- - - -
- (void)setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state completed:(SDWebImageCompletedBlock)completedBlock
- - - -
-

Parameters

- -
-
url
-

The url for the image.

-
- -
-
state
-

The state that uses the specified title. The values are described in UIControlState.

-
- -
-
success
-

A block to be executed when the image request succeed This block has no return value and takes the retrieved image as argument.

-
- -
-
failure
-

A block object to be executed when the image request failed. This block has no return value and takes the error object describing the network or parsing error that occurred (may be nil).

-
- -
- - - - - - - -
-

Discussion

-

Set the backgroundImageView image with an url.

- -

The downloand is asynchronous and cached.

-
- - - - - - - -
-

Declared In

- UIButton+WebCache.h
-
- - -
- -
- -

setBackgroundImageWithURL:forState:placeholderImage:

- - - -
-

Set the backgroundImageView image with an url and a placeholder.

-
- - - -
- (void)setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder
- - - -
-

Parameters

- -
-
url
-

The url for the image.

-
- -
-
state
-

The state that uses the specified title. The values are described in UIControlState.

-
- -
-
placeholder
-

The image to be set initially, until the image request finishes.

-
- -
- - - - - - - -
-

Discussion

-

Set the backgroundImageView image with an url and a placeholder.

- -

The downloand is asynchronous and cached.

-
- - - - - - - -
-

Declared In

- UIButton+WebCache.h
-
- - -
- -
- -

setBackgroundImageWithURL:forState:placeholderImage:completed:

- - - -
-

Set the backgroundImageView image with an url, placeholder.

-
- - - -
- (void)setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder completed:(SDWebImageCompletedBlock)completedBlock
- - - -
-

Parameters

- -
-
url
-

The url for the image.

-
- -
-
state
-

The state that uses the specified title. The values are described in UIControlState.

-
- -
-
placeholder
-

The image to be set initially, until the image request finishes.

-
- -
-
success
-

A block to be executed when the image request succeed This block has no return value and takes the retrieved image as argument.

-
- -
-
failure
-

A block object to be executed when the image request failed. This block has no return value and takes the error object describing the network or parsing error that occurred (may be nil).

-
- -
- - - - - - - -
-

Discussion

-

Set the backgroundImageView image with an url, placeholder.

- -

The downloand is asynchronous and cached.

-
- - - - - - - -
-

Declared In

- UIButton+WebCache.h
-
- - -
- -
- -

setBackgroundImageWithURL:forState:placeholderImage:options:

- - - -
-

Set the backgroundImageView image with an url, placeholder and custom options.

-
- - - -
- (void)setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options
- - - -
-

Parameters

- -
-
url
-

The url for the image.

-
- -
-
state
-

The state that uses the specified title. The values are described in UIControlState.

-
- -
-
placeholder
-

The image to be set initially, until the image request finishes.

-
- -
-
options
-

The options to use when downloading the image. @see SDWebImageOptions for the possible values.

-
- -
- - - - - - - -
-

Discussion

-

Set the backgroundImageView image with an url, placeholder and custom options.

- -

The downloand is asynchronous and cached.

-
- - - - - - - -
-

Declared In

- UIButton+WebCache.h
-
- - -
- -
- -

setBackgroundImageWithURL:forState:placeholderImage:options:completed:

- - - -
-

Set the backgroundImageView image with an url, placeholder and custom options.

-
- - - -
- (void)setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options completed:(SDWebImageCompletedBlock)completedBlock
- - - -
-

Parameters

- -
-
url
-

The url for the image.

-
- -
-
placeholder
-

The image to be set initially, until the image request finishes.

-
- -
-
options
-

The options to use when downloading the image. @see SDWebImageOptions for the possible values.

-
- -
-
success
-

A block to be executed when the image request succeed This block has no return value and takes the retrieved image as argument.

-
- -
-
failure
-

A block object to be executed when the image request failed. This block has no return value and takes the error object describing the network or parsing error that occurred (may be nil).

-
- -
- - - - - - - -
-

Discussion

-

Set the backgroundImageView image with an url, placeholder and custom options.

- -

The downloand is asynchronous and cached.

-
- - - - - - - -
-

Declared In

- UIButton+WebCache.h
-
- - -
- -
- -

setImageWithURL:forState:

- - - -
-

Set the imageView image with an url.

-
- - - -
- (void)setImageWithURL:(NSURL *)url forState:(UIControlState)state
- - - -
-

Parameters

- -
-
url
-

The url for the image.

-
- -
-
state
-

The state that uses the specified title. The values are described in UIControlState.

-
- -
- - - - - - - -
-

Discussion

-

Set the imageView image with an url.

- -

The downloand is asynchronous and cached.

-
- - - - - - - -
-

Declared In

- UIButton+WebCache.h
-
- - -
- -
- -

setImageWithURL:forState:completed:

- - - -
-

Set the imageView image with an url.

-
- - - -
- (void)setImageWithURL:(NSURL *)url forState:(UIControlState)state completed:(SDWebImageCompletedBlock)completedBlock
- - - -
-

Parameters

- -
-
url
-

The url for the image.

-
- -
-
state
-

The state that uses the specified title. The values are described in UIControlState.

-
- -
-
completedBlock
-

A block called when operation has been completed. This block as no return value -and takes the requested UIImage as first parameter. In case of error the image parameter -is nil and the second parameter may contain an NSError. The third parameter is a Boolean -indicating if the image was retrived from the local cache of from the network.

-
- -
- - - - - - - -
-

Discussion

-

Set the imageView image with an url.

- -

The downloand is asynchronous and cached.

-
- - - - - - - -
-

Declared In

- UIButton+WebCache.h
-
- - -
- -
- -

setImageWithURL:forState:placeholderImage:

- - - -
-

Set the imageView image with an url and a placeholder.

-
- - - -
- (void)setImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder
- - - -
-

Parameters

- -
-
url
-

The url for the image.

-
- -
-
state
-

The state that uses the specified title. The values are described in UIControlState.

-
- -
-
placeholder
-

The image to be set initially, until the image request finishes.

-
- -
- - - - - - - -
-

Discussion

-

Set the imageView image with an url and a placeholder.

- -

The downloand is asynchronous and cached.

-
- - - - - - - -
-

Declared In

- UIButton+WebCache.h
-
- - -
- -
- -

setImageWithURL:forState:placeholderImage:completed:

- - - -
-

Set the imageView image with an url, placeholder.

-
- - - -
- (void)setImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder completed:(SDWebImageCompletedBlock)completedBlock
- - - -
-

Parameters

- -
-
url
-

The url for the image.

-
- -
-
state
-

The state that uses the specified title. The values are described in UIControlState.

-
- -
-
placeholder
-

The image to be set initially, until the image request finishes.

-
- -
-
completedBlock
-

A block called when operation has been completed. This block as no return value -and takes the requested UIImage as first parameter. In case of error the image parameter -is nil and the second parameter may contain an NSError. The third parameter is a Boolean -indicating if the image was retrived from the local cache of from the network.

-
- -
- - - - - - - -
-

Discussion

-

Set the imageView image with an url, placeholder.

- -

The downloand is asynchronous and cached.

-
- - - - - - - -
-

Declared In

- UIButton+WebCache.h
-
- - -
- -
- -

setImageWithURL:forState:placeholderImage:options:

- - - -
-

Set the imageView image with an url, placeholder and custom options.

-
- - - -
- (void)setImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options
- - - -
-

Parameters

- -
-
url
-

The url for the image.

-
- -
-
state
-

The state that uses the specified title. The values are described in UIControlState.

-
- -
-
placeholder
-

The image to be set initially, until the image request finishes.

-
- -
-
options
-

The options to use when downloading the image. @see SDWebImageOptions for the possible values.

-
- -
- - - - - - - -
-

Discussion

-

Set the imageView image with an url, placeholder and custom options.

- -

The downloand is asynchronous and cached.

-
- - - - - - - -
-

Declared In

- UIButton+WebCache.h
-
- - -
- -
- -

setImageWithURL:forState:placeholderImage:options:completed:

- - - -
-

Set the imageView image with an url, placeholder and custom options.

-
- - - -
- (void)setImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options completed:(SDWebImageCompletedBlock)completedBlock
- - - -
-

Parameters

- -
-
url
-

The url for the image.

-
- -
-
state
-

The state that uses the specified title. The values are described in UIControlState.

-
- -
-
placeholder
-

The image to be set initially, until the image request finishes.

-
- -
-
options
-

The options to use when downloading the image. @see SDWebImageOptions for the possible values.

-
- -
-
completedBlock
-

A block called when operation has been completed. This block as no return value -and takes the requested UIImage as first parameter. In case of error the image parameter -is nil and the second parameter may contain an NSError. The third parameter is a Boolean -indicating if the image was retrived from the local cache of from the network.

-
- -
- - - - - - - -
-

Discussion

-

Set the imageView image with an url, placeholder and custom options.

- -

The downloand is asynchronous and cached.

-
- - - - - - - -
-

Declared In

- UIButton+WebCache.h
-
- - -
- -
- - -
- - -
-
- - - \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/Documentation/SDWebImage/html/Categories/UIImage+ForceDecode.html b/RETableViewManagerExample/Pods/Documentation/SDWebImage/html/Categories/UIImage+ForceDecode.html deleted file mode 100644 index 6251ad2..0000000 --- a/RETableViewManagerExample/Pods/Documentation/SDWebImage/html/Categories/UIImage+ForceDecode.html +++ /dev/null @@ -1,265 +0,0 @@ - - - - - UIImage(ForceDecode) Category Reference - - - - - - - -
- - - - -
- -
-
- - - -
- -
- - - - -
Declared inSDWebImageDecoder.h
- - - - - - -
- -

Tasks

- - - - - - - -
- - - - - - - -
- -

Class Methods

- -
- -

decodedImageWithImage:

- - - -
+ (UIImage *)decodedImageWithImage:(UIImage *)image
- - -
- -
- - - - -
- - -
-
- - - \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/Documentation/SDWebImage/html/Categories/UIImageView+WebCache.html b/RETableViewManagerExample/Pods/Documentation/SDWebImage/html/Categories/UIImageView+WebCache.html deleted file mode 100644 index cfc46b6..0000000 --- a/RETableViewManagerExample/Pods/Documentation/SDWebImage/html/Categories/UIImageView+WebCache.html +++ /dev/null @@ -1,870 +0,0 @@ - - - - - UIImageView(WebCache) Category Reference - - - - - - - -
- - - - -
- -
-
- - - -
- -
- - - - -
Declared inUIImageView+WebCache.h
- - - - -
- -

Overview

-

Integrates SDWebImage async downloading and caching of remote images with UIImageView.

- -

Usage with a UITableViewCell sub-class:

- -
#import <SDWebImage/UIImageView+WebCache.h>
-
-...
-
-- (UITableViewCell *)tableView:(UITableView *)tableView
-         cellForRowAtIndexPath:(NSIndexPath *)indexPath
-{
-    static NSString *MyIdentifier = @"MyIdentifier";
-
-    UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:MyIdentifier];
-
-    if (cell == nil)
-    {
-        cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault
-                                       reuseIdentifier:MyIdentifier] autorelease];
-    }
-
-    // Here we use the provided setImageWithURL: method to load the web image
-    // Ensure you use a placeholder image otherwise cells will be initialized with no image
-    [cell.imageView setImageWithURL:[NSURL URLWithString:@"http://example.com/image.jpg"]
-                   placeholderImage:[UIImage imageNamed:@"placeholder"]];
-
-    cell.textLabel.text = @"My Text";
-    return cell;
-}
-
-
- - - - - -
- -

Tasks

- - - - - - - -
- - - - - - - - - -
- -

Instance Methods

- -
- -

cancelCurrentImageLoad

- - - -
-

Cancel the current download

-
- - - -
- (void)cancelCurrentImageLoad
- - - - - - - - - -
-

Discussion

-

Cancel the current download

-
- - - - - - - -
-

Declared In

- UIImageView+WebCache.h
-
- - -
- -
- -

setImageWithURL:

- - - -
-

Set the imageView image with an url.

-
- - - -
- (void)setImageWithURL:(NSURL *)url
- - - -
-

Parameters

- -
-
url
-

The url for the image.

-
- -
- - - - - - - -
-

Discussion

-

Set the imageView image with an url.

- -

The downloand is asynchronous and cached.

-
- - - - - - - -
-

Declared In

- UIImageView+WebCache.h
-
- - -
- -
- -

setImageWithURL:completed:

- - - -
-

Set the imageView image with an url.

-
- - - -
- (void)setImageWithURL:(NSURL *)url completed:(SDWebImageCompletedBlock)completedBlock
- - - -
-

Parameters

- -
-
url
-

The url for the image.

-
- -
-
completedBlock
-

A block called when operation has been completed. This block as no return value -and takes the requested UIImage as first parameter. In case of error the image parameter -is nil and the second parameter may contain an NSError. The third parameter is a Boolean -indicating if the image was retrived from the local cache of from the network.

-
- -
- - - - - - - -
-

Discussion

-

Set the imageView image with an url.

- -

The downloand is asynchronous and cached.

-
- - - - - - - -
-

Declared In

- UIImageView+WebCache.h
-
- - -
- -
- -

setImageWithURL:placeholderImage:

- - - -
-

Set the imageView image with an url and a placeholder.

-
- - - -
- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder
- - - -
-

Parameters

- -
-
url
-

The url for the image.

-
- -
-
placeholder
-

The image to be set initially, until the image request finishes.

-
- -
- - - - - - - -
-

Discussion

-

Set the imageView image with an url and a placeholder.

- -

The downloand is asynchronous and cached.

-
- - - - - - - - - -
-

Declared In

- UIImageView+WebCache.h
-
- - -
- -
- -

setImageWithURL:placeholderImage:completed:

- - - -
-

Set the imageView image with an url, placeholder.

-
- - - -
- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder completed:(SDWebImageCompletedBlock)completedBlock
- - - -
-

Parameters

- -
-
url
-

The url for the image.

-
- -
-
placeholder
-

The image to be set initially, until the image request finishes.

-
- -
-
completedBlock
-

A block called when operation has been completed. This block as no return value -and takes the requested UIImage as first parameter. In case of error the image parameter -is nil and the second parameter may contain an NSError. The third parameter is a Boolean -indicating if the image was retrived from the local cache of from the network.

-
- -
- - - - - - - -
-

Discussion

-

Set the imageView image with an url, placeholder.

- -

The downloand is asynchronous and cached.

-
- - - - - - - -
-

Declared In

- UIImageView+WebCache.h
-
- - -
- -
- -

setImageWithURL:placeholderImage:options:

- - - -
-

Set the imageView image with an url, placeholder and custom options.

-
- - - -
- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options
- - - -
-

Parameters

- -
-
url
-

The url for the image.

-
- -
-
placeholder
-

The image to be set initially, until the image request finishes.

-
- -
-
options
-

The options to use when downloading the image. @see SDWebImageOptions for the possible values.

-
- -
- - - - - - - -
-

Discussion

-

Set the imageView image with an url, placeholder and custom options.

- -

The downloand is asynchronous and cached.

-
- - - - - - - -
-

Declared In

- UIImageView+WebCache.h
-
- - -
- -
- -

setImageWithURL:placeholderImage:options:completed:

- - - -
-

Set the imageView image with an url, placeholder and custom options.

-
- - - -
- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options completed:(SDWebImageCompletedBlock)completedBlock
- - - -
-

Parameters

- -
-
url
-

The url for the image.

-
- -
-
placeholder
-

The image to be set initially, until the image request finishes.

-
- -
-
options
-

The options to use when downloading the image. @see SDWebImageOptions for the possible values.

-
- -
-
completedBlock
-

A block called when operation has been completed. This block as no return value -and takes the requested UIImage as first parameter. In case of error the image parameter -is nil and the second parameter may contain an NSError. The third parameter is a Boolean -indicating if the image was retrived from the local cache of from the network.

-
- -
- - - - - - - -
-

Discussion

-

Set the imageView image with an url, placeholder and custom options.

- -

The downloand is asynchronous and cached.

-
- - - - - - - -
-

Declared In

- UIImageView+WebCache.h
-
- - -
- -
- -

setImageWithURL:placeholderImage:options:progress:completed:

- - - -
-

Set the imageView image with an url, placeholder and custom options.

-
- - - -
- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options progress:(SDWebImageDownloaderProgressBlock)progressBlock completed:(SDWebImageCompletedBlock)completedBlock
- - - -
-

Parameters

- -
-
url
-

The url for the image.

-
- -
-
placeholder
-

The image to be set initially, until the image request finishes.

-
- -
-
options
-

The options to use when downloading the image. @see SDWebImageOptions for the possible values.

-
- -
-
progressBlock
-

A block called while image is downloading

-
- -
-
completedBlock
-

A block called when operation has been completed. This block as no return value -and takes the requested UIImage as first parameter. In case of error the image parameter -is nil and the second parameter may contain an NSError. The third parameter is a Boolean -indicating if the image was retrived from the local cache of from the network.

-
- -
- - - - - - - -
-

Discussion

-

Set the imageView image with an url, placeholder and custom options.

- -

The downloand is asynchronous and cached.

-
- - - - - - - -
-

Declared In

- UIImageView+WebCache.h
-
- - -
- -
- - -
- - -
-
- - - \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/Documentation/SDWebImage/html/Classes/SDImageCache.html b/RETableViewManagerExample/Pods/Documentation/SDWebImage/html/Classes/SDImageCache.html deleted file mode 100644 index 90bcdb3..0000000 --- a/RETableViewManagerExample/Pods/Documentation/SDWebImage/html/Classes/SDImageCache.html +++ /dev/null @@ -1,1249 +0,0 @@ - - - - - SDImageCache Class Reference - - - - - - - -
- - - - -
- -
-
- - - -
- -
- - - - - - - -
Inherits fromNSObject
Declared inSDImageCache.h
- - - - -
- -

Overview

-

SDImageCache maintains a memory cache and an optional disk cache. Disk cache write operations are performed -asynchronous so it doesn’t add unnecessary latency to the UI.

-
- - - - - -
- -

Tasks

- - - - - - - -
- - - - - -
- -

Properties

- -
- -

maxCacheAge

- - - -
-

The maximum length of time to keep an image in the cache, in seconds

-
- - - -
@property (assign, nonatomic) NSInteger maxCacheAge
- - - - - - - - - -
-

Discussion

-

The maximum length of time to keep an image in the cache, in seconds

-
- - - - - - - -
-

Declared In

- SDImageCache.h
-
- - -
- -
- - - -
- -

Class Methods

- -
- -

sharedImageCache

- - - -
-

Returns global shared cache instance

-
- - - -
+ (SDImageCache *)sharedImageCache
- - - - - -
-

Return Value

-

SDImageCache global instance

-
- - - - - -
-

Discussion

-

Returns global shared cache instance

-
- - - - - - - -
-

Declared In

- SDImageCache.h
-
- - -
- -
- - - -
- -

Instance Methods

- -
- -

cleanDisk

- - - -
-

Remove all expired cached image from disk

-
- - - -
- (void)cleanDisk
- - - - - - - - - -
-

Discussion

-

Remove all expired cached image from disk

-
- - - - - - - -
-

Declared In

- SDImageCache.h
-
- - -
- -
- -

clearDisk

- - - -
-

Clear all disk cached images

-
- - - -
- (void)clearDisk
- - - - - - - - - -
-

Discussion

-

Clear all disk cached images

-
- - - - - - - -
-

Declared In

- SDImageCache.h
-
- - -
- -
- -

clearMemory

- - - -
-

Clear all memory cached images

-
- - - -
- (void)clearMemory
- - - - - - - - - -
-

Discussion

-

Clear all memory cached images

-
- - - - - - - -
-

Declared In

- SDImageCache.h
-
- - -
- -
- -

getDiskCount

- - - -
-

Get the number of images in the disk cache

-
- - - -
- (int)getDiskCount
- - - - - - - - - -
-

Discussion

-

Get the number of images in the disk cache

-
- - - - - - - -
-

Declared In

- SDImageCache.h
-
- - -
- -
- -

getSize

- - - -
-

Get the size used by the disk cache

-
- - - -
- (int)getSize
- - - - - - - - - -
-

Discussion

-

Get the size used by the disk cache

-
- - - - - - - -
-

Declared In

- SDImageCache.h
-
- - -
- -
- -

imageFromDiskCacheForKey:

- - - -
-

Query the disk cache synchronousely.

-
- - - -
- (UIImage *)imageFromDiskCacheForKey:(NSString *)key
- - - -
-

Parameters

- -
-
key
-

The unique key used to store the wanted image

-
- -
- - - - - - - -
-

Discussion

-

Query the disk cache synchronousely.

-
- - - - - - - -
-

Declared In

- SDImageCache.h
-
- - -
- -
- -

imageFromMemoryCacheForKey:

- - - -
-

Query the memory cache.

-
- - - -
- (UIImage *)imageFromMemoryCacheForKey:(NSString *)key
- - - -
-

Parameters

- -
-
key
-

The unique key used to store the wanted image

-
- -
- - - - - - - -
-

Discussion

-

Query the memory cache.

-
- - - - - - - -
-

Declared In

- SDImageCache.h
-
- - -
- -
- -

initWithNamespace:

- - - -
-

Init a new cache store with a specific namespace

-
- - - -
- (id)initWithNamespace:(NSString *)ns
- - - -
-

Parameters

- -
-
ns
-

The namespace to use for this cache store

-
- -
- - - - - - - -
-

Discussion

-

Init a new cache store with a specific namespace

-
- - - - - - - -
-

Declared In

- SDImageCache.h
-
- - -
- -
- -

queryDiskCacheForKey:done:

- - - -
-

Query the disk cache asynchronousely.

-
- - - -
- (void)queryDiskCacheForKey:(NSString *)key done:(void ( ^ ) ( UIImage *image , SDImageCacheType cacheType ))doneBlock
- - - -
-

Parameters

- -
-
key
-

The unique key used to store the wanted image

-
- -
- - - - - - - -
-

Discussion

-

Query the disk cache asynchronousely.

-
- - - - - - - -
-

Declared In

- SDImageCache.h
-
- - -
- -
- -

removeImageForKey:

- - - -
-

Remove the image from memory and disk cache synchronousely

-
- - - -
- (void)removeImageForKey:(NSString *)key
- - - -
-

Parameters

- -
-
key
-

The unique image cache key

-
- -
- - - - - - - -
-

Discussion

-

Remove the image from memory and disk cache synchronousely

-
- - - - - - - -
-

Declared In

- SDImageCache.h
-
- - -
- -
- -

removeImageForKey:fromDisk:

- - - -
-

Remove the image from memory and optionaly disk cache synchronousely

-
- - - -
- (void)removeImageForKey:(NSString *)key fromDisk:(BOOL)fromDisk
- - - -
-

Parameters

- -
-
key
-

The unique image cache key

-
- -
-
fromDisk
-

Also remove cache entry from disk if YES

-
- -
- - - - - - - -
-

Discussion

-

Remove the image from memory and optionaly disk cache synchronousely

-
- - - - - - - -
-

Declared In

- SDImageCache.h
-
- - -
- -
- -

storeImage:forKey:

- - - -
-

Store an image into memory and disk cache at the given key.

-
- - - -
- (void)storeImage:(UIImage *)image forKey:(NSString *)key
- - - -
-

Parameters

- -
-
image
-

The image to store

-
- -
-
key
-

The unique image cache key, usually it’s image absolute URL

-
- -
- - - - - - - -
-

Discussion

-

Store an image into memory and disk cache at the given key.

-
- - - - - - - -
-

Declared In

- SDImageCache.h
-
- - -
- -
- -

storeImage:forKey:toDisk:

- - - -
-

Store an image into memory and optionally disk cache at the given key.

-
- - - -
- (void)storeImage:(UIImage *)image forKey:(NSString *)key toDisk:(BOOL)toDisk
- - - -
-

Parameters

- -
-
image
-

The image to store

-
- -
-
key
-

The unique image cache key, usually it’s image absolute URL

-
- -
-
toDisk
-

Store the image to disk cache if YES

-
- -
- - - - - - - -
-

Discussion

-

Store an image into memory and optionally disk cache at the given key.

-
- - - - - - - -
-

Declared In

- SDImageCache.h
-
- - -
- -
- -

storeImage:imageData:forKey:toDisk:

- - - -
-

Store an image into memory and optionally disk cache at the given key.

-
- - - -
- (void)storeImage:(UIImage *)image imageData:(NSData *)data forKey:(NSString *)key toDisk:(BOOL)toDisk
- - - -
-

Parameters

- -
-
image
-

The image to store

-
- -
-
data
-

The image data as returned by the server, this representation will be used for disk storage -instead of converting the given image object into a storable/compressed image format in order -to save quality and CPU

-
- -
-
key
-

The unique image cache key, usually it’s image absolute URL

-
- -
-
toDisk
-

Store the image to disk cache if YES

-
- -
- - - - - - - -
-

Discussion

-

Store an image into memory and optionally disk cache at the given key.

-
- - - - - - - -
-

Declared In

- SDImageCache.h
-
- - -
- -
- - -
- - -
-
- - - \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/Documentation/SDWebImage/html/Classes/SDWebImageDownloader.html b/RETableViewManagerExample/Pods/Documentation/SDWebImage/html/Classes/SDWebImageDownloader.html deleted file mode 100644 index 53b66a5..0000000 --- a/RETableViewManagerExample/Pods/Documentation/SDWebImage/html/Classes/SDWebImageDownloader.html +++ /dev/null @@ -1,595 +0,0 @@ - - - - - SDWebImageDownloader Class Reference - - - - - - - -
- - - - -
- -
-
- - - -
- -
- - - - - - - -
Inherits fromNSObject
Declared inSDWebImageDownloader.h
- - - - -
- -

Overview

-

Asynchronous downloader dedicated and optimized for image loading.

-
- - - - - -
- -

Tasks

- - - - - - - -
- - - - - -
- -

Properties

- -
- -

maxConcurrentDownloads

- - - -
@property (assign, nonatomic) NSInteger maxConcurrentDownloads
- - -
- -
- -

queueMode

- - - -
-

Changes download operations unqueue mode. Default value is SDWebImageDownloaderFILOQueueMode.

-
- - - -
@property (assign, nonatomic) SDWebImageDownloaderQueueMode queueMode
- - - - - - - - - -
-

Discussion

-

Changes download operations unqueue mode. Default value is SDWebImageDownloaderFILOQueueMode.

-
- - - - - - - -
-

Declared In

- SDWebImageDownloader.h
-
- - -
- -
- - - -
- -

Class Methods

- -
- -

sharedDownloader

- - - -
+ (SDWebImageDownloader *)sharedDownloader
- - -
- -
- - - -
- -

Instance Methods

- -
- -

downloadImageWithURL:options:progress:completed:

- - - -
-

Creates a SDWebImageDownloader async downloader instance with a given URL

-
- - - -
- (id<SDWebImageOperation>)downloadImageWithURL:(NSURL *)url options:(SDWebImageDownloaderOptions)options progress:(SDWebImageDownloaderProgressBlock)progressBlock completed:(SDWebImageDownloaderCompletedBlock)completedBlock
- - - -
-

Parameters

- -
-
url
-

The URL to the image to download

-
- -
-
options
-

The options to be used for this download

-
- -
-
completed
-

A block called once the download is completed. -If the download succeeded, the image parameter is set, in case of error, -error parameter is set with the error. The last parameter is always YES -if SDWebImageDownloaderProgressiveDownload isn’t use. With the -SDWebImageDownloaderProgressiveDownload option, this block is called -repeatedly with the partial image object and the finished argument set to NO -before to be called a last time with the full image and finished argument -set to YES. In case of error, the finished argument is always YES.

-
- -
-
progress
-

A block called repeatedly while the image is downloading

-
- -
- - - -
-

Return Value

-

A cancellable SDWebImageOperation

-
- - - - - -
-

Discussion

-

Creates a SDWebImageDownloader async downloader instance with a given URL

- -

The delegate will be informed when the image is finish downloaded or an error has happen.

-
- - - - - - - -
-

Declared In

- SDWebImageDownloader.h
-
- - -
- -
- -

setValue:forHTTPHeaderField:

- - - -
-

Set a value for a HTTP header to be appended to each download HTTP request.

-
- - - -
- (void)setValue:(NSString *)value forHTTPHeaderField:(NSString *)field
- - - -
-

Parameters

- -
-
value
-

The value for the header field. Use nil value to remove the header.

-
- -
-
field
-

The name of the header field to set.

-
- -
- - - - - - - -
-

Discussion

-

Set a value for a HTTP header to be appended to each download HTTP request.

-
- - - - - - - -
-

Declared In

- SDWebImageDownloader.h
-
- - -
- -
- -

valueForHTTPHeaderField:

- - - -
-

Returns the value of the specified HTTP header field.

-
- - - -
- (NSString *)valueForHTTPHeaderField:(NSString *)field
- - - - - -
-

Return Value

-

The value associated with the header field field, or nil if there is no corresponding header field.

-
- - - - - -
-

Discussion

-

Returns the value of the specified HTTP header field.

-
- - - - - - - -
-

Declared In

- SDWebImageDownloader.h
-
- - -
- -
- - -
- - -
-
- - - \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/Documentation/SDWebImage/html/Classes/SDWebImageDownloaderOperation.html b/RETableViewManagerExample/Pods/Documentation/SDWebImage/html/Classes/SDWebImageDownloaderOperation.html deleted file mode 100644 index 442ab43..0000000 --- a/RETableViewManagerExample/Pods/Documentation/SDWebImage/html/Classes/SDWebImageDownloaderOperation.html +++ /dev/null @@ -1,328 +0,0 @@ - - - - - SDWebImageDownloaderOperation Class Reference - - - - - - - -
- - - - -
- -
-
- - - -
- -
- - - - - - - - - - -
Inherits fromNSOperation
Conforms toSDWebImageOperation
Declared inSDWebImageDownloaderOperation.h
- - - - - - -
- -

Tasks

- - - - - - - -
- - - - - -
- -

Properties

- -
- -

options

- - - -
@property (assign, nonatomic, readonly) SDWebImageDownloaderOptions options
- - -
- -
- -

request

- - - -
@property (strong, nonatomic, readonly) NSURLRequest *request
- - -
- -
- - - - - -
- -

Instance Methods

- -
- -

initWithRequest:queue:options:progress:completed:cancelled:

- - - -
- (id)initWithRequest:(NSURLRequest *)request queue:(dispatch_queue_t)queue options:(SDWebImageDownloaderOptions)options progress:(SDWebImageDownloaderProgressBlock)progressBlock completed:(SDWebImageDownloaderCompletedBlock)completedBlock cancelled:(void ( ^ ) ( ))cancelBlock
- - -
- -
- - -
- - -
-
- - - \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/Documentation/SDWebImage/html/Classes/SDWebImageManager.html b/RETableViewManagerExample/Pods/Documentation/SDWebImage/html/Classes/SDWebImageManager.html deleted file mode 100644 index bd9ccf3..0000000 --- a/RETableViewManagerExample/Pods/Documentation/SDWebImage/html/Classes/SDWebImageManager.html +++ /dev/null @@ -1,692 +0,0 @@ - - - - - SDWebImageManager Class Reference - - - - - - - -
- - - - -
- -
-
- - - -
- -
- - - - - - - -
Inherits fromNSObject
Declared inSDWebImageManager.h
- - - - -
- -

Overview

-

The SDWebImageManager is the class behind the UIImageView+WebCache category and likes. -It ties the asynchronous downloader (SDWebImageDownloader) with the image cache store (SDImageCache). -You can use this class directly to benefit from web image downloading with caching in another context than -a UIView.

- -

Here is a simple example of how to use SDWebImageManager:

- -

SDWebImageManager manager = [SDWebImageManager sharedManager]; -[manager downloadWithURL:imageURL -delegate:self -options:0 -progress:nil -completed:^(UIImage image, NSError *error, BOOL fromCache) -{ -if (image) -{ -// do something with image -} -}];

-
- - - - - -
- -

Tasks

- - - - - - - -
- - - - - -
- -

Properties

- -
- -

cacheKeyFilter

- - - -
-

The cache filter is a block used each time SDWebImageManager need to convert an URL into a cache key. This can -be used to remove dynamic part of an image URL.

-
- - - -
@property (strong) NSString *^ ) ( NSURL *url ) cacheKeyFilter
- - - - - - - - - -
-

Discussion

-

The cache filter is a block used each time SDWebImageManager need to convert an URL into a cache key. This can -be used to remove dynamic part of an image URL.

- -

The following example sets a filter in the application delegate that will remove any query-string from the -URL before to use it as a cache key:

- -
[[SDWebImageManager sharedManager] setCacheKeyFilter:^(NSURL *url)
-{
-    url = [[NSURL alloc] initWithScheme:url.scheme host:url.host path:url.path];
-    return [url absoluteString];
-}];
-
-
- - - - - - - -
-

Declared In

- SDWebImageManager.h
-
- - -
- -
- -

delegate

- - - -
@property (weak, nonatomic) id<SDWebImageManagerDelegate> delegate
- - -
- -
- -

imageCache

- - - -
@property (strong, nonatomic, readonly) SDImageCache *imageCache
- - -
- -
- -

imageDownloader

- - - -
@property (strong, nonatomic, readonly) SDWebImageDownloader *imageDownloader
- - -
- -
- - - -
- -

Class Methods

- -
- -

sharedManager

- - - -
-

Returns global SDWebImageManager instance.

-
- - - -
+ (SDWebImageManager *)sharedManager
- - - - - -
-

Return Value

-

SDWebImageManager shared instance

-
- - - - - -
-

Discussion

-

Returns global SDWebImageManager instance.

-
- - - - - - - -
-

Declared In

- SDWebImageManager.h
-
- - -
- -
- - - -
- -

Instance Methods

- -
- -

cancelAll

- - - -
-

Cancel all current opreations

-
- - - -
- (void)cancelAll
- - - - - - - - - -
-

Discussion

-

Cancel all current opreations

-
- - - - - - - -
-

Declared In

- SDWebImageManager.h
-
- - -
- -
- -

downloadWithURL:options:progress:completed:

- - - -
-

Downloads the image at the given URL if not present in cache or return the cached version otherwise.

-
- - - -
- (id<SDWebImageOperation>)downloadWithURL:(NSURL *)url options:(SDWebImageOptions)options progress:(SDWebImageDownloaderProgressBlock)progressBlock completed:(SDWebImageCompletedWithFinishedBlock)completedBlock
- - - -
-

Parameters

- -
-
url
-

The URL to the image

-
- -
-
options
-

A mask to specify options to use for this request

-
- -
-
progressBlock
-

A block called while image is downloading

-
- -
-
completedBlock
-

A block called when operation has been completed.

- -

This block as no return value and takes the requested UIImage as first parameter. -In case of error the image parameter is nil and the second parameter may contain an NSError.

- -

The third parameter is a Boolean indicating if the image was retrived from the local cache -of from the network.

- -

The last parameter is set to NO when the SDWebImageProgressiveDownload option is used and -the image is downloading. This block is thus called repetidly with a partial image. When -image is fully downloaded, the block is called a last time with the full image and the last -parameter set to YES.

-
- -
-
delegate
-

The delegate object used to send result back

-
- -
- - - -
-

Return Value

-

Returns a cancellable NSOperation

-
- - - - - -
-

Discussion

-

Downloads the image at the given URL if not present in cache or return the cached version otherwise.

-
- - - - - - - -
-

Declared In

- SDWebImageManager.h
-
- - -
- -
- -

isRunning

- - - -
-

Check one or more operations running

-
- - - -
- (BOOL)isRunning
- - - - - - - - - -
-

Discussion

-

Check one or more operations running

-
- - - - - - - -
-

Declared In

- SDWebImageManager.h
-
- - -
- -
- - -
- - -
-
- - - \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/Documentation/SDWebImage/html/Classes/SDWebImagePrefetcher.html b/RETableViewManagerExample/Pods/Documentation/SDWebImage/html/Classes/SDWebImagePrefetcher.html deleted file mode 100644 index bb2c033..0000000 --- a/RETableViewManagerExample/Pods/Documentation/SDWebImage/html/Classes/SDWebImagePrefetcher.html +++ /dev/null @@ -1,633 +0,0 @@ - - - - - SDWebImagePrefetcher Class Reference - - - - - - - -
- - - - -
- -
-
- - - -
- -
- - - - - - - -
Inherits fromNSObject
Declared inSDWebImagePrefetcher.h
- - - - -
- -

Overview

-

Prefetch some URLs in the cache for future use. Images are downloaded in low priority.

-
- - - - - -
- -

Tasks

- - - - - -
    -
  • - -   maxConcurrentDownloads -

    Maximum number of URLs to prefetch at the same time. Defaults to 3.

    -
    - property - -
  • - -   options -

    SDWebImageOptions for prefetcher. Defaults to SDWebImageLowPriority.

    -
    - property - -
  • - - + sharedImagePrefetcher -

    Return the global image prefetcher instance.

    -
    - - -
  • - - – prefetchURLs: -

    Assign list of URLs to let SDWebImagePrefetcher to queue the prefetching, -currently one image is downloaded at a time, -and skips images for failed downloads and proceed to the next image in the list

    -
    - - -
  • - - – prefetchURLs:completed: -

    Assign list of URLs to let SDWebImagePrefetcher to queue the prefetching, -currently one image is downloaded at a time, -and skips images for failed downloads and proceed to the next image in the list

    -
    - - -
  • - - – cancelPrefetching -

    Remove and cancel queued list

    -
    - - -
  • -
- -
- - - - - -
- -

Properties

- -
- -

maxConcurrentDownloads

- - - -
-

Maximum number of URLs to prefetch at the same time. Defaults to 3.

-
- - - -
@property (nonatomic, assign) NSUInteger maxConcurrentDownloads
- - - - - - - - - -
-

Discussion

-

Maximum number of URLs to prefetch at the same time. Defaults to 3.

-
- - - - - - - -
-

Declared In

- SDWebImagePrefetcher.h
-
- - -
- -
- -

options

- - - -
-

SDWebImageOptions for prefetcher. Defaults to SDWebImageLowPriority.

-
- - - -
@property (nonatomic, assign) SDWebImageOptions options
- - - - - - - - - -
-

Discussion

-

SDWebImageOptions for prefetcher. Defaults to SDWebImageLowPriority.

-
- - - - - - - -
-

Declared In

- SDWebImagePrefetcher.h
-
- - -
- -
- - - -
- -

Class Methods

- -
- -

sharedImagePrefetcher

- - - -
-

Return the global image prefetcher instance.

-
- - - -
+ (SDWebImagePrefetcher *)sharedImagePrefetcher
- - - - - - - - - -
-

Discussion

-

Return the global image prefetcher instance.

-
- - - - - - - -
-

Declared In

- SDWebImagePrefetcher.h
-
- - -
- -
- - - -
- -

Instance Methods

- -
- -

cancelPrefetching

- - - -
-

Remove and cancel queued list

-
- - - -
- (void)cancelPrefetching
- - - - - - - - - -
-

Discussion

-

Remove and cancel queued list

-
- - - - - - - -
-

Declared In

- SDWebImagePrefetcher.h
-
- - -
- -
- -

prefetchURLs:

- - - -
-

Assign list of URLs to let SDWebImagePrefetcher to queue the prefetching, -currently one image is downloaded at a time, -and skips images for failed downloads and proceed to the next image in the list

-
- - - -
- (void)prefetchURLs:(NSArray *)urls
- - - -
-

Parameters

- -
-
urls
-

list of URLs to prefetch

-
- -
- - - - - - - -
-

Discussion

-

Assign list of URLs to let SDWebImagePrefetcher to queue the prefetching, -currently one image is downloaded at a time, -and skips images for failed downloads and proceed to the next image in the list

-
- - - - - - - -
-

Declared In

- SDWebImagePrefetcher.h
-
- - -
- -
- -

prefetchURLs:completed:

- - - -
-

Assign list of URLs to let SDWebImagePrefetcher to queue the prefetching, -currently one image is downloaded at a time, -and skips images for failed downloads and proceed to the next image in the list

-
- - - -
- (void)prefetchURLs:(NSArray *)urls completed:(void ( ^ ) ( NSUInteger finishedCount , NSUInteger skippedCount ))completionBlock
- - - -
-

Parameters

- -
-
urls
-

list of URLs to prefetch

-
- -
-
completionBlock
-

block to be called when prefetching is completed

-
- -
- - - - - - - -
-

Discussion

-

Assign list of URLs to let SDWebImagePrefetcher to queue the prefetching, -currently one image is downloaded at a time, -and skips images for failed downloads and proceed to the next image in the list

-
- - - - - - - -
-

Declared In

- SDWebImagePrefetcher.h
-
- - -
- -
- - -
- - -
-
- - - \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/Documentation/SDWebImage/html/Protocols/SDWebImageManagerDelegate.html b/RETableViewManagerExample/Pods/Documentation/SDWebImage/html/Protocols/SDWebImageManagerDelegate.html deleted file mode 100644 index 53eec44..0000000 --- a/RETableViewManagerExample/Pods/Documentation/SDWebImage/html/Protocols/SDWebImageManagerDelegate.html +++ /dev/null @@ -1,415 +0,0 @@ - - - - - SDWebImageManagerDelegate Protocol Reference - - - - - - - -
- - - - -
- -
-
- - - -
- -
- - - - - - - -
Conforms toNSObject
Declared inSDWebImageManager.h
- - - - -
- -

Overview

-

Even if the image is cached, respect the HTTP response cache control, and refresh the image from remote location if needed. -The disk caching will be handled by NSURLCache instead of SDWebImage leading to slight performance degradation. -This option helps deal with images changing behind the same request URL, e.g. Facebook graph api profile pics. -If a cached image is refreshed, the completion block is called once with the cached image and again with the final image.

- -

Use this flag only if you can’t make your URLs static with embeded cache busting parameter.

-
- - - - - -
- -

Tasks

- - - - - - - -
- - - - - - - - - -
- -

Instance Methods

- -
- -

imageManager:shouldDownloadImageForURL:

- - - -
-

Controls which image should be downloaded when the image is not found in the cache.

-
- - - -
- (BOOL)imageManager:(SDWebImageManager *)imageManager shouldDownloadImageForURL:(NSURL *)imageURL
- - - -
-

Parameters

- -
-
imageManager
-

The current SDWebImageManager

-
- -
-
imageURL
-

The url of the image to be downloaded

-
- -
- - - -
-

Return Value

-

Return NO to prevent the downloading of the image on cache misses. If not implemented, YES is implied.

-
- - - - - -
-

Discussion

-

Controls which image should be downloaded when the image is not found in the cache.

-
- - - - - - - -
-

Declared In

- SDWebImageManager.h
-
- - -
- -
- -

imageManager:transformDownloadedImage:withURL:

- - - -
-

Allows to transform the image immediately after it has been downloaded and just before to cache it on disk and memory. -NOTE: This method is called from a global queue in order to not to block the main thread.

-
- - - -
- (UIImage *)imageManager:(SDWebImageManager *)imageManager transformDownloadedImage:(UIImage *)image withURL:(NSURL *)imageURL
- - - -
-

Parameters

- -
-
imageManager
-

The current SDWebImageManager

-
- -
-
image
-

The image to transform

-
- -
-
imageURL
-

The url of the image to transform

-
- -
- - - -
-

Return Value

-

The transformed image object.

-
- - - - - -
-

Discussion

-

Allows to transform the image immediately after it has been downloaded and just before to cache it on disk and memory. -NOTE: This method is called from a global queue in order to not to block the main thread.

-
- - - - - - - -
-

Declared In

- SDWebImageManager.h
-
- - -
- -
- - -
- - -
-
- - - \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/Documentation/SDWebImage/html/Protocols/SDWebImageOperation.html b/RETableViewManagerExample/Pods/Documentation/SDWebImage/html/Protocols/SDWebImageOperation.html deleted file mode 100644 index 3f89bbb..0000000 --- a/RETableViewManagerExample/Pods/Documentation/SDWebImage/html/Protocols/SDWebImageOperation.html +++ /dev/null @@ -1,268 +0,0 @@ - - - - - SDWebImageOperation Protocol Reference - - - - - - - -
- - - - -
- -
-
- - - -
- -
- - - - - - - -
Conforms toNSObject
Declared inSDWebImageOperation.h
- - - - - - -
- -

Tasks

- - - - - - - -
- - - - - - - - - -
- -

Instance Methods

- -
- -

cancel

- - - -
- (void)cancel
- - -
- -
- - -
- - -
-
- - - \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/Documentation/SDWebImage/html/css/styles.css b/RETableViewManagerExample/Pods/Documentation/SDWebImage/html/css/styles.css deleted file mode 100755 index bf946c0..0000000 --- a/RETableViewManagerExample/Pods/Documentation/SDWebImage/html/css/styles.css +++ /dev/null @@ -1,584 +0,0 @@ -body { - font-family: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; - font-size: 13px; -} - -code { - font-family: Courier, Consolas, monospace; - font-size: 13px; - color: #666; -} - -pre { - font-family: Courier, Consolas, monospace; - font-size: 13px; - line-height: 18px; - tab-interval: 0.5em; - border: 1px solid #C7CFD5; - background-color: #F1F5F9; - color: #666; - padding: 0.3em 1em; -} - -ul { - list-style-type: square; -} - -li { - margin-bottom: 10px; -} - -a, a code { - text-decoration: none; - color: #36C; -} - -a:hover, a:hover code { - text-decoration: underline; - color: #36C; -} - -h2 { - border-bottom: 1px solid #8391A8; - color: #3C4C6C; - font-size: 187%; - font-weight: normal; - margin-top: 1.75em; - padding-bottom: 2px; -} - -table { - margin-bottom: 4em; - border-collapse:collapse; - vertical-align: middle; -} - -td { - border: 1px solid #9BB3CD; - padding: .667em; - font-size: 100%; -} - -th { - border: 1px solid #9BB3CD; - padding: .3em .667em .3em .667em; - background: #93A5BB; - font-size: 103%; - font-weight: bold; - color: white; - text-align: left; -} - -/* @group Common page elements */ - -#top_header { - height: 91px; - left: 0; - min-width: 598px; - position: absolute; - right: 0; - top: 0; - z-index: 900; -} - -#footer { - clear: both; - padding-top: 20px; - text-align: center; -} - -#contents, #overview_contents { - -webkit-overflow-scrolling: touch; - border-top: 1px solid #2B334F; - position: absolute; - top: 91px; - left: 0; - right: 0; - bottom: 0; - overflow-x: hidden; - overflow-y: auto; - padding-left: 2em; - padding-right: 2em; - padding-top: 1em; - min-width: 550px; -} - -#contents.isShowingTOC { - left: 230px; - min-width: 320px; -} - -.copyright { - font-size: 12px; -} - -.generator { - font-size: 11px; -} - -.main-navigation ul li { - display: inline; - margin-left: 15px; - list-style: none; -} - -.navigation-top { - clear: both; - float: right; -} - -.navigation-bottom { - clear: both; - float: right; - margin-top: 20px; - margin-bottom: -10px; -} - -.open > .disclosure { - background-image: url("../img/disclosure_open.png"); -} - -.disclosure { - background: url("../img/disclosure.png") no-repeat scroll 0 0; -} - -.disclosure, .nodisclosure { - display: inline-block; - height: 8px; - margin-right: 5px; - position: relative; - width: 9px; -} - -/* @end */ - -/* @group Header */ - -#top_header #library { - background: url("../img/library_background.png") repeat-x 0 0 #485E78; - background-color: #ccc; - height: 35px; - font-size: 115%; -} - -#top_header #library #libraryTitle { - color: #FFFFFF; - margin-left: 15px; - text-shadow: 0 -1px 0 #485E78; - top: 8px; - position: absolute; -} - -#top_header #library #developerHome { - color: #92979E; - right: 15px; - top: 8px; - position: absolute; -} - -#top_header #library a:hover { - text-decoration: none; -} - -#top_header #title { - background: url("../img/title_background.png") repeat-x 0 0 #8A98A9; - border-bottom: 1px solid #B6B6B6; - height: 25px; - overflow: hidden; -} - -#top_header h1 { - font-size: 115%; - font-weight: normal; - margin: 0; - padding: 3px 0 2px; - text-align: center; - text-shadow: 0 1px 0 #D5D5D5; - white-space: nowrap; -} - -#headerButtons { - background-color: #D8D8D8; - background-image: url("../img/button_bar_background.png"); - border-bottom: 1px solid #EDEDED; - border-top: 1px solid #2B334F; - font-size: 8pt; - height: 28px; - left: 0; - list-style: none outside none; - margin: 0; - overflow: hidden; - padding: 0; - position: absolute; - right: 0; - top: 61px; -} - -#headerButtons li { - background-repeat: no-repeat; - display: inline; - margin-top: 0; - margin-bottom: 0; - padding: 0; -} - -#toc_button button { - border-color: #ACACAC; - border-style: none solid none none; - border-width: 0 1px 0 0; - height: 28px; - margin: 0; - padding-left: 30px; - text-align: left; - width: 230px; -} - -li#jumpto_button { - left: 230px; - margin-left: 0; - position: absolute; -} - -li#jumpto_button select { - height: 22px; - margin: 5px 2px 0 10px; - max-width: 300px; -} - -/* @end */ - -/* @group Table of contents */ - -#tocContainer.isShowingTOC { - border-right: 1px solid #ACACAC; - display: block; - overflow-x: hidden; - overflow-y: auto; - padding: 0; -} - -#tocContainer { - background-color: #E4EBF7; - border-top: 1px solid #2B334F; - bottom: 0; - display: none; - left: 0; - overflow: hidden; - position: absolute; - top: 91px; - width: 229px; -} - -#tocContainer > ul#toc { - font-size: 11px; - margin: 0; - padding: 12px 0 18px; - width: 209px; - -moz-user-select: none; - -webkit-user-select: none; - user-select: none; -} - -#tocContainer > ul#toc > li { - margin: 0; - padding: 0 0 7px 30px; - text-indent: -15px; -} - -#tocContainer > ul#toc > li > .sectionName a { - color: #000000; - font-weight: bold; -} - -#tocContainer > ul#toc > li > .sectionName a:hover { - text-decoration: none; -} - -#tocContainer > ul#toc li.children > ul { - display: none; - height: 0; -} - -#tocContainer > ul#toc > li > ul { - margin: 0; - padding: 0; -} - -#tocContainer > ul#toc > li > ul, ul#toc > li > ul > li { - margin-left: 0; - margin-bottom: 0; - padding-left: 15px; -} - -#tocContainer > ul#toc > li ul { - list-style: none; - margin-right: 0; - padding-right: 0; -} - -#tocContainer > ul#toc li.children.open > ul { - display: block; - height: auto; - margin-left: -15px; - padding-left: 0; -} - -#tocContainer > ul#toc > li > ul, ul#toc > li > ul > li { - margin-left: 0; - padding-left: 15px; -} - -#tocContainer li ul li { - margin-top: 0.583em; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; -} - -#tocContainer li ul li span.sectionName { - white-space: normal; -} - -#tocContainer > ul#toc > li > ul > li > .sectionName a { - font-weight: bold; -} - -#tocContainer > ul#toc > li > ul a { - color: #4F4F4F; -} - -/* @end */ - -/* @group Index formatting */ - -.index-title { - font-size: 13px; - font-weight: normal; -} - -.index-column { - float: left; - width: 30%; - min-width: 200px; - font-size: 11px; -} - -.index-column ul { - margin: 8px 0 0 0; - padding: 0; - list-style: none; -} - -.index-column ul li { - margin: 0 0 3px 0; - padding: 0; -} - -.hierarchy-column { - min-width: 400px; -} - -.hierarchy-column ul { - margin: 3px 0 0 15px; -} - -.hierarchy-column ul li { - list-style-type: square; -} - -/* @end */ - -/* @group Common formatting elements */ - -.title { - font-weight: normal; - font-size: 215%; - margin-top:0; -} - -.subtitle { - font-weight: normal; - font-size: 180%; - color: #3C4C6C; - border-bottom: 1px solid #5088C5; -} - -.subsubtitle { - font-weight: normal; - font-size: 145%; - height: 0.7em; -} - -.note { - border: 1px solid #5088C5; - background-color: white; - margin: 1.667em 0 1.75em 0; - padding: 0 .667em .083em .750em; -} - -.warning { - border: 1px solid #5088C5; - background-color: #F0F3F7; - margin-bottom: 0.5em; - padding: 0.3em 0.8em; -} - -.bug { - border: 1px solid #000; - background-color: #ffffcc; - margin-bottom: 0.5em; - padding: 0.3em 0.8em; -} - -.deprecated { - color: #F60425; -} - -/* @end */ - -/* @group Common layout */ - -.section { - margin-top: 3em; -} - -/* @end */ - -/* @group Object specification section */ - -.section-specification { - margin-left: 2.5em; - margin-right: 2.5em; - font-size: 12px; -} - -.section-specification table { - margin-bottom: 0em; - border-top: 1px solid #d6e0e5; -} - -.section-specification td { - vertical-align: top; - border-bottom: 1px solid #d6e0e5; - border-left-width: 0px; - border-right-width: 0px; - border-top-width: 0px; - padding: .6em; -} - -.section-specification .specification-title { - font-weight: bold; -} - -/* @end */ - -/* @group Tasks section */ - -.task-list { - list-style-type: none; - padding-left: 0px; -} - -.task-list li { - margin-bottom: 3px; -} - -.task-item-suffix { - color: #996; - font-size: 12px; - font-style: italic; - margin-left: 0.5em; -} - -span.tooltip span.tooltip { - font-size: 1.0em; - display: none; - padding: 0.3em; - border: 1px solid #aaa; - background-color: #fdfec8; - color: #000; - text-align: left; -} - -span.tooltip:hover span.tooltip { - display: block; - position: absolute; - margin-left: 2em; -} - -/* @end */ - -/* @group Method section */ - -.section-method { - margin-top: 2.3em; -} - -.method-title { - margin-bottom: 1.5em; -} - -.method-subtitle { - margin-top: 0.7em; - margin-bottom: 0.2em; -} - -.method-subsection p { - margin-top: 0.4em; - margin-bottom: 0.8em; -} - -.method-declaration { - margin-top:1.182em; - margin-bottom:.909em; -} - -.method-declaration code { - font:14px Courier, Consolas, monospace; - color:#000; -} - -.declaration { - color: #000; -} - -.argument-def { - margin-top: 0.3em; - margin-bottom: 0.3em; -} - -.argument-def dd { - margin-left: 1.25em; -} - -.see-also-section ul { - list-style-type: none; - padding-left: 0px; - margin-top: 0; -} - -.see-also-section li { - margin-bottom: 3px; -} - -.declared-in-ref { - color: #666; -} - -#tocContainer.hideInXcode { - display: none; - border: 0px solid black; -} - -#top_header.hideInXcode { - display: none; -} - -#contents.hideInXcode { - border: 0px solid black; - top: 0px; - left: 0px; -} - -/* @end */ - diff --git a/RETableViewManagerExample/Pods/Documentation/SDWebImage/html/css/stylesPrint.css b/RETableViewManagerExample/Pods/Documentation/SDWebImage/html/css/stylesPrint.css deleted file mode 100644 index dc54cd2..0000000 --- a/RETableViewManagerExample/Pods/Documentation/SDWebImage/html/css/stylesPrint.css +++ /dev/null @@ -1,22 +0,0 @@ - -header { - display: none; -} - -div.main-navigation, div.navigation-top { - display: none; -} - -div#overview_contents, div#contents.isShowingTOC, div#contents { - overflow: visible; - position: relative; - top: 0px; - border: none; - left: 0; -} -#tocContainer.isShowingTOC { - display: none; -} -nav { - display: none; -} \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/Documentation/SDWebImage/html/hierarchy.html b/RETableViewManagerExample/Pods/Documentation/SDWebImage/html/hierarchy.html deleted file mode 100644 index 1354438..0000000 --- a/RETableViewManagerExample/Pods/Documentation/SDWebImage/html/hierarchy.html +++ /dev/null @@ -1,111 +0,0 @@ - - - - - SDWebImage 3.2 Hierarchy - - - - - -
- - - - -
-
-
- - -
- -
-

Class Hierarchy

- - - -
- - - -
- -

Protocol References

- - - -

Category References

- - -
- -
- - -
-
- - \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/Documentation/SDWebImage/html/img/button_bar_background.png b/RETableViewManagerExample/Pods/Documentation/SDWebImage/html/img/button_bar_background.png deleted file mode 100644 index d2cd0d8..0000000 Binary files a/RETableViewManagerExample/Pods/Documentation/SDWebImage/html/img/button_bar_background.png and /dev/null differ diff --git a/RETableViewManagerExample/Pods/Documentation/SDWebImage/html/img/disclosure.png b/RETableViewManagerExample/Pods/Documentation/SDWebImage/html/img/disclosure.png deleted file mode 100644 index 147198f..0000000 Binary files a/RETableViewManagerExample/Pods/Documentation/SDWebImage/html/img/disclosure.png and /dev/null differ diff --git a/RETableViewManagerExample/Pods/Documentation/SDWebImage/html/img/disclosure_open.png b/RETableViewManagerExample/Pods/Documentation/SDWebImage/html/img/disclosure_open.png deleted file mode 100644 index ea3842b..0000000 Binary files a/RETableViewManagerExample/Pods/Documentation/SDWebImage/html/img/disclosure_open.png and /dev/null differ diff --git a/RETableViewManagerExample/Pods/Documentation/SDWebImage/html/img/library_background.png b/RETableViewManagerExample/Pods/Documentation/SDWebImage/html/img/library_background.png deleted file mode 100644 index 8fa6d45..0000000 Binary files a/RETableViewManagerExample/Pods/Documentation/SDWebImage/html/img/library_background.png and /dev/null differ diff --git a/RETableViewManagerExample/Pods/Documentation/SDWebImage/html/img/title_background.png b/RETableViewManagerExample/Pods/Documentation/SDWebImage/html/img/title_background.png deleted file mode 100644 index 9001dac..0000000 Binary files a/RETableViewManagerExample/Pods/Documentation/SDWebImage/html/img/title_background.png and /dev/null differ diff --git a/RETableViewManagerExample/Pods/Documentation/SDWebImage/html/index.html b/RETableViewManagerExample/Pods/Documentation/SDWebImage/html/index.html deleted file mode 100644 index 1f33d66..0000000 --- a/RETableViewManagerExample/Pods/Documentation/SDWebImage/html/index.html +++ /dev/null @@ -1,371 +0,0 @@ - - - - - SDWebImage 3.2 Reference - - - - - -
- - - - -
-
-
- - -
- -
- - -

Web Image

- -

This library provides a category for UIImageVIew with support for remote images coming from the web.

- -

It provides:

- -
    -
  • An UIImageView category adding web image and cache management to the Cocoa Touch framework
  • -
  • An asynchronous image downloader
  • -
  • An asynchronous memory + disk image caching with automatic cache expiration handling
  • -
  • A background image decompression
  • -
  • A guarantee that the same URL won’t be downloaded several times
  • -
  • A guarantee that bogus URLs won’t be retried again and again
  • -
  • A guarantee that main thread will never be blocked
  • -
  • Performances!
  • -
  • Use GCD and ARC
  • -
- - -

NOTE: The version 3.0 of SDWebImage isn’t fully backward compatible with 2.0 and requires iOS 5.0 -minimum deployement version. If you need iOS < 5.0 support, please use the last 2.0 version.

- -

How is SDWebImage better than X?

- -

Who Use It

- -

Find out who use SDWebImage and add your app to the list.

- -

How To Use

- -

API documentation is available at http://hackemist.com/SDWebImage/doc/

- -

Using UIImageView+WebCache category with UITableView

- -

Just #import the UIImageView+WebCache.h header, and call the setImageWithURL:placeholderImage: -method from the tableView:cellForRowAtIndexPath: UITableViewDataSource method. Everything will be -handled for you, from async downloads to caching management.

- -

```objective-c

- -

import <SDWebImage/UIImageView+WebCache.h>

- -

- -
    -
  • (UITableViewCell )tableView:(UITableView )tableView cellForRowAtIndexPath:(NSIndexPath )indexPath -{ - static NSString MyIdentifier = @“MyIdentifier”;

    - -

    UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:MyIdentifier];

    - -

    if (cell == nil) - { - cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault - reuseIdentifier:MyIdentifier] autorelease]; - }

    - -

    // Here we use the new provided setImageWithURL: method to load the web image - [cell.imageView setImageWithURL:[NSURL URLWithString:@“http://www.domain.com/path/to/image.jpg”] - placeholderImage:[UIImage imageNamed:@“placeholder.png”]];

    - -

    cell.textLabel.text = @“My Text”; - return cell; -} -```

  • -
- - -

Using blocks

- -

With blocks, you can be notified about the image download progress and whenever the image retrival -has completed with success or not:

- -

```objective-c -// Here we use the new provided setImageWithURL: method to load the web image -[cell.imageView setImageWithURL:[NSURL URLWithString:@“http://www.domain.com/path/to/image.jpg”]

- -
           placeholderImage:[UIImage imageNamed:@"placeholder.png"]
-                  completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType) {... completion code here ...}];
-
- -

```

- -

Note: neither your success nor failure block will be call if your image request is canceled before completion.

- -

Using SDWebImageManager

- -

The SDWebImageManager is the class behind the UIImageView+WebCache category. It ties the -asynchronous downloader with the image cache store. You can use this class directly to benefit -from web image downloading with caching in another context than a UIView (ie: with Cocoa).

- -

Here is a simple example of how to use SDWebImageManager:

- -

```objective-c -SDWebImageManager *manager = [SDWebImageManager sharedManager]; -[manager downloadWithURL:imageURL

- -
             options:0
-             progress:^(NSUInteger receivedSize, long long expectedSize)
-             {
-                 // progression tracking code
-             }
-             completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType)
-             {
-                 if (image)
-                 {
-                     // do something with image
-                 }
-             }];
-
- -

```

- -

Using Asynchronous Image Downloader Independently

- -

It’s also possible to use the async image downloader independently:

- -

```objective-c -[SDWebImageDownloader.sharedDownloader downloadImageWithURL:imageURL

- -
                                                options:0
-                                               progress:^(NSUInteger receivedSize, long long expectedSize)
-                                               {
-                                                   // progression tracking code
-                                               }
-                                               completed:^(UIImage *image, NSError *error, BOOL finished)
-                                               {
-                                                   if (image && finished)
-                                                   {
-                                                       // do something with image
-                                                   }
-                                               }];
-
- -

```

- -

Using Asynchronous Image Caching Independently

- -

It is also possible to use the aync based image cache store independently. SDImageCache -maintains a memory cache and an optional disk cache. Disk cache write operations are performed -asynchronous so it doesn’t add unnecessary latency to the UI.

- -

The SDImageCache class provides a singleton instance for convenience but you can create your own -instance if you want to create separated cache namespace.

- -

To lookup the cache, you use the imageForKey: method. If the method returns nil, it means the cache -doesn’t currently own the image. You are thus responsible for generating and caching it. The cache -key is an application unique identifier for the image to cache. It is generally the absolute URL of -the image.

- -

```objective-c -SDImageCache imageCache = [SDImageCache.alloc initWithNamespace:@“myNamespace”]; -[imageCache queryDiskCacheForKey:myCacheKey done:^(UIImage image) -{

- -
// image is not nil if image was found
-
- -

}]; -```

- -

By default SDImageCache will lookup the disk cache if an image can’t be found in the memory cache. -You can prevent this from happening by calling the alternative method imageFromMemoryCacheForKey:.

- -

To store an image into the cache, you use the storeImage:forKey: method:

- -

objective-c -[[SDImageCache sharedImageCache] storeImage:myImage forKey:myCacheKey]; -

- -

By default, the image will be stored in memory cache as well as on disk cache (asynchronously). If -you want only the memory cache, use the alternative method storeImage:forKey:toDisk: with a negative -third argument.

- -

Using cache key filter

- -

Sometime, you may not want to use the image URL as cache key because part of the URL is dynamic -(i.e.: for access control purpose). SDWebImageManager provides a way to set a cache key filter that -takes the NSURL as input, and output a cache key NSString.

- -

The following example sets a filter in the application delegate that will remove any query-string from -the URL before to use it as a cache key:

- -

```objective-c -– (BOOL)application:(UIApplication )application didFinishLaunchingWithOptions:(NSDictionary )launchOptions -{

- -
SDWebImageManager.sharedManager.cacheKeyFilter:^(NSURL *url)
-{
-    url = [[[NSURL alloc] initWithScheme:url.scheme host:url.host path:url.path] autorelease];
-    return [url absoluteString];
-};
-
-// Your app init code...
-return YES;
-
- -

} -```

- -

Common Problems

- -

Using dynamic image size with UITableViewCell

- -

UITableView determins the size of the image by the first image set for a cell. If your remote images -don’t have the same size as your placeholder image, you may experience strange anamorphic scaling issue. -The following article gives a way to workaround this issue:

- -

http://www.wrichards.com/blog/2011/11/sdwebimage-fixed-width-cell-images/

- -

Installation

- -

There are two ways to use this in your project: copy all the files into your project, or import the project as a static library.

- -

Add the SDWebImage project to your project

- -
    -
  • Download and unzip the last version of the framework from the download page
  • -
  • Right-click on the project navigator and select “Add Files to "Your Project”:
  • -
  • In the dialog, select SDWebImage.framework:
  • -
  • Check the “Copy items into destination group’s folder (if needed)” checkbox
  • -
- - -

Add dependencies

- -
    -
  • In you application project app’s target settings, find the “Build Phases” section and open the “Link Binary With Libraries” block:
  • -
  • Click the “+” button again and select the “ImageIO.framework”, this is needed by the progressive download feature:
  • -
- - -

Add Linker Flag

- -

Open the “Build Settings” tab, in the “Linking” section, locate the “Other Linker Flags” setting and add the “-ObjC” flag:

- -

Other Linker Flags_other_linker_flags.jpg)

- -

Import headers in your source files

- -

In the source files where you need to use the library, import the header file:

- -

```objective-c

- -

import <SDWebImage/UIImageView+WebCache.h>

- -

```

- -

Build Project

- -

At this point your workspace should build without error. If you are having problem, post to the Issue and the -community can help you solve it.

- -

Future Enhancements

- -
    -
  • LRU memory cache cleanup instead of reset on memory warning
  • -
- - -

Licenses

- -

All source code is licensed under the MIT License.

- - -
- - - - - - - - - -
- -

Protocol References

- - - -

Category References

- - -
- -
- - -
-
- - \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/Headers/REFormattedNumberField/REFormattedNumberField.h b/RETableViewManagerExample/Pods/Headers/REFormattedNumberField/REFormattedNumberField.h deleted file mode 120000 index 144313e..0000000 --- a/RETableViewManagerExample/Pods/Headers/REFormattedNumberField/REFormattedNumberField.h +++ /dev/null @@ -1 +0,0 @@ -../../REFormattedNumberField/REFormattedNumberField/REFormattedNumberField.h \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/Headers/SDWebImage/MKAnnotationView+WebCache.h b/RETableViewManagerExample/Pods/Headers/SDWebImage/MKAnnotationView+WebCache.h deleted file mode 120000 index a1007a9..0000000 --- a/RETableViewManagerExample/Pods/Headers/SDWebImage/MKAnnotationView+WebCache.h +++ /dev/null @@ -1 +0,0 @@ -../../SDWebImage/SDWebImage/MKAnnotationView+WebCache.h \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/Headers/SDWebImage/SDImageCache.h b/RETableViewManagerExample/Pods/Headers/SDWebImage/SDImageCache.h deleted file mode 120000 index 9893ccc..0000000 --- a/RETableViewManagerExample/Pods/Headers/SDWebImage/SDImageCache.h +++ /dev/null @@ -1 +0,0 @@ -../../SDWebImage/SDWebImage/SDImageCache.h \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/Headers/SDWebImage/SDWebImageCompat.h b/RETableViewManagerExample/Pods/Headers/SDWebImage/SDWebImageCompat.h deleted file mode 120000 index 088c749..0000000 --- a/RETableViewManagerExample/Pods/Headers/SDWebImage/SDWebImageCompat.h +++ /dev/null @@ -1 +0,0 @@ -../../SDWebImage/SDWebImage/SDWebImageCompat.h \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/Headers/SDWebImage/SDWebImageDecoder.h b/RETableViewManagerExample/Pods/Headers/SDWebImage/SDWebImageDecoder.h deleted file mode 120000 index b4d0b05..0000000 --- a/RETableViewManagerExample/Pods/Headers/SDWebImage/SDWebImageDecoder.h +++ /dev/null @@ -1 +0,0 @@ -../../SDWebImage/SDWebImage/SDWebImageDecoder.h \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/Headers/SDWebImage/SDWebImageDownloader.h b/RETableViewManagerExample/Pods/Headers/SDWebImage/SDWebImageDownloader.h deleted file mode 120000 index 501f4ff..0000000 --- a/RETableViewManagerExample/Pods/Headers/SDWebImage/SDWebImageDownloader.h +++ /dev/null @@ -1 +0,0 @@ -../../SDWebImage/SDWebImage/SDWebImageDownloader.h \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/Headers/SDWebImage/SDWebImageDownloaderOperation.h b/RETableViewManagerExample/Pods/Headers/SDWebImage/SDWebImageDownloaderOperation.h deleted file mode 120000 index a864736..0000000 --- a/RETableViewManagerExample/Pods/Headers/SDWebImage/SDWebImageDownloaderOperation.h +++ /dev/null @@ -1 +0,0 @@ -../../SDWebImage/SDWebImage/SDWebImageDownloaderOperation.h \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/Headers/SDWebImage/SDWebImageManager.h b/RETableViewManagerExample/Pods/Headers/SDWebImage/SDWebImageManager.h deleted file mode 120000 index f9d2aa2..0000000 --- a/RETableViewManagerExample/Pods/Headers/SDWebImage/SDWebImageManager.h +++ /dev/null @@ -1 +0,0 @@ -../../SDWebImage/SDWebImage/SDWebImageManager.h \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/Headers/SDWebImage/SDWebImageOperation.h b/RETableViewManagerExample/Pods/Headers/SDWebImage/SDWebImageOperation.h deleted file mode 120000 index a0769c4..0000000 --- a/RETableViewManagerExample/Pods/Headers/SDWebImage/SDWebImageOperation.h +++ /dev/null @@ -1 +0,0 @@ -../../SDWebImage/SDWebImage/SDWebImageOperation.h \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/Headers/SDWebImage/SDWebImagePrefetcher.h b/RETableViewManagerExample/Pods/Headers/SDWebImage/SDWebImagePrefetcher.h deleted file mode 120000 index fcc0b60..0000000 --- a/RETableViewManagerExample/Pods/Headers/SDWebImage/SDWebImagePrefetcher.h +++ /dev/null @@ -1 +0,0 @@ -../../SDWebImage/SDWebImage/SDWebImagePrefetcher.h \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/Headers/SDWebImage/UIButton+WebCache.h b/RETableViewManagerExample/Pods/Headers/SDWebImage/UIButton+WebCache.h deleted file mode 120000 index 5586e49..0000000 --- a/RETableViewManagerExample/Pods/Headers/SDWebImage/UIButton+WebCache.h +++ /dev/null @@ -1 +0,0 @@ -../../SDWebImage/SDWebImage/UIButton+WebCache.h \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/Headers/SDWebImage/UIImageView+WebCache.h b/RETableViewManagerExample/Pods/Headers/SDWebImage/UIImageView+WebCache.h deleted file mode 120000 index 336b44b..0000000 --- a/RETableViewManagerExample/Pods/Headers/SDWebImage/UIImageView+WebCache.h +++ /dev/null @@ -1 +0,0 @@ -../../SDWebImage/SDWebImage/UIImageView+WebCache.h \ No newline at end of file diff --git a/RETableViewManagerExample/Pods/Manifest.lock b/RETableViewManagerExample/Pods/Manifest.lock deleted file mode 100644 index a4f1b96..0000000 --- a/RETableViewManagerExample/Pods/Manifest.lock +++ /dev/null @@ -1,15 +0,0 @@ -PODS: - - REFormattedNumberField (1.0.3) - - SDWebImage (3.2): - - SDWebImage/MapKit - - SDWebImage/MapKit (3.2) - -DEPENDENCIES: - - REFormattedNumberField (~> 1.0.3) - - SDWebImage - -SPEC CHECKSUMS: - REFormattedNumberField: 8aabb3be9ce2dd53aafd8f4783cf43413ad288ef - SDWebImage: 8082fe8d658ccafaaecd9e5ecda12ed01f09ba9c - -COCOAPODS: 0.17.2 diff --git a/RETableViewManagerExample/Pods/Pods-Acknowledgements.markdown b/RETableViewManagerExample/Pods/Pods-Acknowledgements.markdown deleted file mode 100644 index 5eb4fda..0000000 --- a/RETableViewManagerExample/Pods/Pods-Acknowledgements.markdown +++ /dev/null @@ -1,49 +0,0 @@ -# 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 - -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. - - -Generated by CocoaPods - http://cocoapods.org diff --git a/RETableViewManagerExample/Pods/Pods-Acknowledgements.plist b/RETableViewManagerExample/Pods/Pods-Acknowledgements.plist deleted file mode 100644 index b298675..0000000 --- a/RETableViewManagerExample/Pods/Pods-Acknowledgements.plist +++ /dev/null @@ -1,83 +0,0 @@ - - - - - PreferenceSpecifiers - - - FooterText - This application makes use of the following third party libraries: - Title - Acknowledgements - 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> - -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 - SDWebImage - Type - PSGroupSpecifier - - - FooterText - Generated by CocoaPods - http://cocoapods.org - Title - - Type - PSGroupSpecifier - - - StringsTable - Acknowledgements - Title - Acknowledgements - - diff --git a/RETableViewManagerExample/Pods/Pods-dummy.m b/RETableViewManagerExample/Pods/Pods-dummy.m deleted file mode 100644 index 99f3235..0000000 --- a/RETableViewManagerExample/Pods/Pods-dummy.m +++ /dev/null @@ -1,4 +0,0 @@ -@interface PodsDummy_Pods : NSObject -@end -@implementation PodsDummy_Pods -@end diff --git a/RETableViewManagerExample/Pods/Pods-header.h b/RETableViewManagerExample/Pods/Pods-header.h deleted file mode 100644 index f8de120..0000000 --- a/RETableViewManagerExample/Pods/Pods-header.h +++ /dev/null @@ -1,6 +0,0 @@ -// WARNING: This feature of CocoaPods is present for discussion purposes and might be discontinued or changed in future -#define __COCOA_PODS - -#define __POD_REFormattedNumberField -#define __POD_SDWebImage -#define __POD_SDWebImage_MapKit diff --git a/RETableViewManagerExample/Pods/Pods-prefix.pch b/RETableViewManagerExample/Pods/Pods-prefix.pch deleted file mode 100644 index ad7a180..0000000 --- a/RETableViewManagerExample/Pods/Pods-prefix.pch +++ /dev/null @@ -1,3 +0,0 @@ -#ifdef __OBJC__ -#import -#endif diff --git a/RETableViewManagerExample/Pods/Pods-resources.sh b/RETableViewManagerExample/Pods/Pods-resources.sh deleted file mode 100755 index 872e170..0000000 --- a/RETableViewManagerExample/Pods/Pods-resources.sh +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/sh - -install_resource() -{ - case $1 in - *.storyboard) - echo "ibtool --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc ${PODS_ROOT}/$1 --sdk ${SDKROOT}" - ibtool --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc" "${PODS_ROOT}/$1" --sdk "${SDKROOT}" - ;; - *.xib) - echo "ibtool --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib ${PODS_ROOT}/$1 --sdk ${SDKROOT}" - ibtool --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib" "${PODS_ROOT}/$1" --sdk "${SDKROOT}" - ;; - *.framework) - echo "rsync -rp ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - rsync -rp "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - ;; - *.xcdatamodeld) - echo "xcrun momc ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename $1 .xcdatamodeld`.momd" - xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename $1 .xcdatamodeld`.momd" - ;; - *) - echo "cp -R ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" - cp -R "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" - ;; - esac -} diff --git a/RETableViewManagerExample/Pods/Pods.xcconfig b/RETableViewManagerExample/Pods/Pods.xcconfig deleted file mode 100644 index 83d8adf..0000000 --- a/RETableViewManagerExample/Pods/Pods.xcconfig +++ /dev/null @@ -1,7 +0,0 @@ -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/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/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 deleted file mode 100644 index d22a92e..0000000 --- a/RETableViewManagerExample/Pods/Pods.xcodeproj/project.pbxproj +++ /dev/null @@ -1,1132 +0,0 @@ - - - - - archiveVersion - 1 - classes - - objectVersion - 46 - objects - - 04038A2FA4E043879143086F - - buildActionMask - 2147483647 - files - - 663723E45D19400DA35E1278 - 054D214EC8584DEBA99B4D30 - 042C9B38707F4C86BD6F600C - 200489579E534702828DBC90 - E171DF30B7814390B171BBC9 - E691741116104D318E72649B - CFEA68936AEB44198FA903E0 - B8FDA6EB118543D5B0D8C80C - 50500D125C024DD88BA44FE1 - 5F12FBE834284BF19E830FB4 - 99866E31AE7E4F8591782176 - 0EB17CB1997640DEB34B3543 - - isa - PBXSourcesBuildPhase - runOnlyForDeploymentPostprocessing - 0 - - 042C9B38707F4C86BD6F600C - - fileRef - A931AFDE9253433A8664A893 - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -fobjc-arc -DOS_OBJECT_USE_OBJC=0 - - - 054D214EC8584DEBA99B4D30 - - fileRef - C3CF615A2AEC4E6C88ADDCE0 - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -fobjc-arc -DOS_OBJECT_USE_OBJC=0 - - - 05ACB47AB7D0404A8A655DD6 - - fileRef - F7EC97FC3694415881CEA0AA - isa - PBXBuildFile - settings - - - 0EB17CB1997640DEB34B3543 - - fileRef - 46CF1C261AEE412FB51A8373 - isa - PBXBuildFile - settings - - - 0EBCC6F99ECB444482450B2F - - children - - 52F046757BD54F41BBB8F5D0 - 46CF1C261AEE412FB51A8373 - - isa - PBXGroup - name - Targets Support Files - sourceTree - <group> - - 1857EF02190C4C5B921EB6B9 - - children - - E54989510FDF477EBF6D770E - A030F6939F164E8AA7F8D43B - 4D9AAF2F39694BDF9EFFC25D - 36830F01C5884B90A1BD5B01 - 3D80B590731847718421F088 - DCB86ECF89614985B606E92A - CCE8230F3A0447738DB78481 - 92F6E35C8ECE41E0ABDBFC59 - C3CF615A2AEC4E6C88ADDCE0 - A931AFDE9253433A8664A893 - BCEAA94178B14322941EBEA7 - 2666A72529A04501B337FADB - 5A6A20F986A14DD491E37BD6 - 18FDD08EA57C47129F0DE8AF - ACB16CD9D87E41BCB7F7F8CD - 67EF0899CAD947FB94642A29 - 6C1E7E4F384948E298F09DDB - FDE99FA625214DBF8C149600 - 78CD74C6C5C04F608E5CFA65 - 903DF72C53F74C53A1A1DE75 - - isa - PBXGroup - name - SDWebImage - sourceTree - <group> - - 18FDD08EA57C47129F0DE8AF - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - SDWebImageManager.m - path - SDWebImage/SDWebImage/SDWebImageManager.m - sourceTree - SOURCE_ROOT - - 200489579E534702828DBC90 - - fileRef - BCEAA94178B14322941EBEA7 - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -fobjc-arc -DOS_OBJECT_USE_OBJC=0 - - - 206B00DB784A46A6AC8F675C - - children - - 9DBA361086CC4E188DBC3945 - - isa - PBXGroup - name - Frameworks - sourceTree - <group> - - 20EE10CBE9D54F26BAD20CCF - - buildConfigurations - - 3CD522D54BCE4E468401DB64 - 67147182512A4399860F6196 - - defaultConfigurationIsVisible - 0 - defaultConfigurationName - Release - isa - XCConfigurationList - - 25A2E3ED2DD347B49D3DAEC3 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - text.xcconfig - name - Pods.xcconfig - path - Pods.xcconfig - sourceTree - SOURCE_ROOT - - 2666A72529A04501B337FADB - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - SDWebImageDownloader.m - path - SDWebImage/SDWebImage/SDWebImageDownloader.m - sourceTree - SOURCE_ROOT - - 2FA98E11CC09463A9636F063 - - fileRef - CCE8230F3A0447738DB78481 - isa - PBXBuildFile - settings - - - 36830F01C5884B90A1BD5B01 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - SDWebImageDownloader.h - path - SDWebImage/SDWebImage/SDWebImageDownloader.h - sourceTree - SOURCE_ROOT - - 3CD522D54BCE4E468401DB64 - - buildSettings - - isa - XCBuildConfiguration - name - Release - - 3D80B590731847718421F088 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - SDWebImageDownloaderOperation.h - path - SDWebImage/SDWebImage/SDWebImageDownloaderOperation.h - sourceTree - SOURCE_ROOT - - 410BB64A1F8648E3A3174581 - - fileRef - 36830F01C5884B90A1BD5B01 - isa - PBXBuildFile - settings - - - 46CF1C261AEE412FB51A8373 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - PodsDummy_Pods.m - path - PodsDummy_Pods.m - sourceTree - SOURCE_ROOT - - 4ACE04449E774A28AE7A891B - - fileRef - 3D80B590731847718421F088 - isa - PBXBuildFile - settings - - - 4D9AAF2F39694BDF9EFFC25D - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - SDWebImageDecoder.h - path - SDWebImage/SDWebImage/SDWebImageDecoder.h - sourceTree - SOURCE_ROOT - - 50500D125C024DD88BA44FE1 - - fileRef - FDE99FA625214DBF8C149600 - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -fobjc-arc -DOS_OBJECT_USE_OBJC=0 - - - 52F046757BD54F41BBB8F5D0 - - children - - D695C03B4F9342E597A35810 - 7D28FD7026EE4E03932A972C - 25A2E3ED2DD347B49D3DAEC3 - - isa - PBXGroup - name - Pods - sourceTree - <group> - - 544D9DB8412E4C159A2DE379 - - fileRef - 92F6E35C8ECE41E0ABDBFC59 - isa - PBXBuildFile - settings - - - 58D5637B5C654BB78BEAEAEC - - fileRef - 655F0CD07E82430397036D50 - isa - PBXBuildFile - settings - - - 5A6A20F986A14DD491E37BD6 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - SDWebImageDownloaderOperation.m - path - SDWebImage/SDWebImage/SDWebImageDownloaderOperation.m - sourceTree - SOURCE_ROOT - - 5F12FBE834284BF19E830FB4 - - fileRef - 78CD74C6C5C04F608E5CFA65 - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -fobjc-arc -DOS_OBJECT_USE_OBJC=0 - - - 623E754C38B74A5D92AFE53D - - fileRef - 6C1E7E4F384948E298F09DDB - isa - PBXBuildFile - settings - - - 655F0CD07E82430397036D50 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - REFormattedNumberField.h - path - REFormattedNumberField/REFormattedNumberField/REFormattedNumberField.h - sourceTree - SOURCE_ROOT - - 663723E45D19400DA35E1278 - - fileRef - 74D85630DC8242A9A650D80A - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -fobjc-arc -DOS_OBJECT_USE_OBJC=0 - - - 67147182512A4399860F6196 - - buildSettings - - isa - XCBuildConfiguration - name - Debug - - 67EF0899CAD947FB94642A29 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - UIButton+WebCache.h - path - SDWebImage/SDWebImage/UIButton+WebCache.h - sourceTree - SOURCE_ROOT - - 6A9A92AE44924C438FF88C71 - - explicitFileType - archive.ar - includeInIndex - 0 - isa - PBXFileReference - name - libPods.a - path - libPods.a - sourceTree - BUILT_PRODUCTS_DIR - - 6ADDCE03738141E3AE58B1E6 - - fileRef - 4D9AAF2F39694BDF9EFFC25D - isa - PBXBuildFile - settings - - - 6C1E7E4F384948E298F09DDB - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - UIImageView+WebCache.h - path - SDWebImage/SDWebImage/UIImageView+WebCache.h - sourceTree - SOURCE_ROOT - - 712E0A8E725A48BF8E5EA5E2 - - buildConfigurations - - 8234B87E78C848AEB415ED2F - D22B882CCA534DECA4F17A55 - - defaultConfigurationIsVisible - 0 - defaultConfigurationName - Release - isa - XCConfigurationList - - 71DA1AF66F624C4893A271FD - - children - - B721DFE03B284FBB952BA1CE - 206B00DB784A46A6AC8F675C - EE4F3DF5F5C74C9ABF974DAA - 0EBCC6F99ECB444482450B2F - - isa - PBXGroup - sourceTree - <group> - - 74D85630DC8242A9A650D80A - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - REFormattedNumberField.m - path - REFormattedNumberField/REFormattedNumberField/REFormattedNumberField.m - sourceTree - SOURCE_ROOT - - 78CD74C6C5C04F608E5CFA65 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - UIImageView+WebCache.m - path - SDWebImage/SDWebImage/UIImageView+WebCache.m - sourceTree - SOURCE_ROOT - - 7D28FD7026EE4E03932A972C - - includeInIndex - 1 - isa - PBXFileReference - name - Pods-prefix.pch - path - Pods-prefix.pch - sourceTree - SOURCE_ROOT - - 7D3CDF4B33F648B5AABEAAF1 - - attributes - - LastUpgradeCheck - 0450 - - buildConfigurationList - 20EE10CBE9D54F26BAD20CCF - compatibilityVersion - Xcode 3.2 - developmentRegion - English - hasScannedForEncodings - 0 - isa - PBXProject - knownRegions - - en - - mainGroup - 71DA1AF66F624C4893A271FD - productRefGroup - B721DFE03B284FBB952BA1CE - projectReferences - - targets - - A8BD2DA5B2ED48D8AA3E1002 - - - 8234B87E78C848AEB415ED2F - - baseConfigurationReference - 25A2E3ED2DD347B49D3DAEC3 - buildSettings - - ALWAYS_SEARCH_USER_PATHS - NO - ARCHS - $(ARCHS_STANDARD_32_BIT) - COPY_PHASE_STRIP - YES - DSTROOT - /tmp/xcodeproj.dst - GCC_C_LANGUAGE_STANDARD - gnu99 - GCC_PRECOMPILE_PREFIX_HEADER - YES - GCC_PREFIX_HEADER - Pods-prefix.pch - GCC_VERSION - com.apple.compilers.llvm.clang.1_0 - GCC_WARN_INHIBIT_ALL_WARNINGS - NO - INSTALL_PATH - $(BUILT_PRODUCTS_DIR) - IPHONEOS_DEPLOYMENT_TARGET - 5.0 - OTHER_CFLAGS - - -DNS_BLOCK_ASSERTIONS=1 - $(inherited) - - OTHER_CPLUSPLUSFLAGS - - -DNS_BLOCK_ASSERTIONS=1 - $(inherited) - - OTHER_LDFLAGS - - PODS_HEADERS_SEARCH_PATHS - ${PODS_BUILD_HEADERS_SEARCH_PATHS} - PODS_ROOT - ${SRCROOT} - PRODUCT_NAME - $(TARGET_NAME) - PUBLIC_HEADERS_FOLDER_PATH - $(TARGET_NAME) - SDKROOT - iphoneos - SKIP_INSTALL - YES - VALIDATE_PRODUCT - YES - - isa - XCBuildConfiguration - name - Release - - 8F809BDE19514DE484BBBB11 - - fileRef - 67EF0899CAD947FB94642A29 - isa - PBXBuildFile - settings - - - 903DF72C53F74C53A1A1DE75 - - children - - F7EC97FC3694415881CEA0AA - A588B0290250486EB9A3C5A0 - - isa - PBXGroup - name - MapKit - sourceTree - <group> - - 92F6E35C8ECE41E0ABDBFC59 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - SDWebImagePrefetcher.h - path - SDWebImage/SDWebImage/SDWebImagePrefetcher.h - sourceTree - SOURCE_ROOT - - 949A0174A3FD455697FD688E - - buildActionMask - 2147483647 - files - - 58D5637B5C654BB78BEAEAEC - DF2F90754B3245C6BBB5B725 - 9D7BC39E71B54B66A496A459 - 6ADDCE03738141E3AE58B1E6 - 410BB64A1F8648E3A3174581 - 4ACE04449E774A28AE7A891B - CEDD80CE46FF4E8A8F2339EA - 2FA98E11CC09463A9636F063 - 544D9DB8412E4C159A2DE379 - 8F809BDE19514DE484BBBB11 - 623E754C38B74A5D92AFE53D - 05ACB47AB7D0404A8A655DD6 - - isa - PBXHeadersBuildPhase - runOnlyForDeploymentPostprocessing - 0 - - 99866E31AE7E4F8591782176 - - fileRef - A588B0290250486EB9A3C5A0 - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -fobjc-arc -DOS_OBJECT_USE_OBJC=0 - - - 9D7BC39E71B54B66A496A459 - - fileRef - A030F6939F164E8AA7F8D43B - isa - PBXBuildFile - settings - - - 9DBA361086CC4E188DBC3945 - - 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 - - A030F6939F164E8AA7F8D43B - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - SDWebImageCompat.h - path - SDWebImage/SDWebImage/SDWebImageCompat.h - sourceTree - SOURCE_ROOT - - A588B0290250486EB9A3C5A0 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - MKAnnotationView+WebCache.m - path - SDWebImage/SDWebImage/MKAnnotationView+WebCache.m - sourceTree - SOURCE_ROOT - - A8BD2DA5B2ED48D8AA3E1002 - - buildConfigurationList - 712E0A8E725A48BF8E5EA5E2 - buildPhases - - 04038A2FA4E043879143086F - AAE6DC68FBBA41DF99F53BD7 - 949A0174A3FD455697FD688E - - buildRules - - dependencies - - isa - PBXNativeTarget - name - Pods - productName - Pods - productReference - 6A9A92AE44924C438FF88C71 - productType - com.apple.product-type.library.static - - A931AFDE9253433A8664A893 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - SDWebImageCompat.m - path - SDWebImage/SDWebImage/SDWebImageCompat.m - sourceTree - SOURCE_ROOT - - AAE6DC68FBBA41DF99F53BD7 - - buildActionMask - 2147483647 - files - - F9E985D583A64C9383926B41 - - isa - PBXFrameworksBuildPhase - runOnlyForDeploymentPostprocessing - 0 - - ACB16CD9D87E41BCB7F7F8CD - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - SDWebImagePrefetcher.m - path - SDWebImage/SDWebImage/SDWebImagePrefetcher.m - sourceTree - SOURCE_ROOT - - B721DFE03B284FBB952BA1CE - - children - - 6A9A92AE44924C438FF88C71 - - isa - PBXGroup - name - Products - sourceTree - <group> - - B8FDA6EB118543D5B0D8C80C - - fileRef - ACB16CD9D87E41BCB7F7F8CD - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -fobjc-arc -DOS_OBJECT_USE_OBJC=0 - - - BCEAA94178B14322941EBEA7 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - SDWebImageDecoder.m - path - SDWebImage/SDWebImage/SDWebImageDecoder.m - sourceTree - SOURCE_ROOT - - C3CF615A2AEC4E6C88ADDCE0 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - SDImageCache.m - path - SDWebImage/SDWebImage/SDImageCache.m - sourceTree - SOURCE_ROOT - - CCE8230F3A0447738DB78481 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - SDWebImageOperation.h - path - SDWebImage/SDWebImage/SDWebImageOperation.h - sourceTree - SOURCE_ROOT - - CEDD80CE46FF4E8A8F2339EA - - fileRef - DCB86ECF89614985B606E92A - isa - PBXBuildFile - settings - - - CFEA68936AEB44198FA903E0 - - fileRef - 18FDD08EA57C47129F0DE8AF - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -fobjc-arc -DOS_OBJECT_USE_OBJC=0 - - - D22B882CCA534DECA4F17A55 - - baseConfigurationReference - 25A2E3ED2DD347B49D3DAEC3 - buildSettings - - ALWAYS_SEARCH_USER_PATHS - NO - ARCHS - $(ARCHS_STANDARD_32_BIT) - COPY_PHASE_STRIP - NO - DSTROOT - /tmp/xcodeproj.dst - GCC_C_LANGUAGE_STANDARD - gnu99 - GCC_DYNAMIC_NO_PIC - NO - GCC_OPTIMIZATION_LEVEL - 0 - GCC_PRECOMPILE_PREFIX_HEADER - YES - GCC_PREFIX_HEADER - Pods-prefix.pch - GCC_PREPROCESSOR_DEFINITIONS - - DEBUG=1 - $(inherited) - - GCC_SYMBOLS_PRIVATE_EXTERN - NO - GCC_VERSION - com.apple.compilers.llvm.clang.1_0 - GCC_WARN_INHIBIT_ALL_WARNINGS - NO - INSTALL_PATH - $(BUILT_PRODUCTS_DIR) - IPHONEOS_DEPLOYMENT_TARGET - 5.0 - OTHER_LDFLAGS - - PODS_HEADERS_SEARCH_PATHS - ${PODS_BUILD_HEADERS_SEARCH_PATHS} - PODS_ROOT - ${SRCROOT} - PRODUCT_NAME - $(TARGET_NAME) - PUBLIC_HEADERS_FOLDER_PATH - $(TARGET_NAME) - SDKROOT - iphoneos - SKIP_INSTALL - YES - - isa - XCBuildConfiguration - name - Debug - - D695C03B4F9342E597A35810 - - includeInIndex - 1 - isa - PBXFileReference - name - Pods-resources.sh - path - Pods-resources.sh - sourceTree - SOURCE_ROOT - - DCB86ECF89614985B606E92A - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - SDWebImageManager.h - path - SDWebImage/SDWebImage/SDWebImageManager.h - sourceTree - SOURCE_ROOT - - DF2F90754B3245C6BBB5B725 - - fileRef - E54989510FDF477EBF6D770E - isa - PBXBuildFile - settings - - - E171DF30B7814390B171BBC9 - - fileRef - 2666A72529A04501B337FADB - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -fobjc-arc -DOS_OBJECT_USE_OBJC=0 - - - E54989510FDF477EBF6D770E - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - SDImageCache.h - path - SDWebImage/SDWebImage/SDImageCache.h - sourceTree - SOURCE_ROOT - - E691741116104D318E72649B - - fileRef - 5A6A20F986A14DD491E37BD6 - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -fobjc-arc -DOS_OBJECT_USE_OBJC=0 - - - EE4F3DF5F5C74C9ABF974DAA - - children - - F4DA18D08ACD4850828F1D77 - 1857EF02190C4C5B921EB6B9 - - isa - PBXGroup - name - Pods - sourceTree - <group> - - F4DA18D08ACD4850828F1D77 - - children - - 655F0CD07E82430397036D50 - 74D85630DC8242A9A650D80A - - isa - PBXGroup - name - REFormattedNumberField - sourceTree - <group> - - F7EC97FC3694415881CEA0AA - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - MKAnnotationView+WebCache.h - path - SDWebImage/SDWebImage/MKAnnotationView+WebCache.h - sourceTree - SOURCE_ROOT - - F9E985D583A64C9383926B41 - - fileRef - 9DBA361086CC4E188DBC3945 - isa - PBXBuildFile - settings - - - FDE99FA625214DBF8C149600 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - UIButton+WebCache.m - path - SDWebImage/SDWebImage/UIButton+WebCache.m - sourceTree - SOURCE_ROOT - - - rootObject - 7D3CDF4B33F648B5AABEAAF1 - - diff --git a/RETableViewManagerExample/Pods/PodsDummy_Pods.m b/RETableViewManagerExample/Pods/PodsDummy_Pods.m deleted file mode 100644 index 99f3235..0000000 --- a/RETableViewManagerExample/Pods/PodsDummy_Pods.m +++ /dev/null @@ -1,4 +0,0 @@ -@interface PodsDummy_Pods : NSObject -@end -@implementation PodsDummy_Pods -@end diff --git a/RETableViewManagerExample/Pods/REFormattedNumberField/LICENSE b/RETableViewManagerExample/Pods/REFormattedNumberField/LICENSE deleted file mode 100644 index a15fab6..0000000 --- a/RETableViewManagerExample/Pods/REFormattedNumberField/LICENSE +++ /dev/null @@ -1,19 +0,0 @@ -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 deleted file mode 100644 index 27e0ae2..0000000 --- a/RETableViewManagerExample/Pods/REFormattedNumberField/README.md +++ /dev/null @@ -1,104 +0,0 @@ -# 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 - -### 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. -For best results, it is recommended that you install via CocoaPods >= **0.15.2** using Git >= **1.8.0** installed via Homebrew. - -Install CocoaPods if not already available: - -``` bash -$ [sudo] gem install cocoapods -$ pod setup -``` - -Change to the directory of your Xcode project: - -``` bash -$ cd /path/to/MyProject -$ touch Podfile -$ edit Podfile -``` - -Edit your Podfile and add REFormattedNumberField: - -``` bash -platform :ios, '5.0' -pod 'REFormattedNumberField', '~> 1.0.3' -``` - -Install into your Xcode project: - -``` bash -$ pod install -``` - -Open your project in Xcode from the .xcworkspace file (not the usual project file) - -``` bash -$ open MyProject.xcworkspace -``` - -Please note that if your installation fails, it may be because you are installing with a version of Git lower than CocoaPods is expecting. Please ensure that you are running Git >= **1.8.0** by executing `git --version`. You can get a full picture of the installation details by executing `pod install --verbose`. - -### Manual 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/SDWebImage/LICENSE b/RETableViewManagerExample/Pods/SDWebImage/LICENSE deleted file mode 100644 index ae783e1..0000000 --- a/RETableViewManagerExample/Pods/SDWebImage/LICENSE +++ /dev/null @@ -1,20 +0,0 @@ -Copyright (c) 2009 Olivier Poitrey - -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/SDWebImage/README.md b/RETableViewManagerExample/Pods/SDWebImage/README.md deleted file mode 100644 index 588b2a8..0000000 --- a/RETableViewManagerExample/Pods/SDWebImage/README.md +++ /dev/null @@ -1,239 +0,0 @@ - -Web Image -========= - -This library provides a category for UIImageVIew with support for remote images coming from the web. - -It provides: - -- An UIImageView category adding web image and cache management to the Cocoa Touch framework -- An asynchronous image downloader -- An asynchronous memory + disk image caching with automatic cache expiration handling -- A background image decompression -- A guarantee that the same URL won't be downloaded several times -- A guarantee that bogus URLs won't be retried again and again -- A guarantee that main thread will never be blocked -- Performances! -- Use GCD and ARC - -NOTE: The version 3.0 of SDWebImage isn't fully backward compatible with 2.0 and requires iOS 5.0 -minimum deployement version. If you need iOS < 5.0 support, please use the last [2.0 version](https://github.com/rs/SDWebImage/tree/2.0-compat). - -[How is SDWebImage better than X?](https://github.com/rs/SDWebImage/wiki/How-is-SDWebImage-better-than-X%3F) - -Who Use It ----------- - -Find out [who use SDWebImage](https://github.com/rs/SDWebImage/wiki/Who-Use-SDWebImage) and add your app to the list. - -How To Use ----------- - -API documentation is available at [http://hackemist.com/SDWebImage/doc/](http://hackemist.com/SDWebImage/doc/) - -### Using UIImageView+WebCache category with UITableView - -Just #import the UIImageView+WebCache.h header, and call the setImageWithURL:placeholderImage: -method from the tableView:cellForRowAtIndexPath: UITableViewDataSource method. Everything will be -handled for you, from async downloads to caching management. - -```objective-c -#import - -... - -- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath -{ - static NSString *MyIdentifier = @"MyIdentifier"; - - UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:MyIdentifier]; - - if (cell == nil) - { - cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault - reuseIdentifier:MyIdentifier] autorelease]; - } - - // Here we use the new provided setImageWithURL: method to load the web image - [cell.imageView setImageWithURL:[NSURL URLWithString:@"http://www.domain.com/path/to/image.jpg"] - placeholderImage:[UIImage imageNamed:@"placeholder.png"]]; - - cell.textLabel.text = @"My Text"; - return cell; -} -``` - -### Using blocks - -With blocks, you can be notified about the image download progress and whenever the image retrival -has completed with success or not: - -```objective-c -// Here we use the new provided setImageWithURL: method to load the web image -[cell.imageView setImageWithURL:[NSURL URLWithString:@"http://www.domain.com/path/to/image.jpg"] - placeholderImage:[UIImage imageNamed:@"placeholder.png"] - completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType) {... completion code here ...}]; -``` - -Note: neither your success nor failure block will be call if your image request is canceled before completion. - -### Using SDWebImageManager - -The SDWebImageManager is the class behind the UIImageView+WebCache category. It ties the -asynchronous downloader with the image cache store. You can use this class directly to benefit -from web image downloading with caching in another context than a UIView (ie: with Cocoa). - -Here is a simple example of how to use SDWebImageManager: - -```objective-c -SDWebImageManager *manager = [SDWebImageManager sharedManager]; -[manager downloadWithURL:imageURL - options:0 - progress:^(NSUInteger receivedSize, long long expectedSize) - { - // progression tracking code - } - completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType) - { - if (image) - { - // do something with image - } - }]; -``` - -### Using Asynchronous Image Downloader Independently - -It's also possible to use the async image downloader independently: - -```objective-c -[SDWebImageDownloader.sharedDownloader downloadImageWithURL:imageURL - options:0 - progress:^(NSUInteger receivedSize, long long expectedSize) - { - // progression tracking code - } - completed:^(UIImage *image, NSError *error, BOOL finished) - { - if (image && finished) - { - // do something with image - } - }]; -``` - -### Using Asynchronous Image Caching Independently - -It is also possible to use the aync based image cache store independently. SDImageCache -maintains a memory cache and an optional disk cache. Disk cache write operations are performed -asynchronous so it doesn't add unnecessary latency to the UI. - -The SDImageCache class provides a singleton instance for convenience but you can create your own -instance if you want to create separated cache namespace. - -To lookup the cache, you use the imageForKey: method. If the method returns nil, it means the cache -doesn't currently own the image. You are thus responsible for generating and caching it. The cache -key is an application unique identifier for the image to cache. It is generally the absolute URL of -the image. - -```objective-c -SDImageCache *imageCache = [SDImageCache.alloc initWithNamespace:@"myNamespace"]; -[imageCache queryDiskCacheForKey:myCacheKey done:^(UIImage *image) -{ - // image is not nil if image was found -}]; -``` - -By default SDImageCache will lookup the disk cache if an image can't be found in the memory cache. -You can prevent this from happening by calling the alternative method `imageFromMemoryCacheForKey:`. - -To store an image into the cache, you use the storeImage:forKey: method: - -```objective-c -[[SDImageCache sharedImageCache] storeImage:myImage forKey:myCacheKey]; -``` - -By default, the image will be stored in memory cache as well as on disk cache (asynchronously). If -you want only the memory cache, use the alternative method storeImage:forKey:toDisk: with a negative -third argument. - -### Using cache key filter - -Sometime, you may not want to use the image URL as cache key because part of the URL is dynamic -(i.e.: for access control purpose). SDWebImageManager provides a way to set a cache key filter that -takes the NSURL as input, and output a cache key NSString. - -The following example sets a filter in the application delegate that will remove any query-string from -the URL before to use it as a cache key: - -```objective-c -- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions -{ - SDWebImageManager.sharedManager.cacheKeyFilter:^(NSURL *url) - { - url = [[[NSURL alloc] initWithScheme:url.scheme host:url.host path:url.path] autorelease]; - return [url absoluteString]; - }; - - // Your app init code... - return YES; -} -``` - - -Common Problems ---------------- - -### Using dynamic image size with UITableViewCell - -UITableView determins the size of the image by the first image set for a cell. If your remote images -don't have the same size as your placeholder image, you may experience strange anamorphic scaling issue. -The following article gives a way to workaround this issue: - -[http://www.wrichards.com/blog/2011/11/sdwebimage-fixed-width-cell-images/](http://www.wrichards.com/blog/2011/11/sdwebimage-fixed-width-cell-images/) - - -Installation ------------- - -There are two ways to use this in your project: copy all the files into your project, or import the project as a static library. - -### Add the SDWebImage project to your project - -- Download and unzip the last version of the framework from the [download page](https://github.com/rs/SDWebImage/wiki/Download-Complied-Framework) -- Right-click on the project navigator and select "Add Files to "Your Project": -- In the dialog, select SDWebImage.framework: -- Check the "Copy items into destination group's folder (if needed)" checkbox - -### Add dependencies - -- In you application project app’s target settings, find the "Build Phases" section and open the "Link Binary With Libraries" block: -- Click the "+" button again and select the "ImageIO.framework", this is needed by the progressive download feature: - -### Add Linker Flag - -Open the "Build Settings" tab, in the "Linking" section, locate the "Other Linker Flags" setting and add the "-ObjC" flag: - -![Other Linker Flags](http://dl.dropbox.com/u/123346/SDWebImage/10_other_linker_flags.jpg) - -### Import headers in your source files - -In the source files where you need to use the library, import the header file: - -```objective-c -#import -``` - -### Build Project - -At this point your workspace should build without error. If you are having problem, post to the Issue and the -community can help you solve it. - -Future Enhancements -------------------- - -- LRU memory cache cleanup instead of reset on memory warning - -## Licenses - -All source code is licensed under the [MIT License](https://raw.github.com/rs/SDWebImage/master/LICENSE). diff --git a/RETableViewManagerExample/Pods/SDWebImage/SDWebImage.podspec b/RETableViewManagerExample/Pods/SDWebImage/SDWebImage.podspec deleted file mode 100644 index 70df994..0000000 --- a/RETableViewManagerExample/Pods/SDWebImage/SDWebImage.podspec +++ /dev/null @@ -1,28 +0,0 @@ -Pod::Spec.new do |s| - s.name = 'SDWebImage' - s.version = '3.2' - s.platform = :ios, '5.0' - s.license = 'MIT' - s.summary = 'Asynchronous image downloader with cache support with an UIImageView category.' - s.homepage = 'https://github.com/rs/SDWebImage' - s.author = { 'Olivier Poitrey' => 'rs@dailymotion.com' } - s.source = { :git => 'https://github.com/rs/SDWebImage.git', :tag => '3.2' } - - s.description = 'This library provides a category for UIImageVIew with support for remote ' \ - 'images coming from the web. It provides an UIImageView category adding web ' \ - 'image and cache management to the Cocoa Touch framework, an asynchronous ' \ - 'image downloader, an asynchronous memory + disk image caching with automatic ' \ - 'cache expiration handling, a guarantee that the same URL won\'t be downloaded ' \ - 'several times, a guarantee that bogus URLs won\'t be retried again and again, ' \ - 'and performances!' - - s.requires_arc = true - s.source_files = 'SDWebImage/{SD,UI}*.{h,m}' - s.framework = 'ImageIO' - - # TODO currently CocoaPods always tries to install the subspec even if the dependency is on just 'SDWebImage' - s.subspec 'MapKit' do |mk| - mk.source_files = 'SDWebImage/MKAnnotationView+WebCache.*' - mk.framework = 'MapKit' - end -end diff --git a/RETableViewManagerExample/Pods/SDWebImage/SDWebImage/MKAnnotationView+WebCache.h b/RETableViewManagerExample/Pods/SDWebImage/SDWebImage/MKAnnotationView+WebCache.h deleted file mode 100644 index fca8df0..0000000 --- a/RETableViewManagerExample/Pods/SDWebImage/SDWebImage/MKAnnotationView+WebCache.h +++ /dev/null @@ -1,95 +0,0 @@ -// -// MKAnnotationView+WebCache.h -// SDWebImage -// -// Created by Olivier Poitrey on 14/03/12. -// Copyright (c) 2012 Dailymotion. All rights reserved. -// - -#import "MapKit/MapKit.h" -#import "SDWebImageManager.h" - -/** - * Integrates SDWebImage async downloading and caching of remote images with MKAnnotationView. - */ -@interface MKAnnotationView (WebCache) - -/** - * Set the imageView `image` with an `url`. - * - * The downloand is asynchronous and cached. - * - * @param url The url for the image. - */ -- (void)setImageWithURL:(NSURL *)url; - -/** - * Set the imageView `image` with an `url` and a placeholder. - * - * The downloand is asynchronous and cached. - * - * @param url The url for the image. - * @param placeholder The image to be set initially, until the image request finishes. - * @see setImageWithURL:placeholderImage:options: - */ -- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder; - -/** - * Set the imageView `image` with an `url`, placeholder and custom options. - * - * The downloand is asynchronous and cached. - * - * @param url The url for the image. - * @param placeholder The image to be set initially, until the image request finishes. - * @param options The options to use when downloading the image. @see SDWebImageOptions for the possible values. - */ -- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options; - -/** - * Set the imageView `image` with an `url`. - * - * The downloand is asynchronous and cached. - * - * @param url The url for the image. - * @param completedBlock A block called when operation has been completed. This block as no return value - * and takes the requested UIImage as first parameter. In case of error the image parameter - * is nil and the second parameter may contain an NSError. The third parameter is a Boolean - * indicating if the image was retrived from the local cache of from the network. - */ -- (void)setImageWithURL:(NSURL *)url completed:(SDWebImageCompletedBlock)completedBlock; - -/** - * Set the imageView `image` with an `url`, placeholder. - * - * The downloand is asynchronous and cached. - * - * @param url The url for the image. - * @param placeholder The image to be set initially, until the image request finishes. - * @param completedBlock A block called when operation has been completed. This block as no return value - * and takes the requested UIImage as first parameter. In case of error the image parameter - * is nil and the second parameter may contain an NSError. The third parameter is a Boolean - * indicating if the image was retrived from the local cache of from the network. - */ -- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder completed:(SDWebImageCompletedBlock)completedBlock; - -/** - * Set the imageView `image` with an `url`, placeholder and custom options. - * - * The downloand is asynchronous and cached. - * - * @param url The url for the image. - * @param placeholder The image to be set initially, until the image request finishes. - * @param options The options to use when downloading the image. @see SDWebImageOptions for the possible values. - * @param completedBlock A block called when operation has been completed. This block as no return value - * and takes the requested UIImage as first parameter. In case of error the image parameter - * is nil and the second parameter may contain an NSError. The third parameter is a Boolean - * indicating if the image was retrived from the local cache of from the network. - */ -- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options completed:(SDWebImageCompletedBlock)completedBlock; - -/** - * Cancel the current download - */ -- (void)cancelCurrentImageLoad; - -@end diff --git a/RETableViewManagerExample/Pods/SDWebImage/SDWebImage/MKAnnotationView+WebCache.m b/RETableViewManagerExample/Pods/SDWebImage/SDWebImage/MKAnnotationView+WebCache.m deleted file mode 100644 index 8f27a17..0000000 --- a/RETableViewManagerExample/Pods/SDWebImage/SDWebImage/MKAnnotationView+WebCache.m +++ /dev/null @@ -1,78 +0,0 @@ -// -// MKAnnotationView+WebCache.m -// SDWebImage -// -// Created by Olivier Poitrey on 14/03/12. -// Copyright (c) 2012 Dailymotion. All rights reserved. -// - -#import "MKAnnotationView+WebCache.h" -#import "objc/runtime.h" - -static char operationKey; - -@implementation MKAnnotationView (WebCache) - -- (void)setImageWithURL:(NSURL *)url -{ - [self setImageWithURL:url placeholderImage:nil options:0 completed:nil]; -} - -- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder -{ - [self setImageWithURL:url placeholderImage:placeholder options:0 completed:nil]; -} - -- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options -{ - [self setImageWithURL:url placeholderImage:placeholder options:options completed:nil]; -} - -- (void)setImageWithURL:(NSURL *)url completed:(SDWebImageCompletedBlock)completedBlock -{ - [self setImageWithURL:url placeholderImage:nil options:0 completed:completedBlock]; -} - -- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder completed:(SDWebImageCompletedBlock)completedBlock -{ - [self setImageWithURL:url placeholderImage:placeholder options:0 completed:completedBlock]; -} - -- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options completed:(SDWebImageCompletedBlock)completedBlock -{ - [self cancelCurrentImageLoad]; - - self.image = placeholder; - - if (url) - { - __weak MKAnnotationView *wself = self; - id operation = [SDWebImageManager.sharedManager downloadWithURL:url options:options progress:nil completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, BOOL finished) - { - __strong MKAnnotationView *sself = wself; - if (!sself) return; - if (image) - { - sself.image = image; - } - if (completedBlock && finished) - { - completedBlock(image, error, cacheType); - } - }]; - objc_setAssociatedObject(self, &operationKey, operation, OBJC_ASSOCIATION_RETAIN_NONATOMIC); - } -} - -- (void)cancelCurrentImageLoad -{ - // Cancel in progress downloader from queue - id operation = objc_getAssociatedObject(self, &operationKey); - if (operation) - { - [operation cancel]; - objc_setAssociatedObject(self, &operationKey, nil, OBJC_ASSOCIATION_RETAIN_NONATOMIC); - } -} - -@end diff --git a/RETableViewManagerExample/Pods/SDWebImage/SDWebImage/SDImageCache.h b/RETableViewManagerExample/Pods/SDWebImage/SDWebImage/SDImageCache.h deleted file mode 100644 index bd67a04..0000000 --- a/RETableViewManagerExample/Pods/SDWebImage/SDWebImage/SDImageCache.h +++ /dev/null @@ -1,144 +0,0 @@ -/* - * This file is part of the SDWebImage package. - * (c) Olivier Poitrey - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -#import -#import "SDWebImageCompat.h" - -enum SDImageCacheType -{ - /** - * The image wasn't available the SDWebImage caches, but was downloaded from the web. - */ - SDImageCacheTypeNone = 0, - /** - * The image was obtained from the disk cache. - */ - SDImageCacheTypeDisk, - /** - * The image was obtained from the disk cache. - */ - SDImageCacheTypeMemory -}; -typedef enum SDImageCacheType SDImageCacheType; - -/** - * SDImageCache maintains a memory cache and an optional disk cache. Disk cache write operations are performed - * asynchronous so it doesn’t add unnecessary latency to the UI. - */ -@interface SDImageCache : NSObject - -/** - * The maximum length of time to keep an image in the cache, in seconds - */ -@property (assign, nonatomic) NSInteger maxCacheAge; - -/** - * Returns global shared cache instance - * - * @return SDImageCache global instance - */ -+ (SDImageCache *)sharedImageCache; - -/** - * Init a new cache store with a specific namespace - * - * @param ns The namespace to use for this cache store - */ -- (id)initWithNamespace:(NSString *)ns; - -/** - * Store an image into memory and disk cache at the given key. - * - * @param image The image to store - * @param key The unique image cache key, usually it's image absolute URL - */ -- (void)storeImage:(UIImage *)image forKey:(NSString *)key; - -/** - * Store an image into memory and optionally disk cache at the given key. - * - * @param image The image to store - * @param key The unique image cache key, usually it's image absolute URL - * @param toDisk Store the image to disk cache if YES - */ -- (void)storeImage:(UIImage *)image forKey:(NSString *)key toDisk:(BOOL)toDisk; - -/** - * Store an image into memory and optionally disk cache at the given key. - * - * @param image The image to store - * @param data The image data as returned by the server, this representation will be used for disk storage - * instead of converting the given image object into a storable/compressed image format in order - * to save quality and CPU - * @param key The unique image cache key, usually it's image absolute URL - * @param toDisk Store the image to disk cache if YES - */ -- (void)storeImage:(UIImage *)image imageData:(NSData *)data forKey:(NSString *)key toDisk:(BOOL)toDisk; - -/** - * Query the disk cache asynchronousely. - * - * @param key The unique key used to store the wanted image - */ -- (void)queryDiskCacheForKey:(NSString *)key done:(void (^)(UIImage *image, SDImageCacheType cacheType))doneBlock; - -/** - * Query the memory cache. - * - * @param key The unique key used to store the wanted image - */ -- (UIImage *)imageFromMemoryCacheForKey:(NSString *)key; - -/** - * Query the disk cache synchronousely. - * - * @param key The unique key used to store the wanted image - */ -- (UIImage *)imageFromDiskCacheForKey:(NSString *)key; - -/** - * Remove the image from memory and disk cache synchronousely - * - * @param key The unique image cache key - */ -- (void)removeImageForKey:(NSString *)key; - -/** - * Remove the image from memory and optionaly disk cache synchronousely - * - * @param key The unique image cache key - * @param fromDisk Also remove cache entry from disk if YES - */ -- (void)removeImageForKey:(NSString *)key fromDisk:(BOOL)fromDisk; - -/** - * Clear all memory cached images - */ -- (void)clearMemory; - -/** - * Clear all disk cached images - */ -- (void)clearDisk; - -/** - * Remove all expired cached image from disk - */ -- (void)cleanDisk; - -/** - * Get the size used by the disk cache - */ -- (int)getSize; - -/** - * Get the number of images in the disk cache - */ -- (int)getDiskCount; - -@end diff --git a/RETableViewManagerExample/Pods/SDWebImage/SDWebImage/SDImageCache.m b/RETableViewManagerExample/Pods/SDWebImage/SDWebImage/SDImageCache.m deleted file mode 100644 index 8a5bc61..0000000 --- a/RETableViewManagerExample/Pods/SDWebImage/SDWebImage/SDImageCache.m +++ /dev/null @@ -1,312 +0,0 @@ -/* - * This file is part of the SDWebImage package. - * (c) Olivier Poitrey - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -#import "SDImageCache.h" -#import "SDWebImageDecoder.h" -#import -#import "SDWebImageDecoder.h" -#import -#import - -static const NSInteger kDefaultCacheMaxCacheAge = 60 * 60 * 24 * 7; // 1 week - -@interface SDImageCache () - -@property (strong, nonatomic) NSCache *memCache; -@property (strong, nonatomic) NSString *diskCachePath; -@property (SDDispatchQueueSetterSementics, nonatomic) dispatch_queue_t ioQueue; - -@end - - -@implementation SDImageCache - -+ (SDImageCache *)sharedImageCache -{ - static dispatch_once_t once; - static id instance; - dispatch_once(&once, ^{instance = self.new;}); - return instance; -} - -- (id)init -{ - return [self initWithNamespace:@"default"]; -} - -- (id)initWithNamespace:(NSString *)ns -{ - if ((self = [super init])) - { - NSString *fullNamespace = [@"com.hackemist.SDWebImageCache." stringByAppendingString:ns]; - - // Create IO serial queue - _ioQueue = dispatch_queue_create("com.hackemist.SDWebImageCache", DISPATCH_QUEUE_SERIAL); - - // Init default values - _maxCacheAge = kDefaultCacheMaxCacheAge; - - // Init the memory cache - _memCache = [[NSCache alloc] init]; - _memCache.name = fullNamespace; - - // Init the disk cache - NSArray *paths = NSSearchPathForDirectoriesInDomains(NSCachesDirectory, NSUserDomainMask, YES); - _diskCachePath = [paths[0] stringByAppendingPathComponent:fullNamespace]; - -#if TARGET_OS_IPHONE - // Subscribe to app events - [[NSNotificationCenter defaultCenter] addObserver:self - selector:@selector(clearMemory) - name:UIApplicationDidReceiveMemoryWarningNotification - object:nil]; - - [[NSNotificationCenter defaultCenter] addObserver:self - selector:@selector(cleanDisk) - name:UIApplicationWillTerminateNotification - object:nil]; -#endif - } - - return self; -} - -- (void)dealloc -{ - [[NSNotificationCenter defaultCenter] removeObserver:self]; - SDDispatchQueueRelease(_ioQueue); -} - -#pragma mark SDImageCache (private) - -- (NSString *)cachePathForKey:(NSString *)key -{ - const char *str = [key UTF8String]; - unsigned char r[CC_MD5_DIGEST_LENGTH]; - CC_MD5(str, (CC_LONG)strlen(str), r); - NSString *filename = [NSString stringWithFormat:@"%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x", - r[0], r[1], r[2], r[3], r[4], r[5], r[6], r[7], r[8], r[9], r[10], r[11], r[12], r[13], r[14], r[15]]; - - return [self.diskCachePath stringByAppendingPathComponent:filename]; -} - -#pragma mark ImageCache - -- (void)storeImage:(UIImage *)image imageData:(NSData *)imageData forKey:(NSString *)key toDisk:(BOOL)toDisk -{ - if (!image || !key) - { - return; - } - - [self.memCache setObject:image forKey:key cost:image.size.height * image.size.width * image.scale]; - - if (toDisk) - { - dispatch_async(self.ioQueue, ^ - { - NSData *data = imageData; - - if (!data) - { - if (image) - { -#if TARGET_OS_IPHONE - data = UIImageJPEGRepresentation(image, (CGFloat)1.0); -#else - data = [NSBitmapImageRep representationOfImageRepsInArray:image.representations usingType: NSJPEGFileType properties:nil]; -#endif - } - } - - if (data) - { - // Can't use defaultManager another thread - NSFileManager *fileManager = NSFileManager.new; - - if (![fileManager fileExistsAtPath:_diskCachePath]) - { - [fileManager createDirectoryAtPath:_diskCachePath withIntermediateDirectories:YES attributes:nil error:NULL]; - } - - [fileManager createFileAtPath:[self cachePathForKey:key] contents:data attributes:nil]; - } - }); - } -} - -- (void)storeImage:(UIImage *)image forKey:(NSString *)key -{ - [self storeImage:image imageData:nil forKey:key toDisk:YES]; -} - -- (void)storeImage:(UIImage *)image forKey:(NSString *)key toDisk:(BOOL)toDisk -{ - [self storeImage:image imageData:nil forKey:key toDisk:toDisk]; -} - -- (UIImage *)imageFromMemoryCacheForKey:(NSString *)key -{ - return [self.memCache objectForKey:key]; -} - -- (UIImage *)imageFromDiskCacheForKey:(NSString *)key -{ - // First check the in-memory cache... - UIImage *image = [self imageFromMemoryCacheForKey:key]; - if (image) - { - return image; - } - - // Second check the disk cache... - UIImage *diskImage = [UIImage decodedImageWithImage:SDScaledImageForPath(key, [NSData dataWithContentsOfFile:[self cachePathForKey:key]])]; - - if (diskImage) - { - CGFloat cost = diskImage.size.height * diskImage.size.width * diskImage.scale; - [self.memCache setObject:diskImage forKey:key cost:cost]; - } - - return diskImage; -} - -- (void)queryDiskCacheForKey:(NSString *)key done:(void (^)(UIImage *image, SDImageCacheType cacheType))doneBlock -{ - if (!doneBlock) return; - - if (!key) - { - doneBlock(nil, SDImageCacheTypeNone); - return; - } - - // First check the in-memory cache... - UIImage *image = [self imageFromMemoryCacheForKey:key]; - if (image) - { - doneBlock(image, SDImageCacheTypeMemory); - return; - } - - dispatch_async(self.ioQueue, ^ - { - UIImage *diskImage = [UIImage decodedImageWithImage:SDScaledImageForPath(key, [NSData dataWithContentsOfFile:[self cachePathForKey:key]])]; - - if (diskImage) - { - CGFloat cost = diskImage.size.height * diskImage.size.width * diskImage.scale; - [self.memCache setObject:diskImage forKey:key cost:cost]; - } - - dispatch_async(dispatch_get_main_queue(), ^ - { - doneBlock(diskImage, SDImageCacheTypeDisk); - }); - }); -} - -- (void)removeImageForKey:(NSString *)key -{ - [self removeImageForKey:key fromDisk:YES]; -} - -- (void)removeImageForKey:(NSString *)key fromDisk:(BOOL)fromDisk -{ - if (key == nil) - { - return; - } - - [self.memCache removeObjectForKey:key]; - - if (fromDisk) - { - dispatch_async(self.ioQueue, ^ - { - [[NSFileManager defaultManager] removeItemAtPath:[self cachePathForKey:key] error:nil]; - }); - } -} - -- (void)clearMemory -{ - [self.memCache removeAllObjects]; -} - -- (void)clearDisk -{ - dispatch_async(self.ioQueue, ^ - { - [[NSFileManager defaultManager] removeItemAtPath:self.diskCachePath error:nil]; - [[NSFileManager defaultManager] createDirectoryAtPath:self.diskCachePath - withIntermediateDirectories:YES - attributes:nil - error:NULL]; - }); -} - -- (void)cleanDisk -{ - dispatch_async(self.ioQueue, ^ - { - NSDate *expirationDate = [NSDate dateWithTimeIntervalSinceNow:-self.maxCacheAge]; - // convert NSString path to NSURL path - NSURL *diskCacheURL = [NSURL fileURLWithPath:self.diskCachePath isDirectory:YES]; - // build an enumerator by also prefetching file properties we want to read - NSDirectoryEnumerator *fileEnumerator = [[NSFileManager defaultManager] enumeratorAtURL:diskCacheURL - includingPropertiesForKeys:@[ NSURLIsDirectoryKey, NSURLContentModificationDateKey ] - options:NSDirectoryEnumerationSkipsHiddenFiles - errorHandler:NULL]; - for (NSURL *fileURL in fileEnumerator) - { - // skip folder - NSNumber *isDirectory; - [fileURL getResourceValue:&isDirectory forKey:NSURLIsDirectoryKey error:NULL]; - if ([isDirectory boolValue]) - { - continue; - } - - // compare file date with the max age - NSDate *fileModificationDate; - [fileURL getResourceValue:&fileModificationDate forKey:NSURLContentModificationDateKey error:NULL]; - if ([[fileModificationDate laterDate:expirationDate] isEqualToDate:expirationDate]) - { - [[NSFileManager defaultManager] removeItemAtURL:fileURL error:nil]; - } - } - }); -} - --(int)getSize -{ - int size = 0; - NSDirectoryEnumerator *fileEnumerator = [[NSFileManager defaultManager] enumeratorAtPath:self.diskCachePath]; - for (NSString *fileName in fileEnumerator) - { - NSString *filePath = [self.diskCachePath stringByAppendingPathComponent:fileName]; - NSDictionary *attrs = [[NSFileManager defaultManager] attributesOfItemAtPath:filePath error:nil]; - size += [attrs fileSize]; - } - return size; -} - -- (int)getDiskCount -{ - int count = 0; - NSDirectoryEnumerator *fileEnumerator = [[NSFileManager defaultManager] enumeratorAtPath:self.diskCachePath]; - for (NSString *fileName in fileEnumerator) - { - count += 1; - } - - return count; -} - -@end diff --git a/RETableViewManagerExample/Pods/SDWebImage/SDWebImage/SDWebImageCompat.h b/RETableViewManagerExample/Pods/SDWebImage/SDWebImage/SDWebImageCompat.h deleted file mode 100644 index cabeaa6..0000000 --- a/RETableViewManagerExample/Pods/SDWebImage/SDWebImage/SDWebImageCompat.h +++ /dev/null @@ -1,56 +0,0 @@ -/* - * This file is part of the SDWebImage package. - * (c) Olivier Poitrey - * (c) Jamie Pinkham - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -#import - -#ifdef __OBJC_GC__ -#error SDWebImage does not support Objective-C Garbage Collection -#endif - -#if __IPHONE_OS_VERSION_MIN_REQUIRED < __IPHONE_5_0 -#error SDWebImage doesn't support Deployement Target version < 5.0 -#endif - -#if !TARGET_OS_IPHONE -#import -#ifndef UIImage -#define UIImage NSImage -#endif -#ifndef UIImageView -#define UIImageView NSImageView -#endif -#else -#import -#endif - -// @see https://github.com/ccgus/fmdb/commit/aef763eeb64e6fa654e7d121f1df4c16a98d9f4f -#define SDDispatchQueueRelease(q) (dispatch_release(q)) -#if TARGET_OS_IPHONE - #if __IPHONE_OS_VERSION_MIN_REQUIRED >= 60000 - #undef SDDispatchQueueRelease - #define SDDispatchQueueRelease(q) - #undef SDDispatchQueueSetterSementics - #define SDDispatchQueueSetterSementics strong - #endif -#else - #if MAC_OS_X_VERSION_MIN_REQUIRED >= 1080 - #undef SDDispatchQueueRelease - #define SDDispatchQueueRelease(q) - #undef SDDispatchQueueSetterSementics - #define SDDispatchQueueSetterSementics strong - #endif -#endif - -#if OS_OBJECT_USE_OBJC - #define SDDispatchQueueSetterSementics strong -#else - #define SDDispatchQueueSetterSementics assign -#endif - -extern UIImage *SDScaledImageForPath(NSString *path, NSObject *imageOrData); diff --git a/RETableViewManagerExample/Pods/SDWebImage/SDWebImage/SDWebImageCompat.m b/RETableViewManagerExample/Pods/SDWebImage/SDWebImage/SDWebImageCompat.m deleted file mode 100644 index a803478..0000000 --- a/RETableViewManagerExample/Pods/SDWebImage/SDWebImage/SDWebImageCompat.m +++ /dev/null @@ -1,54 +0,0 @@ -// -// SDWebImageCompat.m -// SDWebImage -// -// Created by Olivier Poitrey on 11/12/12. -// Copyright (c) 2012 Dailymotion. All rights reserved. -// - -#import "SDWebImageCompat.h" - -#if !__has_feature(objc_arc) -#error SDWebImage is ARC only. Either turn on ARC for the project or use -fobjc-arc flag -#endif - -UIImage *SDScaledImageForPath(NSString *path, NSObject *imageOrData) -{ - if (!imageOrData) - { - return nil; - } - - UIImage *image = nil; - if ([imageOrData isKindOfClass:[NSData class]]) - { - image = [[UIImage alloc] initWithData:(NSData *)imageOrData]; - } - else if ([imageOrData isKindOfClass:[UIImage class]]) - { - image = (UIImage *)imageOrData; - } - else - { - return nil; - } - - if ([[UIScreen mainScreen] respondsToSelector:@selector(scale)]) - { - CGFloat scale = 1.0; - if (path.length >= 8) - { - // Search @2x. at the end of the string, before a 3 to 4 extension length (only if key len is 8 or more @2x. + 4 len ext) - NSRange range = [path rangeOfString:@"@2x." options:0 range:NSMakeRange(path.length - 8, 5)]; - if (range.location != NSNotFound) - { - scale = 2.0; - } - } - - UIImage *scaledImage = [[UIImage alloc] initWithCGImage:image.CGImage scale:scale orientation:image.imageOrientation]; - image = scaledImage; - } - - return image; -} diff --git a/RETableViewManagerExample/Pods/SDWebImage/SDWebImage/SDWebImageDecoder.h b/RETableViewManagerExample/Pods/SDWebImage/SDWebImage/SDWebImageDecoder.h deleted file mode 100644 index 0176a7b..0000000 --- a/RETableViewManagerExample/Pods/SDWebImage/SDWebImage/SDWebImageDecoder.h +++ /dev/null @@ -1,18 +0,0 @@ -/* - * This file is part of the SDWebImage package. - * (c) Olivier Poitrey - * - * Created by james on 9/28/11. - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -#import -#import "SDWebImageCompat.h" - -@interface UIImage (ForceDecode) - -+ (UIImage *)decodedImageWithImage:(UIImage *)image; - -@end diff --git a/RETableViewManagerExample/Pods/SDWebImage/SDWebImage/SDWebImageDecoder.m b/RETableViewManagerExample/Pods/SDWebImage/SDWebImage/SDWebImageDecoder.m deleted file mode 100644 index fe70fd9..0000000 --- a/RETableViewManagerExample/Pods/SDWebImage/SDWebImage/SDWebImageDecoder.m +++ /dev/null @@ -1,70 +0,0 @@ -/* - * This file is part of the SDWebImage package. - * (c) Olivier Poitrey - * - * Created by james on 9/28/11. - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -#import "SDWebImageDecoder.h" - -@implementation UIImage (ForceDecode) - -+ (UIImage *)decodedImageWithImage:(UIImage *)image -{ - CGImageRef imageRef = image.CGImage; - CGSize imageSize = CGSizeMake(CGImageGetWidth(imageRef), CGImageGetHeight(imageRef)); - CGRect imageRect = (CGRect){.origin = CGPointZero, .size = imageSize}; - - CGColorSpaceRef colorSpace = CGColorSpaceCreateDeviceRGB(); - CGBitmapInfo bitmapInfo = CGImageGetBitmapInfo(imageRef); - - int infoMask = (bitmapInfo & kCGBitmapAlphaInfoMask); - BOOL anyNonAlpha = (infoMask == kCGImageAlphaNone || - infoMask == kCGImageAlphaNoneSkipFirst || - infoMask == kCGImageAlphaNoneSkipLast); - - // CGBitmapContextCreate doesn't support kCGImageAlphaNone with RGB. - // https://developer.apple.com/library/mac/#qa/qa1037/_index.html - if (infoMask == kCGImageAlphaNone && CGColorSpaceGetNumberOfComponents(colorSpace) > 1) - { - // Unset the old alpha info. - bitmapInfo &= ~kCGBitmapAlphaInfoMask; - - // Set noneSkipFirst. - bitmapInfo |= kCGImageAlphaNoneSkipFirst; - } - // Some PNGs tell us they have alpha but only 3 components. Odd. - else if (!anyNonAlpha && CGColorSpaceGetNumberOfComponents(colorSpace) == 3) - { - // Unset the old alpha info. - bitmapInfo &= ~kCGBitmapAlphaInfoMask; - bitmapInfo |= kCGImageAlphaPremultipliedFirst; - } - - // It calculates the bytes-per-row based on the bitsPerComponent and width arguments. - CGContextRef context = CGBitmapContextCreate(NULL, - imageSize.width, - imageSize.height, - CGImageGetBitsPerComponent(imageRef), - 0, - colorSpace, - bitmapInfo); - CGColorSpaceRelease(colorSpace); - - // If failed, return undecompressed image - if (!context) return image; - - CGContextDrawImage(context, imageRect, imageRef); - CGImageRef decompressedImageRef = CGBitmapContextCreateImage(context); - - CGContextRelease(context); - - UIImage *decompressedImage = [UIImage imageWithCGImage:decompressedImageRef scale:image.scale orientation:image.imageOrientation]; - CGImageRelease(decompressedImageRef); - return decompressedImage; -} - -@end diff --git a/RETableViewManagerExample/Pods/SDWebImage/SDWebImage/SDWebImageDownloader.h b/RETableViewManagerExample/Pods/SDWebImage/SDWebImage/SDWebImageDownloader.h deleted file mode 100644 index 3fdf948..0000000 --- a/RETableViewManagerExample/Pods/SDWebImage/SDWebImage/SDWebImageDownloader.h +++ /dev/null @@ -1,96 +0,0 @@ -/* - * This file is part of the SDWebImage package. - * (c) Olivier Poitrey - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -#import -#import "SDWebImageCompat.h" -#import "SDWebImageOperation.h" - -typedef enum -{ - SDWebImageDownloaderLowPriority = 1 << 0, - SDWebImageDownloaderProgressiveDownload = 1 << 1, - /** - * By default, request prevent the of NSURLCache. With this flag, NSURLCache - * is used with default policies. - */ - SDWebImageDownloaderUseNSURLCache = 1 << 2, - /** - * Call completion block with nil image/imageData if the image was read from NSURLCache - * (to be combined with `SDWebImageDownloaderUseNSURLCache`). - */ - SDWebImageDownloaderIgnoreCachedResponse = 1 << 3 -} SDWebImageDownloaderOptions; - -typedef enum -{ - SDWebImageDownloaderFILOQueueMode, - SDWebImageDownloaderLIFOQueueMode -} SDWebImageDownloaderQueueMode; - -extern NSString *const SDWebImageDownloadStartNotification; -extern NSString *const SDWebImageDownloadStopNotification; - -typedef void(^SDWebImageDownloaderProgressBlock)(NSUInteger receivedSize, long long expectedSize); -typedef void(^SDWebImageDownloaderCompletedBlock)(UIImage *image, NSData *data, NSError *error, BOOL finished); - -/** - * Asynchronous downloader dedicated and optimized for image loading. - */ -@interface SDWebImageDownloader : NSObject - -@property (assign, nonatomic) NSInteger maxConcurrentDownloads; - -/** - * Changes download operations unqueue mode. Default value is `SDWebImageDownloaderFILOQueueMode`. - */ -@property (assign, nonatomic) SDWebImageDownloaderQueueMode queueMode; - -+ (SDWebImageDownloader *)sharedDownloader; - -/** - * Set a value for a HTTP header to be appended to each download HTTP request. - * - * @param value The value for the header field. Use `nil` value to remove the header. - * @param field The name of the header field to set. - */ -- (void)setValue:(NSString *)value forHTTPHeaderField:(NSString *)field; - -/** - * Returns the value of the specified HTTP header field. - * - * @return The value associated with the header field field, or `nil` if there is no corresponding header field. - */ -- (NSString *)valueForHTTPHeaderField:(NSString *)field; - -/** - * Creates a SDWebImageDownloader async downloader instance with a given URL - * - * The delegate will be informed when the image is finish downloaded or an error has happen. - * - * @see SDWebImageDownloaderDelegate - * - * @param url The URL to the image to download - * @param options The options to be used for this download - * @param progress A block called repeatedly while the image is downloading - * @param completed A block called once the download is completed. - * If the download succeeded, the image parameter is set, in case of error, - * error parameter is set with the error. The last parameter is always YES - * if SDWebImageDownloaderProgressiveDownload isn't use. With the - * SDWebImageDownloaderProgressiveDownload option, this block is called - * repeatedly with the partial image object and the finished argument set to NO - * before to be called a last time with the full image and finished argument - * set to YES. In case of error, the finished argument is always YES. - * - * @return A cancellable SDWebImageOperation - */ -- (id)downloadImageWithURL:(NSURL *)url - options:(SDWebImageDownloaderOptions)options - progress:(SDWebImageDownloaderProgressBlock)progressBlock - completed:(SDWebImageDownloaderCompletedBlock)completedBlock; - -@end diff --git a/RETableViewManagerExample/Pods/SDWebImage/SDWebImage/SDWebImageDownloader.m b/RETableViewManagerExample/Pods/SDWebImage/SDWebImage/SDWebImageDownloader.m deleted file mode 100644 index ae8c9eb..0000000 --- a/RETableViewManagerExample/Pods/SDWebImage/SDWebImage/SDWebImageDownloader.m +++ /dev/null @@ -1,226 +0,0 @@ -/* - * This file is part of the SDWebImage package. - * (c) Olivier Poitrey - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -#import "SDWebImageDownloader.h" -#import "SDWebImageDownloaderOperation.h" -#import - -NSString *const SDWebImageDownloadStartNotification = @"SDWebImageDownloadStartNotification"; -NSString *const SDWebImageDownloadStopNotification = @"SDWebImageDownloadStopNotification"; - -static NSString *const kProgressCallbackKey = @"progress"; -static NSString *const kCompletedCallbackKey = @"completed"; - -@interface SDWebImageDownloader () - -@property (strong, nonatomic) NSOperationQueue *downloadQueue; -@property (weak, nonatomic) NSOperation *lastAddedOperation; -@property (strong, nonatomic) NSMutableDictionary *URLCallbacks; -@property (strong, nonatomic) NSMutableDictionary *HTTPHeaders; -// This queue is used to serialize the handling of the network responses of all the download operation in a single queue -@property (SDDispatchQueueSetterSementics, nonatomic) dispatch_queue_t workingQueue; -@property (SDDispatchQueueSetterSementics, nonatomic) dispatch_queue_t barrierQueue; - -@end - -@implementation SDWebImageDownloader - -+ (void)initialize -{ - // Bind SDNetworkActivityIndicator if available (download it here: http://github.com/rs/SDNetworkActivityIndicator ) - // To use it, just add #import "SDNetworkActivityIndicator.h" in addition to the SDWebImage import - if (NSClassFromString(@"SDNetworkActivityIndicator")) - { - -#pragma clang diagnostic push -#pragma clang diagnostic ignored "-Warc-performSelector-leaks" - id activityIndicator = [NSClassFromString(@"SDNetworkActivityIndicator") performSelector:NSSelectorFromString(@"sharedActivityIndicator")]; -#pragma clang diagnostic pop - - // Remove observer in case it was previously added. - [[NSNotificationCenter defaultCenter] removeObserver:activityIndicator name:SDWebImageDownloadStartNotification object:nil]; - [[NSNotificationCenter defaultCenter] removeObserver:activityIndicator name:SDWebImageDownloadStopNotification object:nil]; - - [[NSNotificationCenter defaultCenter] addObserver:activityIndicator - selector:NSSelectorFromString(@"startActivity") - name:SDWebImageDownloadStartNotification object:nil]; - [[NSNotificationCenter defaultCenter] addObserver:activityIndicator - selector:NSSelectorFromString(@"stopActivity") - name:SDWebImageDownloadStopNotification object:nil]; - } -} - -+ (SDWebImageDownloader *)sharedDownloader -{ - static dispatch_once_t once; - static id instance; - dispatch_once(&once, ^{instance = self.new;}); - return instance; -} - -- (id)init -{ - if ((self = [super init])) - { - _queueMode = SDWebImageDownloaderFILOQueueMode; - _downloadQueue = NSOperationQueue.new; - _downloadQueue.maxConcurrentOperationCount = 2; - _URLCallbacks = NSMutableDictionary.new; - _HTTPHeaders = [NSMutableDictionary dictionaryWithObject:@"image/*" forKey:@"Accept"]; - _workingQueue = dispatch_queue_create("com.hackemist.SDWebImageDownloader", DISPATCH_QUEUE_SERIAL); - _barrierQueue = dispatch_queue_create("com.hackemist.SDWebImageDownloaderBarrierQueue", DISPATCH_QUEUE_CONCURRENT); - } - return self; -} - -- (void)dealloc -{ - [self.downloadQueue cancelAllOperations]; - SDDispatchQueueRelease(_workingQueue); - SDDispatchQueueRelease(_barrierQueue); -} - -- (void)setValue:(NSString *)value forHTTPHeaderField:(NSString *)field -{ - if (value) - { - self.HTTPHeaders[field] = value; - } - else - { - [self.HTTPHeaders removeObjectForKey:field]; - } -} - -- (NSString *)valueForHTTPHeaderField:(NSString *)field -{ - return self.HTTPHeaders[field]; -} - -- (void)setMaxConcurrentDownloads:(NSInteger)maxConcurrentDownloads -{ - _downloadQueue.maxConcurrentOperationCount = maxConcurrentDownloads; -} - -- (NSInteger)maxConcurrentDownloads -{ - return _downloadQueue.maxConcurrentOperationCount; -} - -- (id)downloadImageWithURL:(NSURL *)url options:(SDWebImageDownloaderOptions)options progress:(void (^)(NSUInteger, long long))progressBlock completed:(void (^)(UIImage *, NSData *, NSError *, BOOL))completedBlock -{ - __block SDWebImageDownloaderOperation *operation; - __weak SDWebImageDownloader *wself = self; - - [self addProgressCallback:progressBlock andCompletedBlock:completedBlock forURL:url createCallback:^ - { - // In order to prevent from potential duplicate caching (NSURLCache + SDImageCache) we disable the cache for image requests if told otherwise - NSMutableURLRequest *request = [NSMutableURLRequest.alloc initWithURL:url cachePolicy:(options & SDWebImageDownloaderUseNSURLCache ? NSURLRequestUseProtocolCachePolicy : NSURLRequestReloadIgnoringLocalCacheData) timeoutInterval:15]; - request.HTTPShouldHandleCookies = NO; - request.HTTPShouldUsePipelining = YES; - request.allHTTPHeaderFields = wself.HTTPHeaders; - operation = [SDWebImageDownloaderOperation.alloc initWithRequest:request queue:wself.workingQueue options:options progress:^(NSUInteger receivedSize, long long expectedSize) - { - if (!wself) return; - SDWebImageDownloader *sself = wself; - NSArray *callbacksForURL = [sself callbacksForURL:url]; - for (NSDictionary *callbacks in callbacksForURL) - { - SDWebImageDownloaderProgressBlock callback = callbacks[kProgressCallbackKey]; - if (callback) callback(receivedSize, expectedSize); - } - } - completed:^(UIImage *image, NSData *data, NSError *error, BOOL finished) - { - if (!wself) return; - SDWebImageDownloader *sself = wself; - NSArray *callbacksForURL = [sself callbacksForURL:url]; - if (finished) - { - [sself removeCallbacksForURL:url]; - } - for (NSDictionary *callbacks in callbacksForURL) - { - SDWebImageDownloaderCompletedBlock callback = callbacks[kCompletedCallbackKey]; - if (callback) callback(image, data, error, finished); - } - } - cancelled:^ - { - if (!wself) return; - SDWebImageDownloader *sself = wself; - [sself callbacksForURL:url]; - [sself removeCallbacksForURL:url]; - }]; - [wself.downloadQueue addOperation:operation]; - if (wself.queueMode == SDWebImageDownloaderLIFOQueueMode) - { - // Emulate LIFO queue mode by systematically adding new operations as last operation's dependency - [wself.lastAddedOperation addDependency:operation]; - wself.lastAddedOperation = operation; - } - }]; - - return operation; -} - -- (void)addProgressCallback:(void (^)(NSUInteger, long long))progressBlock andCompletedBlock:(void (^)(UIImage *, NSData *data, NSError *, BOOL))completedBlock forURL:(NSURL *)url createCallback:(void (^)())createCallback -{ - // The URL will be used as the key to the callbacks dictionary so it cannot be nil. If it is nil immediately call the completed block with no image or data. - if(url == nil) - { - if (completedBlock != nil) - { - completedBlock(nil, nil, nil, NO); - } - return; - } - - dispatch_barrier_sync(self.barrierQueue, ^ - { - BOOL first = NO; - if (!self.URLCallbacks[url]) - { - self.URLCallbacks[url] = NSMutableArray.new; - first = YES; - } - - // Handle single download of simultaneous download request for the same URL - NSMutableArray *callbacksForURL = self.URLCallbacks[url]; - NSMutableDictionary *callbacks = NSMutableDictionary.new; - if (progressBlock) callbacks[kProgressCallbackKey] = [progressBlock copy]; - if (completedBlock) callbacks[kCompletedCallbackKey] = [completedBlock copy]; - [callbacksForURL addObject:callbacks]; - self.URLCallbacks[url] = callbacksForURL; - - if (first) - { - createCallback(); - } - }); -} - -- (NSArray *)callbacksForURL:(NSURL *)url -{ - __block NSArray *callbacksForURL; - dispatch_sync(self.barrierQueue, ^ - { - callbacksForURL = self.URLCallbacks[url]; - }); - return callbacksForURL; -} - -- (void)removeCallbacksForURL:(NSURL *)url -{ - dispatch_barrier_async(self.barrierQueue, ^ - { - [self.URLCallbacks removeObjectForKey:url]; - }); -} - -@end diff --git a/RETableViewManagerExample/Pods/SDWebImage/SDWebImage/SDWebImageDownloaderOperation.h b/RETableViewManagerExample/Pods/SDWebImage/SDWebImage/SDWebImageDownloaderOperation.h deleted file mode 100644 index b7afd7f..0000000 --- a/RETableViewManagerExample/Pods/SDWebImage/SDWebImage/SDWebImageDownloaderOperation.h +++ /dev/null @@ -1,25 +0,0 @@ -/* - * This file is part of the SDWebImage package. - * (c) Olivier Poitrey - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -#import -#import "SDWebImageDownloader.h" -#import "SDWebImageOperation.h" - -@interface SDWebImageDownloaderOperation : NSOperation - -@property (strong, nonatomic, readonly) NSURLRequest *request; -@property (assign, nonatomic, readonly) SDWebImageDownloaderOptions options; - -- (id)initWithRequest:(NSURLRequest *)request - queue:(dispatch_queue_t)queue - options:(SDWebImageDownloaderOptions)options - progress:(SDWebImageDownloaderProgressBlock)progressBlock - completed:(SDWebImageDownloaderCompletedBlock)completedBlock - cancelled:(void (^)())cancelBlock; - -@end diff --git a/RETableViewManagerExample/Pods/SDWebImage/SDWebImage/SDWebImageDownloaderOperation.m b/RETableViewManagerExample/Pods/SDWebImage/SDWebImage/SDWebImageDownloaderOperation.m deleted file mode 100644 index 07b3ad5..0000000 --- a/RETableViewManagerExample/Pods/SDWebImage/SDWebImage/SDWebImageDownloaderOperation.m +++ /dev/null @@ -1,339 +0,0 @@ -/* - * This file is part of the SDWebImage package. - * (c) Olivier Poitrey - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -#import "SDWebImageDownloaderOperation.h" -#import "SDWebImageDecoder.h" -#import - -@interface SDWebImageDownloaderOperation () - -@property (copy, nonatomic) SDWebImageDownloaderProgressBlock progressBlock; -@property (copy, nonatomic) SDWebImageDownloaderCompletedBlock completedBlock; -@property (copy, nonatomic) void (^cancelBlock)(); - -@property (assign, nonatomic, getter = isExecuting) BOOL executing; -@property (assign, nonatomic, getter = isFinished) BOOL finished; -@property (assign, nonatomic) long long expectedSize; -@property (strong, nonatomic) NSMutableData *imageData; -@property (strong, nonatomic) NSURLConnection *connection; -@property (SDDispatchQueueSetterSementics, nonatomic) dispatch_queue_t queue; - -@end - -@implementation SDWebImageDownloaderOperation -{ - size_t width, height; - BOOL responseFromCached; -} - -- (id)initWithRequest:(NSURLRequest *)request queue:(dispatch_queue_t)queue options:(SDWebImageDownloaderOptions)options progress:(void (^)(NSUInteger, long long))progressBlock completed:(void (^)(UIImage *, NSData *, NSError *, BOOL))completedBlock cancelled:(void (^)())cancelBlock -{ - if ((self = [super init])) - { - _queue = queue; - _request = request; - _options = options; - _progressBlock = [progressBlock copy]; - _completedBlock = [completedBlock copy]; - _cancelBlock = [cancelBlock copy]; - _executing = NO; - _finished = NO; - _expectedSize = 0; - responseFromCached = YES; // Initially wrong until `connection:willCacheResponse:` is called or not called - } - return self; -} - -- (void)start -{ - dispatch_async(dispatch_get_main_queue(), ^ - { - if (self.isCancelled) - { - self.finished = YES; - [self reset]; - return; - } - - self.executing = YES; - self.connection = [NSURLConnection.alloc initWithRequest:self.request delegate:self startImmediately:NO]; - - // If not in low priority mode, ensure we aren't blocked by UI manipulations (default runloop mode for NSURLConnection is NSEventTrackingRunLoopMode) - if (!(self.options & SDWebImageDownloaderLowPriority)) - { - [self.connection scheduleInRunLoop:[NSRunLoop currentRunLoop] forMode:NSRunLoopCommonModes]; - } - - [self.connection start]; - - if (self.connection) - { - if (self.progressBlock) - { - self.progressBlock(0, -1); - } - [[NSNotificationCenter defaultCenter] postNotificationName:SDWebImageDownloadStartNotification object:self]; - } - else - { - if (self.completedBlock) - { - self.completedBlock(nil, nil, [NSError errorWithDomain:NSURLErrorDomain code:0 userInfo:@{NSLocalizedDescriptionKey: @"Connection can't be initialized"}], YES); - } - } - }); -} - -- (void)cancel -{ - if (self.isFinished) return; - [super cancel]; - if (self.cancelBlock) self.cancelBlock(); - - if (self.connection) - { - [self.connection cancel]; - [[NSNotificationCenter defaultCenter] postNotificationName:SDWebImageDownloadStopNotification object:self]; - - // As we cancelled the connection, its callback won't be called and thus won't - // maintain the isFinished and isExecuting flags. - if (self.isExecuting) self.executing = NO; - if (!self.isFinished) self.finished = YES; - } - - [self reset]; -} - -- (void)done -{ - self.finished = YES; - self.executing = NO; - [self reset]; -} - -- (void)reset -{ - dispatch_async(dispatch_get_main_queue(), ^ - { - self.cancelBlock = nil; - self.completedBlock = nil; - self.progressBlock = nil; - self.connection = nil; - self.imageData = nil; - }); -} - -- (void)setFinished:(BOOL)finished -{ - [self willChangeValueForKey:@"isFinished"]; - _finished = finished; - [self didChangeValueForKey:@"isFinished"]; -} - -- (void)setExecuting:(BOOL)executing -{ - [self willChangeValueForKey:@"isExecuting"]; - _executing = executing; - [self didChangeValueForKey:@"isExecuting"]; -} - -- (BOOL)isConcurrent -{ - return YES; -} - -#pragma mark NSURLConnection (delegate) - -- (void)connection:(NSURLConnection *)connection didReceiveResponse:(NSURLResponse *)response -{ - if (![response respondsToSelector:@selector(statusCode)] || [((NSHTTPURLResponse *)response) statusCode] < 400) - { - NSUInteger expected = response.expectedContentLength > 0 ? (NSUInteger)response.expectedContentLength : 0; - self.expectedSize = expected; - if (self.progressBlock) - { - self.progressBlock(0, expected); - } - - dispatch_async(self.queue, ^ - { - self.imageData = [NSMutableData.alloc initWithCapacity:expected]; - }); - } - else - { - [self.connection cancel]; - - [[NSNotificationCenter defaultCenter] postNotificationName:SDWebImageDownloadStopNotification object:nil]; - - if (self.completedBlock) - { - self.completedBlock(nil, nil, [NSError errorWithDomain:NSURLErrorDomain code:[((NSHTTPURLResponse *)response) statusCode] userInfo:nil], YES); - } - - [self done]; - } -} - -- (void)connection:(NSURLConnection *)connection didReceiveData:(NSData *)data -{ - dispatch_async(self.queue, ^ - { - [self.imageData appendData:data]; - - if ((self.options & SDWebImageDownloaderProgressiveDownload) && self.expectedSize > 0 && self.completedBlock) - { - // The following code is from http://www.cocoaintheshell.com/2011/05/progressive-images-download-imageio/ - // Thanks to the author @Nyx0uf - - // Get the total bytes downloaded - const NSUInteger totalSize = self.imageData.length; - - // Update the data source, we must pass ALL the data, not just the new bytes - CGImageSourceRef imageSource = CGImageSourceCreateIncremental(NULL); - CGImageSourceUpdateData(imageSource, (__bridge CFDataRef)self.imageData, totalSize == self.expectedSize); - - if (width + height == 0) - { - CFDictionaryRef properties = CGImageSourceCopyPropertiesAtIndex(imageSource, 0, NULL); - if (properties) - { - CFTypeRef val = CFDictionaryGetValue(properties, kCGImagePropertyPixelHeight); - if (val) CFNumberGetValue(val, kCFNumberLongType, &height); - val = CFDictionaryGetValue(properties, kCGImagePropertyPixelWidth); - if (val) CFNumberGetValue(val, kCFNumberLongType, &width); - CFRelease(properties); - } - } - - if (width + height > 0 && totalSize < self.expectedSize) - { - // Create the image - CGImageRef partialImageRef = CGImageSourceCreateImageAtIndex(imageSource, 0, NULL); - -#ifdef TARGET_OS_IPHONE - // Workaround for iOS anamorphic image - if (partialImageRef) - { - const size_t partialHeight = CGImageGetHeight(partialImageRef); - CGColorSpaceRef colorSpace = CGColorSpaceCreateDeviceRGB(); - CGContextRef bmContext = CGBitmapContextCreate(NULL, width, height, 8, width * 4, colorSpace, kCGBitmapByteOrderDefault | kCGImageAlphaPremultipliedFirst); - CGColorSpaceRelease(colorSpace); - if (bmContext) - { - CGContextDrawImage(bmContext, (CGRect){.origin.x = 0.0f, .origin.y = 0.0f, .size.width = width, .size.height = partialHeight}, partialImageRef); - CGImageRelease(partialImageRef); - partialImageRef = CGBitmapContextCreateImage(bmContext); - CGContextRelease(bmContext); - } - else - { - CGImageRelease(partialImageRef); - partialImageRef = nil; - } - } -#endif - - if (partialImageRef) - { - UIImage *image = [UIImage decodedImageWithImage:SDScaledImageForPath(self.request.URL.absoluteString, [UIImage imageWithCGImage:partialImageRef])]; - CGImageRelease(partialImageRef); - dispatch_async(dispatch_get_main_queue(), ^ - { - if (self.completedBlock) - { - self.completedBlock(image, nil, nil, NO); - } - }); - } - } - - CFRelease(imageSource); - } - NSUInteger received = self.imageData.length; - dispatch_async(dispatch_get_main_queue(), ^ - { - if (self.progressBlock) - { - self.progressBlock(received, self.expectedSize); - } - }); - }); -} - -- (void)connectionDidFinishLoading:(NSURLConnection *)aConnection -{ - self.connection = nil; - - [[NSNotificationCenter defaultCenter] postNotificationName:SDWebImageDownloadStopNotification object:nil]; - - SDWebImageDownloaderCompletedBlock completionBlock = self.completedBlock; - - if (completionBlock) - { - if (self.options & SDWebImageDownloaderIgnoreCachedResponse && responseFromCached) - { - completionBlock(nil, nil, nil, YES); - self.completionBlock = nil; - [self done]; - } - else - { - dispatch_async(self.queue, ^ - { - UIImage *image = [UIImage decodedImageWithImage:SDScaledImageForPath(self.request.URL.absoluteString, self.imageData)]; - dispatch_async(dispatch_get_main_queue(), ^ - { - if (CGSizeEqualToSize(image.size, CGSizeZero)) - { - completionBlock(nil, nil, [NSError errorWithDomain:@"SDWebImageErrorDomain" code:0 userInfo:@{NSLocalizedDescriptionKey: @"Downloaded image has 0 pixels"}], YES); - } - else - { - completionBlock(image, self.imageData, nil, YES); - } - self.completionBlock = nil; - [self done]; - }); - }); - } - } - else - { - [self done]; - } -} - -- (void)connection:(NSURLConnection *)connection didFailWithError:(NSError *)error -{ - [[NSNotificationCenter defaultCenter] postNotificationName:SDWebImageDownloadStopNotification object:nil]; - - if (self.completedBlock) - { - self.completedBlock(nil, nil, error, YES); - } - - [self done]; -} - -- (NSCachedURLResponse *)connection:(NSURLConnection *)connection willCacheResponse:(NSCachedURLResponse *)cachedResponse -{ - responseFromCached = NO; // If this method is called, it means the response wasn't read from cache - if (self.request.cachePolicy == NSURLRequestReloadIgnoringLocalCacheData) - { - // Prevents caching of responses - return nil; - } - else - { - return cachedResponse; - } -} - - -@end diff --git a/RETableViewManagerExample/Pods/SDWebImage/SDWebImage/SDWebImageManager.h b/RETableViewManagerExample/Pods/SDWebImage/SDWebImage/SDWebImageManager.h deleted file mode 100644 index a6e39ac..0000000 --- a/RETableViewManagerExample/Pods/SDWebImage/SDWebImage/SDWebImageManager.h +++ /dev/null @@ -1,167 +0,0 @@ -/* - * This file is part of the SDWebImage package. - * (c) Olivier Poitrey - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -#import "SDWebImageCompat.h" -#import "SDWebImageOperation.h" -#import "SDWebImageDownloader.h" -#import "SDImageCache.h" - -typedef enum -{ - /** - * By default, when a URL fail to be downloaded, the URL is blacklisted so the library won't keep trying. - * This flag disable this blacklisting. - */ - SDWebImageRetryFailed = 1 << 0, - /** - * By default, image downloads are started during UI interactions, this flags disable this feature, - * leading to delayed download on UIScrollView deceleration for instance. - */ - SDWebImageLowPriority = 1 << 1, - /** - * This flag disables on-disk caching - */ - SDWebImageCacheMemoryOnly = 1 << 2, - /** - * This flag enables progressive download, the image is displayed progressively during download as a browser would do. - * By default, the image is only displayed once completely downloaded. - */ - SDWebImageProgressiveDownload = 1 << 3, - /** - * Even if the image is cached, respect the HTTP response cache control, and refresh the image from remote location if needed. - * The disk caching will be handled by NSURLCache instead of SDWebImage leading to slight performance degradation. - * This option helps deal with images changing behind the same request URL, e.g. Facebook graph api profile pics. - * If a cached image is refreshed, the completion block is called once with the cached image and again with the final image. - * - * Use this flag only if you can't make your URLs static with embeded cache busting parameter. - */ - SDWebImageRefreshCached = 1 << 4 -} SDWebImageOptions; - -typedef void(^SDWebImageCompletedBlock)(UIImage *image, NSError *error, SDImageCacheType cacheType); -typedef void(^SDWebImageCompletedWithFinishedBlock)(UIImage *image, NSError *error, SDImageCacheType cacheType, BOOL finished); - - -@class SDWebImageManager; - -@protocol SDWebImageManagerDelegate - -@optional - -/** - * Controls which image should be downloaded when the image is not found in the cache. - * - * @param imageManager The current `SDWebImageManager` - * @param imageURL The url of the image to be downloaded - * - * @return Return NO to prevent the downloading of the image on cache misses. If not implemented, YES is implied. - */ -- (BOOL)imageManager:(SDWebImageManager *)imageManager shouldDownloadImageForURL:(NSURL *)imageURL; - -/** - * Allows to transform the image immediately after it has been downloaded and just before to cache it on disk and memory. - * NOTE: This method is called from a global queue in order to not to block the main thread. - * - * @param imageManager The current `SDWebImageManager` - * @param image The image to transform - * @param imageURL The url of the image to transform - * - * @return The transformed image object. - */ -- (UIImage *)imageManager:(SDWebImageManager *)imageManager transformDownloadedImage:(UIImage *)image withURL:(NSURL *)imageURL; - -@end - -/** - * The SDWebImageManager is the class behind the UIImageView+WebCache category and likes. - * It ties the asynchronous downloader (SDWebImageDownloader) with the image cache store (SDImageCache). - * You can use this class directly to benefit from web image downloading with caching in another context than - * a UIView. - * - * Here is a simple example of how to use SDWebImageManager: - * - * SDWebImageManager *manager = [SDWebImageManager sharedManager]; - * [manager downloadWithURL:imageURL - * delegate:self - * options:0 - * progress:nil - * completed:^(UIImage *image, NSError *error, BOOL fromCache) - * { - * if (image) - * { - * // do something with image - * } - * }]; - */ -@interface SDWebImageManager : NSObject - -@property (weak, nonatomic) id delegate; - -@property (strong, nonatomic, readonly) SDImageCache *imageCache; -@property (strong, nonatomic, readonly) SDWebImageDownloader *imageDownloader; - -/** - * The cache filter is a block used each time SDWebImageManager need to convert an URL into a cache key. This can - * be used to remove dynamic part of an image URL. - * - * The following example sets a filter in the application delegate that will remove any query-string from the - * URL before to use it as a cache key: - * - * [[SDWebImageManager sharedManager] setCacheKeyFilter:^(NSURL *url) - * { - * url = [[NSURL alloc] initWithScheme:url.scheme host:url.host path:url.path]; - * return [url absoluteString]; - * }]; - */ -@property (strong) NSString *(^cacheKeyFilter)(NSURL *url); - -/** - * Returns global SDWebImageManager instance. - * - * @return SDWebImageManager shared instance - */ -+ (SDWebImageManager *)sharedManager; - -/** - * Downloads the image at the given URL if not present in cache or return the cached version otherwise. - * - * @param url The URL to the image - * @param delegate The delegate object used to send result back - * @param options A mask to specify options to use for this request - * @param progressBlock A block called while image is downloading - * @param completedBlock A block called when operation has been completed. - * - * This block as no return value and takes the requested UIImage as first parameter. - * In case of error the image parameter is nil and the second parameter may contain an NSError. - * - * The third parameter is a Boolean indicating if the image was retrived from the local cache - * of from the network. - * - * The last parameter is set to NO when the SDWebImageProgressiveDownload option is used and - * the image is downloading. This block is thus called repetidly with a partial image. When - * image is fully downloaded, the block is called a last time with the full image and the last - * parameter set to YES. - * - * @return Returns a cancellable NSOperation - */ -- (id)downloadWithURL:(NSURL *)url - options:(SDWebImageOptions)options - progress:(SDWebImageDownloaderProgressBlock)progressBlock - completed:(SDWebImageCompletedWithFinishedBlock)completedBlock; - -/** - * Cancel all current opreations - */ -- (void)cancelAll; - -/** - * Check one or more operations running - */ -- (BOOL)isRunning; - -@end diff --git a/RETableViewManagerExample/Pods/SDWebImage/SDWebImage/SDWebImageManager.m b/RETableViewManagerExample/Pods/SDWebImage/SDWebImage/SDWebImageManager.m deleted file mode 100644 index c7fee6a..0000000 --- a/RETableViewManagerExample/Pods/SDWebImage/SDWebImage/SDWebImageManager.m +++ /dev/null @@ -1,244 +0,0 @@ -/* - * This file is part of the SDWebImage package. - * (c) Olivier Poitrey - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -#import "SDWebImageManager.h" -#import - -@interface SDWebImageCombinedOperation : NSObject - -@property (assign, nonatomic, getter = isCancelled) BOOL cancelled; -@property (copy, nonatomic) void (^cancelBlock)(); - -@end - -@interface SDWebImageManager () - -@property (strong, nonatomic, readwrite) SDImageCache *imageCache; -@property (strong, nonatomic, readwrite) SDWebImageDownloader *imageDownloader; -@property (strong, nonatomic) NSMutableArray *failedURLs; -@property (strong, nonatomic) NSMutableArray *runningOperations; - -@end - -@implementation SDWebImageManager - -+ (id)sharedManager -{ - static dispatch_once_t once; - static id instance; - dispatch_once(&once, ^{instance = self.new;}); - return instance; -} - -- (id)init -{ - if ((self = [super init])) - { - _imageCache = [SDImageCache sharedImageCache]; - _imageDownloader = SDWebImageDownloader.new; - _failedURLs = NSMutableArray.new; - _runningOperations = NSMutableArray.new; - } - return self; -} - - -- (NSString *)cacheKeyForURL:(NSURL *)url -{ - if (self.cacheKeyFilter) - { - return self.cacheKeyFilter(url); - } - else - { - return [url absoluteString]; - } -} - -- (id)downloadWithURL:(NSURL *)url options:(SDWebImageOptions)options progress:(SDWebImageDownloaderProgressBlock)progressBlock completed:(SDWebImageCompletedWithFinishedBlock)completedBlock -{ - // Very common mistake is to send the URL using NSString object instead of NSURL. For some strange reason, XCode won't - // throw any warning for this type mismatch. Here we failsafe this error by allowing URLs to be passed as NSString. - if ([url isKindOfClass:NSString.class]) - { - url = [NSURL URLWithString:(NSString *)url]; - } - - // Prevents app crashing on argument type error like sending NSNull instead of NSURL - if (![url isKindOfClass:NSURL.class]) - { - url = nil; - } - - __block SDWebImageCombinedOperation *operation = SDWebImageCombinedOperation.new; - __weak SDWebImageCombinedOperation *weakOperation = operation; - - if (!url || !completedBlock || (!(options & SDWebImageRetryFailed) && [self.failedURLs containsObject:url])) - { - if (completedBlock) completedBlock(nil, nil, SDImageCacheTypeNone, NO); - return operation; - } - - @synchronized(self.runningOperations) - { - [self.runningOperations addObject:operation]; - } - NSString *key = [self cacheKeyForURL:url]; - - [self.imageCache queryDiskCacheForKey:key done:^(UIImage *image, SDImageCacheType cacheType) - { - if (operation.isCancelled) return; - - if ((!image || options & SDWebImageRefreshCached) && (![self.delegate respondsToSelector:@selector(imageManager:shouldDownloadImageForURL:)] || [self.delegate imageManager:self shouldDownloadImageForURL:url])) - { - if (image && options & SDWebImageRefreshCached) - { - // If image was found in the cache bug SDWebImageRefreshCached is provided, notify about the cached image - // AND try to re-download it in order to let a chance to NSURLCache to refresh it from server. - completedBlock(image, nil, cacheType, YES); - } - - // download if no image or requested to refresh anyway, and download allowed by delegate - SDWebImageDownloaderOptions downloaderOptions = 0; - if (options & SDWebImageLowPriority) downloaderOptions |= SDWebImageDownloaderLowPriority; - if (options & SDWebImageProgressiveDownload) downloaderOptions |= SDWebImageDownloaderProgressiveDownload; - if (options & SDWebImageRefreshCached) downloaderOptions |= SDWebImageDownloaderUseNSURLCache; - if (image && options & SDWebImageRefreshCached) - { - // force progressive off if image already cached but forced refreshing - downloaderOptions &= ~SDWebImageDownloaderProgressiveDownload; - // ignore image read from NSURLCache if image if cached but force refreshing - downloaderOptions |= SDWebImageDownloaderIgnoreCachedResponse; - } - __block id subOperation = [self.imageDownloader downloadImageWithURL:url options:downloaderOptions progress:progressBlock completed:^(UIImage *downloadedImage, NSData *data, NSError *error, BOOL finished) - { - if (weakOperation.cancelled) - { - completedBlock(nil, nil, SDImageCacheTypeNone, finished); - } - else if (error) - { - completedBlock(nil, error, SDImageCacheTypeNone, finished); - - if (error.code != NSURLErrorNotConnectedToInternet) - { - @synchronized(self.failedURLs) - { - [self.failedURLs addObject:url]; - } - } - } - else - { - BOOL cacheOnDisk = !(options & SDWebImageCacheMemoryOnly); - - if (options & SDWebImageRefreshCached && image && !downloadedImage) - { - // Image refresh hit the NSURLCache cache, do not call the completion block - } - else if (downloadedImage && [self.delegate respondsToSelector:@selector(imageManager:transformDownloadedImage:withURL:)]) - { - dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_HIGH, 0), ^ - { - UIImage *transformedImage = [self.delegate imageManager:self transformDownloadedImage:downloadedImage withURL:url]; - - dispatch_async(dispatch_get_main_queue(), ^ - { - completedBlock(transformedImage, nil, SDImageCacheTypeNone, finished); - }); - - if (transformedImage && finished) - { - [self.imageCache storeImage:transformedImage imageData:nil forKey:key toDisk:cacheOnDisk]; - } - }); - } - else - { - completedBlock(downloadedImage, nil, SDImageCacheTypeNone, finished); - - if (downloadedImage && finished) - { - [self.imageCache storeImage:downloadedImage imageData:data forKey:key toDisk:cacheOnDisk]; - } - } - } - - if (finished) - { - @synchronized(self.runningOperations) - { - [self.runningOperations removeObject:operation]; - } - } - }]; - operation.cancelBlock = ^{[subOperation cancel];}; - } - else if (image) - { - completedBlock(image, nil, cacheType, YES); - @synchronized(self.runningOperations) - { - [self.runningOperations removeObject:operation]; - } - } - else - { - // Image not in cache and download disallowed by delegate - completedBlock(nil, nil, SDImageCacheTypeNone, YES); - @synchronized(self.runningOperations) - { - [self.runningOperations removeObject:operation]; - } - } - }]; - - return operation; -} - -- (void)cancelAll -{ - @synchronized(self.runningOperations) - { - [self.runningOperations makeObjectsPerformSelector:@selector(cancel)]; - [self.runningOperations removeAllObjects]; - } -} - -- (BOOL)isRunning -{ - return self.runningOperations.count > 0; -} - -@end - -@implementation SDWebImageCombinedOperation - -- (void)setCancelBlock:(void (^)())cancelBlock -{ - if (self.isCancelled) - { - if (cancelBlock) cancelBlock(); - } - else - { - _cancelBlock = [cancelBlock copy]; - } -} - -- (void)cancel -{ - self.cancelled = YES; - if (self.cancelBlock) - { - self.cancelBlock(); - self.cancelBlock = nil; - } -} - -@end diff --git a/RETableViewManagerExample/Pods/SDWebImage/SDWebImage/SDWebImageOperation.h b/RETableViewManagerExample/Pods/SDWebImage/SDWebImage/SDWebImageOperation.h deleted file mode 100644 index 71094ee..0000000 --- a/RETableViewManagerExample/Pods/SDWebImage/SDWebImage/SDWebImageOperation.h +++ /dev/null @@ -1,15 +0,0 @@ -/* - * This file is part of the SDWebImage package. - * (c) Olivier Poitrey - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -#import - -@protocol SDWebImageOperation - -- (void)cancel; - -@end diff --git a/RETableViewManagerExample/Pods/SDWebImage/SDWebImage/SDWebImagePrefetcher.h b/RETableViewManagerExample/Pods/SDWebImage/SDWebImage/SDWebImagePrefetcher.h deleted file mode 100644 index 7695f57..0000000 --- a/RETableViewManagerExample/Pods/SDWebImage/SDWebImage/SDWebImagePrefetcher.h +++ /dev/null @@ -1,58 +0,0 @@ -/* - * This file is part of the SDWebImage package. - * (c) Olivier Poitrey - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -#import -#import "SDWebImageManager.h" - -/** - * Prefetch some URLs in the cache for future use. Images are downloaded in low priority. - */ -@interface SDWebImagePrefetcher : NSObject - -/** - * Maximum number of URLs to prefetch at the same time. Defaults to 3. - */ -@property (nonatomic, assign) NSUInteger maxConcurrentDownloads; - -/** - * SDWebImageOptions for prefetcher. Defaults to SDWebImageLowPriority. - */ -@property (nonatomic, assign) SDWebImageOptions options; - - -/** - * Return the global image prefetcher instance. - */ -+ (SDWebImagePrefetcher *)sharedImagePrefetcher; - -/** - * Assign list of URLs to let SDWebImagePrefetcher to queue the prefetching, - * currently one image is downloaded at a time, - * and skips images for failed downloads and proceed to the next image in the list - * - * @param urls list of URLs to prefetch - */ -- (void)prefetchURLs:(NSArray *)urls; - -/** - * Assign list of URLs to let SDWebImagePrefetcher to queue the prefetching, - * currently one image is downloaded at a time, - * and skips images for failed downloads and proceed to the next image in the list - * - * @param urls list of URLs to prefetch - * @param completionBlock block to be called when prefetching is completed - */ -- (void)prefetchURLs:(NSArray *)urls completed:(void (^)(NSUInteger finishedCount, NSUInteger skippedCount))completionBlock; - -/** - * Remove and cancel queued list - */ -- (void)cancelPrefetching; - - -@end diff --git a/RETableViewManagerExample/Pods/SDWebImage/SDWebImage/SDWebImagePrefetcher.m b/RETableViewManagerExample/Pods/SDWebImage/SDWebImage/SDWebImagePrefetcher.m deleted file mode 100644 index e1c188c..0000000 --- a/RETableViewManagerExample/Pods/SDWebImage/SDWebImage/SDWebImagePrefetcher.m +++ /dev/null @@ -1,127 +0,0 @@ -/* - * This file is part of the SDWebImage package. - * (c) Olivier Poitrey - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -#import "SDWebImagePrefetcher.h" -#import "SDWebImageManager.h" - -@interface SDWebImagePrefetcher () - -@property (strong, nonatomic) SDWebImageManager *manager; -@property (strong, nonatomic) NSArray *prefetchURLs; -@property (assign, nonatomic) NSUInteger requestedCount; -@property (assign, nonatomic) NSUInteger skippedCount; -@property (assign, nonatomic) NSUInteger finishedCount; -@property (assign, nonatomic) NSTimeInterval startedTime; -@property (SDDispatchQueueSetterSementics, nonatomic) void (^completionBlock)(NSUInteger, NSUInteger); - -@end - -@implementation SDWebImagePrefetcher - -+ (SDWebImagePrefetcher *)sharedImagePrefetcher -{ - static dispatch_once_t once; - static id instance; - dispatch_once(&once, ^{instance = self.new;}); - return instance; -} - -- (id)init -{ - if ((self = [super init])) - { - _manager = SDWebImageManager.new; - _options = SDWebImageLowPriority; - self.maxConcurrentDownloads = 3; - } - return self; -} - -- (void)setMaxConcurrentDownloads:(NSUInteger)maxConcurrentDownloads -{ - self.manager.imageDownloader.maxConcurrentDownloads = maxConcurrentDownloads; -} - -- (NSUInteger)maxConcurrentDownloads -{ - return self.manager.imageDownloader.maxConcurrentDownloads; -} - -- (void)startPrefetchingAtIndex:(NSUInteger)index -{ - if (index >= self.prefetchURLs.count) return; - self.requestedCount++; - [self.manager downloadWithURL:self.prefetchURLs[index] options:self.options progress:nil completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, BOOL finished) - { - if (!finished) return; - self.finishedCount++; - - if (image) - { - NSLog(@"Prefetched %d out of %d", self.finishedCount, self.prefetchURLs.count); - } - else - { - NSLog(@"Prefetched %d out of %d (Failed)", self.finishedCount, [self.prefetchURLs count]); - - // Add last failed - self.skippedCount++; - } - - if (self.prefetchURLs.count > self.requestedCount) - { - [self startPrefetchingAtIndex:self.requestedCount]; - } - else if (self.finishedCount == self.requestedCount) - { - [self reportStatus]; - if (self.completionBlock) - { - self.completionBlock(self.finishedCount, self.skippedCount); - self.completionBlock = nil; - } - } - }]; -} - -- (void)reportStatus -{ - NSUInteger total = [self.prefetchURLs count]; - NSLog(@"Finished prefetching (%d successful, %d skipped, timeElasped %.2f)", total - self.skippedCount, self.skippedCount, CFAbsoluteTimeGetCurrent() - self.startedTime); -} - -- (void)prefetchURLs:(NSArray *)urls -{ - [self prefetchURLs:urls completed:nil]; -} - -- (void)prefetchURLs:(NSArray *)urls completed:(void (^)(NSUInteger, NSUInteger))completionBlock -{ - [self cancelPrefetching]; // Prevent duplicate prefetch request - self.startedTime = CFAbsoluteTimeGetCurrent(); - self.prefetchURLs = urls; - self.completionBlock = completionBlock; - - // Starts prefetching from the very first image on the list with the max allowed concurrency - NSUInteger listCount = self.prefetchURLs.count; - for (NSUInteger i = 0; i < self.maxConcurrentDownloads && self.requestedCount < listCount; i++) - { - [self startPrefetchingAtIndex:i]; - } -} - -- (void)cancelPrefetching -{ - self.prefetchURLs = nil; - self.skippedCount = 0; - self.requestedCount = 0; - self.finishedCount = 0; - [self.manager cancelAll]; -} - -@end diff --git a/RETableViewManagerExample/Pods/SDWebImage/SDWebImage/UIButton+WebCache.h b/RETableViewManagerExample/Pods/SDWebImage/SDWebImage/UIButton+WebCache.h deleted file mode 100644 index 2b3348e..0000000 --- a/RETableViewManagerExample/Pods/SDWebImage/SDWebImage/UIButton+WebCache.h +++ /dev/null @@ -1,173 +0,0 @@ -/* - * This file is part of the SDWebImage package. - * (c) Olivier Poitrey - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -#import "SDWebImageCompat.h" -#import "SDWebImageManager.h" - -/** - * Integrates SDWebImage async downloading and caching of remote images with UIButtonView. - */ -@interface UIButton (WebCache) - -/** - * Set the imageView `image` with an `url`. - * - * The downloand is asynchronous and cached. - * - * @param url The url for the image. - * @param state The state that uses the specified title. The values are described in UIControlState. - */ -- (void)setImageWithURL:(NSURL *)url forState:(UIControlState)state; - -/** - * Set the imageView `image` with an `url` and a placeholder. - * - * The downloand is asynchronous and cached. - * - * @param url The url for the image. - * @param state The state that uses the specified title. The values are described in UIControlState. - * @param placeholder The image to be set initially, until the image request finishes. - * @see setImageWithURL:placeholderImage:options: - */ -- (void)setImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder; - -/** - * Set the imageView `image` with an `url`, placeholder and custom options. - * - * The downloand is asynchronous and cached. - * - * @param url The url for the image. - * @param state The state that uses the specified title. The values are described in UIControlState. - * @param placeholder The image to be set initially, until the image request finishes. - * @param options The options to use when downloading the image. @see SDWebImageOptions for the possible values. - */ -- (void)setImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options; - -/** - * Set the imageView `image` with an `url`. - * - * The downloand is asynchronous and cached. - * - * @param url The url for the image. - * @param state The state that uses the specified title. The values are described in UIControlState. - * @param completedBlock A block called when operation has been completed. This block as no return value - * and takes the requested UIImage as first parameter. In case of error the image parameter - * is nil and the second parameter may contain an NSError. The third parameter is a Boolean - * indicating if the image was retrived from the local cache of from the network. - */ -- (void)setImageWithURL:(NSURL *)url forState:(UIControlState)state completed:(SDWebImageCompletedBlock)completedBlock; - -/** - * Set the imageView `image` with an `url`, placeholder. - * - * The downloand is asynchronous and cached. - * - * @param url The url for the image. - * @param state The state that uses the specified title. The values are described in UIControlState. - * @param placeholder The image to be set initially, until the image request finishes. - * @param completedBlock A block called when operation has been completed. This block as no return value - * and takes the requested UIImage as first parameter. In case of error the image parameter - * is nil and the second parameter may contain an NSError. The third parameter is a Boolean - * indicating if the image was retrived from the local cache of from the network. - */ -- (void)setImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder completed:(SDWebImageCompletedBlock)completedBlock; - -/** - * Set the imageView `image` with an `url`, placeholder and custom options. - * - * The downloand is asynchronous and cached. - * - * @param url The url for the image. - * @param state The state that uses the specified title. The values are described in UIControlState. - * @param placeholder The image to be set initially, until the image request finishes. - * @param options The options to use when downloading the image. @see SDWebImageOptions for the possible values. - * @param completedBlock A block called when operation has been completed. This block as no return value - * and takes the requested UIImage as first parameter. In case of error the image parameter - * is nil and the second parameter may contain an NSError. The third parameter is a Boolean - * indicating if the image was retrived from the local cache of from the network. - */ -- (void)setImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options completed:(SDWebImageCompletedBlock)completedBlock; - -/** - * Set the backgroundImageView `image` with an `url`. - * - * The downloand is asynchronous and cached. - * - * @param url The url for the image. - * @param state The state that uses the specified title. The values are described in UIControlState. - */ -- (void)setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state; - -/** - * Set the backgroundImageView `image` with an `url` and a placeholder. - * - * The downloand is asynchronous and cached. - * - * @param url The url for the image. - * @param state The state that uses the specified title. The values are described in UIControlState. - * @param placeholder The image to be set initially, until the image request finishes. - * @see setImageWithURL:placeholderImage:options: - */ -- (void)setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder; - -/** - * Set the backgroundImageView `image` with an `url`, placeholder and custom options. - * - * The downloand is asynchronous and cached. - * - * @param url The url for the image. - * @param state The state that uses the specified title. The values are described in UIControlState. - * @param placeholder The image to be set initially, until the image request finishes. - * @param options The options to use when downloading the image. @see SDWebImageOptions for the possible values. - */ -- (void)setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options; - -/** - * Set the backgroundImageView `image` with an `url`. - * - * The downloand is asynchronous and cached. - * - * @param url The url for the image. - * @param state The state that uses the specified title. The values are described in UIControlState. - * @param success A block to be executed when the image request succeed This block has no return value and takes the retrieved image as argument. - * @param failure A block object to be executed when the image request failed. This block has no return value and takes the error object describing the network or parsing error that occurred (may be nil). - */ -- (void)setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state completed:(SDWebImageCompletedBlock)completedBlock; - -/** - * Set the backgroundImageView `image` with an `url`, placeholder. - * - * The downloand is asynchronous and cached. - * - * @param url The url for the image. - * @param state The state that uses the specified title. The values are described in UIControlState. - * @param placeholder The image to be set initially, until the image request finishes. - * @param success A block to be executed when the image request succeed This block has no return value and takes the retrieved image as argument. - * @param failure A block object to be executed when the image request failed. This block has no return value and takes the error object describing the network or parsing error that occurred (may be nil). - */ -- (void)setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder completed:(SDWebImageCompletedBlock)completedBlock; - -/** - * Set the backgroundImageView `image` with an `url`, placeholder and custom options. - * - * The downloand is asynchronous and cached. - * - * @param url The url for the image. - * @param placeholder The image to be set initially, until the image request finishes. - * @param options The options to use when downloading the image. @see SDWebImageOptions for the possible values. - * @param success A block to be executed when the image request succeed This block has no return value and takes the retrieved image as argument. - * @param failure A block object to be executed when the image request failed. This block has no return value and takes the error object describing the network or parsing error that occurred (may be nil). - */ -- (void)setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options completed:(SDWebImageCompletedBlock)completedBlock; - -/** - * Cancel the current download - */ -- (void)cancelCurrentImageLoad; - -@end diff --git a/RETableViewManagerExample/Pods/SDWebImage/SDWebImage/UIButton+WebCache.m b/RETableViewManagerExample/Pods/SDWebImage/SDWebImage/UIButton+WebCache.m deleted file mode 100644 index 53c99a5..0000000 --- a/RETableViewManagerExample/Pods/SDWebImage/SDWebImage/UIButton+WebCache.m +++ /dev/null @@ -1,129 +0,0 @@ -/* - * This file is part of the SDWebImage package. - * (c) Olivier Poitrey - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -#import "UIButton+WebCache.h" -#import "objc/runtime.h" - -static char operationKey; - -@implementation UIButton (WebCache) - -- (void)setImageWithURL:(NSURL *)url forState:(UIControlState)state -{ - [self setImageWithURL:url forState:state placeholderImage:nil options:0 completed:nil]; -} - -- (void)setImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder -{ - [self setImageWithURL:url forState:state placeholderImage:placeholder options:0 completed:nil]; -} - -- (void)setImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options -{ - [self setImageWithURL:url forState:state placeholderImage:placeholder options:options completed:nil]; -} - -- (void)setImageWithURL:(NSURL *)url forState:(UIControlState)state completed:(SDWebImageCompletedBlock)completedBlock -{ - [self setImageWithURL:url forState:state placeholderImage:nil options:0 completed:completedBlock]; -} -- (void)setImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder completed:(SDWebImageCompletedBlock)completedBlock -{ - [self setImageWithURL:url forState:state placeholderImage:placeholder options:0 completed:completedBlock]; -} - -- (void)setImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options completed:(SDWebImageCompletedBlock)completedBlock -{ - [self cancelCurrentImageLoad]; - - [self setImage:placeholder forState:state]; - - if (url) - { - __weak UIButton *wself = self; - id operation = [SDWebImageManager.sharedManager downloadWithURL:url options:options progress:nil completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, BOOL finished) - { - __strong UIButton *sself = wself; - if (!sself) return; - if (image) - { - [sself setImage:image forState:state]; - } - if (completedBlock && finished) - { - completedBlock(image, error, cacheType); - } - }]; - objc_setAssociatedObject(self, &operationKey, operation, OBJC_ASSOCIATION_RETAIN_NONATOMIC); - } -} - -- (void)setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state -{ - [self setBackgroundImageWithURL:url forState:state placeholderImage:nil options:0 completed:nil]; -} - -- (void)setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder -{ - [self setBackgroundImageWithURL:url forState:state placeholderImage:placeholder options:0 completed:nil]; -} - -- (void)setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options -{ - [self setBackgroundImageWithURL:url forState:state placeholderImage:placeholder options:options completed:nil]; -} - -- (void)setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state completed:(SDWebImageCompletedBlock)completedBlock -{ - [self setBackgroundImageWithURL:url forState:state placeholderImage:nil options:0 completed:completedBlock]; -} - -- (void)setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder completed:(SDWebImageCompletedBlock)completedBlock -{ - [self setBackgroundImageWithURL:url forState:state placeholderImage:placeholder options:0 completed:completedBlock]; -} - -- (void)setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options completed:(SDWebImageCompletedBlock)completedBlock -{ - [self cancelCurrentImageLoad]; - - [self setBackgroundImage:placeholder forState:state]; - - if (url) - { - __weak UIButton *wself = self; - id operation = [SDWebImageManager.sharedManager downloadWithURL:url options:options progress:nil completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, BOOL finished) - { - __strong UIButton *sself = wself; - if (!sself) return; - if (image) - { - [sself setBackgroundImage:image forState:state]; - } - if (completedBlock && finished) - { - completedBlock(image, error, cacheType); - } - }]; - objc_setAssociatedObject(self, &operationKey, operation, OBJC_ASSOCIATION_RETAIN_NONATOMIC); - } -} - - -- (void)cancelCurrentImageLoad -{ - // Cancel in progress downloader from queue - id operation = objc_getAssociatedObject(self, &operationKey); - if (operation) - { - [operation cancel]; - objc_setAssociatedObject(self, &operationKey, nil, OBJC_ASSOCIATION_RETAIN_NONATOMIC); - } -} - -@end diff --git a/RETableViewManagerExample/Pods/SDWebImage/SDWebImage/UIImageView+WebCache.h b/RETableViewManagerExample/Pods/SDWebImage/SDWebImage/UIImageView+WebCache.h deleted file mode 100644 index ed6427a..0000000 --- a/RETableViewManagerExample/Pods/SDWebImage/SDWebImage/UIImageView+WebCache.h +++ /dev/null @@ -1,140 +0,0 @@ -/* - * This file is part of the SDWebImage package. - * (c) Olivier Poitrey - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -#import "SDWebImageCompat.h" -#import "SDWebImageManager.h" - -/** - * Integrates SDWebImage async downloading and caching of remote images with UIImageView. - * - * Usage with a UITableViewCell sub-class: - * - * #import - * - * ... - * - * - (UITableViewCell *)tableView:(UITableView *)tableView - * cellForRowAtIndexPath:(NSIndexPath *)indexPath - * { - * static NSString *MyIdentifier = @"MyIdentifier"; - * - * UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:MyIdentifier]; - * - * if (cell == nil) - * { - * cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault - * reuseIdentifier:MyIdentifier] autorelease]; - * } - * - * // Here we use the provided setImageWithURL: method to load the web image - * // Ensure you use a placeholder image otherwise cells will be initialized with no image - * [cell.imageView setImageWithURL:[NSURL URLWithString:@"http://example.com/image.jpg"] - * placeholderImage:[UIImage imageNamed:@"placeholder"]]; - * - * cell.textLabel.text = @"My Text"; - * return cell; - * } - * - */ -@interface UIImageView (WebCache) - -/** - * Set the imageView `image` with an `url`. - * - * The downloand is asynchronous and cached. - * - * @param url The url for the image. - */ -- (void)setImageWithURL:(NSURL *)url; - -/** - * Set the imageView `image` with an `url` and a placeholder. - * - * The downloand is asynchronous and cached. - * - * @param url The url for the image. - * @param placeholder The image to be set initially, until the image request finishes. - * @see setImageWithURL:placeholderImage:options: - */ -- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder; - -/** - * Set the imageView `image` with an `url`, placeholder and custom options. - * - * The downloand is asynchronous and cached. - * - * @param url The url for the image. - * @param placeholder The image to be set initially, until the image request finishes. - * @param options The options to use when downloading the image. @see SDWebImageOptions for the possible values. - */ -- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options; - -/** - * Set the imageView `image` with an `url`. - * - * The downloand is asynchronous and cached. - * - * @param url The url for the image. - * @param completedBlock A block called when operation has been completed. This block as no return value - * and takes the requested UIImage as first parameter. In case of error the image parameter - * is nil and the second parameter may contain an NSError. The third parameter is a Boolean - * indicating if the image was retrived from the local cache of from the network. - */ -- (void)setImageWithURL:(NSURL *)url completed:(SDWebImageCompletedBlock)completedBlock; - -/** - * Set the imageView `image` with an `url`, placeholder. - * - * The downloand is asynchronous and cached. - * - * @param url The url for the image. - * @param placeholder The image to be set initially, until the image request finishes. - * @param completedBlock A block called when operation has been completed. This block as no return value - * and takes the requested UIImage as first parameter. In case of error the image parameter - * is nil and the second parameter may contain an NSError. The third parameter is a Boolean - * indicating if the image was retrived from the local cache of from the network. - */ -- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder completed:(SDWebImageCompletedBlock)completedBlock; - -/** - * Set the imageView `image` with an `url`, placeholder and custom options. - * - * The downloand is asynchronous and cached. - * - * @param url The url for the image. - * @param placeholder The image to be set initially, until the image request finishes. - * @param options The options to use when downloading the image. @see SDWebImageOptions for the possible values. - * @param completedBlock A block called when operation has been completed. This block as no return value - * and takes the requested UIImage as first parameter. In case of error the image parameter - * is nil and the second parameter may contain an NSError. The third parameter is a Boolean - * indicating if the image was retrived from the local cache of from the network. - */ -- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options completed:(SDWebImageCompletedBlock)completedBlock; - -/** - * Set the imageView `image` with an `url`, placeholder and custom options. - * - * The downloand is asynchronous and cached. - * - * @param url The url for the image. - * @param placeholder The image to be set initially, until the image request finishes. - * @param options The options to use when downloading the image. @see SDWebImageOptions for the possible values. - * @param progressBlock A block called while image is downloading - * @param completedBlock A block called when operation has been completed. This block as no return value - * and takes the requested UIImage as first parameter. In case of error the image parameter - * is nil and the second parameter may contain an NSError. The third parameter is a Boolean - * indicating if the image was retrived from the local cache of from the network. - */ -- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options progress:(SDWebImageDownloaderProgressBlock)progressBlock completed:(SDWebImageCompletedBlock)completedBlock; - -/** - * Cancel the current download - */ -- (void)cancelCurrentImageLoad; - -@end diff --git a/RETableViewManagerExample/Pods/SDWebImage/SDWebImage/UIImageView+WebCache.m b/RETableViewManagerExample/Pods/SDWebImage/SDWebImage/UIImageView+WebCache.m deleted file mode 100644 index 01eab54..0000000 --- a/RETableViewManagerExample/Pods/SDWebImage/SDWebImage/UIImageView+WebCache.m +++ /dev/null @@ -1,84 +0,0 @@ -/* - * This file is part of the SDWebImage package. - * (c) Olivier Poitrey - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -#import "UIImageView+WebCache.h" -#import "objc/runtime.h" - -static char operationKey; - -@implementation UIImageView (WebCache) - -- (void)setImageWithURL:(NSURL *)url -{ - [self setImageWithURL:url placeholderImage:nil options:0 progress:nil completed:nil]; -} - -- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder -{ - [self setImageWithURL:url placeholderImage:placeholder options:0 progress:nil completed:nil]; -} - -- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options -{ - [self setImageWithURL:url placeholderImage:placeholder options:options progress:nil completed:nil]; -} - -- (void)setImageWithURL:(NSURL *)url completed:(SDWebImageCompletedBlock)completedBlock -{ - [self setImageWithURL:url placeholderImage:nil options:0 progress:nil completed:completedBlock]; -} - -- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder completed:(SDWebImageCompletedBlock)completedBlock -{ - [self setImageWithURL:url placeholderImage:placeholder options:0 progress:nil completed:completedBlock]; -} - -- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options completed:(SDWebImageCompletedBlock)completedBlock -{ - [self setImageWithURL:url placeholderImage:placeholder options:options progress:nil completed:completedBlock]; -} - -- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options progress:(SDWebImageDownloaderProgressBlock)progressBlock completed:(SDWebImageCompletedBlock)completedBlock; -{ - [self cancelCurrentImageLoad]; - - self.image = placeholder; - - if (url) - { - __weak UIImageView *wself = self; - id operation = [SDWebImageManager.sharedManager downloadWithURL:url options:options progress:progressBlock completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, BOOL finished) - { - __strong UIImageView *sself = wself; - if (!sself) return; - if (image) - { - sself.image = image; - [sself setNeedsLayout]; - } - if (completedBlock && finished) - { - completedBlock(image, error, cacheType); - } - }]; - objc_setAssociatedObject(self, &operationKey, operation, OBJC_ASSOCIATION_RETAIN_NONATOMIC); - } -} - -- (void)cancelCurrentImageLoad -{ - // Cancel in progress downloader from queue - id operation = objc_getAssociatedObject(self, &operationKey); - if (operation) - { - [operation cancel]; - objc_setAssociatedObject(self, &operationKey, nil, OBJC_ASSOCIATION_RETAIN_NONATOMIC); - } -} - -@end diff --git a/RETableViewManagerExample/RETableViewManagerExample.xcodeproj/project.pbxproj b/RETableViewManagerExample/RETableViewManagerExample.xcodeproj/project.pbxproj index d51ac6d..8bcb44c 100644 --- a/RETableViewManagerExample/RETableViewManagerExample.xcodeproj/project.pbxproj +++ b/RETableViewManagerExample/RETableViewManagerExample.xcodeproj/project.pbxproj @@ -20,6 +20,19 @@ 302D2155170B25D90085654F /* ListHeaderView.m in Sources */ = {isa = PBXBuildFile; fileRef = 302D2154170B25D90085654F /* ListHeaderView.m */; }; 302D2160170B27BD0085654F /* ListImageItem.m in Sources */ = {isa = PBXBuildFile; fileRef = 302D215F170B27BD0085654F /* ListImageItem.m */; }; 302D2163170B27ED0085654F /* ListImageCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 302D2162170B27ED0085654F /* ListImageCell.m */; }; + 30939CE917949A10004D95A9 /* photo1.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 30939CDD17949A10004D95A9 /* photo1.jpg */; }; + 30939CEA17949A10004D95A9 /* photo2.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 30939CDE17949A10004D95A9 /* photo2.jpg */; }; + 30939CEB17949A10004D95A9 /* photo3.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 30939CDF17949A10004D95A9 /* photo3.jpg */; }; + 30939CEC17949A10004D95A9 /* photo4.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 30939CE017949A10004D95A9 /* photo4.jpg */; }; + 30939CED17949A10004D95A9 /* photo5.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 30939CE117949A10004D95A9 /* photo5.jpg */; }; + 30939CEE17949A10004D95A9 /* photo6.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 30939CE217949A10004D95A9 /* photo6.jpg */; }; + 30939CEF17949A10004D95A9 /* userpic1.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 30939CE317949A10004D95A9 /* userpic1.jpg */; }; + 30939CF017949A10004D95A9 /* userpic2.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 30939CE417949A10004D95A9 /* userpic2.jpg */; }; + 30939CF117949A10004D95A9 /* userpic3.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 30939CE517949A10004D95A9 /* userpic3.jpg */; }; + 30939CF217949A10004D95A9 /* userpic4.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 30939CE617949A10004D95A9 /* userpic4.jpg */; }; + 30939CF317949A10004D95A9 /* userpic5.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 30939CE717949A10004D95A9 /* userpic5.jpg */; }; + 30939CF417949A10004D95A9 /* userpic6.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 30939CE817949A10004D95A9 /* userpic6.jpg */; }; + 30939CF917949B2D004D95A9 /* REFormattedNumberField.m in Sources */ = {isa = PBXBuildFile; fileRef = 30939CF817949B2D004D95A9 /* REFormattedNumberField.m */; }; 30D208641718FFDE00144E46 /* REMultipleChoiceItem.m in Sources */ = {isa = PBXBuildFile; fileRef = 30D208631718FFDE00144E46 /* REMultipleChoiceItem.m */; }; 30D74554174EB4CA00D4C7C1 /* RETableViewOptionCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 30D74553174EB4C900D4C7C1 /* RETableViewOptionCell.m */; }; 30D9566C175E3C0200AB977E /* RetractableViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 30D9566B175E3C0200AB977E /* RetractableViewController.m */; }; @@ -60,7 +73,6 @@ 30FE4161176A32C300F317B8 /* Middle@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 30FE4158176A32C300F317B8 /* Middle@2x.png */; }; 30FE4162176A32C300F317B8 /* Single_Selected@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 30FE4159176A32C300F317B8 /* Single_Selected@2x.png */; }; 30FE4163176A32C300F317B8 /* Single@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 30FE415A176A32C300F317B8 /* Single@2x.png */; }; - E336F792A48A4E779EEA5AC0 /* libPods.a in Frameworks */ = {isa = PBXBuildFile; fileRef = ABAE09A51FA5498F94EE3798 /* libPods.a */; }; /* End PBXBuildFile section */ /* Begin PBXFileReference section */ @@ -90,6 +102,20 @@ 302D215F170B27BD0085654F /* ListImageItem.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ListImageItem.m; sourceTree = ""; }; 302D2161170B27ED0085654F /* ListImageCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ListImageCell.h; sourceTree = ""; }; 302D2162170B27ED0085654F /* ListImageCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ListImageCell.m; sourceTree = ""; }; + 30939CDD17949A10004D95A9 /* photo1.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = photo1.jpg; sourceTree = ""; }; + 30939CDE17949A10004D95A9 /* photo2.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = photo2.jpg; sourceTree = ""; }; + 30939CDF17949A10004D95A9 /* photo3.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = photo3.jpg; sourceTree = ""; }; + 30939CE017949A10004D95A9 /* photo4.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = photo4.jpg; sourceTree = ""; }; + 30939CE117949A10004D95A9 /* photo5.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = photo5.jpg; sourceTree = ""; }; + 30939CE217949A10004D95A9 /* photo6.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = photo6.jpg; sourceTree = ""; }; + 30939CE317949A10004D95A9 /* userpic1.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = userpic1.jpg; sourceTree = ""; }; + 30939CE417949A10004D95A9 /* userpic2.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = userpic2.jpg; sourceTree = ""; }; + 30939CE517949A10004D95A9 /* userpic3.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = userpic3.jpg; sourceTree = ""; }; + 30939CE617949A10004D95A9 /* userpic4.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = userpic4.jpg; sourceTree = ""; }; + 30939CE717949A10004D95A9 /* userpic5.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = userpic5.jpg; sourceTree = ""; }; + 30939CE817949A10004D95A9 /* userpic6.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = userpic6.jpg; sourceTree = ""; }; + 30939CF717949B2D004D95A9 /* REFormattedNumberField.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = REFormattedNumberField.h; sourceTree = ""; }; + 30939CF817949B2D004D95A9 /* REFormattedNumberField.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = REFormattedNumberField.m; sourceTree = ""; }; 30D208621718FFDE00144E46 /* REMultipleChoiceItem.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = REMultipleChoiceItem.h; sourceTree = ""; }; 30D208631718FFDE00144E46 /* REMultipleChoiceItem.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = REMultipleChoiceItem.m; sourceTree = ""; }; 30D74552174EB4C900D4C7C1 /* RETableViewOptionCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RETableViewOptionCell.h; sourceTree = ""; }; @@ -155,8 +181,6 @@ 30FE4158176A32C300F317B8 /* Middle@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "Middle@2x.png"; path = "Resources/Middle@2x.png"; sourceTree = ""; }; 30FE4159176A32C300F317B8 /* Single_Selected@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "Single_Selected@2x.png"; path = "Resources/Single_Selected@2x.png"; sourceTree = ""; }; 30FE415A176A32C300F317B8 /* Single@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "Single@2x.png"; path = "Resources/Single@2x.png"; sourceTree = ""; }; - A20B0252928045F5B81B21AF /* Pods.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = Pods.xcconfig; path = Pods/Pods.xcconfig; sourceTree = SOURCE_ROOT; }; - ABAE09A51FA5498F94EE3798 /* libPods.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libPods.a; sourceTree = BUILT_PRODUCTS_DIR; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -167,7 +191,6 @@ 30EF93B316E039B800B84981 /* UIKit.framework in Frameworks */, 30EF93B516E039B800B84981 /* Foundation.framework in Frameworks */, 30EF93B716E039B800B84981 /* CoreGraphics.framework in Frameworks */, - E336F792A48A4E779EEA5AC0 /* libPods.a in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -223,6 +246,42 @@ path = Models; sourceTree = ""; }; + 30939CDC17949A10004D95A9 /* Photos */ = { + isa = PBXGroup; + children = ( + 30939CDD17949A10004D95A9 /* photo1.jpg */, + 30939CDE17949A10004D95A9 /* photo2.jpg */, + 30939CDF17949A10004D95A9 /* photo3.jpg */, + 30939CE017949A10004D95A9 /* photo4.jpg */, + 30939CE117949A10004D95A9 /* photo5.jpg */, + 30939CE217949A10004D95A9 /* photo6.jpg */, + 30939CE317949A10004D95A9 /* userpic1.jpg */, + 30939CE417949A10004D95A9 /* userpic2.jpg */, + 30939CE517949A10004D95A9 /* userpic3.jpg */, + 30939CE617949A10004D95A9 /* userpic4.jpg */, + 30939CE717949A10004D95A9 /* userpic5.jpg */, + 30939CE817949A10004D95A9 /* userpic6.jpg */, + ); + path = Photos; + sourceTree = ""; + }; + 30939CF517949B2D004D95A9 /* Vendor */ = { + isa = PBXGroup; + children = ( + 30939CF617949B2D004D95A9 /* REFormattedNumberField */, + ); + path = Vendor; + sourceTree = SOURCE_ROOT; + }; + 30939CF617949B2D004D95A9 /* REFormattedNumberField */ = { + isa = PBXGroup; + children = ( + 30939CF717949B2D004D95A9 /* REFormattedNumberField.h */, + 30939CF817949B2D004D95A9 /* REFormattedNumberField.m */, + ); + path = REFormattedNumberField; + sourceTree = ""; + }; 30DB064616E934AD006C9530 /* RETableViewManager */ = { isa = PBXGroup; children = ( @@ -305,7 +364,6 @@ 30EF93B816E039B800B84981 /* RETableViewManagerExample */, 30EF93B116E039B800B84981 /* Frameworks */, 30EF93B016E039B800B84981 /* Products */, - A20B0252928045F5B81B21AF /* Pods.xcconfig */, ); sourceTree = ""; }; @@ -323,7 +381,6 @@ 30EF93B216E039B800B84981 /* UIKit.framework */, 30EF93B416E039B800B84981 /* Foundation.framework */, 30EF93B616E039B800B84981 /* CoreGraphics.framework */, - ABAE09A51FA5498F94EE3798 /* libPods.a */, ); name = Frameworks; sourceTree = ""; @@ -335,6 +392,7 @@ 30EF93C216E039B800B84981 /* AppDelegate.m */, 302D2147170B25B10085654F /* Classes */, 30EF93B916E039B800B84981 /* Supporting Files */, + 30939CF517949B2D004D95A9 /* Vendor */, ); path = RETableViewManagerExample; sourceTree = ""; @@ -342,6 +400,7 @@ 30EF93B916E039B800B84981 /* Supporting Files */ = { isa = PBXGroup; children = ( + 30939CDC17949A10004D95A9 /* Photos */, 30FE4152176A32C300F317B8 /* First_Selected@2x.png */, 30FE4153176A32C300F317B8 /* First@2x.png */, 30FE4154176A32C300F317B8 /* Last_Highlighted@2x.png */, @@ -372,7 +431,6 @@ 30EF93AB16E039B800B84981 /* Sources */, 30EF93AC16E039B800B84981 /* Frameworks */, 30EF93AD16E039B800B84981 /* Resources */, - A3C73B158834401688EF8E25 /* Copy Pods Resources */, ); buildRules = ( ); @@ -428,28 +486,23 @@ 30FE4161176A32C300F317B8 /* Middle@2x.png in Resources */, 30FE4162176A32C300F317B8 /* Single_Selected@2x.png in Resources */, 30FE4163176A32C300F317B8 /* Single@2x.png in Resources */, + 30939CE917949A10004D95A9 /* photo1.jpg in Resources */, + 30939CEA17949A10004D95A9 /* photo2.jpg in Resources */, + 30939CEB17949A10004D95A9 /* photo3.jpg in Resources */, + 30939CEC17949A10004D95A9 /* photo4.jpg in Resources */, + 30939CED17949A10004D95A9 /* photo5.jpg in Resources */, + 30939CEE17949A10004D95A9 /* photo6.jpg in Resources */, + 30939CEF17949A10004D95A9 /* userpic1.jpg in Resources */, + 30939CF017949A10004D95A9 /* userpic2.jpg in Resources */, + 30939CF117949A10004D95A9 /* userpic3.jpg in Resources */, + 30939CF217949A10004D95A9 /* userpic4.jpg in Resources */, + 30939CF317949A10004D95A9 /* userpic5.jpg in Resources */, + 30939CF417949A10004D95A9 /* userpic6.jpg in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXResourcesBuildPhase section */ -/* Begin PBXShellScriptBuildPhase section */ - A3C73B158834401688EF8E25 /* Copy Pods Resources */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "Copy Pods Resources"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Pods-resources.sh\"\n"; - }; -/* End PBXShellScriptBuildPhase section */ - /* Begin PBXSourcesBuildPhase section */ 30EF93AB16E039B800B84981 /* Sources */ = { isa = PBXSourcesBuildPhase; @@ -491,6 +544,7 @@ 30D74554174EB4CA00D4C7C1 /* RETableViewOptionCell.m in Sources */, 30D9566C175E3C0200AB977E /* RetractableViewController.m in Sources */, 30FE4147176A306600F317B8 /* StylingViewController.m in Sources */, + 30939CF917949B2D004D95A9 /* REFormattedNumberField.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -566,7 +620,6 @@ }; 30EF93CD16E039B800B84981 /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = A20B0252928045F5B81B21AF /* Pods.xcconfig */; buildSettings = { GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = "RETableViewManagerExample/RETableViewManagerExample-Prefix.pch"; @@ -580,7 +633,6 @@ }; 30EF93CE16E039B800B84981 /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = A20B0252928045F5B81B21AF /* Pods.xcconfig */; buildSettings = { GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = "RETableViewManagerExample/RETableViewManagerExample-Prefix.pch"; diff --git a/RETableViewManagerExample/RETableViewManagerExample/Classes/Controllers/ListViewController.m b/RETableViewManagerExample/RETableViewManagerExample/Classes/Controllers/ListViewController.m index a912d00..1b18683 100644 --- a/RETableViewManagerExample/RETableViewManagerExample/Classes/Controllers/ListViewController.m +++ b/RETableViewManagerExample/RETableViewManagerExample/Classes/Controllers/ListViewController.m @@ -53,43 +53,43 @@ - (void)addItems { NSArray *items = @[@{@"username": @"john", - @"userpic_url": @"http://uifaces.com/faces/_twitter/utroda_120.jpg", - @"image_url": @"http://distilleryimage10.instagram.com/09b742a2962611e2a84922000a1f8c0f_7.jpg"}, + @"userpic": @"userpic1.jpg", + @"image": @"photo1.jpg"}, @{@"username": @"mark", - @"userpic_url": @"http://uifaces.com/faces/_twitter/eldelentes_120.jpg", - @"image_url": @"http://distilleryimage2.s3.amazonaws.com/34e4fb8e91a011e2a47b22000a1f99e6_7.jpg"}, + @"userpic": @"userpic2.jpg", + @"image": @"photo2.jpg"}, @{@"username": @"william", - @"userpic_url": @"http://uifaces.com/faces/_twitter/daniel_love_120.jpg", - @"image_url": @"http://distilleryimage2.ak.instagram.com/9ab3ff16b59911e1b00112313800c5e4_7.jpg"}, + @"userpic": @"userpic3.jpg", + @"image": @"photo3.jpg"}, @{@"username": @"gretchen", - @"userpic_url": @"http://uifaces.com/faces/_twitter/JuliaYunLiu_120.jpg", - @"image_url": @"http://distilleryimage10.s3.amazonaws.com/b9e61198b69411e180d51231380fcd7e_7.jpg"}, + @"userpic": @"userpic4.jpg", + @"image": @"photo4.jpg"}, @{@"username": @"roman", - @"userpic_url": @"http://uifaces.com/faces/_twitter/calebogden_120.jpg", - @"image_url": @"http://distilleryimage0.s3.amazonaws.com/7496fb80b34611e188131231381b5c25_7.jpg"}, + @"userpic": @"userpic5.jpg", + @"image": @"photo5.jpg"}, @{@"username": @"andrew", - @"userpic_url": @"http://uifaces.com/faces/_twitter/benefritz_120.jpg", - @"image_url": @"http://distilleryimage7.s3.amazonaws.com/1a8f3db4b87811e1ab011231381052c0_7.jpg"} + @"userpic": @"userpic6.jpg", + @"image": @"photo6.jpg"} ]; for (NSDictionary *dictionary in items) { NSString *username = [dictionary objectForKey:@"username"]; - NSURL *userpicURL = [NSURL URLWithString:[dictionary objectForKey:@"userpic_url"]]; - NSURL *imageURL = [NSURL URLWithString:[dictionary objectForKey:@"image_url"]]; + NSString *userpic = [dictionary objectForKey:@"userpic"]; + NSString *image = [dictionary objectForKey:@"image"]; // Create section with a header view // - RETableViewSection *section = [[RETableViewSection alloc] initWithHeaderView:[ListHeaderView headerViewWithImageURL:userpicURL username:username]]; + RETableViewSection *section = [[RETableViewSection alloc] initWithHeaderView:[ListHeaderView headerViewWithImageNamed:userpic username:username]]; [_manager addSection:section]; // Add item (image) // - [section addItem:[ListImageItem itemWithImageURL:imageURL]]; + [section addItem:[ListImageItem itemWithImageNamed:image]]; } } diff --git a/RETableViewManagerExample/RETableViewManagerExample/Classes/Models/ListImageItem.h b/RETableViewManagerExample/RETableViewManagerExample/Classes/Models/ListImageItem.h index 02b7c7b..80d0b70 100644 --- a/RETableViewManagerExample/RETableViewManagerExample/Classes/Models/ListImageItem.h +++ b/RETableViewManagerExample/RETableViewManagerExample/Classes/Models/ListImageItem.h @@ -10,8 +10,8 @@ @interface ListImageItem : RETableViewItem -@property (strong, readwrite, nonatomic) NSURL *imageURL; +@property (copy, readwrite, nonatomic) NSString *imageName; -+ (ListImageItem *)itemWithImageURL:(NSURL *)imageURL; ++ (ListImageItem *)itemWithImageNamed:(NSString *)imageName; @end diff --git a/RETableViewManagerExample/RETableViewManagerExample/Classes/Models/ListImageItem.m b/RETableViewManagerExample/RETableViewManagerExample/Classes/Models/ListImageItem.m index 5a2ea2c..e93fb58 100644 --- a/RETableViewManagerExample/RETableViewManagerExample/Classes/Models/ListImageItem.m +++ b/RETableViewManagerExample/RETableViewManagerExample/Classes/Models/ListImageItem.m @@ -10,10 +10,10 @@ @implementation ListImageItem -+ (ListImageItem *)itemWithImageURL:(NSURL *)imageURL ++ (ListImageItem *)itemWithImageNamed:(NSString *)imageName { ListImageItem *item = [[ListImageItem alloc] init]; - item.imageURL = imageURL; + item.imageName = imageName; return item; } diff --git a/RETableViewManagerExample/RETableViewManagerExample/Classes/Views/ListHeaderView.h b/RETableViewManagerExample/RETableViewManagerExample/Classes/Views/ListHeaderView.h index 9c3157a..e5aecd3 100644 --- a/RETableViewManagerExample/RETableViewManagerExample/Classes/Views/ListHeaderView.h +++ b/RETableViewManagerExample/RETableViewManagerExample/Classes/Views/ListHeaderView.h @@ -13,6 +13,6 @@ @property (strong, readonly, nonatomic) UIImageView *userpicImageView; @property (strong, readonly, nonatomic) UILabel *usernameLabel; -+ (ListHeaderView *)headerViewWithImageURL:(NSURL *)url username:(NSString *)username; ++ (ListHeaderView *)headerViewWithImageNamed:(NSString *)imageName username:(NSString *)username; @end diff --git a/RETableViewManagerExample/RETableViewManagerExample/Classes/Views/ListHeaderView.m b/RETableViewManagerExample/RETableViewManagerExample/Classes/Views/ListHeaderView.m index 9406ad0..f037118 100644 --- a/RETableViewManagerExample/RETableViewManagerExample/Classes/Views/ListHeaderView.m +++ b/RETableViewManagerExample/RETableViewManagerExample/Classes/Views/ListHeaderView.m @@ -7,14 +7,13 @@ // #import "ListHeaderView.h" -#import @implementation ListHeaderView -+ (ListHeaderView *)headerViewWithImageURL:(NSURL *)url username:(NSString *)username ++ (ListHeaderView *)headerViewWithImageNamed:(NSString *)imageNamed username:(NSString *)username { ListHeaderView *view = [[ListHeaderView alloc] initWithFrame:CGRectMake(0, 0, 320, 44)]; - [view.userpicImageView setImageWithURL:url]; + [view.userpicImageView setImage:[UIImage imageNamed:imageNamed]]; [view.usernameLabel setText:username]; return view; } diff --git a/RETableViewManagerExample/RETableViewManagerExample/Classes/Views/ListImageCell.m b/RETableViewManagerExample/RETableViewManagerExample/Classes/Views/ListImageCell.m index 4160572..81395c8 100644 --- a/RETableViewManagerExample/RETableViewManagerExample/Classes/Views/ListImageCell.m +++ b/RETableViewManagerExample/RETableViewManagerExample/Classes/Views/ListImageCell.m @@ -7,7 +7,6 @@ // #import "ListImageCell.h" -#import @implementation ListImageCell @@ -26,7 +25,7 @@ - (void)cellWillAppear { [super cellWillAppear]; - [_pictureView setImageWithURL:self.item.imageURL]; + [_pictureView setImage:[UIImage imageNamed:self.item.imageName]]; } - (void)cellDidDisappear diff --git a/RETableViewManagerExample/RETableViewManagerExample/Photos/photo1.jpg b/RETableViewManagerExample/RETableViewManagerExample/Photos/photo1.jpg new file mode 100644 index 0000000..859c247 Binary files /dev/null and b/RETableViewManagerExample/RETableViewManagerExample/Photos/photo1.jpg differ diff --git a/RETableViewManagerExample/RETableViewManagerExample/Photos/photo2.jpg b/RETableViewManagerExample/RETableViewManagerExample/Photos/photo2.jpg new file mode 100644 index 0000000..0ed44f3 Binary files /dev/null and b/RETableViewManagerExample/RETableViewManagerExample/Photos/photo2.jpg differ diff --git a/RETableViewManagerExample/RETableViewManagerExample/Photos/photo3.jpg b/RETableViewManagerExample/RETableViewManagerExample/Photos/photo3.jpg new file mode 100644 index 0000000..fbe5471 Binary files /dev/null and b/RETableViewManagerExample/RETableViewManagerExample/Photos/photo3.jpg differ diff --git a/RETableViewManagerExample/RETableViewManagerExample/Photos/photo4.jpg b/RETableViewManagerExample/RETableViewManagerExample/Photos/photo4.jpg new file mode 100644 index 0000000..46bad62 Binary files /dev/null and b/RETableViewManagerExample/RETableViewManagerExample/Photos/photo4.jpg differ diff --git a/RETableViewManagerExample/RETableViewManagerExample/Photos/photo5.jpg b/RETableViewManagerExample/RETableViewManagerExample/Photos/photo5.jpg new file mode 100644 index 0000000..5fbfa52 Binary files /dev/null and b/RETableViewManagerExample/RETableViewManagerExample/Photos/photo5.jpg differ diff --git a/RETableViewManagerExample/RETableViewManagerExample/Photos/photo6.jpg b/RETableViewManagerExample/RETableViewManagerExample/Photos/photo6.jpg new file mode 100644 index 0000000..dcf6cee Binary files /dev/null and b/RETableViewManagerExample/RETableViewManagerExample/Photos/photo6.jpg differ diff --git a/RETableViewManagerExample/RETableViewManagerExample/Photos/userpic1.jpg b/RETableViewManagerExample/RETableViewManagerExample/Photos/userpic1.jpg new file mode 100644 index 0000000..4928ab7 Binary files /dev/null and b/RETableViewManagerExample/RETableViewManagerExample/Photos/userpic1.jpg differ diff --git a/RETableViewManagerExample/RETableViewManagerExample/Photos/userpic2.jpg b/RETableViewManagerExample/RETableViewManagerExample/Photos/userpic2.jpg new file mode 100644 index 0000000..9bf8e98 Binary files /dev/null and b/RETableViewManagerExample/RETableViewManagerExample/Photos/userpic2.jpg differ diff --git a/RETableViewManagerExample/RETableViewManagerExample/Photos/userpic3.jpg b/RETableViewManagerExample/RETableViewManagerExample/Photos/userpic3.jpg new file mode 100644 index 0000000..4fe938f Binary files /dev/null and b/RETableViewManagerExample/RETableViewManagerExample/Photos/userpic3.jpg differ diff --git a/RETableViewManagerExample/RETableViewManagerExample/Photos/userpic4.jpg b/RETableViewManagerExample/RETableViewManagerExample/Photos/userpic4.jpg new file mode 100644 index 0000000..78e0b2e Binary files /dev/null and b/RETableViewManagerExample/RETableViewManagerExample/Photos/userpic4.jpg differ diff --git a/RETableViewManagerExample/RETableViewManagerExample/Photos/userpic5.jpg b/RETableViewManagerExample/RETableViewManagerExample/Photos/userpic5.jpg new file mode 100644 index 0000000..78562e8 Binary files /dev/null and b/RETableViewManagerExample/RETableViewManagerExample/Photos/userpic5.jpg differ diff --git a/RETableViewManagerExample/RETableViewManagerExample/Photos/userpic6.jpg b/RETableViewManagerExample/RETableViewManagerExample/Photos/userpic6.jpg new file mode 100644 index 0000000..4865bb1 Binary files /dev/null and b/RETableViewManagerExample/RETableViewManagerExample/Photos/userpic6.jpg differ diff --git a/RETableViewManagerExample/Pods/REFormattedNumberField/REFormattedNumberField/REFormattedNumberField.h b/RETableViewManagerExample/Vendor/REFormattedNumberField/REFormattedNumberField.h similarity index 100% rename from RETableViewManagerExample/Pods/REFormattedNumberField/REFormattedNumberField/REFormattedNumberField.h rename to RETableViewManagerExample/Vendor/REFormattedNumberField/REFormattedNumberField.h diff --git a/RETableViewManagerExample/Pods/REFormattedNumberField/REFormattedNumberField/REFormattedNumberField.m b/RETableViewManagerExample/Vendor/REFormattedNumberField/REFormattedNumberField.m similarity index 95% rename from RETableViewManagerExample/Pods/REFormattedNumberField/REFormattedNumberField/REFormattedNumberField.m rename to RETableViewManagerExample/Vendor/REFormattedNumberField/REFormattedNumberField.m index e883294..0017963 100644 --- a/RETableViewManagerExample/Pods/REFormattedNumberField/REFormattedNumberField/REFormattedNumberField.m +++ b/RETableViewManagerExample/Vendor/REFormattedNumberField/REFormattedNumberField.m @@ -38,6 +38,14 @@ return self; } +- (void)awakeFromNib +{ + [super awakeFromNib]; + self.keyboardType = UIKeyboardTypeNumberPad; + self.format = @"X"; + [self addTarget:self action:@selector(formatInput:) forControlEvents:UIControlEventEditingChanged]; +} + - (NSString *)string:(NSString *)string withNumberFormat:(NSString *)format { NSRegularExpression *regex = [NSRegularExpression regularExpressionWithPattern:@"\\D" options:NSRegularExpressionCaseInsensitive error:NULL];