Repository: badoo/BMASpinningLabel Branch: master Commit: 02f7fdf9614c Files: 51 Total size: 124.7 KB Directory structure: gitextract_b5utrw61/ ├── .gitignore ├── .travis.yml ├── BMASpinningLabel/ │ ├── BMASpinningLabel.h │ └── BMASpinningLabel.m ├── BMASpinningLabel.podspec ├── Example/ │ ├── BMASpinningLabel/ │ │ ├── AppDelegate.h │ │ ├── AppDelegate.m │ │ ├── Assets.xcassets/ │ │ │ └── AppIcon.appiconset/ │ │ │ └── Contents.json │ │ ├── Base.lproj/ │ │ │ ├── LaunchScreen.storyboard │ │ │ └── Main.storyboard │ │ ├── Info.plist │ │ ├── ViewController.h │ │ ├── ViewController.m │ │ └── main.m │ ├── BMASpinningLabel.xcodeproj/ │ │ ├── project.pbxproj │ │ ├── project.xcworkspace/ │ │ │ └── contents.xcworkspacedata │ │ └── xcshareddata/ │ │ └── xcschemes/ │ │ └── BMASpinningLabel.xcscheme │ ├── BMASpinningLabel.xcworkspace/ │ │ └── contents.xcworkspacedata │ ├── BMASpinningLabelTests/ │ │ ├── BMASpinningLabelTests.m │ │ └── Info.plist │ ├── Podfile │ └── Pods/ │ ├── Local Podspecs/ │ │ └── BMASpinningLabel.podspec.json │ ├── Pods.xcodeproj/ │ │ └── project.pbxproj │ └── Target Support Files/ │ ├── BMASpinningLabel/ │ │ ├── BMASpinningLabel-dummy.m │ │ ├── BMASpinningLabel-prefix.pch │ │ ├── BMASpinningLabel-umbrella.h │ │ ├── BMASpinningLabel.modulemap │ │ ├── BMASpinningLabel.xcconfig │ │ └── Info.plist │ ├── Pods-BMASpinningLabel/ │ │ ├── Info.plist │ │ ├── Pods-BMASpinningLabel-acknowledgements.markdown │ │ ├── Pods-BMASpinningLabel-acknowledgements.plist │ │ ├── Pods-BMASpinningLabel-dummy.m │ │ ├── Pods-BMASpinningLabel-frameworks.sh │ │ ├── Pods-BMASpinningLabel-resources.sh │ │ ├── Pods-BMASpinningLabel-umbrella.h │ │ ├── Pods-BMASpinningLabel.debug.xcconfig │ │ ├── Pods-BMASpinningLabel.modulemap │ │ └── Pods-BMASpinningLabel.release.xcconfig │ └── Pods-BMASpinningLabelTests/ │ ├── Info.plist │ ├── Pods-BMASpinningLabelTests-acknowledgements.markdown │ ├── Pods-BMASpinningLabelTests-acknowledgements.plist │ ├── Pods-BMASpinningLabelTests-dummy.m │ ├── Pods-BMASpinningLabelTests-frameworks.sh │ ├── Pods-BMASpinningLabelTests-resources.sh │ ├── Pods-BMASpinningLabelTests-umbrella.h │ ├── Pods-BMASpinningLabelTests.debug.xcconfig │ ├── Pods-BMASpinningLabelTests.modulemap │ └── Pods-BMASpinningLabelTests.release.xcconfig ├── LICENSE └── README.md ================================================ FILE CONTENTS ================================================ ================================================ FILE: .gitignore ================================================ # Xcode # # gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore ## Build generated build/ DerivedData/ ## Various settings *.pbxuser !default.pbxuser *.mode1v3 !default.mode1v3 *.mode2v3 !default.mode2v3 *.perspectivev3 !default.perspectivev3 xcuserdata/ ## Other *.moved-aside *.xccheckout *.xcscmblueprint ## Obj-C/Swift specific *.hmap *.ipa *.dSYM.zip *.dSYM # CocoaPods # # We recommend against adding the Pods directory to your .gitignore. However # you should judge for yourself, the pros and cons are mentioned at: # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control # # Pods/ # Carthage # # Add this line if you want to avoid checking in source code from Carthage dependencies. # Carthage/Checkouts Carthage/Build # fastlane # # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the # screenshots whenever they are needed. # For more information about the recommended setup visit: # https://docs.fastlane.tools/best-practices/source-control/#source-control fastlane/report.xml fastlane/Preview.html fastlane/screenshots fastlane/test_output # Code Injection # # After new code Injection tools there's a generated folder /iOSInjectionProject # https://github.com/johnno1962/injectionforxcode iOSInjectionProject/ ================================================ FILE: .travis.yml ================================================ language: objective-c osx_image: xcode8.1 script: - set -o pipefail - xcodebuild clean build test -workspace Example/BMASpinningLabel.xcworkspace -scheme BMASpinningLabel -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 7' -configuration Debug | xcpretty - bash <(curl -s https://codecov.io/bash) -J 'BMASpinningLabel' ================================================ FILE: BMASpinningLabel/BMASpinningLabel.h ================================================ // // Copyright (c) Badoo Trading Limited, 2010-present. All rights reserved. // @import UIKit; NS_ASSUME_NONNULL_BEGIN typedef NS_ENUM(NSUInteger, BMASpinDirection) { BMASpinDirectionDownward, BMASpinDirectionUpward }; typedef NS_OPTIONS(NSUInteger, BMASpinSettings) { BMASpinSettingsNone = 0, BMASpinSettingsAnimated = 1, BMASpinSettingsWaitForLayout = (1 << 1) }; @interface BMASpinningLabel : UIView @property (nonatomic, nullable) NSString *title; @property (nonatomic, nullable) NSAttributedString *attributedTitle; @property (nonatomic, readonly, getter=isAnimating) BOOL animating; - (void)setAttributedTitle:(nullable NSAttributedString *)title spinDirection:(BMASpinDirection)spinDirection spinSettings:(BMASpinSettings)spinSettings; @end NS_ASSUME_NONNULL_END ================================================ FILE: BMASpinningLabel/BMASpinningLabel.m ================================================ // // Copyright (c) Badoo Trading Limited, 2010-present. All rights reserved. // #import "BMASpinningLabel.h" NS_ASSUME_NONNULL_BEGIN @interface BMASpinningLabelChange : NSObject @property (nonatomic, copy, nullable) NSAttributedString *attributedTitle; @property (nonatomic) BOOL spinUp; @property (nonatomic) BOOL animated; @property (nonatomic) BOOL waitingLayout; - (instancetype)initWithAttributedTitle:(nullable NSAttributedString *)title spinUp:(BOOL)spinUp animated:(BOOL)animated waitingLayout:(BOOL)waitingLayout; @end @interface BMASpinningLabel () @property (nonatomic) UILabel *disappearingLabel; @property (nonatomic) UILabel *appearingLabel; @property (nonatomic) UILabel *titleLabel; @property (nonatomic, nullable) BMASpinningLabelChange *nextChange; @property (nonatomic, readwrite, getter=isAnimating) BOOL animating; @end NS_ASSUME_NONNULL_END @implementation BMASpinningLabelChange - (instancetype)initWithAttributedTitle:(NSAttributedString *)title spinUp:(BOOL)spinUp animated:(BOOL)animated waitingLayout:(BOOL)waitingLayout { self = [super init]; if (self) { _attributedTitle = [title copy]; _spinUp = spinUp; _animated = animated; _waitingLayout = waitingLayout; } return self; } @end @implementation BMASpinningLabel - (instancetype)initWithFrame:(CGRect)frame { self = [super initWithFrame:frame]; if (self) { [self commonInit]; } return self; } - (instancetype)initWithCoder:(NSCoder *)aDecoder { self = [super initWithCoder:aDecoder]; if (self) { [self commonInit]; } return self; } - (void)commonInit { if (_titleLabel != nil) { return; } _titleLabel = [[UILabel alloc] init]; _disappearingLabel = [[UILabel alloc] init]; _appearingLabel = [[UILabel alloc] init]; [self addSubview:_titleLabel]; [self addSubview:_disappearingLabel]; [self addSubview:_appearingLabel]; self.backgroundColor = [UIColor clearColor]; self.clipsToBounds = NO; } #pragma mark - Overrides - (CGSize)sizeThatFits:(CGSize)size { CGSize contentSize = [self intrinsicContentSize]; return CGSizeMake(MIN(size.width, contentSize.width), MIN(size.height, contentSize.height)); } - (CGSize)intrinsicContentSize { CGFloat height = CGRectGetHeight(self.bounds); CGFloat width = self.titleLabel.attributedText.size.width; if (self.nextChange) { width = MAX(width, self.nextChange.attributedTitle.size.width); } return CGSizeMake(width, height); } - (void)layoutSubviews { [super layoutSubviews]; NSAttributedString *title = self.titleLabel.attributedText; CGFloat totalWidth = CGRectGetWidth(self.bounds); CGFloat totalHeight = CGRectGetHeight(self.bounds); CGSize titleSize = CGSizeMake(MIN(title.size.width, totalWidth), MIN(title.size.height, totalHeight)); self.titleLabel.frame = CGRectMake((totalWidth - titleSize.width) / 2, (totalHeight - titleSize.height) / 2, titleSize.width, titleSize.height); if (self.nextChange && self.nextChange.waitingLayout) { [self applyNextChangeIfNeeded]; } } #pragma mark - Public API - (NSString *)title { return self.nextChange ? self.nextChange.attributedTitle.string : self.titleLabel.text; } - (void)setTitle:(NSString *)title { NSAttributedString *attributedTitle = [[NSAttributedString alloc] initWithString:title]; [self setAttributedTitle:attributedTitle]; } - (NSAttributedString *)attributedTitle { return self.nextChange ? self.nextChange.attributedTitle : self.titleLabel.attributedText; } - (void)setAttributedTitle:(NSAttributedString *)attributedTitle { [self setAttributedTitle:attributedTitle spinDirection:BMASpinDirectionDownward spinSettings:BMASpinSettingsNone]; } - (void)setAttributedTitle:(NSAttributedString *)newTitle spinDirection:(BMASpinDirection)spinDirection spinSettings:(BMASpinSettings)spinSettings { BOOL spinUp = spinDirection == BMASpinDirectionUpward; BOOL animated = (spinSettings & BMASpinSettingsAnimated) > 0; BOOL waitForLayout = (spinSettings & BMASpinSettingsWaitForLayout) > 0; if (animated && waitForLayout) { self.nextChange = [[BMASpinningLabelChange alloc] initWithAttributedTitle:newTitle spinUp:spinUp animated:animated waitingLayout:YES]; [self setNeedsLayout]; } else { [self setAttributedTitle:newTitle spinUp:spinUp animated:animated]; } } #pragma mark - Private - (void)setAttributedTitle:(NSAttributedString *)newTitle spinUp:(BOOL)spinUp animated:(BOOL)animated { if ([self.titleLabel.attributedText isEqualToAttributedString:newTitle]) { self.nextChange = nil; return; } if (self.isAnimating) { self.nextChange = [[BMASpinningLabelChange alloc] initWithAttributedTitle:newTitle spinUp:spinUp animated:animated waitingLayout:NO]; return; } NSAttributedString *oldTitle = self.titleLabel.attributedText; self.titleLabel.attributedText = newTitle; self.animating = YES; CGFloat spinDirection = spinUp ? 1 : -1; CGFloat totalWidth = CGRectGetWidth(self.bounds); CGFloat totalHeight = CGRectGetHeight(self.bounds); CGPoint boundsCenter = CGPointMake(totalWidth / 2, totalHeight / 2); CGSize oldTitleSize = CGSizeMake(MIN(oldTitle.size.width, totalWidth), MIN(oldTitle.size.height, totalHeight)); CGSize newTitleSize = CGSizeMake(MIN(newTitle.size.width, totalWidth), MIN(newTitle.size.height, totalHeight)); CGFloat appearOffset = ceil(spinDirection * 0.8f * newTitleSize.height); CATransform3D willAppearTransform = CATransform3DMakeTranslation(0, appearOffset, 0); CATransform3D didAppearTransform = CATransform3DIdentity; CGFloat disappearPerspective = -0.01f; CGFloat disappearRotation = spinDirection * (CGFloat)M_PI_4; CGFloat disappearOffset = ceil(-spinDirection * 1.5f * oldTitleSize.height); CATransform3D willDisappearTransform = CATransform3DIdentity; willDisappearTransform.m34 = disappearPerspective; CATransform3D didDisappearTransform = CATransform3DRotate(willDisappearTransform, disappearRotation, 1, 0, 0); didDisappearTransform = CATransform3DTranslate(didDisappearTransform, 0, disappearOffset, 0); self.titleLabel.hidden = YES; self.titleLabel.frame = CGRectMake((totalWidth - newTitleSize.width) / 2, (totalHeight - newTitleSize.height) / 2, newTitleSize.width, newTitleSize.height); self.disappearingLabel.hidden = NO; self.disappearingLabel.attributedText = oldTitle; self.disappearingLabel.layer.anchorPoint = CGPointMake(0.5f, spinUp ? 1.0f : 0.0f); self.disappearingLabel.bounds = CGRectMake(0, 0, oldTitleSize.width, oldTitleSize.height); self.disappearingLabel.center = CGPointMake(boundsCenter.x, boundsCenter.y + spinDirection * oldTitleSize.height / 2); self.disappearingLabel.layer.transform = willDisappearTransform; self.disappearingLabel.alpha = 1.0f; self.appearingLabel.hidden = NO; self.appearingLabel.attributedText = newTitle; self.appearingLabel.bounds = CGRectMake(0, 0, newTitleSize.width, newTitleSize.height); self.appearingLabel.center = boundsCenter; self.appearingLabel.layer.transform = willAppearTransform; self.appearingLabel.alpha = 0.0f; __weak typeof(self) wSelf = self; [self performWithAnimation:animated duration:[CATransaction animationDuration] animations:^{ __strong typeof(self) sSelf = wSelf; sSelf.appearingLabel.alpha = 1.0f; sSelf.appearingLabel.layer.transform = didAppearTransform; sSelf.disappearingLabel.alpha = 0.0f; sSelf.disappearingLabel.layer.transform = didDisappearTransform; } completion:^(BOOL finished) { __strong typeof(self) sSelf = wSelf; sSelf.titleLabel.hidden = NO; sSelf.disappearingLabel.hidden = YES; sSelf.appearingLabel.hidden = YES; sSelf.animating = NO; [sSelf applyNextChangeIfNeeded]; }]; } - (void)applyNextChangeIfNeeded { if (self.nextChange) { BMASpinningLabelChange *nextChange = self.nextChange; self.nextChange = nil; [self setAttributedTitle:nextChange.attributedTitle spinUp:nextChange.spinUp animated:nextChange.animated]; } } - (void)performWithAnimation:(BOOL)animated duration:(NSTimeInterval)duration animations:(void (^)(void))animations completion:(void (^)(BOOL finished))completion { if (animated) { [UIView animateWithDuration:duration animations:animations completion:completion]; } else { if (animations) { animations(); } if (completion) { completion(YES); } } } @end ================================================ FILE: BMASpinningLabel.podspec ================================================ Pod::Spec.new do |s| s.name = "BMASpinningLabel" s.version = "1.0.0" s.summary = "Label with..." s.description = <<-DESC BMASpinningLabel is an UI component which provides easy way for displaying and animating text inside it. Text changes animated as 'spins' (either downwards or upwards). DESC s.homepage = "https://github.com/badoo/BMASpinningLabel.git" s.license = { :type => "MIT"} s.author = { "Viacheslav Radchenko" => "viacheslav.radchenko@gmail.com" } s.platform = :ios, "9.0" s.source = { :git => "https://github.com/badoo/BMASpinningLabel.git", :tag => s.version.to_s } s.source_files = "BMASpinningLabel/*" s.public_header_files = "BMASpinningLabel/*.h" s.requires_arc = true end ================================================ FILE: Example/BMASpinningLabel/AppDelegate.h ================================================ // // Copyright (c) Badoo Trading Limited, 2010-present. All rights reserved. // #import @interface AppDelegate : UIResponder @property (strong, nonatomic) UIWindow *window; @end ================================================ FILE: Example/BMASpinningLabel/AppDelegate.m ================================================ // // Copyright (c) Badoo Trading Limited, 2010-present. All rights reserved. // #import "AppDelegate.h" @interface AppDelegate () @end @implementation AppDelegate - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { // Override point for customization after application launch. return YES; } - (void)applicationWillResignActive:(UIApplication *)application { // 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. // Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game. } - (void)applicationDidEnterBackground:(UIApplication *)application { // 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. // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. } - (void)applicationWillEnterForeground:(UIApplication *)application { // Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background. } - (void)applicationDidBecomeActive:(UIApplication *)application { // 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. } - (void)applicationWillTerminate:(UIApplication *)application { // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. } @end ================================================ FILE: Example/BMASpinningLabel/Assets.xcassets/AppIcon.appiconset/Contents.json ================================================ { "images" : [ { "idiom" : "iphone", "size" : "20x20", "scale" : "2x" }, { "idiom" : "iphone", "size" : "20x20", "scale" : "3x" }, { "idiom" : "iphone", "size" : "29x29", "scale" : "2x" }, { "idiom" : "iphone", "size" : "29x29", "scale" : "3x" }, { "idiom" : "iphone", "size" : "40x40", "scale" : "2x" }, { "idiom" : "iphone", "size" : "40x40", "scale" : "3x" }, { "idiom" : "iphone", "size" : "60x60", "scale" : "2x" }, { "idiom" : "iphone", "size" : "60x60", "scale" : "3x" } ], "info" : { "version" : 1, "author" : "xcode" } } ================================================ FILE: Example/BMASpinningLabel/Base.lproj/LaunchScreen.storyboard ================================================ ================================================ FILE: Example/BMASpinningLabel/Base.lproj/Main.storyboard ================================================ ================================================ FILE: Example/BMASpinningLabel/Info.plist ================================================ CFBundleDevelopmentRegion en CFBundleExecutable $(EXECUTABLE_NAME) CFBundleIdentifier $(PRODUCT_BUNDLE_IDENTIFIER) CFBundleInfoDictionaryVersion 6.0 CFBundleName $(PRODUCT_NAME) CFBundlePackageType APPL CFBundleShortVersionString 1.0 CFBundleVersion 1 LSRequiresIPhoneOS UILaunchStoryboardName LaunchScreen UIMainStoryboardFile Main UIRequiredDeviceCapabilities armv7 UISupportedInterfaceOrientations UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight ================================================ FILE: Example/BMASpinningLabel/ViewController.h ================================================ // // Copyright (c) Badoo Trading Limited, 2010-present. All rights reserved. // #import @interface ViewController : UITableViewController @end ================================================ FILE: Example/BMASpinningLabel/ViewController.m ================================================ // // Copyright (c) Badoo Trading Limited, 2010-present. All rights reserved. // #import "ViewController.h" #import @interface ViewController () @property (nonatomic) NSArray *tableViewItems; @property (nonatomic) BMASpinningLabel *titleLabel; @end @implementation ViewController - (void)viewDidLoad { [super viewDidLoad]; self.tableView.rowHeight = 300; [self.tableView registerClass:[UITableViewCell class] forCellReuseIdentifier:@"cell"]; self.tableViewItems = @[ @"Section 1", @"Section Two", @"Third Section", @"Long Section Name", @"Very Very Long Section Name", @"Section 6", @"7th Section", @"Last Section" ]; } - (void)didReceiveMemoryWarning { [super didReceiveMemoryWarning]; // Dispose of any resources that can be recreated. } - (BMASpinningLabel *)titleLabel { if (!_titleLabel) { _titleLabel = [[BMASpinningLabel alloc] initWithFrame:CGRectMake(0, 0, 100, 40)]; } return _titleLabel; } #pragma mark - UITableViewDataSource - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section { return self.tableViewItems.count; } - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"cell" forIndexPath:indexPath]; cell.textLabel.text = self.tableViewItems[indexPath.row]; return cell; } #pragma mark - UITableViewDelegate - (void)tableView:(UITableView *)tableView willDisplayCell:(UITableViewCell *)cell forRowAtIndexPath:(NSIndexPath *)indexPath { [self updateNavigationBarTitle]; } - (void)tableView:(UITableView *)tableView didEndDisplayingCell:(UITableViewCell *)cell forRowAtIndexPath:(NSIndexPath*)indexPath { [self updateNavigationBarTitle]; } #pragma mark - - (void)updateNavigationBarTitle { NSArray *indexPathsForVisibleRows = [self.tableView indexPathsForVisibleRows]; NSInteger indexOfFirstVisibleItem = [indexPathsForVisibleRows firstObject].row; for (NSIndexPath *indexPath in indexPathsForVisibleRows) { if (indexPath.row < indexOfFirstVisibleItem) { indexOfFirstVisibleItem = indexPath.row; } } NSString *title = indexOfFirstVisibleItem < self.tableViewItems.count ? self.tableViewItems[indexOfFirstVisibleItem] : nil; [self updateNavigationBarTitleWithText:title]; } - (void)updateNavigationBarTitleWithText:(NSString *)title { if ([self.titleLabel.title isEqualToString:title]) { return; } NSString *oldTitle = self.titleLabel.title; NSInteger oldItemIndex = [self.tableViewItems indexOfObjectPassingTest:^BOOL(NSString * _Nonnull obj, NSUInteger idx, BOOL * _Nonnull stop) { return [obj isEqualToString:oldTitle]; }]; NSInteger newItemIndex = [self.tableViewItems indexOfObjectPassingTest:^BOOL(NSString * _Nonnull obj, NSUInteger idx, BOOL * _Nonnull stop) { return [obj isEqualToString:title]; }]; BMASpinDirection spinDirection = BMASpinDirectionUpward; BMASpinSettings spinSettings = (oldTitle.length > 0 ? BMASpinSettingsAnimated | BMASpinSettingsWaitForLayout : BMASpinSettingsNone); if (oldItemIndex != NSNotFound && newItemIndex != NSNotFound) { spinDirection = (oldItemIndex < newItemIndex ? BMASpinDirectionUpward : BMASpinDirectionDownward); } else if (newItemIndex != NSNotFound || oldItemIndex != NSNotFound) { spinDirection = (newItemIndex != NSNotFound ? BMASpinDirectionUpward : BMASpinDirectionDownward); } else { spinSettings = BMASpinSettingsNone; } NSAttributedString *attributedTitle = [[self class] attributedNavigationBarTitleForText:title]; [self.titleLabel setAttributedTitle:attributedTitle spinDirection:spinDirection spinSettings:spinSettings]; self.navigationItem.titleView = nil; // force re-layout self.navigationItem.titleView = self.titleLabel; } + (NSAttributedString *)attributedNavigationBarTitleForText:(NSString *)text { NSDictionary *attributes = @{ NSFontAttributeName : [UIFont boldSystemFontOfSize:16] }; NSAttributedString *attributedText = [[NSAttributedString alloc] initWithString:text attributes:attributes]; return attributedText; } @end ================================================ FILE: Example/BMASpinningLabel/main.m ================================================ // // Copyright (c) Badoo Trading Limited, 2010-present. All rights reserved. // #import #import "AppDelegate.h" int main(int argc, char * argv[]) { @autoreleasepool { return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); } } ================================================ FILE: Example/BMASpinningLabel.xcodeproj/project.pbxproj ================================================ // !$*UTF8*$! { archiveVersion = 1; classes = { }; objectVersion = 46; objects = { /* Begin PBXBuildFile section */ 1F7D59BD492D16A0C481118A /* Pods_BMASpinningLabelTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 06D1C860057E321001EBF7AF /* Pods_BMASpinningLabelTests.framework */; }; 341515666F14D6696419BD94 /* Pods_BMASpinningLabel.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 58E27F90720B4E5AC1972F26 /* Pods_BMASpinningLabel.framework */; }; F64F4A441E77235B00A347B2 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = F64F4A431E77235B00A347B2 /* main.m */; }; F64F4A471E77235B00A347B2 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = F64F4A461E77235B00A347B2 /* AppDelegate.m */; }; F64F4A4A1E77235B00A347B2 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = F64F4A491E77235B00A347B2 /* ViewController.m */; }; F64F4A4D1E77235B00A347B2 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = F64F4A4B1E77235B00A347B2 /* Main.storyboard */; }; F64F4A4F1E77235B00A347B2 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = F64F4A4E1E77235B00A347B2 /* Assets.xcassets */; }; F64F4A521E77235B00A347B2 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = F64F4A501E77235B00A347B2 /* LaunchScreen.storyboard */; }; F64F4A5D1E77235B00A347B2 /* BMASpinningLabelTests.m in Sources */ = {isa = PBXBuildFile; fileRef = F64F4A5C1E77235B00A347B2 /* BMASpinningLabelTests.m */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ F64F4A591E77235B00A347B2 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = F64F4A371E77235B00A347B2 /* Project object */; proxyType = 1; remoteGlobalIDString = F64F4A3E1E77235B00A347B2; remoteInfo = BMASpinningLabel; }; /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ 06D1C860057E321001EBF7AF /* Pods_BMASpinningLabelTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_BMASpinningLabelTests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 3DDA34E089F1C68BB801916E /* Pods-BMASpinningLabel.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-BMASpinningLabel.release.xcconfig"; path = "Pods/Target Support Files/Pods-BMASpinningLabel/Pods-BMASpinningLabel.release.xcconfig"; sourceTree = ""; }; 58E27F90720B4E5AC1972F26 /* Pods_BMASpinningLabel.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_BMASpinningLabel.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 84119858548ACB67A1F27BC7 /* Pods-BMASpinningLabel.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-BMASpinningLabel.debug.xcconfig"; path = "Pods/Target Support Files/Pods-BMASpinningLabel/Pods-BMASpinningLabel.debug.xcconfig"; sourceTree = ""; }; 94BB4F59CBD233A524A5567A /* Pods-BMASpinningLabelTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-BMASpinningLabelTests.release.xcconfig"; path = "Pods/Target Support Files/Pods-BMASpinningLabelTests/Pods-BMASpinningLabelTests.release.xcconfig"; sourceTree = ""; }; 95229175C4E617E1B4A2C4B3 /* Pods-BMASpinningLabelTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-BMASpinningLabelTests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-BMASpinningLabelTests/Pods-BMASpinningLabelTests.debug.xcconfig"; sourceTree = ""; }; F64F4A3F1E77235B00A347B2 /* BMASpinningLabel.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = BMASpinningLabel.app; sourceTree = BUILT_PRODUCTS_DIR; }; F64F4A431E77235B00A347B2 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; F64F4A451E77235B00A347B2 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; F64F4A461E77235B00A347B2 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; F64F4A481E77235B00A347B2 /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = ""; }; F64F4A491E77235B00A347B2 /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = ""; }; F64F4A4C1E77235B00A347B2 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; F64F4A4E1E77235B00A347B2 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; F64F4A511E77235B00A347B2 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; F64F4A531E77235B00A347B2 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; F64F4A581E77235B00A347B2 /* BMASpinningLabelTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = BMASpinningLabelTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; F64F4A5C1E77235B00A347B2 /* BMASpinningLabelTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = BMASpinningLabelTests.m; sourceTree = ""; }; F64F4A5E1E77235B00A347B2 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ F64F4A3C1E77235B00A347B2 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( 341515666F14D6696419BD94 /* Pods_BMASpinningLabel.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; F64F4A551E77235B00A347B2 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( 1F7D59BD492D16A0C481118A /* Pods_BMASpinningLabelTests.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ 0E942D9FF31287D047629209 /* Pods */ = { isa = PBXGroup; children = ( 84119858548ACB67A1F27BC7 /* Pods-BMASpinningLabel.debug.xcconfig */, 3DDA34E089F1C68BB801916E /* Pods-BMASpinningLabel.release.xcconfig */, 95229175C4E617E1B4A2C4B3 /* Pods-BMASpinningLabelTests.debug.xcconfig */, 94BB4F59CBD233A524A5567A /* Pods-BMASpinningLabelTests.release.xcconfig */, ); name = Pods; sourceTree = ""; }; 8F81B7DBFDE79B9A261CEDED /* Frameworks */ = { isa = PBXGroup; children = ( 58E27F90720B4E5AC1972F26 /* Pods_BMASpinningLabel.framework */, 06D1C860057E321001EBF7AF /* Pods_BMASpinningLabelTests.framework */, ); name = Frameworks; sourceTree = ""; }; F64F4A361E77235B00A347B2 = { isa = PBXGroup; children = ( F64F4A411E77235B00A347B2 /* BMASpinningLabel */, F64F4A5B1E77235B00A347B2 /* BMASpinningLabelTests */, F64F4A401E77235B00A347B2 /* Products */, 0E942D9FF31287D047629209 /* Pods */, 8F81B7DBFDE79B9A261CEDED /* Frameworks */, ); sourceTree = ""; }; F64F4A401E77235B00A347B2 /* Products */ = { isa = PBXGroup; children = ( F64F4A3F1E77235B00A347B2 /* BMASpinningLabel.app */, F64F4A581E77235B00A347B2 /* BMASpinningLabelTests.xctest */, ); name = Products; sourceTree = ""; }; F64F4A411E77235B00A347B2 /* BMASpinningLabel */ = { isa = PBXGroup; children = ( F64F4A451E77235B00A347B2 /* AppDelegate.h */, F64F4A461E77235B00A347B2 /* AppDelegate.m */, F64F4A481E77235B00A347B2 /* ViewController.h */, F64F4A491E77235B00A347B2 /* ViewController.m */, F64F4A4B1E77235B00A347B2 /* Main.storyboard */, F64F4A4E1E77235B00A347B2 /* Assets.xcassets */, F64F4A501E77235B00A347B2 /* LaunchScreen.storyboard */, F64F4A531E77235B00A347B2 /* Info.plist */, F64F4A421E77235B00A347B2 /* Supporting Files */, ); path = BMASpinningLabel; sourceTree = ""; }; F64F4A421E77235B00A347B2 /* Supporting Files */ = { isa = PBXGroup; children = ( F64F4A431E77235B00A347B2 /* main.m */, ); name = "Supporting Files"; sourceTree = ""; }; F64F4A5B1E77235B00A347B2 /* BMASpinningLabelTests */ = { isa = PBXGroup; children = ( F64F4A5C1E77235B00A347B2 /* BMASpinningLabelTests.m */, F64F4A5E1E77235B00A347B2 /* Info.plist */, ); path = BMASpinningLabelTests; sourceTree = ""; }; /* End PBXGroup section */ /* Begin PBXNativeTarget section */ F64F4A3E1E77235B00A347B2 /* BMASpinningLabel */ = { isa = PBXNativeTarget; buildConfigurationList = F64F4A6C1E77235B00A347B2 /* Build configuration list for PBXNativeTarget "BMASpinningLabel" */; buildPhases = ( 530598CD3663D86A6FBAA9AB /* [CP] Check Pods Manifest.lock */, F64F4A3B1E77235B00A347B2 /* Sources */, F64F4A3C1E77235B00A347B2 /* Frameworks */, F64F4A3D1E77235B00A347B2 /* Resources */, ABA10831E1EB3E72FB8F0E1D /* [CP] Embed Pods Frameworks */, 4D9EF852FBA736F3515BA739 /* [CP] Copy Pods Resources */, ); buildRules = ( ); dependencies = ( ); name = BMASpinningLabel; productName = BMASpinningLabel; productReference = F64F4A3F1E77235B00A347B2 /* BMASpinningLabel.app */; productType = "com.apple.product-type.application"; }; F64F4A571E77235B00A347B2 /* BMASpinningLabelTests */ = { isa = PBXNativeTarget; buildConfigurationList = F64F4A6F1E77235B00A347B2 /* Build configuration list for PBXNativeTarget "BMASpinningLabelTests" */; buildPhases = ( D23E523F1453B62F81FDA020 /* [CP] Check Pods Manifest.lock */, F64F4A541E77235B00A347B2 /* Sources */, F64F4A551E77235B00A347B2 /* Frameworks */, F64F4A561E77235B00A347B2 /* Resources */, AC7DEC30319C770414C0FD5A /* [CP] Embed Pods Frameworks */, AD84A9F6C4E24292FC4FDB32 /* [CP] Copy Pods Resources */, ); buildRules = ( ); dependencies = ( F64F4A5A1E77235B00A347B2 /* PBXTargetDependency */, ); name = BMASpinningLabelTests; productName = BMASpinningLabelTests; productReference = F64F4A581E77235B00A347B2 /* BMASpinningLabelTests.xctest */; productType = "com.apple.product-type.bundle.unit-test"; }; /* End PBXNativeTarget section */ /* Begin PBXProject section */ F64F4A371E77235B00A347B2 /* Project object */ = { isa = PBXProject; attributes = { LastUpgradeCheck = 0820; ORGANIZATIONNAME = Badoo; TargetAttributes = { F64F4A3E1E77235B00A347B2 = { CreatedOnToolsVersion = 8.2.1; ProvisioningStyle = Automatic; }; F64F4A571E77235B00A347B2 = { CreatedOnToolsVersion = 8.2.1; ProvisioningStyle = Automatic; TestTargetID = F64F4A3E1E77235B00A347B2; }; }; }; buildConfigurationList = F64F4A3A1E77235B00A347B2 /* Build configuration list for PBXProject "BMASpinningLabel" */; compatibilityVersion = "Xcode 3.2"; developmentRegion = English; hasScannedForEncodings = 0; knownRegions = ( en, Base, ); mainGroup = F64F4A361E77235B00A347B2; productRefGroup = F64F4A401E77235B00A347B2 /* Products */; projectDirPath = ""; projectRoot = ""; targets = ( F64F4A3E1E77235B00A347B2 /* BMASpinningLabel */, F64F4A571E77235B00A347B2 /* BMASpinningLabelTests */, ); }; /* End PBXProject section */ /* Begin PBXResourcesBuildPhase section */ F64F4A3D1E77235B00A347B2 /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( F64F4A521E77235B00A347B2 /* LaunchScreen.storyboard in Resources */, F64F4A4F1E77235B00A347B2 /* Assets.xcassets in Resources */, F64F4A4D1E77235B00A347B2 /* Main.storyboard in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; F64F4A561E77235B00A347B2 /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXResourcesBuildPhase section */ /* Begin PBXShellScriptBuildPhase section */ 4D9EF852FBA736F3515BA739 /* [CP] Copy Pods Resources */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputPaths = ( ); name = "[CP] Copy Pods Resources"; outputPaths = ( ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-BMASpinningLabel/Pods-BMASpinningLabel-resources.sh\"\n"; showEnvVarsInLog = 0; }; 530598CD3663D86A6FBAA9AB /* [CP] Check Pods Manifest.lock */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputPaths = ( ); name = "[CP] Check Pods Manifest.lock"; outputPaths = ( ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n"; showEnvVarsInLog = 0; }; ABA10831E1EB3E72FB8F0E1D /* [CP] Embed Pods Frameworks */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputPaths = ( ); name = "[CP] Embed Pods Frameworks"; outputPaths = ( ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-BMASpinningLabel/Pods-BMASpinningLabel-frameworks.sh\"\n"; showEnvVarsInLog = 0; }; AC7DEC30319C770414C0FD5A /* [CP] Embed Pods Frameworks */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputPaths = ( ); name = "[CP] Embed Pods Frameworks"; outputPaths = ( ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-BMASpinningLabelTests/Pods-BMASpinningLabelTests-frameworks.sh\"\n"; showEnvVarsInLog = 0; }; AD84A9F6C4E24292FC4FDB32 /* [CP] Copy Pods Resources */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputPaths = ( ); name = "[CP] Copy Pods Resources"; outputPaths = ( ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-BMASpinningLabelTests/Pods-BMASpinningLabelTests-resources.sh\"\n"; showEnvVarsInLog = 0; }; D23E523F1453B62F81FDA020 /* [CP] Check Pods Manifest.lock */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputPaths = ( ); name = "[CP] Check Pods Manifest.lock"; outputPaths = ( ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n"; showEnvVarsInLog = 0; }; /* End PBXShellScriptBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ F64F4A3B1E77235B00A347B2 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( F64F4A4A1E77235B00A347B2 /* ViewController.m in Sources */, F64F4A471E77235B00A347B2 /* AppDelegate.m in Sources */, F64F4A441E77235B00A347B2 /* main.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; F64F4A541E77235B00A347B2 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( F64F4A5D1E77235B00A347B2 /* BMASpinningLabelTests.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXSourcesBuildPhase section */ /* Begin PBXTargetDependency section */ F64F4A5A1E77235B00A347B2 /* PBXTargetDependency */ = { isa = PBXTargetDependency; target = F64F4A3E1E77235B00A347B2 /* BMASpinningLabel */; targetProxy = F64F4A591E77235B00A347B2 /* PBXContainerItemProxy */; }; /* End PBXTargetDependency section */ /* Begin PBXVariantGroup section */ F64F4A4B1E77235B00A347B2 /* Main.storyboard */ = { isa = PBXVariantGroup; children = ( F64F4A4C1E77235B00A347B2 /* Base */, ); name = Main.storyboard; sourceTree = ""; }; F64F4A501E77235B00A347B2 /* LaunchScreen.storyboard */ = { isa = PBXVariantGroup; children = ( F64F4A511E77235B00A347B2 /* Base */, ); name = LaunchScreen.storyboard; sourceTree = ""; }; /* End PBXVariantGroup section */ /* Begin XCBuildConfiguration section */ F64F4A6A1E77235B00A347B2 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; CLANG_ANALYZER_NONNULL = YES; CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_OBJC_ARC = YES; CLANG_WARN_BOOL_CONVERSION = YES; CLANG_WARN_CONSTANT_CONVERSION = YES; CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_DOCUMENTATION_COMMENTS = YES; CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_ENUM_CONVERSION = YES; CLANG_WARN_INFINITE_RECURSION = YES; CLANG_WARN_INT_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; CLANG_WARN_SUSPICIOUS_MOVE = YES; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = dwarf; ENABLE_STRICT_OBJC_MSGSEND = YES; ENABLE_TESTABILITY = YES; GCC_C_LANGUAGE_STANDARD = gnu99; GCC_DYNAMIC_NO_PIC = NO; GCC_NO_COMMON_BLOCKS = YES; GCC_OPTIMIZATION_LEVEL = 0; GCC_PREPROCESSOR_DEFINITIONS = ( "DEBUG=1", "$(inherited)", ); GCC_WARN_64_TO_32_BIT_CONVERSION = YES; GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; GCC_WARN_UNDECLARED_SELECTOR = YES; GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; IPHONEOS_DEPLOYMENT_TARGET = 9.0; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; }; name = Debug; }; F64F4A6B1E77235B00A347B2 /* Release */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; CLANG_ANALYZER_NONNULL = YES; CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_OBJC_ARC = YES; CLANG_WARN_BOOL_CONVERSION = YES; CLANG_WARN_CONSTANT_CONVERSION = YES; CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_DOCUMENTATION_COMMENTS = YES; CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_ENUM_CONVERSION = YES; CLANG_WARN_INFINITE_RECURSION = YES; CLANG_WARN_INT_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; CLANG_WARN_SUSPICIOUS_MOVE = YES; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; ENABLE_NS_ASSERTIONS = NO; ENABLE_STRICT_OBJC_MSGSEND = YES; GCC_C_LANGUAGE_STANDARD = gnu99; GCC_NO_COMMON_BLOCKS = YES; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; GCC_WARN_UNDECLARED_SELECTOR = YES; GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; IPHONEOS_DEPLOYMENT_TARGET = 9.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; VALIDATE_PRODUCT = YES; }; name = Release; }; F64F4A6D1E77235B00A347B2 /* Debug */ = { isa = XCBuildConfiguration; baseConfigurationReference = 84119858548ACB67A1F27BC7 /* Pods-BMASpinningLabel.debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; INFOPLIST_FILE = BMASpinningLabel/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = Badoo.BMASpinningLabel; PRODUCT_NAME = "$(TARGET_NAME)"; }; name = Debug; }; F64F4A6E1E77235B00A347B2 /* Release */ = { isa = XCBuildConfiguration; baseConfigurationReference = 3DDA34E089F1C68BB801916E /* Pods-BMASpinningLabel.release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; INFOPLIST_FILE = BMASpinningLabel/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = Badoo.BMASpinningLabel; PRODUCT_NAME = "$(TARGET_NAME)"; }; name = Release; }; F64F4A701E77235B00A347B2 /* Debug */ = { isa = XCBuildConfiguration; baseConfigurationReference = 95229175C4E617E1B4A2C4B3 /* Pods-BMASpinningLabelTests.debug.xcconfig */; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; INFOPLIST_FILE = BMASpinningLabelTests/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = Badoo.BMASpinningLabelTests; PRODUCT_NAME = "$(TARGET_NAME)"; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/BMASpinningLabel.app/BMASpinningLabel"; }; name = Debug; }; F64F4A711E77235B00A347B2 /* Release */ = { isa = XCBuildConfiguration; baseConfigurationReference = 94BB4F59CBD233A524A5567A /* Pods-BMASpinningLabelTests.release.xcconfig */; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; INFOPLIST_FILE = BMASpinningLabelTests/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = Badoo.BMASpinningLabelTests; PRODUCT_NAME = "$(TARGET_NAME)"; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/BMASpinningLabel.app/BMASpinningLabel"; }; name = Release; }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ F64F4A3A1E77235B00A347B2 /* Build configuration list for PBXProject "BMASpinningLabel" */ = { isa = XCConfigurationList; buildConfigurations = ( F64F4A6A1E77235B00A347B2 /* Debug */, F64F4A6B1E77235B00A347B2 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; F64F4A6C1E77235B00A347B2 /* Build configuration list for PBXNativeTarget "BMASpinningLabel" */ = { isa = XCConfigurationList; buildConfigurations = ( F64F4A6D1E77235B00A347B2 /* Debug */, F64F4A6E1E77235B00A347B2 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; F64F4A6F1E77235B00A347B2 /* Build configuration list for PBXNativeTarget "BMASpinningLabelTests" */ = { isa = XCConfigurationList; buildConfigurations = ( F64F4A701E77235B00A347B2 /* Debug */, F64F4A711E77235B00A347B2 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; /* End XCConfigurationList section */ }; rootObject = F64F4A371E77235B00A347B2 /* Project object */; } ================================================ FILE: Example/BMASpinningLabel.xcodeproj/project.xcworkspace/contents.xcworkspacedata ================================================ ================================================ FILE: Example/BMASpinningLabel.xcodeproj/xcshareddata/xcschemes/BMASpinningLabel.xcscheme ================================================ ================================================ FILE: Example/BMASpinningLabel.xcworkspace/contents.xcworkspacedata ================================================ ================================================ FILE: Example/BMASpinningLabelTests/BMASpinningLabelTests.m ================================================ // // Copyright (c) Badoo Trading Limited, 2010-present. All rights reserved. // @import XCTest; #import @interface BMASpinningLabelTests : XCTestCase @property (nonatomic) NSString *title; @property (nonatomic) NSAttributedString *attributedTitle; @property (nonatomic) BMASpinningLabel *label; @end @implementation BMASpinningLabelTests - (void)setUp { [super setUp]; self.label = [[BMASpinningLabel alloc] init]; self.title = @"title"; self.attributedTitle = [[NSAttributedString alloc] initWithString:self.title]; } - (void)tearDown { self.label = nil; self.title = nil; self.attributedTitle= nil; [super tearDown]; } - (void)testThat_WhenCreated_ThenTitleIsNil { XCTAssertNil(self.label.title); } - (void)testThat_GivenLabel_WhenSetTitle_ThenLabelRetunsNewTitleValue { // Test self.label.title = self.title; // Verify XCTAssertEqualObjects(self.label.title, self.title); } - (void)testThat_GivenEmptyLabel_WhenSetTitleWithAnimation_ThenLabelRetunsNewTitleValue { // Test [self.label setAttributedTitle:self.attributedTitle spinDirection:BMASpinDirectionUpward spinSettings:BMASpinSettingsAnimated]; // Verify XCTAssertEqualObjects(self.label.attributedTitle, self.attributedTitle); } - (void)testThat_GivenLabelWithTitle_WhenSetTitleWithAnimation_ThenLabelRetunsNewTitleValue { // Setup [self setupLabelWithInitialTitle:@"initial" runningAnimation:nil pendingAnimation:nil]; // Test [self.label setAttributedTitle:self.attributedTitle spinDirection:BMASpinDirectionUpward spinSettings:BMASpinSettingsAnimated]; // Verify XCTAssertEqualObjects(self.label.attributedTitle, self.attributedTitle); } - (void)testThat_GivenLabelWithTitleAndRunningAnimation_WhenSetTitleWithAnimation_ThenLabelRetunsNewTitleValue { // Setup [self setupLabelWithInitialTitle:@"initial" runningAnimation:@"current" pendingAnimation:nil]; // Test [self.label setAttributedTitle:self.attributedTitle spinDirection:BMASpinDirectionUpward spinSettings:BMASpinSettingsAnimated]; // Verify XCTAssertEqualObjects(self.label.attributedTitle, self.attributedTitle); } - (void)testThat_GivenLabelWithTitleAndRunningAnimation_WhenSetTitleWithoutAnimation_ThenLabelRetunsNewTitleValue { // Setup [self setupLabelWithInitialTitle:@"initial" runningAnimation:@"current" pendingAnimation:nil]; // Test self.label.attributedTitle = self.attributedTitle; // Verify XCTAssertEqualObjects(self.label.attributedTitle, self.attributedTitle); } - (void)testThat_GivenLabelWithTitle_WhenSetTitleWithAnimation_ThenChangePerformedWithAnimation { // Setup [self setupLabelWithInitialTitle:@"initial" runningAnimation:nil pendingAnimation:nil]; // Test [self.label setAttributedTitle:self.attributedTitle spinDirection:BMASpinDirectionUpward spinSettings:BMASpinSettingsAnimated]; // Verify XCTAssertTrue(self.label.isAnimating); } - (void)testThat_GivenLabelWithTitle_WhenSettitleWithAnimationAndWaitForLayout_ThenAnimationNotStartedImmediately { // Setup [self setupLabelWithInitialTitle:@"initial" runningAnimation:nil pendingAnimation:nil]; // Test [self.label setAttributedTitle:self.attributedTitle spinDirection:BMASpinDirectionUpward spinSettings:BMASpinSettingsAnimated | BMASpinSettingsWaitForLayout]; // Verify XCTAssertFalse(self.label.isAnimating); } - (void)testThat_GivenLabelWithTitleAndPendingAnimationAfterLayout_WhenUpdateLayout_ThenChangePerformedWithAnimation { // Setup [self setupLabelWithInitialTitle:@"initial" runningAnimation:nil pendingAnimation:nil]; [self.label setAttributedTitle:self.attributedTitle spinDirection:BMASpinDirectionUpward spinSettings:BMASpinSettingsAnimated | BMASpinSettingsWaitForLayout]; // Test [self.label layoutIfNeeded]; // Verify XCTAssertTrue(self.label.isAnimating); XCTAssertEqualObjects(self.label.attributedTitle, self.attributedTitle); } #pragma mark - Helpers - (void)setupLabelWithInitialTitle:(NSString *)initialTitle runningAnimation:(NSString *)newTitle pendingAnimation:(NSString *)pendingTitle { if (initialTitle) { self.label.title = initialTitle; } if (newTitle) { [self.label setAttributedTitle:[[NSAttributedString alloc] initWithString:newTitle] spinDirection:BMASpinDirectionUpward spinSettings:BMASpinSettingsAnimated]; } if (pendingTitle) { [self.label setAttributedTitle:[[NSAttributedString alloc] initWithString:pendingTitle] spinDirection:BMASpinDirectionUpward spinSettings:BMASpinSettingsAnimated]; } } @end ================================================ FILE: Example/BMASpinningLabelTests/Info.plist ================================================ CFBundleDevelopmentRegion en CFBundleExecutable $(EXECUTABLE_NAME) CFBundleIdentifier $(PRODUCT_BUNDLE_IDENTIFIER) CFBundleInfoDictionaryVersion 6.0 CFBundleName $(PRODUCT_NAME) CFBundlePackageType BNDL CFBundleShortVersionString 1.0 CFBundleVersion 1 ================================================ FILE: Example/Podfile ================================================ platform :ios, '9.0' use_frameworks! target :BMASpinningLabel do pod 'BMASpinningLabel', :path => '..' target :BMASpinningLabelTests do inherit! :search_paths end end ================================================ FILE: Example/Pods/Local Podspecs/BMASpinningLabel.podspec.json ================================================ { "name": "BMASpinningLabel", "version": "1.0.0", "summary": "Label with...", "description": "BMACollectionBatchUpdates` is a set of classes and extensions to UICollectionView and UITableView to perform safe batch updates of these views.", "homepage": "https://github.com/badoo/BMASpinningLabel.git", "license": { "type": "MIT" }, "authors": { "Viacheslav Radchenko": "viacheslav.radchenko@gmail.com" }, "platforms": { "ios": "9.0" }, "source": { "git": "https://github.com/badoo/BMASpinningLabel.git", "tag": "1.0.0" }, "source_files": "BMASpinningLabel/*", "public_header_files": "BMASpinningLabel/*.h", "requires_arc": true } ================================================ FILE: Example/Pods/Pods.xcodeproj/project.pbxproj ================================================ // !$*UTF8*$! { archiveVersion = 1; classes = { }; objectVersion = 46; objects = { /* Begin PBXBuildFile section */ 0B373A6FC5E17679733C47DEC1746486 /* Pods-BMASpinningLabel-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = B70C0DC4C187E792482B4CAC8B3489FF /* Pods-BMASpinningLabel-dummy.m */; }; 1D5E02F88C6E2D6DC4CB91160E9CA31F /* BMASpinningLabel-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = C2AB455DF01CC04A48B1DF1DAFF31FA8 /* BMASpinningLabel-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 24D09DBE6779C2CF4B01C6FED4085FE5 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CBB3DE36805AF21409EC968A9691732F /* Foundation.framework */; }; 446A5F444D7EE35B019E17F7B33987C0 /* BMASpinningLabel-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 762C3CDF3BBB1AFCFA448C51BC3346A8 /* BMASpinningLabel-dummy.m */; }; 5EFFFD2A53BBD260BEDC1DFCE410AC65 /* Pods-BMASpinningLabel-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = D55400C8E35FAC5E84E09B1D6017CC8F /* Pods-BMASpinningLabel-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 5F6E497A915749508AC4CDADAD987337 /* Pods-BMASpinningLabelTests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 8D9F8239427790EB147139D6290E61FE /* Pods-BMASpinningLabelTests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 7AF2361C041EBD6B56C98AFCA28EB858 /* BMASpinningLabel.m in Sources */ = {isa = PBXBuildFile; fileRef = 807AFA29E9C36E8914F2A0849993A0A8 /* BMASpinningLabel.m */; }; C9481B2B982118F4F88E04975155441F /* BMASpinningLabel.h in Headers */ = {isa = PBXBuildFile; fileRef = 41E0688E3B99E993DA8843200E84CF08 /* BMASpinningLabel.h */; settings = {ATTRIBUTES = (Public, ); }; }; D9A53E8EF1C63168F8466CA35C714FA6 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CBB3DE36805AF21409EC968A9691732F /* Foundation.framework */; }; E35F8F18E8708CD0F36EFF632BAD10C7 /* Pods-BMASpinningLabelTests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 0B1D3A0F7DCFAB676617FDB3EE42920A /* Pods-BMASpinningLabelTests-dummy.m */; }; F69A74AAEC7A1C3888E4EE5183B0ABA0 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CBB3DE36805AF21409EC968A9691732F /* Foundation.framework */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ C7205D33439C44F7412094147444253E /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; proxyType = 1; remoteGlobalIDString = 9A0BCFE9E9733ECFC76EA65836BE33ED; remoteInfo = BMASpinningLabel; }; /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ 037F7B11FF272D52E89853D0C8B40AAB /* Pods_BMASpinningLabelTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_BMASpinningLabelTests.framework; path = "Pods-BMASpinningLabelTests.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; 0B1D3A0F7DCFAB676617FDB3EE42920A /* Pods-BMASpinningLabelTests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-BMASpinningLabelTests-dummy.m"; sourceTree = ""; }; 0CF7A31FEE41AD187B7C73D2A7EE2D1B /* Pods-BMASpinningLabelTests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-BMASpinningLabelTests-acknowledgements.markdown"; sourceTree = ""; }; 18154C3053A5E21155B46E13306781E2 /* BMASpinningLabel.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = BMASpinningLabel.modulemap; sourceTree = ""; }; 23BBC94CBE0141C2A10ECC61EFB35F12 /* Pods-BMASpinningLabel.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-BMASpinningLabel.release.xcconfig"; sourceTree = ""; }; 255250EE6C19586E8A8CED437CF4E661 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 32F94EFBF8F1BEB77B46E3C8FA5140B1 /* BMASpinningLabel.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = BMASpinningLabel.framework; path = BMASpinningLabel.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 39802CF25AD0C05F2BA5D1B2D0FAE0BB /* Pods-BMASpinningLabelTests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-BMASpinningLabelTests-resources.sh"; sourceTree = ""; }; 3F976A26BDC5D8CDC47FB178C6601426 /* Pods-BMASpinningLabel.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = "Pods-BMASpinningLabel.modulemap"; sourceTree = ""; }; 40D97DC0F171AC61099FF73203AB1F75 /* Pods-BMASpinningLabelTests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-BMASpinningLabelTests-acknowledgements.plist"; sourceTree = ""; }; 41E0688E3B99E993DA8843200E84CF08 /* BMASpinningLabel.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = BMASpinningLabel.h; sourceTree = ""; }; 4D4F993985323668EED1DE4BE76EED86 /* Pods_BMASpinningLabel.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_BMASpinningLabel.framework; path = "Pods-BMASpinningLabel.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; 4EAF4135BD4CE45B36AF12888249F3F6 /* Pods-BMASpinningLabelTests-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-BMASpinningLabelTests-frameworks.sh"; sourceTree = ""; }; 5BB6369F63FE3B3A98CCA38FDFC3B26F /* BMASpinningLabel-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "BMASpinningLabel-prefix.pch"; sourceTree = ""; }; 5D1316032251363BD9D6F05680C32D05 /* Pods-BMASpinningLabel-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-BMASpinningLabel-acknowledgements.markdown"; sourceTree = ""; }; 712ED897B202D1940371CFD316976294 /* Pods-BMASpinningLabelTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-BMASpinningLabelTests.release.xcconfig"; sourceTree = ""; }; 762C3CDF3BBB1AFCFA448C51BC3346A8 /* BMASpinningLabel-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "BMASpinningLabel-dummy.m"; sourceTree = ""; }; 807AFA29E9C36E8914F2A0849993A0A8 /* BMASpinningLabel.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = BMASpinningLabel.m; sourceTree = ""; }; 8475D04AD4ACC9D8E9A44C04B7ABA282 /* Pods-BMASpinningLabel-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-BMASpinningLabel-resources.sh"; sourceTree = ""; }; 8A28C8DB0DF4D1B090E56D558F8CCDE8 /* Pods-BMASpinningLabel-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-BMASpinningLabel-frameworks.sh"; sourceTree = ""; }; 8D9F8239427790EB147139D6290E61FE /* Pods-BMASpinningLabelTests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-BMASpinningLabelTests-umbrella.h"; sourceTree = ""; }; 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; A8ACF3C7444E1F6A1CC92FF8AC619C69 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; B3CB326996B552C3585256666038A1D6 /* Pods-BMASpinningLabel-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-BMASpinningLabel-acknowledgements.plist"; sourceTree = ""; }; B6BA22FDD759827A8E4C880B61748717 /* Pods-BMASpinningLabel.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-BMASpinningLabel.debug.xcconfig"; sourceTree = ""; }; B70C0DC4C187E792482B4CAC8B3489FF /* Pods-BMASpinningLabel-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-BMASpinningLabel-dummy.m"; sourceTree = ""; }; C2AB455DF01CC04A48B1DF1DAFF31FA8 /* BMASpinningLabel-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "BMASpinningLabel-umbrella.h"; sourceTree = ""; }; C3436A17F87988A29E3D64A8492004CC /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; CBB3DE36805AF21409EC968A9691732F /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; D55400C8E35FAC5E84E09B1D6017CC8F /* Pods-BMASpinningLabel-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-BMASpinningLabel-umbrella.h"; sourceTree = ""; }; DB2C483054F798DDA8C9A7DDC444DBD3 /* Pods-BMASpinningLabelTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-BMASpinningLabelTests.debug.xcconfig"; sourceTree = ""; }; E9B183E16D0189060F6F03AD4578A782 /* BMASpinningLabel.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = BMASpinningLabel.xcconfig; sourceTree = ""; }; EEC24EF247918A97328DBE2CFDCBA1B1 /* Pods-BMASpinningLabelTests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = "Pods-BMASpinningLabelTests.modulemap"; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ 9754D0F7221D8D0B98F0E5A39D391222 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( D9A53E8EF1C63168F8466CA35C714FA6 /* Foundation.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; B39D340D24539BAB2E19BE5943AC36A1 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( 24D09DBE6779C2CF4B01C6FED4085FE5 /* Foundation.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; F8E2AB9C4FF77CDDA5EA5FE51EF23BB6 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( F69A74AAEC7A1C3888E4EE5183B0ABA0 /* Foundation.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ 7531C8F8DE19F1AA3C8A7AC97A91DC29 /* iOS */ = { isa = PBXGroup; children = ( CBB3DE36805AF21409EC968A9691732F /* Foundation.framework */, ); name = iOS; sourceTree = ""; }; 7DB346D0F39D3F0E887471402A8071AB = { isa = PBXGroup; children = ( 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */, DA36F800624BD716B92970DB01EF0049 /* Development Pods */, BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */, F780DCE62180D10D942D537896AE327C /* Products */, 9F410788B1613D25497947B152B33720 /* Targets Support Files */, ); sourceTree = ""; }; 9F410788B1613D25497947B152B33720 /* Targets Support Files */ = { isa = PBXGroup; children = ( DA83665EB9B81B80B7F151E44DC22EAD /* Pods-BMASpinningLabel */, CA12BB3BE89ED655CEBDDCEF5BEAF8B9 /* Pods-BMASpinningLabelTests */, ); name = "Targets Support Files"; sourceTree = ""; }; BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */ = { isa = PBXGroup; children = ( 7531C8F8DE19F1AA3C8A7AC97A91DC29 /* iOS */, ); name = Frameworks; sourceTree = ""; }; C431E0F4A1D0394E5113939C7BFA2D25 /* BMASpinningLabel */ = { isa = PBXGroup; children = ( 41E0688E3B99E993DA8843200E84CF08 /* BMASpinningLabel.h */, 807AFA29E9C36E8914F2A0849993A0A8 /* BMASpinningLabel.m */, ); name = BMASpinningLabel; path = BMASpinningLabel; sourceTree = ""; }; C457D933C12505A25177DC4424BEE39C /* Support Files */ = { isa = PBXGroup; children = ( 18154C3053A5E21155B46E13306781E2 /* BMASpinningLabel.modulemap */, E9B183E16D0189060F6F03AD4578A782 /* BMASpinningLabel.xcconfig */, 762C3CDF3BBB1AFCFA448C51BC3346A8 /* BMASpinningLabel-dummy.m */, 5BB6369F63FE3B3A98CCA38FDFC3B26F /* BMASpinningLabel-prefix.pch */, C2AB455DF01CC04A48B1DF1DAFF31FA8 /* BMASpinningLabel-umbrella.h */, C3436A17F87988A29E3D64A8492004CC /* Info.plist */, ); name = "Support Files"; path = "Example/Pods/Target Support Files/BMASpinningLabel"; sourceTree = ""; }; CA12BB3BE89ED655CEBDDCEF5BEAF8B9 /* Pods-BMASpinningLabelTests */ = { isa = PBXGroup; children = ( 255250EE6C19586E8A8CED437CF4E661 /* Info.plist */, EEC24EF247918A97328DBE2CFDCBA1B1 /* Pods-BMASpinningLabelTests.modulemap */, 0CF7A31FEE41AD187B7C73D2A7EE2D1B /* Pods-BMASpinningLabelTests-acknowledgements.markdown */, 40D97DC0F171AC61099FF73203AB1F75 /* Pods-BMASpinningLabelTests-acknowledgements.plist */, 0B1D3A0F7DCFAB676617FDB3EE42920A /* Pods-BMASpinningLabelTests-dummy.m */, 4EAF4135BD4CE45B36AF12888249F3F6 /* Pods-BMASpinningLabelTests-frameworks.sh */, 39802CF25AD0C05F2BA5D1B2D0FAE0BB /* Pods-BMASpinningLabelTests-resources.sh */, 8D9F8239427790EB147139D6290E61FE /* Pods-BMASpinningLabelTests-umbrella.h */, DB2C483054F798DDA8C9A7DDC444DBD3 /* Pods-BMASpinningLabelTests.debug.xcconfig */, 712ED897B202D1940371CFD316976294 /* Pods-BMASpinningLabelTests.release.xcconfig */, ); name = "Pods-BMASpinningLabelTests"; path = "Target Support Files/Pods-BMASpinningLabelTests"; sourceTree = ""; }; DA36F800624BD716B92970DB01EF0049 /* Development Pods */ = { isa = PBXGroup; children = ( F40F63C9E01F65FE60D4D76C5B500E70 /* BMASpinningLabel */, ); name = "Development Pods"; sourceTree = ""; }; DA83665EB9B81B80B7F151E44DC22EAD /* Pods-BMASpinningLabel */ = { isa = PBXGroup; children = ( A8ACF3C7444E1F6A1CC92FF8AC619C69 /* Info.plist */, 3F976A26BDC5D8CDC47FB178C6601426 /* Pods-BMASpinningLabel.modulemap */, 5D1316032251363BD9D6F05680C32D05 /* Pods-BMASpinningLabel-acknowledgements.markdown */, B3CB326996B552C3585256666038A1D6 /* Pods-BMASpinningLabel-acknowledgements.plist */, B70C0DC4C187E792482B4CAC8B3489FF /* Pods-BMASpinningLabel-dummy.m */, 8A28C8DB0DF4D1B090E56D558F8CCDE8 /* Pods-BMASpinningLabel-frameworks.sh */, 8475D04AD4ACC9D8E9A44C04B7ABA282 /* Pods-BMASpinningLabel-resources.sh */, D55400C8E35FAC5E84E09B1D6017CC8F /* Pods-BMASpinningLabel-umbrella.h */, B6BA22FDD759827A8E4C880B61748717 /* Pods-BMASpinningLabel.debug.xcconfig */, 23BBC94CBE0141C2A10ECC61EFB35F12 /* Pods-BMASpinningLabel.release.xcconfig */, ); name = "Pods-BMASpinningLabel"; path = "Target Support Files/Pods-BMASpinningLabel"; sourceTree = ""; }; F40F63C9E01F65FE60D4D76C5B500E70 /* BMASpinningLabel */ = { isa = PBXGroup; children = ( C431E0F4A1D0394E5113939C7BFA2D25 /* BMASpinningLabel */, C457D933C12505A25177DC4424BEE39C /* Support Files */, ); name = BMASpinningLabel; path = ../..; sourceTree = ""; }; F780DCE62180D10D942D537896AE327C /* Products */ = { isa = PBXGroup; children = ( 32F94EFBF8F1BEB77B46E3C8FA5140B1 /* BMASpinningLabel.framework */, 4D4F993985323668EED1DE4BE76EED86 /* Pods_BMASpinningLabel.framework */, 037F7B11FF272D52E89853D0C8B40AAB /* Pods_BMASpinningLabelTests.framework */, ); name = Products; sourceTree = ""; }; /* End PBXGroup section */ /* Begin PBXHeadersBuildPhase section */ 61383A00C94C83D9E6645565C418BAE0 /* Headers */ = { isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; files = ( 5EFFFD2A53BBD260BEDC1DFCE410AC65 /* Pods-BMASpinningLabel-umbrella.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; 80513183A1E29DC02832066EB7DAA42F /* Headers */ = { isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; files = ( 5F6E497A915749508AC4CDADAD987337 /* Pods-BMASpinningLabelTests-umbrella.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; 985BCD29D8AD5A2A16282DCB15C99794 /* Headers */ = { isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; files = ( 1D5E02F88C6E2D6DC4CB91160E9CA31F /* BMASpinningLabel-umbrella.h in Headers */, C9481B2B982118F4F88E04975155441F /* BMASpinningLabel.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXHeadersBuildPhase section */ /* Begin PBXNativeTarget section */ 58D22365453EF7FF5F6939D3A5EA6BDF /* Pods-BMASpinningLabel */ = { isa = PBXNativeTarget; buildConfigurationList = F53EF2A1D614F98E565AB6F77EB3E63E /* Build configuration list for PBXNativeTarget "Pods-BMASpinningLabel" */; buildPhases = ( 91414E9381BAF36C8D07815766F3A394 /* Sources */, B39D340D24539BAB2E19BE5943AC36A1 /* Frameworks */, 61383A00C94C83D9E6645565C418BAE0 /* Headers */, ); buildRules = ( ); dependencies = ( C2F8CE85FEA6D5177553AD5B6FDFCBFE /* PBXTargetDependency */, ); name = "Pods-BMASpinningLabel"; productName = "Pods-BMASpinningLabel"; productReference = 4D4F993985323668EED1DE4BE76EED86 /* Pods_BMASpinningLabel.framework */; productType = "com.apple.product-type.framework"; }; 5D5123086F22E66D6FE84DED12DB2C05 /* Pods-BMASpinningLabelTests */ = { isa = PBXNativeTarget; buildConfigurationList = AE346AFE58DE1D2E09B12CDA591AC2E8 /* Build configuration list for PBXNativeTarget "Pods-BMASpinningLabelTests" */; buildPhases = ( 7ED6BD09438BCAD258099EC113026F30 /* Sources */, F8E2AB9C4FF77CDDA5EA5FE51EF23BB6 /* Frameworks */, 80513183A1E29DC02832066EB7DAA42F /* Headers */, ); buildRules = ( ); dependencies = ( ); name = "Pods-BMASpinningLabelTests"; productName = "Pods-BMASpinningLabelTests"; productReference = 037F7B11FF272D52E89853D0C8B40AAB /* Pods_BMASpinningLabelTests.framework */; productType = "com.apple.product-type.framework"; }; 9A0BCFE9E9733ECFC76EA65836BE33ED /* BMASpinningLabel */ = { isa = PBXNativeTarget; buildConfigurationList = A90D03ED09E2ABB38C008B14BAC0EF5E /* Build configuration list for PBXNativeTarget "BMASpinningLabel" */; buildPhases = ( 9D674074715A54AA181215291977A014 /* Sources */, 9754D0F7221D8D0B98F0E5A39D391222 /* Frameworks */, 985BCD29D8AD5A2A16282DCB15C99794 /* Headers */, ); buildRules = ( ); dependencies = ( ); name = BMASpinningLabel; productName = BMASpinningLabel; productReference = 32F94EFBF8F1BEB77B46E3C8FA5140B1 /* BMASpinningLabel.framework */; productType = "com.apple.product-type.framework"; }; /* End PBXNativeTarget section */ /* Begin PBXProject section */ D41D8CD98F00B204E9800998ECF8427E /* Project object */ = { isa = PBXProject; attributes = { LastSwiftUpdateCheck = 0730; LastUpgradeCheck = 0700; }; buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; compatibilityVersion = "Xcode 3.2"; developmentRegion = English; hasScannedForEncodings = 0; knownRegions = ( en, ); mainGroup = 7DB346D0F39D3F0E887471402A8071AB; productRefGroup = F780DCE62180D10D942D537896AE327C /* Products */; projectDirPath = ""; projectRoot = ""; targets = ( 9A0BCFE9E9733ECFC76EA65836BE33ED /* BMASpinningLabel */, 58D22365453EF7FF5F6939D3A5EA6BDF /* Pods-BMASpinningLabel */, 5D5123086F22E66D6FE84DED12DB2C05 /* Pods-BMASpinningLabelTests */, ); }; /* End PBXProject section */ /* Begin PBXSourcesBuildPhase section */ 7ED6BD09438BCAD258099EC113026F30 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( E35F8F18E8708CD0F36EFF632BAD10C7 /* Pods-BMASpinningLabelTests-dummy.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; 91414E9381BAF36C8D07815766F3A394 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( 0B373A6FC5E17679733C47DEC1746486 /* Pods-BMASpinningLabel-dummy.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; 9D674074715A54AA181215291977A014 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( 446A5F444D7EE35B019E17F7B33987C0 /* BMASpinningLabel-dummy.m in Sources */, 7AF2361C041EBD6B56C98AFCA28EB858 /* BMASpinningLabel.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXSourcesBuildPhase section */ /* Begin PBXTargetDependency section */ C2F8CE85FEA6D5177553AD5B6FDFCBFE /* PBXTargetDependency */ = { isa = PBXTargetDependency; name = BMASpinningLabel; target = 9A0BCFE9E9733ECFC76EA65836BE33ED /* BMASpinningLabel */; targetProxy = C7205D33439C44F7412094147444253E /* PBXContainerItemProxy */; }; /* End PBXTargetDependency section */ /* Begin XCBuildConfiguration section */ 455F7C092CF8BAF3E3EEE317591B2C4B /* Release */ = { isa = XCBuildConfiguration; baseConfigurationReference = E9B183E16D0189060F6F03AD4578A782 /* BMASpinningLabel.xcconfig */; buildSettings = { "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; CURRENT_PROJECT_VERSION = 1; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; DEFINES_MODULE = YES; DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; ENABLE_STRICT_OBJC_MSGSEND = YES; GCC_NO_COMMON_BLOCKS = YES; GCC_PREFIX_HEADER = "Target Support Files/BMASpinningLabel/BMASpinningLabel-prefix.pch"; INFOPLIST_FILE = "Target Support Files/BMASpinningLabel/Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; IPHONEOS_DEPLOYMENT_TARGET = 9.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; MODULEMAP_FILE = "Target Support Files/BMASpinningLabel/BMASpinningLabel.modulemap"; MTL_ENABLE_DEBUG_INFO = NO; PRODUCT_NAME = BMASpinningLabel; SDKROOT = iphoneos; SKIP_INSTALL = YES; TARGETED_DEVICE_FAMILY = "1,2"; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; }; name = Release; }; 48C3A0E48A778D247B7C84DF91C53D98 /* Debug */ = { isa = XCBuildConfiguration; baseConfigurationReference = E9B183E16D0189060F6F03AD4578A782 /* BMASpinningLabel.xcconfig */; buildSettings = { "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; CURRENT_PROJECT_VERSION = 1; DEBUG_INFORMATION_FORMAT = dwarf; DEFINES_MODULE = YES; DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; ENABLE_STRICT_OBJC_MSGSEND = YES; GCC_NO_COMMON_BLOCKS = YES; GCC_PREFIX_HEADER = "Target Support Files/BMASpinningLabel/BMASpinningLabel-prefix.pch"; INFOPLIST_FILE = "Target Support Files/BMASpinningLabel/Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; IPHONEOS_DEPLOYMENT_TARGET = 9.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; MODULEMAP_FILE = "Target Support Files/BMASpinningLabel/BMASpinningLabel.modulemap"; MTL_ENABLE_DEBUG_INFO = YES; PRODUCT_NAME = BMASpinningLabel; SDKROOT = iphoneos; SKIP_INSTALL = YES; TARGETED_DEVICE_FAMILY = "1,2"; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; }; name = Debug; }; 58739EC1F9A59F3F2E8C524914DB8740 /* Release */ = { isa = XCBuildConfiguration; baseConfigurationReference = 23BBC94CBE0141C2A10ECC61EFB35F12 /* Pods-BMASpinningLabel.release.xcconfig */; buildSettings = { "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; CURRENT_PROJECT_VERSION = 1; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; DEFINES_MODULE = YES; DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; ENABLE_STRICT_OBJC_MSGSEND = YES; GCC_NO_COMMON_BLOCKS = YES; INFOPLIST_FILE = "Target Support Files/Pods-BMASpinningLabel/Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; IPHONEOS_DEPLOYMENT_TARGET = 9.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; MACH_O_TYPE = staticlib; MODULEMAP_FILE = "Target Support Files/Pods-BMASpinningLabel/Pods-BMASpinningLabel.modulemap"; MTL_ENABLE_DEBUG_INFO = NO; OTHER_LDFLAGS = ""; OTHER_LIBTOOLFLAGS = ""; PODS_ROOT = "$(SRCROOT)"; PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; PRODUCT_NAME = Pods_BMASpinningLabel; SDKROOT = iphoneos; SKIP_INSTALL = YES; TARGETED_DEVICE_FAMILY = "1,2"; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; }; name = Release; }; 59B042A655B7C20CBAB90E385BF4E4C7 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; CLANG_ANALYZER_NONNULL = YES; CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_OBJC_ARC = YES; CLANG_WARN_BOOL_CONVERSION = YES; CLANG_WARN_CONSTANT_CONVERSION = YES; CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_ENUM_CONVERSION = YES; CLANG_WARN_INT_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; CODE_SIGNING_REQUIRED = NO; COPY_PHASE_STRIP = NO; ENABLE_TESTABILITY = YES; GCC_C_LANGUAGE_STANDARD = gnu99; GCC_DYNAMIC_NO_PIC = NO; GCC_OPTIMIZATION_LEVEL = 0; GCC_PREPROCESSOR_DEFINITIONS = ( "POD_CONFIGURATION_DEBUG=1", "DEBUG=1", "$(inherited)", ); GCC_SYMBOLS_PRIVATE_EXTERN = NO; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; GCC_WARN_ABOUT_RETURN_TYPE = YES; GCC_WARN_UNDECLARED_SELECTOR = YES; GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; IPHONEOS_DEPLOYMENT_TARGET = 9.0; ONLY_ACTIVE_ARCH = YES; PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; STRIP_INSTALLED_PRODUCT = NO; SYMROOT = "${SRCROOT}/../build"; }; name = Debug; }; 7D7F0D1BF83B37B86CD3F8BA7E058D3F /* Debug */ = { isa = XCBuildConfiguration; baseConfigurationReference = B6BA22FDD759827A8E4C880B61748717 /* Pods-BMASpinningLabel.debug.xcconfig */; buildSettings = { "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; CURRENT_PROJECT_VERSION = 1; DEBUG_INFORMATION_FORMAT = dwarf; DEFINES_MODULE = YES; DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; ENABLE_STRICT_OBJC_MSGSEND = YES; GCC_NO_COMMON_BLOCKS = YES; INFOPLIST_FILE = "Target Support Files/Pods-BMASpinningLabel/Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; IPHONEOS_DEPLOYMENT_TARGET = 9.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; MACH_O_TYPE = staticlib; MODULEMAP_FILE = "Target Support Files/Pods-BMASpinningLabel/Pods-BMASpinningLabel.modulemap"; MTL_ENABLE_DEBUG_INFO = YES; OTHER_LDFLAGS = ""; OTHER_LIBTOOLFLAGS = ""; PODS_ROOT = "$(SRCROOT)"; PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; PRODUCT_NAME = Pods_BMASpinningLabel; SDKROOT = iphoneos; SKIP_INSTALL = YES; TARGETED_DEVICE_FAMILY = "1,2"; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; }; name = Debug; }; B7324857C38B065FEB1EEE3105C2367A /* Release */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; CLANG_ANALYZER_NONNULL = YES; CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_OBJC_ARC = YES; CLANG_WARN_BOOL_CONVERSION = YES; CLANG_WARN_CONSTANT_CONVERSION = YES; CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_ENUM_CONVERSION = YES; CLANG_WARN_INT_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; CODE_SIGNING_REQUIRED = NO; COPY_PHASE_STRIP = YES; ENABLE_NS_ASSERTIONS = NO; GCC_C_LANGUAGE_STANDARD = gnu99; GCC_PREPROCESSOR_DEFINITIONS = ( "POD_CONFIGURATION_RELEASE=1", "$(inherited)", ); GCC_WARN_64_TO_32_BIT_CONVERSION = YES; GCC_WARN_ABOUT_RETURN_TYPE = YES; GCC_WARN_UNDECLARED_SELECTOR = YES; GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; IPHONEOS_DEPLOYMENT_TARGET = 9.0; PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; STRIP_INSTALLED_PRODUCT = NO; SYMROOT = "${SRCROOT}/../build"; VALIDATE_PRODUCT = YES; }; name = Release; }; C4928E08FCDC401FA44536F4861BD8CC /* Release */ = { isa = XCBuildConfiguration; baseConfigurationReference = 712ED897B202D1940371CFD316976294 /* Pods-BMASpinningLabelTests.release.xcconfig */; buildSettings = { "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; CURRENT_PROJECT_VERSION = 1; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; DEFINES_MODULE = YES; DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; ENABLE_STRICT_OBJC_MSGSEND = YES; GCC_NO_COMMON_BLOCKS = YES; INFOPLIST_FILE = "Target Support Files/Pods-BMASpinningLabelTests/Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; IPHONEOS_DEPLOYMENT_TARGET = 9.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; MACH_O_TYPE = staticlib; MODULEMAP_FILE = "Target Support Files/Pods-BMASpinningLabelTests/Pods-BMASpinningLabelTests.modulemap"; MTL_ENABLE_DEBUG_INFO = NO; OTHER_LDFLAGS = ""; OTHER_LIBTOOLFLAGS = ""; PODS_ROOT = "$(SRCROOT)"; PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; PRODUCT_NAME = Pods_BMASpinningLabelTests; SDKROOT = iphoneos; SKIP_INSTALL = YES; TARGETED_DEVICE_FAMILY = "1,2"; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; }; name = Release; }; EF652AB73DAA358DEBC0422A451E097E /* Debug */ = { isa = XCBuildConfiguration; baseConfigurationReference = DB2C483054F798DDA8C9A7DDC444DBD3 /* Pods-BMASpinningLabelTests.debug.xcconfig */; buildSettings = { "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; CURRENT_PROJECT_VERSION = 1; DEBUG_INFORMATION_FORMAT = dwarf; DEFINES_MODULE = YES; DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; ENABLE_STRICT_OBJC_MSGSEND = YES; GCC_NO_COMMON_BLOCKS = YES; INFOPLIST_FILE = "Target Support Files/Pods-BMASpinningLabelTests/Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; IPHONEOS_DEPLOYMENT_TARGET = 9.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; MACH_O_TYPE = staticlib; MODULEMAP_FILE = "Target Support Files/Pods-BMASpinningLabelTests/Pods-BMASpinningLabelTests.modulemap"; MTL_ENABLE_DEBUG_INFO = YES; OTHER_LDFLAGS = ""; OTHER_LIBTOOLFLAGS = ""; PODS_ROOT = "$(SRCROOT)"; PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; PRODUCT_NAME = Pods_BMASpinningLabelTests; SDKROOT = iphoneos; SKIP_INSTALL = YES; TARGETED_DEVICE_FAMILY = "1,2"; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; }; name = Debug; }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { isa = XCConfigurationList; buildConfigurations = ( 59B042A655B7C20CBAB90E385BF4E4C7 /* Debug */, B7324857C38B065FEB1EEE3105C2367A /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; A90D03ED09E2ABB38C008B14BAC0EF5E /* Build configuration list for PBXNativeTarget "BMASpinningLabel" */ = { isa = XCConfigurationList; buildConfigurations = ( 48C3A0E48A778D247B7C84DF91C53D98 /* Debug */, 455F7C092CF8BAF3E3EEE317591B2C4B /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; AE346AFE58DE1D2E09B12CDA591AC2E8 /* Build configuration list for PBXNativeTarget "Pods-BMASpinningLabelTests" */ = { isa = XCConfigurationList; buildConfigurations = ( EF652AB73DAA358DEBC0422A451E097E /* Debug */, C4928E08FCDC401FA44536F4861BD8CC /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; F53EF2A1D614F98E565AB6F77EB3E63E /* Build configuration list for PBXNativeTarget "Pods-BMASpinningLabel" */ = { isa = XCConfigurationList; buildConfigurations = ( 7D7F0D1BF83B37B86CD3F8BA7E058D3F /* Debug */, 58739EC1F9A59F3F2E8C524914DB8740 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; /* End XCConfigurationList section */ }; rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; } ================================================ FILE: Example/Pods/Target Support Files/BMASpinningLabel/BMASpinningLabel-dummy.m ================================================ #import @interface PodsDummy_BMASpinningLabel : NSObject @end @implementation PodsDummy_BMASpinningLabel @end ================================================ FILE: Example/Pods/Target Support Files/BMASpinningLabel/BMASpinningLabel-prefix.pch ================================================ #ifdef __OBJC__ #import #else #ifndef FOUNDATION_EXPORT #if defined(__cplusplus) #define FOUNDATION_EXPORT extern "C" #else #define FOUNDATION_EXPORT extern #endif #endif #endif ================================================ FILE: Example/Pods/Target Support Files/BMASpinningLabel/BMASpinningLabel-umbrella.h ================================================ #ifdef __OBJC__ #import #else #ifndef FOUNDATION_EXPORT #if defined(__cplusplus) #define FOUNDATION_EXPORT extern "C" #else #define FOUNDATION_EXPORT extern #endif #endif #endif #import "BMASpinningLabel.h" FOUNDATION_EXPORT double BMASpinningLabelVersionNumber; FOUNDATION_EXPORT const unsigned char BMASpinningLabelVersionString[]; ================================================ FILE: Example/Pods/Target Support Files/BMASpinningLabel/BMASpinningLabel.modulemap ================================================ framework module BMASpinningLabel { umbrella header "BMASpinningLabel-umbrella.h" export * module * { export * } } ================================================ FILE: Example/Pods/Target Support Files/BMASpinningLabel/BMASpinningLabel.xcconfig ================================================ CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/BMASpinningLabel GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" PODS_BUILD_DIR = $BUILD_DIR PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) PODS_ROOT = ${SRCROOT} PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} SKIP_INSTALL = YES ================================================ FILE: Example/Pods/Target Support Files/BMASpinningLabel/Info.plist ================================================ CFBundleDevelopmentRegion en CFBundleExecutable ${EXECUTABLE_NAME} CFBundleIdentifier ${PRODUCT_BUNDLE_IDENTIFIER} CFBundleInfoDictionaryVersion 6.0 CFBundleName ${PRODUCT_NAME} CFBundlePackageType FMWK CFBundleShortVersionString 1.0.0 CFBundleSignature ???? CFBundleVersion ${CURRENT_PROJECT_VERSION} NSPrincipalClass ================================================ FILE: Example/Pods/Target Support Files/Pods-BMASpinningLabel/Info.plist ================================================ CFBundleDevelopmentRegion en CFBundleExecutable ${EXECUTABLE_NAME} CFBundleIdentifier ${PRODUCT_BUNDLE_IDENTIFIER} CFBundleInfoDictionaryVersion 6.0 CFBundleName ${PRODUCT_NAME} CFBundlePackageType FMWK CFBundleShortVersionString 1.0.0 CFBundleSignature ???? CFBundleVersion ${CURRENT_PROJECT_VERSION} NSPrincipalClass ================================================ FILE: Example/Pods/Target Support Files/Pods-BMASpinningLabel/Pods-BMASpinningLabel-acknowledgements.markdown ================================================ # Acknowledgements This application makes use of the following third party libraries: ## BMASpinningLabel The MIT License (MIT) Copyright (c) 2015-present Badoo Trading Limited. 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 - https://cocoapods.org ================================================ FILE: Example/Pods/Target Support Files/Pods-BMASpinningLabel/Pods-BMASpinningLabel-acknowledgements.plist ================================================ PreferenceSpecifiers FooterText This application makes use of the following third party libraries: Title Acknowledgements Type PSGroupSpecifier FooterText The MIT License (MIT) Copyright (c) 2015-present Badoo Trading Limited. 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. License MIT Title BMASpinningLabel Type PSGroupSpecifier FooterText Generated by CocoaPods - https://cocoapods.org Title Type PSGroupSpecifier StringsTable Acknowledgements Title Acknowledgements ================================================ FILE: Example/Pods/Target Support Files/Pods-BMASpinningLabel/Pods-BMASpinningLabel-dummy.m ================================================ #import @interface PodsDummy_Pods_BMASpinningLabel : NSObject @end @implementation PodsDummy_Pods_BMASpinningLabel @end ================================================ FILE: Example/Pods/Target Support Files/Pods-BMASpinningLabel/Pods-BMASpinningLabel-frameworks.sh ================================================ #!/bin/sh set -e echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" install_framework() { if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then local source="${BUILT_PRODUCTS_DIR}/$1" elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" elif [ -r "$1" ]; then local source="$1" fi local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" if [ -L "${source}" ]; then echo "Symlinked..." source="$(readlink "${source}")" fi # use filter instead of exclude so missing patterns dont' throw errors echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" local basename basename="$(basename -s .framework "$1")" binary="${destination}/${basename}.framework/${basename}" if ! [ -r "$binary" ]; then binary="${destination}/${basename}" fi # Strip invalid architectures so "fat" simulator / device frameworks work on device if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then strip_invalid_archs "$binary" fi # Resign the code if required by the build settings to avoid unstable apps code_sign_if_enabled "${destination}/$(basename "$1")" # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then local swift_runtime_libs swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) for lib in $swift_runtime_libs; do echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" code_sign_if_enabled "${destination}/${lib}" done fi } # Signs a framework with the provided identity code_sign_if_enabled() { if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then # Use the current code_sign_identitiy echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements '$1'" if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then code_sign_cmd="$code_sign_cmd &" fi echo "$code_sign_cmd" eval "$code_sign_cmd" fi } # Strip invalid architectures strip_invalid_archs() { binary="$1" # Get architectures for current file archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" stripped="" for arch in $archs; do if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then # Strip non-valid architectures in-place lipo -remove "$arch" -output "$binary" "$binary" || exit 1 stripped="$stripped $arch" fi done if [[ "$stripped" ]]; then echo "Stripped $binary of architectures:$stripped" fi } if [[ "$CONFIGURATION" == "Debug" ]]; then install_framework "$BUILT_PRODUCTS_DIR/BMASpinningLabel/BMASpinningLabel.framework" fi if [[ "$CONFIGURATION" == "Release" ]]; then install_framework "$BUILT_PRODUCTS_DIR/BMASpinningLabel/BMASpinningLabel.framework" fi if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then wait fi ================================================ FILE: Example/Pods/Target Support Files/Pods-BMASpinningLabel/Pods-BMASpinningLabel-resources.sh ================================================ #!/bin/sh set -e mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt > "$RESOURCES_TO_COPY" XCASSET_FILES=() case "${TARGETED_DEVICE_FAMILY}" in 1,2) TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" ;; 1) TARGET_DEVICE_ARGS="--target-device iphone" ;; 2) TARGET_DEVICE_ARGS="--target-device ipad" ;; 3) TARGET_DEVICE_ARGS="--target-device tv" ;; *) TARGET_DEVICE_ARGS="--target-device mac" ;; esac install_resource() { if [[ "$1" = /* ]] ; then RESOURCE_PATH="$1" else RESOURCE_PATH="${PODS_ROOT}/$1" fi if [[ ! -e "$RESOURCE_PATH" ]] ; then cat << EOM error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. EOM exit 1 fi case $RESOURCE_PATH in *.storyboard) echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} ;; *.xib) echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} ;; *.framework) echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" echo "rsync -av $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" rsync -av "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" ;; *.xcdatamodel) echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" ;; *.xcdatamodeld) echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" ;; *.xcmappingmodel) echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" ;; *.xcassets) ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") ;; *) echo "$RESOURCE_PATH" echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" ;; esac } mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" fi rm -f "$RESOURCES_TO_COPY" if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] then # Find all other xcassets (this unfortunately includes those of path pods and other targets). OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) while read line; do if [[ $line != "${PODS_ROOT}*" ]]; then XCASSET_FILES+=("$line") fi done <<<"$OTHER_XCASSETS" printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" fi ================================================ FILE: Example/Pods/Target Support Files/Pods-BMASpinningLabel/Pods-BMASpinningLabel-umbrella.h ================================================ #ifdef __OBJC__ #import #else #ifndef FOUNDATION_EXPORT #if defined(__cplusplus) #define FOUNDATION_EXPORT extern "C" #else #define FOUNDATION_EXPORT extern #endif #endif #endif FOUNDATION_EXPORT double Pods_BMASpinningLabelVersionNumber; FOUNDATION_EXPORT const unsigned char Pods_BMASpinningLabelVersionString[]; ================================================ FILE: Example/Pods/Target Support Files/Pods-BMASpinningLabel/Pods-BMASpinningLabel.debug.xcconfig ================================================ FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/BMASpinningLabel" GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/BMASpinningLabel/BMASpinningLabel.framework/Headers" OTHER_LDFLAGS = $(inherited) -framework "BMASpinningLabel" PODS_BUILD_DIR = $BUILD_DIR PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) PODS_ROOT = ${SRCROOT}/Pods ================================================ FILE: Example/Pods/Target Support Files/Pods-BMASpinningLabel/Pods-BMASpinningLabel.modulemap ================================================ framework module Pods_BMASpinningLabel { umbrella header "Pods-BMASpinningLabel-umbrella.h" export * module * { export * } } ================================================ FILE: Example/Pods/Target Support Files/Pods-BMASpinningLabel/Pods-BMASpinningLabel.release.xcconfig ================================================ FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/BMASpinningLabel" GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/BMASpinningLabel/BMASpinningLabel.framework/Headers" OTHER_LDFLAGS = $(inherited) -framework "BMASpinningLabel" PODS_BUILD_DIR = $BUILD_DIR PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) PODS_ROOT = ${SRCROOT}/Pods ================================================ FILE: Example/Pods/Target Support Files/Pods-BMASpinningLabelTests/Info.plist ================================================ CFBundleDevelopmentRegion en CFBundleExecutable ${EXECUTABLE_NAME} CFBundleIdentifier ${PRODUCT_BUNDLE_IDENTIFIER} CFBundleInfoDictionaryVersion 6.0 CFBundleName ${PRODUCT_NAME} CFBundlePackageType FMWK CFBundleShortVersionString 1.0.0 CFBundleSignature ???? CFBundleVersion ${CURRENT_PROJECT_VERSION} NSPrincipalClass ================================================ FILE: Example/Pods/Target Support Files/Pods-BMASpinningLabelTests/Pods-BMASpinningLabelTests-acknowledgements.markdown ================================================ # Acknowledgements This application makes use of the following third party libraries: Generated by CocoaPods - https://cocoapods.org ================================================ FILE: Example/Pods/Target Support Files/Pods-BMASpinningLabelTests/Pods-BMASpinningLabelTests-acknowledgements.plist ================================================ PreferenceSpecifiers FooterText This application makes use of the following third party libraries: Title Acknowledgements Type PSGroupSpecifier FooterText Generated by CocoaPods - https://cocoapods.org Title Type PSGroupSpecifier StringsTable Acknowledgements Title Acknowledgements ================================================ FILE: Example/Pods/Target Support Files/Pods-BMASpinningLabelTests/Pods-BMASpinningLabelTests-dummy.m ================================================ #import @interface PodsDummy_Pods_BMASpinningLabelTests : NSObject @end @implementation PodsDummy_Pods_BMASpinningLabelTests @end ================================================ FILE: Example/Pods/Target Support Files/Pods-BMASpinningLabelTests/Pods-BMASpinningLabelTests-frameworks.sh ================================================ #!/bin/sh set -e echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" install_framework() { if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then local source="${BUILT_PRODUCTS_DIR}/$1" elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" elif [ -r "$1" ]; then local source="$1" fi local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" if [ -L "${source}" ]; then echo "Symlinked..." source="$(readlink "${source}")" fi # use filter instead of exclude so missing patterns dont' throw errors echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" local basename basename="$(basename -s .framework "$1")" binary="${destination}/${basename}.framework/${basename}" if ! [ -r "$binary" ]; then binary="${destination}/${basename}" fi # Strip invalid architectures so "fat" simulator / device frameworks work on device if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then strip_invalid_archs "$binary" fi # Resign the code if required by the build settings to avoid unstable apps code_sign_if_enabled "${destination}/$(basename "$1")" # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then local swift_runtime_libs swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) for lib in $swift_runtime_libs; do echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" code_sign_if_enabled "${destination}/${lib}" done fi } # Signs a framework with the provided identity code_sign_if_enabled() { if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then # Use the current code_sign_identitiy echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements '$1'" if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then code_sign_cmd="$code_sign_cmd &" fi echo "$code_sign_cmd" eval "$code_sign_cmd" fi } # Strip invalid architectures strip_invalid_archs() { binary="$1" # Get architectures for current file archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" stripped="" for arch in $archs; do if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then # Strip non-valid architectures in-place lipo -remove "$arch" -output "$binary" "$binary" || exit 1 stripped="$stripped $arch" fi done if [[ "$stripped" ]]; then echo "Stripped $binary of architectures:$stripped" fi } if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then wait fi ================================================ FILE: Example/Pods/Target Support Files/Pods-BMASpinningLabelTests/Pods-BMASpinningLabelTests-resources.sh ================================================ #!/bin/sh set -e mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt > "$RESOURCES_TO_COPY" XCASSET_FILES=() case "${TARGETED_DEVICE_FAMILY}" in 1,2) TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" ;; 1) TARGET_DEVICE_ARGS="--target-device iphone" ;; 2) TARGET_DEVICE_ARGS="--target-device ipad" ;; 3) TARGET_DEVICE_ARGS="--target-device tv" ;; *) TARGET_DEVICE_ARGS="--target-device mac" ;; esac install_resource() { if [[ "$1" = /* ]] ; then RESOURCE_PATH="$1" else RESOURCE_PATH="${PODS_ROOT}/$1" fi if [[ ! -e "$RESOURCE_PATH" ]] ; then cat << EOM error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. EOM exit 1 fi case $RESOURCE_PATH in *.storyboard) echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} ;; *.xib) echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} ;; *.framework) echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" echo "rsync -av $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" rsync -av "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" ;; *.xcdatamodel) echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" ;; *.xcdatamodeld) echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" ;; *.xcmappingmodel) echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" ;; *.xcassets) ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") ;; *) echo "$RESOURCE_PATH" echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" ;; esac } mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" fi rm -f "$RESOURCES_TO_COPY" if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] then # Find all other xcassets (this unfortunately includes those of path pods and other targets). OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) while read line; do if [[ $line != "${PODS_ROOT}*" ]]; then XCASSET_FILES+=("$line") fi done <<<"$OTHER_XCASSETS" printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" fi ================================================ FILE: Example/Pods/Target Support Files/Pods-BMASpinningLabelTests/Pods-BMASpinningLabelTests-umbrella.h ================================================ #ifdef __OBJC__ #import #else #ifndef FOUNDATION_EXPORT #if defined(__cplusplus) #define FOUNDATION_EXPORT extern "C" #else #define FOUNDATION_EXPORT extern #endif #endif #endif FOUNDATION_EXPORT double Pods_BMASpinningLabelTestsVersionNumber; FOUNDATION_EXPORT const unsigned char Pods_BMASpinningLabelTestsVersionString[]; ================================================ FILE: Example/Pods/Target Support Files/Pods-BMASpinningLabelTests/Pods-BMASpinningLabelTests.debug.xcconfig ================================================ FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/BMASpinningLabel" GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/BMASpinningLabel/BMASpinningLabel.framework/Headers" PODS_BUILD_DIR = $BUILD_DIR PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) PODS_ROOT = ${SRCROOT}/Pods ================================================ FILE: Example/Pods/Target Support Files/Pods-BMASpinningLabelTests/Pods-BMASpinningLabelTests.modulemap ================================================ framework module Pods_BMASpinningLabelTests { umbrella header "Pods-BMASpinningLabelTests-umbrella.h" export * module * { export * } } ================================================ FILE: Example/Pods/Target Support Files/Pods-BMASpinningLabelTests/Pods-BMASpinningLabelTests.release.xcconfig ================================================ FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/BMASpinningLabel" GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/BMASpinningLabel/BMASpinningLabel.framework/Headers" PODS_BUILD_DIR = $BUILD_DIR PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) PODS_ROOT = ${SRCROOT}/Pods ================================================ FILE: LICENSE ================================================ The MIT License (MIT) Copyright (c) 2015-present Badoo Trading Limited. 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. ================================================ FILE: README.md ================================================ # BMASpinningLabel [![Build Status](https://api.travis-ci.org/badoo/BMASpinningLabel.svg)](https://travis-ci.org/badoo/BMASpinningLabel) [![codecov.io](https://codecov.io/github/badoo/BMASpinningLabel/coverage.svg?branch=master)](https://codecov.io/github/badoo/BMASpinningLabel?branch=master) [![CocoaPods Compatible](https://img.shields.io/cocoapods/v/BMASpinningLabel.svg)](https://img.shields.io/cocoapods/v/BMASpinningLabel.svg) `BMASpinningLabel` is an UI component which provides easy way for displaying and animating text inside it. Text changes animated as 'spins' either downwards or upwards. Below you can see example how it works.
## How to use ```objectivec // Creation BMASpinningLabel *label = [[BMASpinningLabel alloc] initWithFrame:CGRectMake(0, 0, 100, 40)]; self.navigationItem.titleView = label; // Set initial value NSAttributedString *initialTitle = [[NSAttributedString alloc] initWithString:@"Initial Title"]; self.label.attributedTitle = initialTitle; // Update with animation NSAttributedString *newTitle = [[NSAttributedString alloc] initWithString:@"New Title"]; [self.label setAttributedTitle:newTitle spinDirection:BMASpinDirectionUpward spinSettings:BMASpinSettingsAnimated]; ``` ## How to install ### Using CocoaPods 1. Include the following line in your `Podfile`: ``` pod 'BMASpinningLabel', '~> 1.0' ``` 2. Run `pod install` ### Manually 1. Clone, add as a submodule or [download.](https://github.com/badoo/BMASpinningLabel/archive/master.zip) 2. Add the files under `BMASpinningLabel` to your project. 3. Make sure your project is configured to use ARC. ## License Source code is distributed under MIT license. ## Blog Read more on our [tech blog](http://techblog.badoo.com/) or explore our other [open source projects](https://github.com/badoo)