[
  {
    "path": "LICENSE",
    "content": "Copyright (C) 2014, Cem Olcay \n\nPermission is hereby granted, free of charge, to any person obtaining a \ncopy of this software and associated documentation files (the \"Software\"), \nto deal in the Software without restriction, including without limitation \nthe rights to use, copy, modify, merge, publish, distribute, sublicense, \nand/or sell copies of the Software, and to permit persons to whom the \nSoftware is furnished to do so, subject to the following conditions: \n\nThe above copyright notice and this permission notice shall be included in \nall copies or substantial portions of the Software. \n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR \nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, \nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL \nTHE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER \nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING \nFROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER \nDEALINGS IN THE SOFTWARE. \n\n"
  },
  {
    "path": "PullToRefreshCoreText/AppDelegate.h",
    "content": "//\n//  AppDelegate.h\n//  PullToRefreshCoreText\n//\n//  Created by Cem Olcay on 07/10/14.\n//  Copyright (c) 2014 questa. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface AppDelegate : UIResponder <UIApplicationDelegate>\n\n@property (strong, nonatomic) UIWindow *window;\n\n\n@end\n\n"
  },
  {
    "path": "PullToRefreshCoreText/AppDelegate.m",
    "content": "//\n//  AppDelegate.m\n//  PullToRefreshCoreText\n//\n//  Created by Cem Olcay on 07/10/14.\n//  Copyright (c) 2014 questa. All rights reserved.\n//\n\n#import \"AppDelegate.h\"\n\n@interface AppDelegate ()\n\n@end\n\n@implementation AppDelegate\n\n\n- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {\n    // Override point for customization after application launch.\n    return YES;\n}\n\n- (void)applicationWillResignActive:(UIApplication *)application {\n    // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.\n    // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game.\n}\n\n- (void)applicationDidEnterBackground:(UIApplication *)application {\n    // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.\n    // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.\n}\n\n- (void)applicationWillEnterForeground:(UIApplication *)application {\n    // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.\n}\n\n- (void)applicationDidBecomeActive:(UIApplication *)application {\n    // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.\n}\n\n- (void)applicationWillTerminate:(UIApplication *)application {\n    // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.\n}\n\n@end\n"
  },
  {
    "path": "PullToRefreshCoreText/Base.lproj/LaunchScreen.xib",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.XIB\" version=\"3.0\" toolsVersion=\"6214\" systemVersion=\"14A314h\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" launchScreen=\"YES\" useTraitCollections=\"YES\">\n    <dependencies>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"6207\"/>\n        <capability name=\"Constraints with non-1.0 multipliers\" minToolsVersion=\"5.1\"/>\n    </dependencies>\n    <objects>\n        <placeholder placeholderIdentifier=\"IBFilesOwner\" id=\"-1\" userLabel=\"File's Owner\"/>\n        <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"-2\" customClass=\"UIResponder\"/>\n        <view contentMode=\"scaleToFill\" id=\"iN0-l3-epB\">\n            <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"480\" height=\"480\"/>\n            <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n            <subviews>\n                <label opaque=\"NO\" clipsSubviews=\"YES\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"  Copyright (c) 2014 questa. All rights reserved.\" textAlignment=\"center\" lineBreakMode=\"tailTruncation\" baselineAdjustment=\"alignBaselines\" minimumFontSize=\"9\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"8ie-xW-0ye\">\n                    <rect key=\"frame\" x=\"20\" y=\"439\" width=\"441\" height=\"21\"/>\n                    <fontDescription key=\"fontDescription\" type=\"system\" pointSize=\"17\"/>\n                    <color key=\"textColor\" cocoaTouchSystemColor=\"darkTextColor\"/>\n                    <nil key=\"highlightedColor\"/>\n                </label>\n                <label opaque=\"NO\" clipsSubviews=\"YES\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"PullToRefreshCoreText\" textAlignment=\"center\" lineBreakMode=\"middleTruncation\" baselineAdjustment=\"alignBaselines\" minimumFontSize=\"18\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"kId-c2-rCX\">\n                    <rect key=\"frame\" x=\"20\" y=\"140\" width=\"441\" height=\"43\"/>\n                    <fontDescription key=\"fontDescription\" type=\"boldSystem\" pointSize=\"36\"/>\n                    <color key=\"textColor\" cocoaTouchSystemColor=\"darkTextColor\"/>\n                    <nil key=\"highlightedColor\"/>\n                </label>\n            </subviews>\n            <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"calibratedWhite\"/>\n            <constraints>\n                <constraint firstItem=\"kId-c2-rCX\" firstAttribute=\"centerY\" secondItem=\"iN0-l3-epB\" secondAttribute=\"bottom\" multiplier=\"1/3\" constant=\"1\" id=\"5cJ-9S-tgC\"/>\n                <constraint firstAttribute=\"centerX\" secondItem=\"kId-c2-rCX\" secondAttribute=\"centerX\" id=\"Koa-jz-hwk\"/>\n                <constraint firstAttribute=\"bottom\" secondItem=\"8ie-xW-0ye\" secondAttribute=\"bottom\" constant=\"20\" id=\"Kzo-t9-V3l\"/>\n                <constraint firstItem=\"8ie-xW-0ye\" firstAttribute=\"leading\" secondItem=\"iN0-l3-epB\" secondAttribute=\"leading\" constant=\"20\" symbolic=\"YES\" id=\"MfP-vx-nX0\"/>\n                <constraint firstAttribute=\"centerX\" secondItem=\"8ie-xW-0ye\" secondAttribute=\"centerX\" id=\"ZEH-qu-HZ9\"/>\n                <constraint firstItem=\"kId-c2-rCX\" firstAttribute=\"leading\" secondItem=\"iN0-l3-epB\" secondAttribute=\"leading\" constant=\"20\" symbolic=\"YES\" id=\"fvb-Df-36g\"/>\n            </constraints>\n            <nil key=\"simulatedStatusBarMetrics\"/>\n            <freeformSimulatedSizeMetrics key=\"simulatedDestinationMetrics\"/>\n            <point key=\"canvasLocation\" x=\"548\" y=\"455\"/>\n        </view>\n    </objects>\n</document>\n"
  },
  {
    "path": "PullToRefreshCoreText/Base.lproj/Main.storyboard",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB\" version=\"3.0\" toolsVersion=\"9060\" systemVersion=\"15B42\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" useTraitCollections=\"YES\" initialViewController=\"Y88-L3-P6Y\">\n    <dependencies>\n        <deployment identifier=\"iOS\"/>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"9051\"/>\n    </dependencies>\n    <scenes>\n        <!--Navigation Controller-->\n        <scene sceneID=\"2Ro-rl-dna\">\n            <objects>\n                <navigationController id=\"BfW-tV-ppi\" sceneMemberID=\"viewController\">\n                    <navigationBar key=\"navigationBar\" contentMode=\"scaleToFill\" id=\"it7-Wk-oHz\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"320\" height=\"44\"/>\n                        <autoresizingMask key=\"autoresizingMask\"/>\n                        <animations/>\n                    </navigationBar>\n                    <connections>\n                        <segue destination=\"vXZ-lx-hvc\" kind=\"relationship\" relationship=\"rootViewController\" id=\"dPq-b0-8jO\"/>\n                    </connections>\n                </navigationController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"Lea-LT-KEP\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"-1772\" y=\"-184\"/>\n        </scene>\n        <!--View Controller-->\n        <scene sceneID=\"ufC-wZ-h7g\">\n            <objects>\n                <viewController id=\"vXZ-lx-hvc\" customClass=\"ViewController\" sceneMemberID=\"viewController\">\n                    <layoutGuides>\n                        <viewControllerLayoutGuide type=\"top\" id=\"jyV-Pf-zRb\"/>\n                        <viewControllerLayoutGuide type=\"bottom\" id=\"2fi-mo-0CV\"/>\n                    </layoutGuides>\n                    <view key=\"view\" contentMode=\"scaleToFill\" id=\"kh9-bI-dsS\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"600\" height=\"600\"/>\n                        <autoresizingMask key=\"autoresizingMask\" flexibleMaxX=\"YES\" flexibleMaxY=\"YES\"/>\n                        <animations/>\n                        <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"calibratedWhite\"/>\n                    </view>\n                    <navigationItem key=\"navigationItem\" id=\"jga-Oo-vkh\"/>\n                </viewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"x5A-6p-PRh\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"-1063\" y=\"-175\"/>\n        </scene>\n        <!--TableView-->\n        <scene sceneID=\"nyJ-hi-JwI\">\n            <objects>\n                <tableViewController id=\"NYm-Sv-Ubr\" customClass=\"TableViewController\" sceneMemberID=\"viewController\">\n                    <tableView key=\"view\" clipsSubviews=\"YES\" contentMode=\"scaleToFill\" alwaysBounceVertical=\"YES\" dataMode=\"prototypes\" style=\"plain\" separatorStyle=\"default\" rowHeight=\"44\" sectionHeaderHeight=\"28\" sectionFooterHeight=\"28\" id=\"LWD-fS-cgE\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"600\" height=\"600\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <animations/>\n                        <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                        <sections/>\n                        <connections>\n                            <outlet property=\"dataSource\" destination=\"NYm-Sv-Ubr\" id=\"LmZ-hJ-wt0\"/>\n                            <outlet property=\"delegate\" destination=\"NYm-Sv-Ubr\" id=\"Kln-sd-eCv\"/>\n                        </connections>\n                    </tableView>\n                    <navigationItem key=\"navigationItem\" title=\"TableView\" id=\"lqh-9m-icR\"/>\n                </tableViewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"Jfr-ZC-dYh\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"-1063\" y=\"570\"/>\n        </scene>\n        <!--Navigation Controller-->\n        <scene sceneID=\"trH-2U-2BI\">\n            <objects>\n                <navigationController automaticallyAdjustsScrollViewInsets=\"NO\" id=\"Y88-L3-P6Y\" sceneMemberID=\"viewController\">\n                    <toolbarItems/>\n                    <navigationBar key=\"navigationBar\" contentMode=\"scaleToFill\" id=\"IIp-nV-0DY\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"320\" height=\"44\"/>\n                        <autoresizingMask key=\"autoresizingMask\"/>\n                        <animations/>\n                    </navigationBar>\n                    <nil name=\"viewControllers\"/>\n                    <connections>\n                        <segue destination=\"NYm-Sv-Ubr\" kind=\"relationship\" relationship=\"rootViewController\" id=\"nlG-0J-7zX\"/>\n                    </connections>\n                </navigationController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"Jrw-8w-Osb\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"-1772\" y=\"570\"/>\n        </scene>\n    </scenes>\n</document>\n"
  },
  {
    "path": "PullToRefreshCoreText/Images.xcassets/AppIcon.appiconset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"60x60\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"60x60\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "PullToRefreshCoreText/Info.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>CFBundleDevelopmentRegion</key>\n\t<string>en</string>\n\t<key>CFBundleExecutable</key>\n\t<string>$(EXECUTABLE_NAME)</string>\n\t<key>CFBundleIdentifier</key>\n\t<string>com.questa.$(PRODUCT_NAME:rfc1034identifier)</string>\n\t<key>CFBundleInfoDictionaryVersion</key>\n\t<string>6.0</string>\n\t<key>CFBundleName</key>\n\t<string>$(PRODUCT_NAME)</string>\n\t<key>CFBundlePackageType</key>\n\t<string>APPL</string>\n\t<key>CFBundleShortVersionString</key>\n\t<string>1.0</string>\n\t<key>CFBundleSignature</key>\n\t<string>????</string>\n\t<key>CFBundleVersion</key>\n\t<string>1</string>\n\t<key>LSRequiresIPhoneOS</key>\n\t<true/>\n\t<key>UILaunchStoryboardName</key>\n\t<string>LaunchScreen</string>\n\t<key>UIMainStoryboardFile</key>\n\t<string>Main</string>\n\t<key>UIRequiredDeviceCapabilities</key>\n\t<array>\n\t\t<string>armv7</string>\n\t</array>\n\t<key>UIStatusBarHidden</key>\n\t<false/>\n\t<key>UIStatusBarStyle</key>\n\t<string>UIStatusBarStyleDefault</string>\n\t<key>UISupportedInterfaceOrientations</key>\n\t<array>\n\t\t<string>UIInterfaceOrientationPortrait</string>\n\t\t<string>UIInterfaceOrientationLandscapeLeft</string>\n\t\t<string>UIInterfaceOrientationLandscapeRight</string>\n\t\t<string>UIInterfaceOrientationPortraitUpsideDown</string>\n\t</array>\n</dict>\n</plist>\n"
  },
  {
    "path": "PullToRefreshCoreText/PullToRefreshCoreText/PullToRefreshCoreTextView.h",
    "content": "//\n//  PullToRefreshCoreTextView.h\n//  PullToRefreshCoreText\n//\n//  Created by Cem Olcay on 14/10/14.\n//  Copyright (c) 2014 questa. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n#import <CoreText/CoreText.h>\n\ntypedef void(^pullToRefreshAction)(void);\n\ntypedef NS_ENUM(NSUInteger, PullToRefreshCoreTextStatus) {\n    PullToRefreshCoreTextStatusHidden,\n    PullToRefreshCoreTextStatusDragging,\n    PullToRefreshCoreTextStatusTriggered,\n};\n\n@interface PullToRefreshCoreTextView : UIView\n\n@property (copy) pullToRefreshAction action;\n@property (nonatomic, assign) PullToRefreshCoreTextStatus status;\n@property (nonatomic, assign, getter=isLoading) BOOL loading;\n\n@property (nonatomic, strong) NSString *pullText;\n@property (nonatomic, strong) UIColor *pullTextColor;\n@property (nonatomic, strong) UIFont *pullTextFont;\n\n@property (nonatomic, strong) NSString *refreshingText;\n@property (nonatomic, strong) UIColor *refreshingTextColor;\n@property (nonatomic, strong) UIFont *refreshingTextFont;\n\n\n@property (nonatomic, weak) UIScrollView *scrollView;\n@property (nonatomic, assign) CGFloat triggerOffset;\n@property (nonatomic, assign) CGFloat triggerThreshold;\n\n- (instancetype)initWithFrame:(CGRect)frame\n                     pullText:(NSString *)pullText\n                pullTextColor:(UIColor *)pullTextColor\n                 pullTextFont:(UIFont *)pullTextFont\n               refreshingText:(NSString *)refreshingText\n          refreshingTextColor:(UIColor *)refreshingTextColor\n           refreshingTextFont:(UIFont *)refreshingTextFont\n                       action:(pullToRefreshAction)action;\n\n- (void)endLoading;\n\n@end\n"
  },
  {
    "path": "PullToRefreshCoreText/PullToRefreshCoreText/PullToRefreshCoreTextView.m",
    "content": "//\n//  PullToRefreshCoreTextView.m\n//  PullToRefreshCoreText\n//\n//  Created by Cem Olcay on 14/10/14.\n//  Copyright (c) 2014 questa. All rights reserved.\n//\n\n#import \"PullToRefreshCoreTextView.h\"\n\n@implementation NSString (Glyphs)\n\n-(UIBezierPath*)bezierPathWithFont:(UIFont*)font {\n    CTFontRef ctFont = CTFontCreateWithName((__bridge CFStringRef)font.fontName, font.pointSize, NULL);\n    NSAttributedString *attributed = [[NSAttributedString alloc] initWithString:self attributes:[NSDictionary dictionaryWithObject:(__bridge id)ctFont forKey:(__bridge NSString*)kCTFontAttributeName]];\n    CFRelease(ctFont);\n    \n    CGMutablePathRef letters = CGPathCreateMutable();\n    CTLineRef line = CTLineCreateWithAttributedString((__bridge CFAttributedStringRef)attributed);\n    CFArrayRef runArray = CTLineGetGlyphRuns(line);\n    for (CFIndex runIndex = 0; runIndex < CFArrayGetCount(runArray); runIndex++)\n    {\n        CTRunRef run = (CTRunRef)CFArrayGetValueAtIndex(runArray, runIndex);\n        CTFontRef runFont = CFDictionaryGetValue(CTRunGetAttributes(run), kCTFontAttributeName);\n        \n        for (CFIndex runGlyphIndex = 0; runGlyphIndex < CTRunGetGlyphCount(run); runGlyphIndex++)\n        {\n            CFRange thisGlyphRange = CFRangeMake(runGlyphIndex, 1);\n            CGGlyph glyph;\n            CGPoint position;\n            CTRunGetGlyphs(run, thisGlyphRange, &glyph);\n            CTRunGetPositions(run, thisGlyphRange, &position);\n            \n            CGPathRef letter = CTFontCreatePathForGlyph(runFont, glyph, NULL);\n            CGAffineTransform t = CGAffineTransformMakeTranslation(position.x, position.y);\n            CGPathAddPath(letters, &t, letter);\n            CGPathRelease(letter);\n        }\n    }\n    \n    UIBezierPath *path = [UIBezierPath bezierPathWithCGPath:letters];\n    CGRect boundingBox = CGPathGetBoundingBox(letters);\n    CGPathRelease(letters);\n    CFRelease(line);\n    \n    // The path is upside down (CG coordinate system)\n    [path applyTransform:CGAffineTransformMakeScale(1.0, -1.0)];\n    [path applyTransform:CGAffineTransformMakeTranslation(0.0, boundingBox.size.height)];\n    \n    return path;\n}\n\n@end\n\n\n@implementation PullToRefreshCoreTextView\n\n#pragma mark - Lifecycle\n\n- (instancetype)initWithFrame:(CGRect)frame\n                     pullText:(NSString *)pullText\n                pullTextColor:(UIColor *)pullTextColor\n                 pullTextFont:(UIFont *)pullTextFont\n               refreshingText:(NSString *)refreshingText\n          refreshingTextColor:(UIColor *)refreshingTextColor\n           refreshingTextFont:(UIFont *)refreshingTextFont\n                       action:(pullToRefreshAction)action {\n    if ((self = [super initWithFrame:frame])) {\n\n        self.pullText = pullText;\n        self.pullTextColor = pullTextColor;\n        self.pullTextFont = pullTextFont;\n        \n        self.refreshingText = refreshingText;\n        self.refreshingTextColor = refreshingTextColor;\n        self.refreshingTextFont = refreshingTextFont;\n        \n        self.action = action;\n        self.status = PullToRefreshCoreTextStatusHidden;\n        self.loading = NO;\n        \n        self.triggerOffset = self.frame.size.height;\n        self.triggerThreshold = self.frame.size.height;\n    }\n    return self;\n}\n\n\n#pragma mark - Logic\n\n- (void)startLoading {\n    [self setLoading:YES];\n    self.action ();\n}\n\n- (void)endLoading {\n    [self setLoading:NO];\n    \n    if (self.scrollView.contentInset.top > 0) {\n        [UIView animateWithDuration:0.2 animations:^{\n            self.scrollView.contentInset = UIEdgeInsetsMake(0, 0, 0, 0);\n        }];\n    }\n}\n\n\n- (CAShapeLayer *)pullTextLayer {\n    CAShapeLayer *pull = [CAShapeLayer layer];\n    [pull setPath:[[self.pullText bezierPathWithFont:self.pullTextFont] CGPath]];\n    [pull setStrokeColor:[self.pullTextColor CGColor]];\n    [pull setFillColor:[[UIColor clearColor] CGColor]];\n    [pull setLineWidth:0.5];\n    [pull setSpeed:0];\n    \n    float textSize = [self.pullText sizeWithAttributes:@{NSFontAttributeName:self.pullTextFont}].width;\n    [pull setPosition:CGPointMake(pull.position.x + (self.frame.size.width-textSize)/2, 0)];\n    \n    \n    CABasicAnimation *textAnimation = [CABasicAnimation animationWithKeyPath:@\"strokeEnd\"];\n    [textAnimation setFromValue:@0];\n    [textAnimation setToValue:@1];\n    [textAnimation setDuration:1];\n    [textAnimation setRemovedOnCompletion:NO];\n    [pull addAnimation:textAnimation forKey:@\"textAnimation\"];\n    \n    return pull;\n}\n\n- (CATextLayer *)refreshingTextLayer {\n    CATextLayer *text = [CATextLayer layer];\n    [text setFrame:self.bounds];\n    [text setString:(id)self.refreshingText];\n    \n    CTFontRef fontRef = CTFontCreateWithName((__bridge CFStringRef)self.refreshingTextFont.fontName, self.refreshingTextFont.pointSize, NULL);\n    [text setFont:fontRef];\n    CFRelease(fontRef);\n    \n    [text setFontSize:self.refreshingTextFont.pointSize];\n    [text setForegroundColor:[self.refreshingTextColor CGColor]];\n    [text setContentsScale:[[UIScreen mainScreen] scale]];\n    \n    float textSize = [self.refreshingText sizeWithAttributes:@{NSFontAttributeName:self.refreshingTextFont}].width;\n    [text setPosition:CGPointMake(self.frame.size.width-textSize/2, 13)]; //center text in master layer\n    \n    \n    CALayer *maskLayer = [CALayer layer];\n    maskLayer.backgroundColor = [[UIColor colorWithRed:0.0f green:0.0f blue:0.0f alpha:0.3] CGColor];\n    maskLayer.contents = (id)[[UIImage imageNamed:@\"Mask.png\"] CGImage];\n    maskLayer.contentsGravity = kCAGravityCenter;\n    maskLayer.frame = CGRectMake(self.frame.size.width * -1, 0.0f, self.frame.size.width * 2, self.frame.size.height);\n    text.mask = maskLayer;\n    \n    CABasicAnimation *maskAnim = [CABasicAnimation animationWithKeyPath:@\"position.x\"];\n    maskAnim.byValue = [NSNumber numberWithFloat:self.frame.size.width];\n    maskAnim.repeatCount = HUGE_VALF;\n    maskAnim.duration = 2.0f;\n    [maskLayer addAnimation:maskAnim forKey:@\"slideAnim\"];\n    \n    return text;\n}\n\n#pragma mark - Interaction\n\n- (void)scrollViewDidScroll:(UIPanGestureRecognizer *)pan {\n    \n    // Check if the superview's frame width has changed.\n    if (self.superview.bounds.size.width != self.frame.size.width) {\n        \n        // Update our frame with the new width.\n        CGRect newFrame = self.frame;\n        newFrame.size.width = self.superview.bounds.size.width;\n        self.frame = newFrame;\n        \n        // Update the layers.\n        [self setLoading:self.isLoading];\n    }\n    \n    if (pan.state == UIGestureRecognizerStateChanged) {\n        if (self.isLoading)\n            return;\n        \n        CGFloat offset = self.scrollView.contentOffset.y + self.triggerThreshold;\n        if (offset <= 0) {\n            \n            //animate pull text\n            CGFloat fractionDragged = -offset/self.triggerOffset;\n            [(CALayer *)[self.layer.sublayers firstObject] setTimeOffset:MIN(1, fractionDragged)];\n            \n            //update state\n            if (fractionDragged >= 1) {\n                self.status = PullToRefreshCoreTextStatusTriggered;\n            } else {\n                self.status = PullToRefreshCoreTextStatusDragging;\n            }\n            \n        } else {\n            self.status = PullToRefreshCoreTextStatusHidden;\n        }\n    }\n    else if (pan.state == UIGestureRecognizerStateEnded || pan.state == UIGestureRecognizerStateCancelled) {\n        if (self.status == PullToRefreshCoreTextStatusTriggered) {\n            [self startLoading];\n            \n            [UIView animateWithDuration:0.2 animations:^{\n                [self.scrollView setContentInset:UIEdgeInsetsMake(self.triggerOffset + self.triggerThreshold, 0, 0, 0)];\n            }];\n        } else {\n            [(CALayer *)[self.layer.sublayers firstObject] setTimeOffset:0];\n        }\n    }\n}\n\n\n#pragma mark - Properties\n\n- (void)setScrollView:(UIScrollView *)scrollView {\n    _scrollView = scrollView;\n    [self.scrollView.panGestureRecognizer addTarget:self action:@selector(scrollViewDidScroll:)];\n}\n\n- (void)setLoading:(BOOL)loading {\n    _loading = loading;\n    \n    self.layer.sublayers = nil;\n    if (loading) {\n        [self.layer addSublayer:[self refreshingTextLayer]];\n    } else {\n        [self.layer addSublayer:[self pullTextLayer]];\n    }\n    \n}\n\n@end\n"
  },
  {
    "path": "PullToRefreshCoreText/PullToRefreshCoreText/UIScrollView+PullToRefreshCoreText.h",
    "content": "//\n//  UIScrollView+PullToRefreshCoreText.h\n//  PullToRefreshCoreText\n//\n//  Created by Cem Olcay on 07/10/14.\n//  Copyright (c) 2014 questa. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n#import \"PullToRefreshCoreTextView.h\"\n\n#define DefaultTextColor    [UIColor blackColor]\n#define DefaultTextFont     [UIFont fontWithName:@\"HelveticaNeue-UltraLight\" size:30]\n\n@interface UIScrollView (PullToRefreshCoreText)\n\n@property (nonatomic, strong) PullToRefreshCoreTextView *pullToRefreshView;\n\n- (void)addPullToRefreshWithPullText:(NSString *)pullText\n                              action:(pullToRefreshAction)action;\n\n- (void)addPullToRefreshWithPullText:(NSString *)pullText\n                      refreshingText:(NSString *)refreshingText\n                              action:(pullToRefreshAction)action;\n\n- (void)addPullToRefreshWithPullText:(NSString *)pullText\n                                font:(UIFont *)font\n                              action:(pullToRefreshAction)action;\n\n\n- (void)addPullToRefreshWithPullText:(NSString *)pullText\n                      refreshingText:(NSString *)refreshingText\n                                font:(UIFont *)font\n                              action:(pullToRefreshAction)action;\n\n\n- (void)addPullToRefreshWithPullText:(NSString *)pullText\n                       pullTextColor:(UIColor *)pullTextColor\n                      refreshingText:(NSString *)refreshingText\n                 refreshingTextColor:(UIColor *)refreshingTextColor\n                                font:(UIFont *)font\n                              action:(pullToRefreshAction)action;\n\n\n- (void)addPullToRefreshWithPullText:(NSString *)pullText\n                       pullTextColor:(UIColor *)pullTextColor\n                        pullTextFont:(UIFont *)pullTextFont\n                      refreshingText:(NSString *)refreshingText\n                 refreshingTextColor:(UIColor *)refreshingTextColor\n                  refreshingTextFont:(UIFont *)refreshingTextFont\n                              action:(pullToRefreshAction)action;\n\n\n- (void)finishLoading;\n\n\n@end\n"
  },
  {
    "path": "PullToRefreshCoreText/PullToRefreshCoreText/UIScrollView+PullToRefreshCoreText.m",
    "content": "//\n//  UIScrollView+PullToRefreshCoreText.m\n//  PullToRefreshCoreText\n//\n//  Created by Cem Olcay on 07/10/14.\n//  Copyright (c) 2014 questa. All rights reserved.\n//\n\n#import \"UIScrollView+PullToRefreshCoreText.h\"\n#import <objc/runtime.h>\n\n@implementation UIScrollView (PullToRefreshCoreText)\n\n\n#pragma mark - Lifecycle\n\n- (void)addPullToRefreshWithPullText:(NSString *)pullText\n                              action:(pullToRefreshAction)action {\n    \n    [self addPullToRefreshWithPullText:pullText pullTextColor:DefaultTextColor pullTextFont:DefaultTextFont refreshingText:pullText refreshingTextColor:DefaultTextColor refreshingTextFont:DefaultTextFont action:action];\n}\n\n- (void)addPullToRefreshWithPullText:(NSString *)pullText\n                      refreshingText:(NSString *)refreshingText\n                              action:(pullToRefreshAction)action {\n    \n    [self addPullToRefreshWithPullText:pullText pullTextColor:DefaultTextColor pullTextFont:DefaultTextFont refreshingText:refreshingText refreshingTextColor:DefaultTextColor refreshingTextFont:DefaultTextFont action:action];\n}\n\n- (void)addPullToRefreshWithPullText:(NSString *)pullText\n                                font:(UIFont *)font\n                              action:(pullToRefreshAction)action {\n    \n    [self addPullToRefreshWithPullText:pullText pullTextColor:DefaultTextColor pullTextFont:font refreshingText:pullText refreshingTextColor:DefaultTextColor refreshingTextFont:font action:action];\n}\n\n\n- (void)addPullToRefreshWithPullText:(NSString *)pullText\n                      refreshingText:(NSString *)refreshingText\n                                font:(UIFont *)font\n                              action:(pullToRefreshAction)action {\n    \n    [self addPullToRefreshWithPullText:pullText pullTextColor:DefaultTextColor pullTextFont:DefaultTextFont refreshingText:pullText refreshingTextColor:DefaultTextColor refreshingTextFont:DefaultTextFont action:action];\n}\n\n\n- (void)addPullToRefreshWithPullText:(NSString *)pullText\n                       pullTextColor:(UIColor *)pullTextColor\n                      refreshingText:(NSString *)refreshingText\n                 refreshingTextColor:(UIColor *)refreshingTextColor\n                                font:(UIFont *)font\n                              action:(pullToRefreshAction)action {\n    \n    [self addPullToRefreshWithPullText:pullText pullTextColor:pullTextColor pullTextFont:font refreshingText:refreshingText refreshingTextColor:refreshingTextColor refreshingTextFont:font action:action];\n}\n\n\n- (void)addPullToRefreshWithPullText:(NSString *)pullText\n                       pullTextColor:(UIColor *)pullTextColor\n                        pullTextFont:(UIFont *)pullTextFont\n                      refreshingText:(NSString *)refreshingText\n                 refreshingTextColor:(UIColor *)refreshingTextColor\n                  refreshingTextFont:(UIFont *)refreshingTextFont\n                              action:(pullToRefreshAction)action {\n    \n    if (self.pullToRefreshView) return;\n    \n    float ptrH = [self labelHeightForString:pullText labelWidth:self.bounds.size.width andFont:pullTextFont];\n    CGRect ptrRect = CGRectMake(0, -ptrH, self.bounds.size.width, ptrH);\n    \n    self.pullToRefreshView = [[PullToRefreshCoreTextView alloc] initWithFrame:ptrRect pullText:pullText pullTextColor:pullTextColor pullTextFont:pullTextFont refreshingText:refreshingText refreshingTextColor:refreshingTextColor refreshingTextFont:refreshingTextFont action:action];\n    [self.pullToRefreshView setScrollView:self];\n\n    [self addSubview:self.pullToRefreshView];\n}\n\n\n#pragma mark - Loading\n\n- (void)finishLoading {\n    [self.pullToRefreshView endLoading];\n}\n\n\n#pragma mark - Utils\n\n- (CGFloat)labelHeightForString:(NSString*)string labelWidth:(float)width andFont:(UIFont*)font {\n    NSAttributedString *attributedText = [[NSAttributedString alloc] initWithString:string attributes:@{NSFontAttributeName: font}];\n    CGRect rect = [attributedText boundingRectWithSize:(CGSize){width, CGFLOAT_MAX} options:NSStringDrawingUsesLineFragmentOrigin context:nil];\n    return rect.size.height;\n}\n\n\n#pragma mark - Properties\n\n- (void)setPullToRefreshView:(PullToRefreshCoreTextView *)pullToRefreshView {\n    objc_setAssociatedObject(self, @selector(pullToRefreshView), pullToRefreshView, OBJC_ASSOCIATION_RETAIN_NONATOMIC);\n}\n\n- (PullToRefreshCoreTextView *)pullToRefreshView {\n    return objc_getAssociatedObject(self, @selector(pullToRefreshView));\n}\n\n@end\n"
  },
  {
    "path": "PullToRefreshCoreText/TableViewController.h",
    "content": "//\n//  TableViewController.h\n//  PullToRefreshCoreText\n//\n//  Created by Codi Bonney on 12/3/15.\n//  Copyright © 2015 questa. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface TableViewController : UITableViewController\n\n@end\n"
  },
  {
    "path": "PullToRefreshCoreText/TableViewController.m",
    "content": "//\n//  TableViewController.m\n//  PullToRefreshCoreText\n//\n//  Created by Codi Bonney on 12/3/15.\n//  Copyright © 2015 questa. All rights reserved.\n//\n\n#import \"TableViewController.h\"\n#import \"UIScrollView+PullToRefreshCoreText.h\"\n\nstatic NSString* const KCellIdentifier = @\"PTRCTTableCell\";\n\n@interface TableViewController ()\n@property (nonatomic) NSMutableArray* datasource;\n@end\n\n@implementation TableViewController\n\n- (void)viewDidLoad {\n    [super viewDidLoad];\n    \n    self.datasource = [NSMutableArray new];\n    \n    // TODO: add support for UIRectEdgeAll\n    self.edgesForExtendedLayout = UIRectEdgeNone;\n    \n    //add pull to refresh\n    __weak typeof(self) weakSelf = self;\n    [self.tableView addPullToRefreshWithPullText:@\"Pull To Refresh\" pullTextColor:[UIColor blackColor] pullTextFont:DefaultTextFont refreshingText:@\"Refreshing\" refreshingTextColor:[UIColor blueColor] refreshingTextFont:DefaultTextFont action:^{\n        [weakSelf loadItems];\n    }];\n    \n    //add some items to scroll view\n    for (int i = 0; i < 2; i++) {\n        [self addNewItem];\n    }    \n}\n\n- (void)loadItems {\n    __weak typeof(UIScrollView *) weakScrollView = self.tableView;\n    __weak typeof(self) weakSelf = self;\n    dispatch_time_t popTime = dispatch_time(DISPATCH_TIME_NOW, 3 * NSEC_PER_SEC);\n    dispatch_after(popTime, dispatch_get_main_queue(), ^(void){\n        [weakSelf addNewItem];\n        [weakScrollView finishLoading];\n    });\n}\n\n- (void)addNewItem {\n    [self.datasource addObject:[self randomColor]];\n    [self.tableView reloadData];\n}\n\n- (UIColor *)randomColor {\n    CGFloat hue = ( arc4random() % 256 / 256.0 );  //  0.0 to 1.0\n    CGFloat saturation = ( arc4random() % 128 / 256.0 ) + 0.5;  //  0.5 to 1.0, away from white\n    CGFloat brightness = ( arc4random() % 128 / 256.0 ) + 0.5;  //  0.5 to 1.0, away from black\n    return [UIColor colorWithHue:hue saturation:saturation brightness:brightness alpha:1];\n}\n\n#pragma mark - UITableView DataSource\n- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView{\n    return 1;\n}\n\n-(NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section{\n    return self.datasource.count;\n}\n\n- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{\n    UITableViewCell* cell = [tableView dequeueReusableCellWithIdentifier:KCellIdentifier];\n    if (!cell) {\n        cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:KCellIdentifier];\n    }\n    \n    cell.textLabel.text = @(indexPath.row+1).stringValue;\n    cell.backgroundColor = self.datasource[indexPath.row];\n    \n    return cell;\n}\n\n\n@end\n"
  },
  {
    "path": "PullToRefreshCoreText/ViewController.h",
    "content": "//\n//  ViewController.h\n//  PullToRefreshCoreText\n//\n//  Created by Cem Olcay on 07/10/14.\n//  Copyright (c) 2014 questa. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface ViewController : UIViewController\n\n\n@end\n\n"
  },
  {
    "path": "PullToRefreshCoreText/ViewController.m",
    "content": "//\n//  ViewController.m\n//  PullToRefreshCoreText\n//\n//  Created by Cem Olcay on 07/10/14.\n//  Copyright (c) 2014 questa. All rights reserved.\n//\n\n#import \"ViewController.h\"\n#import \"UIScrollView+PullToRefreshCoreText.h\"\n\n@interface ViewController ()\n@property (nonatomic, strong) UIScrollView *scrollView;\n@property (nonatomic, assign) CGFloat contentHeight;\n@property (nonatomic, assign) NSInteger itemCount;\n@end\n\n@implementation ViewController\n\n- (void)viewDidLoad {\n    [super viewDidLoad];\n    [self setupScrollView];\n}\n\n\n#pragma mark - UIScrollView \n\n- (void)setupScrollView {\n    \n    self.contentHeight = 10;\n    self.itemCount = 0;\n    \n    //Create ScrollView\n    self.scrollView = [[UIScrollView alloc] initWithFrame:self.view.frame];\n    [self.scrollView setContentSize:CGSizeMake(self.view.frame.size.width, self.scrollView.frame.size.height + 1)];\n    [self.view addSubview:self.scrollView];\n\n    \n    //add pull to refresh\n    __weak typeof(self) weakSelf = self;\n    [self.scrollView addPullToRefreshWithPullText:@\"Pull To Refresh\" pullTextColor:[UIColor blackColor] pullTextFont:DefaultTextFont refreshingText:@\"Refreshing\" refreshingTextColor:[UIColor blueColor] refreshingTextFont:DefaultTextFont action:^{\n        [weakSelf loadItems];\n    }];\n    \n    \n    //add some items to scroll view\n    for (int i = 0; i < 2; i++) {\n        [self addNewItem];\n    }\n}\n\n- (void)loadItems {\n    __weak typeof(UIScrollView *) weakScrollView = self.scrollView;\n    __weak typeof(self) weakSelf = self;\n    dispatch_time_t popTime = dispatch_time(DISPATCH_TIME_NOW, 3 * NSEC_PER_SEC);\n    dispatch_after(popTime, dispatch_get_main_queue(), ^(void){\n        [weakSelf addNewItem];\n        [weakScrollView finishLoading];\n    });\n}\n\n- (void)addNewItem {\n    [self.scrollView addSubview:[self item]];\n    \n    if (self.scrollView.contentSize.height < self.contentHeight)\n        [self.scrollView setContentSize:CGSizeMake(self.scrollView.contentSize.width, self.contentHeight)];\n}\n\n- (UILabel *)item {\n    UILabel *lbl = [[UILabel alloc] initWithFrame:CGRectMake(10, self.contentHeight, self.view.frame.size.width - 20, 150)];\n    [lbl setText:[NSString stringWithFormat:@\"item %lu\", self.itemCount++]];\n    [lbl setTextAlignment:NSTextAlignmentCenter];\n    [lbl setBackgroundColor:[self randomColor]];\n    [lbl setFont:DefaultTextFont];\n\n    self.contentHeight += 160;\n    return lbl;\n}\n\n- (UIColor *)randomColor {\n    CGFloat hue = ( arc4random() % 256 / 256.0 );  //  0.0 to 1.0\n    CGFloat saturation = ( arc4random() % 128 / 256.0 ) + 0.5;  //  0.5 to 1.0, away from white\n    CGFloat brightness = ( arc4random() % 128 / 256.0 ) + 0.5;  //  0.5 to 1.0, away from black\n    return [UIColor colorWithHue:hue saturation:saturation brightness:brightness alpha:1];\n}\n\n@end\n"
  },
  {
    "path": "PullToRefreshCoreText/main.m",
    "content": "//\n//  main.m\n//  PullToRefreshCoreText\n//\n//  Created by Cem Olcay on 07/10/14.\n//  Copyright (c) 2014 questa. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n#import \"AppDelegate.h\"\n\nint main(int argc, char * argv[]) {\n    @autoreleasepool {\n        return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));\n    }\n}\n"
  },
  {
    "path": "PullToRefreshCoreText.podspec",
    "content": "#\n#  Be sure to run `pod spec lint PullToRefreshCoreText.podspec' to ensure this is a\n#  valid spec and to remove all comments including this before submitting the spec.\n#\n#  To learn more about Podspec attributes see http://docs.cocoapods.org/specification.html\n#  To see working Podspecs in the CocoaPods repo see https://github.com/CocoaPods/Specs/\n#\n\nPod::Spec.new do |s|\n\n  # ―――  Spec Metadata  ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #\n  #\n  #  These will help people to find your library, and whilst it\n  #  can feel like a chore to fill in it's definitely to your advantage. The\n  #  summary should be tweet-length, and the description more in depth.\n  #\n\n  s.name         = \"PullToRefreshCoreText\"\n  s.version      = \"0.2\"\n  s.summary      = \"PullToRefresh extension for all UIScrollView type classes with animated text drawing style \"\n  s.description = <<-DESC\n                https://github.com/cemolcay/PullToRefreshCoreText/blob/master/README.md\n                   DESC\n\n  s.homepage     = \"https://github.com/cemolcay/PullToRefreshCoreText\"\n  # s.screenshots  = \"www.example.com/screenshots_1.gif\", \"www.example.com/screenshots_2.gif\"\n\n\n  # ―――  Spec License  ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #\n  #\n  #  Licensing your code is important. See http://choosealicense.com for more info.\n  #  CocoaPods will detect a license file if there is a named LICENSE*\n  #  Popular ones are 'MIT', 'BSD' and 'Apache License, Version 2.0'.\n  #\n\n  s.license      = \"MIT\"\n  # s.license      = { :type => \"MIT\", :file => \"FILE_LICENSE\" }\n\n\n  # ――― Author Metadata  ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #\n  #\n  #  Specify the authors of the library, with email addresses. Email addresses\n  #  of the authors are extracted from the SCM log. E.g. $ git log. CocoaPods also\n  #  accepts just a name if you'd rather not provide an email address.\n  #\n  #  Specify a social_media_url where others can refer to, for example a twitter\n  #  profile URL.\n  #\n\n  s.author             = { \"cemolcay\" => \"ccemolcay@gmail.com\" }\n  # Or just: s.author    = \"cemolcay\"\n  # s.authors            = { \"cemolcay\" => \"ccemolcay@gmail.com\" }\n  # s.social_media_url   = \"http://twitter.com/cemolcay\"\n\n  # ――― Platform Specifics ――――――――――――――――――――――――――――――――――――――――――――――――――――――― #\n  #\n  #  If this Pod runs only on iOS or OS X, then specify the platform and\n  #  the deployment target. You can optionally include the target after the platform.\n  #\n\n  # s.platform     = :ios\n   s.platform     = :ios, \"7.0\"\n\n  #  When using multiple platforms\n  # s.ios.deployment_target = \"5.0\"\n  # s.osx.deployment_target = \"10.7\"\n\n\n  # ――― Source Location ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #\n  #\n  #  Specify the location from where the source should be retrieved.\n  #  Supports git, hg, bzr, svn and HTTP.\n  #\n\n  s.source       = { :git => \"https://github.com/cemolcay/PullToRefreshCoreText.git\", :tag => \"v0.2\" }\n\n\n  # ――― Source Code ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #\n  #\n  #  CocoaPods is smart about how it includes source code. For source files\n  #  giving a folder will include any h, m, mm, c & cpp files. For header\n  #  files it will include any header in the folder.\n  #  Not including the public_header_files will make all headers public.\n  #\n\n  s.source_files  = \"PullToRefreshCoreText/PullToRefreshCoreText/*.{h,m}\"\n\n  # s.public_header_files = \"Classes/**/*.h\"\n\n\n  # ――― Resources ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #\n  #\n  #  A list of resources included with the Pod. These are copied into the\n  #  target bundle with a build phase script. Anything else will be cleaned.\n  #  You can preserve files from being cleaned, please don't preserve\n  #  non-essential files like tests, examples and documentation.\n  #\n\n  # s.resource  = \"icon.png\"\n   s.resources = \"PullToRefreshCoreText/PullToRefreshCoreText/*.png\"\n\n  # s.preserve_paths = \"FilesToSave\", \"MoreFilesToSave\"\n\n\n  # ――― Project Linking ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #\n  #\n  #  Link your library with frameworks, or libraries. Libraries do not include\n  #  the lib prefix of their name.\n  #\n\n   s.framework  = \"CoreText\"\n  # s.frameworks = \"SomeFramework\", \"AnotherFramework\"\n\n  # s.library   = \"iconv\"\n  # s.libraries = \"iconv\", \"xml2\"\n\n\n  # ――― Project Settings ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #\n  #\n  #  If your library depends on compiler flags you can set them in the xcconfig hash\n  #  where they will only apply to your library. If you depend on other Podspecs\n  #  you can include multiple dependencies to ensure it works.\n\n   s.requires_arc = true\n\n  # s.xcconfig = { \"HEADER_SEARCH_PATHS\" => \"$(SDKROOT)/usr/include/libxml2\" }\n  # s.dependency \"JSONKit\", \"~> 1.4\"\n\nend\n"
  },
  {
    "path": "PullToRefreshCoreText.xcodeproj/project.pbxproj",
    "content": "// !$*UTF8*$!\n{\n\tarchiveVersion = 1;\n\tclasses = {\n\t};\n\tobjectVersion = 46;\n\tobjects = {\n\n/* Begin PBXBuildFile section */\n\t\tB29BC27919E4178E00365B69 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = B29BC27819E4178E00365B69 /* main.m */; };\n\t\tB29BC27C19E4178E00365B69 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = B29BC27B19E4178E00365B69 /* AppDelegate.m */; };\n\t\tB29BC27F19E4178E00365B69 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = B29BC27E19E4178E00365B69 /* ViewController.m */; };\n\t\tB29BC28219E4178E00365B69 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = B29BC28019E4178E00365B69 /* Main.storyboard */; };\n\t\tB29BC28419E4178E00365B69 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = B29BC28319E4178E00365B69 /* Images.xcassets */; };\n\t\tB29BC28719E4178E00365B69 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = B29BC28519E4178E00365B69 /* LaunchScreen.xib */; };\n\t\tB29BC29319E4178E00365B69 /* PullToRefreshCoreTextTests.m in Sources */ = {isa = PBXBuildFile; fileRef = B29BC29219E4178E00365B69 /* PullToRefreshCoreTextTests.m */; };\n\t\tB2D4613119F006ED00C6B60A /* Mask.png in Resources */ = {isa = PBXBuildFile; fileRef = B2D4612C19F006ED00C6B60A /* Mask.png */; };\n\t\tB2D4613219F006ED00C6B60A /* PullToRefreshCoreTextView.m in Sources */ = {isa = PBXBuildFile; fileRef = B2D4612E19F006ED00C6B60A /* PullToRefreshCoreTextView.m */; };\n\t\tB2D4613319F006ED00C6B60A /* UIScrollView+PullToRefreshCoreText.m in Sources */ = {isa = PBXBuildFile; fileRef = B2D4613019F006ED00C6B60A /* UIScrollView+PullToRefreshCoreText.m */; };\n\t\tC00613BA1C10F7DC00E38B9E /* TableViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = C00613B91C10F7DC00E38B9E /* TableViewController.m */; };\n/* End PBXBuildFile section */\n\n/* Begin PBXContainerItemProxy section */\n\t\tB29BC28D19E4178E00365B69 /* PBXContainerItemProxy */ = {\n\t\t\tisa = PBXContainerItemProxy;\n\t\t\tcontainerPortal = B29BC26B19E4178E00365B69 /* Project object */;\n\t\t\tproxyType = 1;\n\t\t\tremoteGlobalIDString = B29BC27219E4178E00365B69;\n\t\t\tremoteInfo = PullToRefreshCoreText;\n\t\t};\n/* End PBXContainerItemProxy section */\n\n/* Begin PBXFileReference section */\n\t\tB29BC27319E4178E00365B69 /* PullToRefreshCoreText.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = PullToRefreshCoreText.app; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\tB29BC27719E4178E00365B69 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = \"<group>\"; };\n\t\tB29BC27819E4178E00365B69 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = \"<group>\"; };\n\t\tB29BC27A19E4178E00365B69 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = \"<group>\"; };\n\t\tB29BC27B19E4178E00365B69 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = \"<group>\"; };\n\t\tB29BC27D19E4178E00365B69 /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = \"<group>\"; };\n\t\tB29BC27E19E4178E00365B69 /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = \"<group>\"; };\n\t\tB29BC28119E4178E00365B69 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = \"<group>\"; };\n\t\tB29BC28319E4178E00365B69 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = \"<group>\"; };\n\t\tB29BC28619E4178E00365B69 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = \"<group>\"; };\n\t\tB29BC28C19E4178E00365B69 /* PullToRefreshCoreTextTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = PullToRefreshCoreTextTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\tB29BC29119E4178E00365B69 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = \"<group>\"; };\n\t\tB29BC29219E4178E00365B69 /* PullToRefreshCoreTextTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PullToRefreshCoreTextTests.m; sourceTree = \"<group>\"; };\n\t\tB2D4612C19F006ED00C6B60A /* Mask.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Mask.png; sourceTree = \"<group>\"; };\n\t\tB2D4612D19F006ED00C6B60A /* PullToRefreshCoreTextView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PullToRefreshCoreTextView.h; sourceTree = \"<group>\"; };\n\t\tB2D4612E19F006ED00C6B60A /* PullToRefreshCoreTextView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PullToRefreshCoreTextView.m; sourceTree = \"<group>\"; };\n\t\tB2D4612F19F006ED00C6B60A /* UIScrollView+PullToRefreshCoreText.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = \"UIScrollView+PullToRefreshCoreText.h\"; sourceTree = \"<group>\"; };\n\t\tB2D4613019F006ED00C6B60A /* UIScrollView+PullToRefreshCoreText.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = \"UIScrollView+PullToRefreshCoreText.m\"; sourceTree = \"<group>\"; };\n\t\tC00613B81C10F7DC00E38B9E /* TableViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TableViewController.h; sourceTree = \"<group>\"; };\n\t\tC00613B91C10F7DC00E38B9E /* TableViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = TableViewController.m; sourceTree = \"<group>\"; };\n/* End PBXFileReference section */\n\n/* Begin PBXFrameworksBuildPhase section */\n\t\tB29BC27019E4178E00365B69 /* Frameworks */ = {\n\t\t\tisa = PBXFrameworksBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\tB29BC28919E4178E00365B69 /* Frameworks */ = {\n\t\t\tisa = PBXFrameworksBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXFrameworksBuildPhase section */\n\n/* Begin PBXGroup section */\n\t\tB29BC26A19E4178E00365B69 = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\tB29BC27519E4178E00365B69 /* PullToRefreshCoreText */,\n\t\t\t\tB29BC28F19E4178E00365B69 /* PullToRefreshCoreTextTests */,\n\t\t\t\tB29BC27419E4178E00365B69 /* Products */,\n\t\t\t);\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tB29BC27419E4178E00365B69 /* Products */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\tB29BC27319E4178E00365B69 /* PullToRefreshCoreText.app */,\n\t\t\t\tB29BC28C19E4178E00365B69 /* PullToRefreshCoreTextTests.xctest */,\n\t\t\t);\n\t\t\tname = Products;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tB29BC27519E4178E00365B69 /* PullToRefreshCoreText */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\tB2D4612B19F006ED00C6B60A /* PullToRefreshCoreText */,\n\t\t\t\tB29BC27A19E4178E00365B69 /* AppDelegate.h */,\n\t\t\t\tB29BC27B19E4178E00365B69 /* AppDelegate.m */,\n\t\t\t\tB29BC27D19E4178E00365B69 /* ViewController.h */,\n\t\t\t\tB29BC27E19E4178E00365B69 /* ViewController.m */,\n\t\t\t\tC00613B81C10F7DC00E38B9E /* TableViewController.h */,\n\t\t\t\tC00613B91C10F7DC00E38B9E /* TableViewController.m */,\n\t\t\t\tB29BC28019E4178E00365B69 /* Main.storyboard */,\n\t\t\t\tB29BC28319E4178E00365B69 /* Images.xcassets */,\n\t\t\t\tB29BC28519E4178E00365B69 /* LaunchScreen.xib */,\n\t\t\t\tB29BC27619E4178E00365B69 /* Supporting Files */,\n\t\t\t);\n\t\t\tpath = PullToRefreshCoreText;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tB29BC27619E4178E00365B69 /* Supporting Files */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\tB29BC27719E4178E00365B69 /* Info.plist */,\n\t\t\t\tB29BC27819E4178E00365B69 /* main.m */,\n\t\t\t);\n\t\t\tname = \"Supporting Files\";\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tB29BC28F19E4178E00365B69 /* PullToRefreshCoreTextTests */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\tB29BC29219E4178E00365B69 /* PullToRefreshCoreTextTests.m */,\n\t\t\t\tB29BC29019E4178E00365B69 /* Supporting Files */,\n\t\t\t);\n\t\t\tpath = PullToRefreshCoreTextTests;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tB29BC29019E4178E00365B69 /* Supporting Files */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\tB29BC29119E4178E00365B69 /* Info.plist */,\n\t\t\t);\n\t\t\tname = \"Supporting Files\";\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tB2D4612B19F006ED00C6B60A /* PullToRefreshCoreText */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\tB2D4612C19F006ED00C6B60A /* Mask.png */,\n\t\t\t\tB2D4612D19F006ED00C6B60A /* PullToRefreshCoreTextView.h */,\n\t\t\t\tB2D4612E19F006ED00C6B60A /* PullToRefreshCoreTextView.m */,\n\t\t\t\tB2D4612F19F006ED00C6B60A /* UIScrollView+PullToRefreshCoreText.h */,\n\t\t\t\tB2D4613019F006ED00C6B60A /* UIScrollView+PullToRefreshCoreText.m */,\n\t\t\t);\n\t\t\tpath = PullToRefreshCoreText;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXGroup section */\n\n/* Begin PBXNativeTarget section */\n\t\tB29BC27219E4178E00365B69 /* PullToRefreshCoreText */ = {\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildConfigurationList = B29BC29619E4178E00365B69 /* Build configuration list for PBXNativeTarget \"PullToRefreshCoreText\" */;\n\t\t\tbuildPhases = (\n\t\t\t\tB29BC26F19E4178E00365B69 /* Sources */,\n\t\t\t\tB29BC27019E4178E00365B69 /* Frameworks */,\n\t\t\t\tB29BC27119E4178E00365B69 /* Resources */,\n\t\t\t);\n\t\t\tbuildRules = (\n\t\t\t);\n\t\t\tdependencies = (\n\t\t\t);\n\t\t\tname = PullToRefreshCoreText;\n\t\t\tproductName = PullToRefreshCoreText;\n\t\t\tproductReference = B29BC27319E4178E00365B69 /* PullToRefreshCoreText.app */;\n\t\t\tproductType = \"com.apple.product-type.application\";\n\t\t};\n\t\tB29BC28B19E4178E00365B69 /* PullToRefreshCoreTextTests */ = {\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildConfigurationList = B29BC29919E4178E00365B69 /* Build configuration list for PBXNativeTarget \"PullToRefreshCoreTextTests\" */;\n\t\t\tbuildPhases = (\n\t\t\t\tB29BC28819E4178E00365B69 /* Sources */,\n\t\t\t\tB29BC28919E4178E00365B69 /* Frameworks */,\n\t\t\t\tB29BC28A19E4178E00365B69 /* Resources */,\n\t\t\t);\n\t\t\tbuildRules = (\n\t\t\t);\n\t\t\tdependencies = (\n\t\t\t\tB29BC28E19E4178E00365B69 /* PBXTargetDependency */,\n\t\t\t);\n\t\t\tname = PullToRefreshCoreTextTests;\n\t\t\tproductName = PullToRefreshCoreTextTests;\n\t\t\tproductReference = B29BC28C19E4178E00365B69 /* PullToRefreshCoreTextTests.xctest */;\n\t\t\tproductType = \"com.apple.product-type.bundle.unit-test\";\n\t\t};\n/* End PBXNativeTarget section */\n\n/* Begin PBXProject section */\n\t\tB29BC26B19E4178E00365B69 /* Project object */ = {\n\t\t\tisa = PBXProject;\n\t\t\tattributes = {\n\t\t\t\tLastUpgradeCheck = 0600;\n\t\t\t\tORGANIZATIONNAME = questa;\n\t\t\t\tTargetAttributes = {\n\t\t\t\t\tB29BC27219E4178E00365B69 = {\n\t\t\t\t\t\tCreatedOnToolsVersion = 6.0.1;\n\t\t\t\t\t};\n\t\t\t\t\tB29BC28B19E4178E00365B69 = {\n\t\t\t\t\t\tCreatedOnToolsVersion = 6.0.1;\n\t\t\t\t\t\tTestTargetID = B29BC27219E4178E00365B69;\n\t\t\t\t\t};\n\t\t\t\t};\n\t\t\t};\n\t\t\tbuildConfigurationList = B29BC26E19E4178E00365B69 /* Build configuration list for PBXProject \"PullToRefreshCoreText\" */;\n\t\t\tcompatibilityVersion = \"Xcode 3.2\";\n\t\t\tdevelopmentRegion = English;\n\t\t\thasScannedForEncodings = 0;\n\t\t\tknownRegions = (\n\t\t\t\ten,\n\t\t\t\tBase,\n\t\t\t);\n\t\t\tmainGroup = B29BC26A19E4178E00365B69;\n\t\t\tproductRefGroup = B29BC27419E4178E00365B69 /* Products */;\n\t\t\tprojectDirPath = \"\";\n\t\t\tprojectRoot = \"\";\n\t\t\ttargets = (\n\t\t\t\tB29BC27219E4178E00365B69 /* PullToRefreshCoreText */,\n\t\t\t\tB29BC28B19E4178E00365B69 /* PullToRefreshCoreTextTests */,\n\t\t\t);\n\t\t};\n/* End PBXProject section */\n\n/* Begin PBXResourcesBuildPhase section */\n\t\tB29BC27119E4178E00365B69 /* Resources */ = {\n\t\t\tisa = PBXResourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\tB29BC28219E4178E00365B69 /* Main.storyboard in Resources */,\n\t\t\t\tB29BC28719E4178E00365B69 /* LaunchScreen.xib in Resources */,\n\t\t\t\tB29BC28419E4178E00365B69 /* Images.xcassets in Resources */,\n\t\t\t\tB2D4613119F006ED00C6B60A /* Mask.png in Resources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\tB29BC28A19E4178E00365B69 /* Resources */ = {\n\t\t\tisa = PBXResourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXResourcesBuildPhase section */\n\n/* Begin PBXSourcesBuildPhase section */\n\t\tB29BC26F19E4178E00365B69 /* Sources */ = {\n\t\t\tisa = PBXSourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\tB29BC27F19E4178E00365B69 /* ViewController.m in Sources */,\n\t\t\t\tC00613BA1C10F7DC00E38B9E /* TableViewController.m in Sources */,\n\t\t\t\tB29BC27C19E4178E00365B69 /* AppDelegate.m in Sources */,\n\t\t\t\tB2D4613219F006ED00C6B60A /* PullToRefreshCoreTextView.m in Sources */,\n\t\t\t\tB2D4613319F006ED00C6B60A /* UIScrollView+PullToRefreshCoreText.m in Sources */,\n\t\t\t\tB29BC27919E4178E00365B69 /* main.m in Sources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\tB29BC28819E4178E00365B69 /* Sources */ = {\n\t\t\tisa = PBXSourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\tB29BC29319E4178E00365B69 /* PullToRefreshCoreTextTests.m in Sources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXSourcesBuildPhase section */\n\n/* Begin PBXTargetDependency section */\n\t\tB29BC28E19E4178E00365B69 /* PBXTargetDependency */ = {\n\t\t\tisa = PBXTargetDependency;\n\t\t\ttarget = B29BC27219E4178E00365B69 /* PullToRefreshCoreText */;\n\t\t\ttargetProxy = B29BC28D19E4178E00365B69 /* PBXContainerItemProxy */;\n\t\t};\n/* End PBXTargetDependency section */\n\n/* Begin PBXVariantGroup section */\n\t\tB29BC28019E4178E00365B69 /* Main.storyboard */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\tB29BC28119E4178E00365B69 /* Base */,\n\t\t\t);\n\t\t\tname = Main.storyboard;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tB29BC28519E4178E00365B69 /* LaunchScreen.xib */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\tB29BC28619E4178E00365B69 /* Base */,\n\t\t\t);\n\t\t\tname = LaunchScreen.xib;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXVariantGroup section */\n\n/* Begin XCBuildConfiguration section */\n\t\tB29BC29419E4178E00365B69 /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++0x\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_DYNAMIC_NO_PIC = NO;\n\t\t\t\tGCC_OPTIMIZATION_LEVEL = 0;\n\t\t\t\tGCC_PREPROCESSOR_DEFINITIONS = (\n\t\t\t\t\t\"DEBUG=1\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tGCC_SYMBOLS_PRIVATE_EXTERN = NO;\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 8.0;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = YES;\n\t\t\t\tONLY_ACTIVE_ARCH = YES;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\tB29BC29519E4178E00365B69 /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++0x\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = YES;\n\t\t\t\tENABLE_NS_ASSERTIONS = NO;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 8.0;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = NO;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tVALIDATE_PRODUCT = YES;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n\t\tB29BC29719E4178E00365B69 /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tINFOPLIST_FILE = PullToRefreshCoreText/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks\";\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\tB29BC29819E4178E00365B69 /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tINFOPLIST_FILE = PullToRefreshCoreText/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks\";\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n\t\tB29BC29A19E4178E00365B69 /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tBUNDLE_LOADER = \"$(TEST_HOST)\";\n\t\t\t\tFRAMEWORK_SEARCH_PATHS = (\n\t\t\t\t\t\"$(SDKROOT)/Developer/Library/Frameworks\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tGCC_PREPROCESSOR_DEFINITIONS = (\n\t\t\t\t\t\"DEBUG=1\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tINFOPLIST_FILE = PullToRefreshCoreTextTests/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks @loader_path/Frameworks\";\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tTEST_HOST = \"$(BUILT_PRODUCTS_DIR)/PullToRefreshCoreText.app/PullToRefreshCoreText\";\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\tB29BC29B19E4178E00365B69 /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tBUNDLE_LOADER = \"$(TEST_HOST)\";\n\t\t\t\tFRAMEWORK_SEARCH_PATHS = (\n\t\t\t\t\t\"$(SDKROOT)/Developer/Library/Frameworks\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tINFOPLIST_FILE = PullToRefreshCoreTextTests/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks @loader_path/Frameworks\";\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tTEST_HOST = \"$(BUILT_PRODUCTS_DIR)/PullToRefreshCoreText.app/PullToRefreshCoreText\";\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n/* End XCBuildConfiguration section */\n\n/* Begin XCConfigurationList section */\n\t\tB29BC26E19E4178E00365B69 /* Build configuration list for PBXProject \"PullToRefreshCoreText\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\tB29BC29419E4178E00365B69 /* Debug */,\n\t\t\t\tB29BC29519E4178E00365B69 /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n\t\tB29BC29619E4178E00365B69 /* Build configuration list for PBXNativeTarget \"PullToRefreshCoreText\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\tB29BC29719E4178E00365B69 /* Debug */,\n\t\t\t\tB29BC29819E4178E00365B69 /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n\t\tB29BC29919E4178E00365B69 /* Build configuration list for PBXNativeTarget \"PullToRefreshCoreTextTests\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\tB29BC29A19E4178E00365B69 /* Debug */,\n\t\t\t\tB29BC29B19E4178E00365B69 /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n/* End XCConfigurationList section */\n\t};\n\trootObject = B29BC26B19E4178E00365B69 /* Project object */;\n}\n"
  },
  {
    "path": "PullToRefreshCoreText.xcodeproj/project.xcworkspace/contents.xcworkspacedata",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Workspace\n   version = \"1.0\">\n   <FileRef\n      location = \"self:PullToRefreshCoreText.xcodeproj\">\n   </FileRef>\n</Workspace>\n"
  },
  {
    "path": "PullToRefreshCoreText.xcodeproj/project.xcworkspace/xcshareddata/PullToRefreshCoreText.xccheckout",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>IDESourceControlProjectFavoriteDictionaryKey</key>\n\t<false/>\n\t<key>IDESourceControlProjectIdentifier</key>\n\t<string>C6F89E8B-DE7C-40DA-96D9-07D64821BF19</string>\n\t<key>IDESourceControlProjectName</key>\n\t<string>PullToRefreshCoreText</string>\n\t<key>IDESourceControlProjectOriginsDictionary</key>\n\t<dict>\n\t\t<key>51D0BD135080145A51AAFC376EF45758245B9CE6</key>\n\t\t<string>https://github.com/cemolcay/PullToRefreshCoreText.git</string>\n\t</dict>\n\t<key>IDESourceControlProjectPath</key>\n\t<string>PullToRefreshCoreText.xcodeproj</string>\n\t<key>IDESourceControlProjectRelativeInstallPathDictionary</key>\n\t<dict>\n\t\t<key>51D0BD135080145A51AAFC376EF45758245B9CE6</key>\n\t\t<string>../..</string>\n\t</dict>\n\t<key>IDESourceControlProjectURL</key>\n\t<string>https://github.com/cemolcay/PullToRefreshCoreText.git</string>\n\t<key>IDESourceControlProjectVersion</key>\n\t<integer>111</integer>\n\t<key>IDESourceControlProjectWCCIdentifier</key>\n\t<string>51D0BD135080145A51AAFC376EF45758245B9CE6</string>\n\t<key>IDESourceControlProjectWCConfigurations</key>\n\t<array>\n\t\t<dict>\n\t\t\t<key>IDESourceControlRepositoryExtensionIdentifierKey</key>\n\t\t\t<string>public.vcs.git</string>\n\t\t\t<key>IDESourceControlWCCIdentifierKey</key>\n\t\t\t<string>51D0BD135080145A51AAFC376EF45758245B9CE6</string>\n\t\t\t<key>IDESourceControlWCCName</key>\n\t\t\t<string>PullToRefreshCoreText</string>\n\t\t</dict>\n\t</array>\n</dict>\n</plist>\n"
  },
  {
    "path": "PullToRefreshCoreText.xcodeproj/xcuserdata/Cem.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Bucket\n   type = \"1\"\n   version = \"2.0\">\n</Bucket>\n"
  },
  {
    "path": "PullToRefreshCoreText.xcodeproj/xcuserdata/Cem.xcuserdatad/xcschemes/PullToRefreshCoreText.xcscheme",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n   LastUpgradeVersion = \"0600\"\n   version = \"1.3\">\n   <BuildAction\n      parallelizeBuildables = \"YES\"\n      buildImplicitDependencies = \"YES\">\n      <BuildActionEntries>\n         <BuildActionEntry\n            buildForTesting = \"YES\"\n            buildForRunning = \"YES\"\n            buildForProfiling = \"YES\"\n            buildForArchiving = \"YES\"\n            buildForAnalyzing = \"YES\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"B29BC27219E4178E00365B69\"\n               BuildableName = \"PullToRefreshCoreText.app\"\n               BlueprintName = \"PullToRefreshCoreText\"\n               ReferencedContainer = \"container:PullToRefreshCoreText.xcodeproj\">\n            </BuildableReference>\n         </BuildActionEntry>\n         <BuildActionEntry\n            buildForTesting = \"YES\"\n            buildForRunning = \"YES\"\n            buildForProfiling = \"NO\"\n            buildForArchiving = \"NO\"\n            buildForAnalyzing = \"YES\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"B29BC28B19E4178E00365B69\"\n               BuildableName = \"PullToRefreshCoreTextTests.xctest\"\n               BlueprintName = \"PullToRefreshCoreTextTests\"\n               ReferencedContainer = \"container:PullToRefreshCoreText.xcodeproj\">\n            </BuildableReference>\n         </BuildActionEntry>\n      </BuildActionEntries>\n   </BuildAction>\n   <TestAction\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\"\n      buildConfiguration = \"Debug\">\n      <Testables>\n         <TestableReference\n            skipped = \"NO\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"B29BC28B19E4178E00365B69\"\n               BuildableName = \"PullToRefreshCoreTextTests.xctest\"\n               BlueprintName = \"PullToRefreshCoreTextTests\"\n               ReferencedContainer = \"container:PullToRefreshCoreText.xcodeproj\">\n            </BuildableReference>\n         </TestableReference>\n      </Testables>\n      <MacroExpansion>\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"B29BC27219E4178E00365B69\"\n            BuildableName = \"PullToRefreshCoreText.app\"\n            BlueprintName = \"PullToRefreshCoreText\"\n            ReferencedContainer = \"container:PullToRefreshCoreText.xcodeproj\">\n         </BuildableReference>\n      </MacroExpansion>\n   </TestAction>\n   <LaunchAction\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      launchStyle = \"0\"\n      useCustomWorkingDirectory = \"NO\"\n      buildConfiguration = \"Debug\"\n      ignoresPersistentStateOnLaunch = \"NO\"\n      debugDocumentVersioning = \"YES\"\n      allowLocationSimulation = \"YES\">\n      <BuildableProductRunnable>\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"B29BC27219E4178E00365B69\"\n            BuildableName = \"PullToRefreshCoreText.app\"\n            BlueprintName = \"PullToRefreshCoreText\"\n            ReferencedContainer = \"container:PullToRefreshCoreText.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </LaunchAction>\n   <ProfileAction\n      shouldUseLaunchSchemeArgsEnv = \"YES\"\n      savedToolIdentifier = \"\"\n      useCustomWorkingDirectory = \"NO\"\n      buildConfiguration = \"Release\"\n      debugDocumentVersioning = \"YES\">\n      <BuildableProductRunnable>\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"B29BC27219E4178E00365B69\"\n            BuildableName = \"PullToRefreshCoreText.app\"\n            BlueprintName = \"PullToRefreshCoreText\"\n            ReferencedContainer = \"container:PullToRefreshCoreText.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n   </ProfileAction>\n   <AnalyzeAction\n      buildConfiguration = \"Debug\">\n   </AnalyzeAction>\n   <ArchiveAction\n      buildConfiguration = \"Release\"\n      revealArchiveInOrganizer = \"YES\">\n   </ArchiveAction>\n</Scheme>\n"
  },
  {
    "path": "PullToRefreshCoreText.xcodeproj/xcuserdata/Cem.xcuserdatad/xcschemes/xcschememanagement.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>SchemeUserState</key>\n\t<dict>\n\t\t<key>PullToRefreshCoreText.xcscheme</key>\n\t\t<dict>\n\t\t\t<key>orderHint</key>\n\t\t\t<integer>0</integer>\n\t\t</dict>\n\t</dict>\n\t<key>SuppressBuildableAutocreation</key>\n\t<dict>\n\t\t<key>B29BC27219E4178E00365B69</key>\n\t\t<dict>\n\t\t\t<key>primary</key>\n\t\t\t<true/>\n\t\t</dict>\n\t\t<key>B29BC28B19E4178E00365B69</key>\n\t\t<dict>\n\t\t\t<key>primary</key>\n\t\t\t<true/>\n\t\t</dict>\n\t</dict>\n</dict>\n</plist>\n"
  },
  {
    "path": "PullToRefreshCoreTextTests/Info.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>CFBundleDevelopmentRegion</key>\n\t<string>en</string>\n\t<key>CFBundleExecutable</key>\n\t<string>$(EXECUTABLE_NAME)</string>\n\t<key>CFBundleIdentifier</key>\n\t<string>com.questa.$(PRODUCT_NAME:rfc1034identifier)</string>\n\t<key>CFBundleInfoDictionaryVersion</key>\n\t<string>6.0</string>\n\t<key>CFBundleName</key>\n\t<string>$(PRODUCT_NAME)</string>\n\t<key>CFBundlePackageType</key>\n\t<string>BNDL</string>\n\t<key>CFBundleShortVersionString</key>\n\t<string>1.0</string>\n\t<key>CFBundleSignature</key>\n\t<string>????</string>\n\t<key>CFBundleVersion</key>\n\t<string>1</string>\n</dict>\n</plist>\n"
  },
  {
    "path": "PullToRefreshCoreTextTests/PullToRefreshCoreTextTests.m",
    "content": "//\n//  PullToRefreshCoreTextTests.m\n//  PullToRefreshCoreTextTests\n//\n//  Created by Cem Olcay on 07/10/14.\n//  Copyright (c) 2014 questa. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n#import <XCTest/XCTest.h>\n\n@interface PullToRefreshCoreTextTests : XCTestCase\n\n@end\n\n@implementation PullToRefreshCoreTextTests\n\n- (void)setUp {\n    [super setUp];\n    // Put setup code here. This method is called before the invocation of each test method in the class.\n}\n\n- (void)tearDown {\n    // Put teardown code here. This method is called after the invocation of each test method in the class.\n    [super tearDown];\n}\n\n- (void)testExample {\n    // This is an example of a functional test case.\n    XCTAssert(YES, @\"Pass\");\n}\n\n- (void)testPerformanceExample {\n    // This is an example of a performance test case.\n    [self measureBlock:^{\n        // Put the code you want to measure the time of here.\n    }];\n}\n\n@end\n"
  },
  {
    "path": "README.md",
    "content": "PullToRefreshCoreText\n=====================\n\nPullToRefresh extension for all UIScrollView type classes with animated text drawing style<br>\n\nDemo\n----\n\n![alt tag](https://raw.githubusercontent.com/cemolcay/PullToRefreshCoreText/master/demo.gif)\n\nInstall\n-------\n\n**Manual**  \nCopy the files in the folder named PullToRefreshCoreText to your project.  \nImport the \"UIScrollView+PullToRefreshCoreText.h\"  \n  \n**Cocoapods**\n\n```\n    source 'https://github.com/CocoaPods/Specs.git'\n    pod 'PullToRefreshCoreText', '~> 0.2'\n``` \n\nUsage\n-----\n\n\t- (void)addPullToRefreshWithPullText:(NSString *)pullText\n\t                       pullTextColor:(UIColor *)pullTextColor\n\t                        pullTextFont:(UIFont *)pullTextFont\n\t                      refreshingText:(NSString *)refreshingText\n\t                 refreshingTextColor:(UIColor *)refreshingTextColor\n\t                  refreshingTextFont:(UIFont *)refreshingTextFont\n\t                              action:(pullToRefreshAction)action;\n\nIt has 2 main texts, pulling and refreshing. <br>\nInit function has parameters for creating this texts with its strings, text colors and fonts. <br> \nLast parameter is the block function where loading code goes to. <br>\n\nAlternatively I added some other init methods if you want to use same texts or fonts etc. <br>\n\n\t   - (void)addPullToRefreshWithPullText:(NSString *)pullText\n\t                                 action:(pullToRefreshAction)action;\n\t   \n\t   - (void)addPullToRefreshWithPullText:(NSString *)pullText\n\t                         refreshingText:(NSString *)refreshingText\n\t                                 action:(pullToRefreshAction)action;\n\t   \n\t   - (void)addPullToRefreshWithPullText:(NSString *)pullText\n\t                                   font:(UIFont *)font\n\t                                 action:(pullToRefreshAction)action;\n\t   \n\t   \n\t   - (void)addPullToRefreshWithPullText:(NSString *)pullText\n\t                         refreshingText:(NSString *)refreshingText\n\t                                   font:(UIFont *)font\n\t                                 action:(pullToRefreshAction)action;\n\t   \n\t   \n\t   - (void)addPullToRefreshWithPullText:(NSString *)pullText\n\t                          pullTextColor:(UIColor *)pullTextColor\n\t                         refreshingText:(NSString *)refreshingText\n\t                    refreshingTextColor:(UIColor *)refreshingTextColor\n\t                                   font:(UIFont *)font\n\t                                 action:(pullToRefreshAction)action;\n\n\nImplementation\n--------------\n\n    //Create ScrollView\n    self.scrollView = [[UIScrollView alloc] initWithFrame:self.view.frame];\n    [self.scrollView setContentSize:CGSizeMake(self.view.frame.size.width, self.scrollView.frame.size.height + 1)];\n    [self.view addSubview:self.scrollView];\n\n    \n    //add pull to refresh\n    __weak typeof(self) weakSelf = self;\n    [self.scrollView addPullToRefreshWithPullText:@\"Pull To Refresh\" pullTextColor:[UIColor blackColor] pullTextFont:DefaultTextFont refreshingText:@\"Refreshing\" refreshingTextColor:[UIColor blueColor] refreshingTextFont:DefaultTextFont action:^{\n        [weakSelf loadItems];\n    }];\n\n\nOne last thing: you should call the `[scrollView finishLoading]` method after the load finishes.<br>\nOtherwise you stuck in refreshing state always.\n\nCredits\n=======\n\nBlogs and codes I used for creating this<br>\nhttps://github.com/jrturton/NSString-Glyphs<br>\nhttp://www.codeproject.com/Articles/109729/Low-level-text-rendering<br>\nhttp://ronnqvi.st/controlling-animation-timing/<br>\n"
  }
]