├── Pods ├── Headers │ ├── Private │ │ ├── MYKit │ │ │ ├── MYKit.h │ │ │ ├── MYUIKit.h │ │ │ ├── MYSafeKit.h │ │ │ ├── SafeKitShield.h │ │ │ ├── UIView+Line.h │ │ │ ├── MYFoundationKit.h │ │ │ ├── NSURL+Param.h │ │ │ ├── UIImage+Color.h │ │ │ ├── UIView+Badge.h │ │ │ ├── UIView+Gesture.h │ │ │ ├── UIView+RedDot.h │ │ │ ├── NSData+YYAdd.h │ │ │ ├── NSString+Size.h │ │ │ ├── UIButton+Badge.h │ │ │ ├── UIColor+Addition.h │ │ │ ├── UIImage+Addition.h │ │ │ ├── UIView+Position.h │ │ │ ├── NSArray+Addition.h │ │ │ ├── NSDate+Addition.h │ │ │ ├── NSNumber+Round.h │ │ │ ├── NSString+Trims.h │ │ │ ├── UIButton+CountDown.h │ │ │ ├── UIButton+Indicator.h │ │ │ ├── UIDevice+Addition.h │ │ │ ├── UILabel+CountDown.h │ │ │ ├── UILabel+LimitLines.h │ │ │ ├── UIScreen+Addition.h │ │ │ ├── UITextView+Select.h │ │ │ ├── UIView+CornerRadii.h │ │ │ ├── UIView+CustomBorder.h │ │ │ ├── UIView+FindSubView.h │ │ │ ├── UIWindow+Hierarchy.h │ │ │ ├── NSArray+Collection.h │ │ │ ├── NSArray+SafeAccess.h │ │ │ ├── NSBundle+AppIcon.h │ │ │ ├── NSNumber+Addition.h │ │ │ ├── NSObject+Addition.h │ │ │ ├── NSObject+Swizzle.h │ │ │ ├── NSString+Addition.h │ │ │ ├── NSString+Regular.h │ │ │ ├── UIButton+Submitting.h │ │ │ ├── UIImage+CornerRadius.h │ │ │ ├── UIImage+ImageEffects.h │ │ │ ├── UILabel+LineSpacing.h │ │ │ ├── UIResponder+Chain.h │ │ │ ├── UIResponder+Router.h │ │ │ ├── UITextField+Shake.h │ │ │ ├── NSDate+NSDateRFC1123.h │ │ │ ├── NSString+Collection.h │ │ │ ├── UIScrollView+Addition.h │ │ │ ├── UIView+SuperController.h │ │ │ ├── NSDictionary+Addition.h │ │ │ ├── NSMutableArray+Queue.h │ │ │ ├── NSMutableArray+Sort.h │ │ │ ├── NSMutableArray+Stack.h │ │ │ ├── UIApplication+Authority.h │ │ │ ├── UIBarButtonItem+Badge.h │ │ │ ├── UIButton+ImageTitleStyle.h │ │ │ ├── UIButton+TouchAreaInsets.h │ │ │ ├── UIImageView+CornerRadius.h │ │ │ ├── UIImageView+RectCorner.h │ │ │ ├── UILabel+AutomaticWriting.h │ │ │ ├── UITableView+PlaceHolder.h │ │ │ ├── UITextField+InputLimit.h │ │ │ ├── NSDictionary+Collection.h │ │ │ ├── NSDictionary+SafeAccess.h │ │ │ ├── NSObject+AssociatedObject.h │ │ │ ├── UIBarButtonItem+Addition.h │ │ │ ├── UINavigationBar+Addition.h │ │ │ ├── UINavigationItem+Loading.h │ │ │ ├── UINavigationItem+Margin.h │ │ │ ├── NSMutableArray+SafeAccess.h │ │ │ ├── NSUserDefaults+SafeAccess.h │ │ │ ├── TableViewPlaceHolderDelegate.h │ │ │ ├── UIAlertController+Blocks.h │ │ │ ├── UIView+GradientBackgroundColor.h │ │ │ ├── UIViewController+ClassName.h │ │ │ ├── NSDateFormatter+Extension.h │ │ │ ├── UICollectionView+PlaceHolder.h │ │ │ ├── UITextView+InputLengthCalculate.h │ │ │ ├── UIViewController+PageViewLevel.h │ │ │ ├── CollectionViewPlaceHolderDelegate.h │ │ │ ├── UINavigationController+Addition.h │ │ │ ├── UIViewController+TopViewController.h │ │ │ ├── UIApplication+NetworkActivityIndicator.h │ │ │ └── UIViewController+PreviousController.h │ │ └── SDWebImage │ │ │ ├── SDWebImage.h │ │ │ ├── SDDiskCache.h │ │ │ ├── SDImageCache.h │ │ │ ├── SDImageCoder.h │ │ │ ├── SDImageFrame.h │ │ │ ├── SDImageLoader.h │ │ │ ├── SDMemoryCache.h │ │ │ ├── UIImage+GIF.h │ │ │ ├── SDAnimatedImage.h │ │ │ ├── SDImageGIFCoder.h │ │ │ ├── SDImageGraphics.h │ │ │ ├── SDImageIOCoder.h │ │ │ ├── SDWeakProxy.h │ │ │ ├── SDWebImageError.h │ │ │ ├── UIView+WebCache.h │ │ │ ├── NSButton+WebCache.h │ │ │ ├── SDAnimatedImageRep.h │ │ │ ├── SDImageAPNGCoder.h │ │ │ ├── SDImageCacheConfig.h │ │ │ ├── SDImageCacheDefine.h │ │ │ ├── SDImageCoderHelper.h │ │ │ ├── SDImageTransformer.h │ │ │ ├── SDWebImageCompat.h │ │ │ ├── SDWebImageDefine.h │ │ │ ├── SDWebImageManager.h │ │ │ ├── SDmetamacros.h │ │ │ ├── UIButton+WebCache.h │ │ │ ├── UIImage+Metadata.h │ │ │ ├── UIImage+Transform.h │ │ │ ├── SDAnimatedImageView.h │ │ │ ├── SDImageCachesManager.h │ │ │ ├── SDImageCodersManager.h │ │ │ ├── SDInternalMacros.h │ │ │ ├── SDWebImageDownloader.h │ │ │ ├── SDWebImageIndicator.h │ │ │ ├── SDWebImageOperation.h │ │ │ ├── SDWebImagePrefetcher.h │ │ │ ├── SDWebImageTransition.h │ │ │ ├── UIImage+ForceDecode.h │ │ │ ├── UIImage+MultiFormat.h │ │ │ ├── UIImageView+WebCache.h │ │ │ ├── NSData+ImageContentType.h │ │ │ ├── NSImage+Compatibility.h │ │ │ ├── SDImageAssetManager.h │ │ │ ├── SDImageLoadersManager.h │ │ │ ├── UIColor+HexString.h │ │ │ ├── UIImage+MemoryCacheCost.h │ │ │ ├── SDAsyncBlockOperation.h │ │ │ ├── SDWebImageCacheKeyFilter.h │ │ │ ├── SDWebImageCacheSerializer.h │ │ │ ├── UIView+WebCacheOperation.h │ │ │ ├── SDAnimatedImageView+WebCache.h │ │ │ ├── SDImageAPNGCoderInternal.h │ │ │ ├── SDImageGIFCoderInternal.h │ │ │ ├── SDWebImageDownloaderConfig.h │ │ │ ├── SDWebImageDownloaderOperation.h │ │ │ ├── NSBezierPath+RoundedCorners.h │ │ │ ├── SDImageCachesManagerOperation.h │ │ │ ├── UIImageView+HighlightedWebCache.h │ │ │ └── SDWebImageDownloaderRequestModifier.h │ └── Public │ │ ├── MYKit │ │ ├── MYKit.h │ │ ├── MYUIKit.h │ │ ├── MYSafeKit.h │ │ ├── SafeKitShield.h │ │ ├── UIView+Badge.h │ │ ├── UIView+Line.h │ │ ├── MYFoundationKit.h │ │ ├── NSData+YYAdd.h │ │ ├── NSURL+Param.h │ │ ├── UIImage+Color.h │ │ ├── UIView+Gesture.h │ │ ├── UIView+RedDot.h │ │ ├── NSString+Size.h │ │ ├── UIButton+Badge.h │ │ ├── UIColor+Addition.h │ │ ├── UIImage+Addition.h │ │ ├── UIView+Position.h │ │ ├── NSArray+Addition.h │ │ ├── NSBundle+AppIcon.h │ │ ├── NSDate+Addition.h │ │ ├── NSNumber+Round.h │ │ ├── NSObject+Swizzle.h │ │ ├── NSString+Regular.h │ │ ├── NSString+Trims.h │ │ ├── UIButton+CountDown.h │ │ ├── UIButton+Indicator.h │ │ ├── UIDevice+Addition.h │ │ ├── UILabel+CountDown.h │ │ ├── UILabel+LimitLines.h │ │ ├── UILabel+LineSpacing.h │ │ ├── UIResponder+Chain.h │ │ ├── UIScreen+Addition.h │ │ ├── UITextField+Shake.h │ │ ├── UITextView+Select.h │ │ ├── UIView+CornerRadii.h │ │ ├── UIView+CustomBorder.h │ │ ├── UIView+FindSubView.h │ │ ├── UIWindow+Hierarchy.h │ │ ├── NSArray+Collection.h │ │ ├── NSArray+SafeAccess.h │ │ ├── NSNumber+Addition.h │ │ ├── NSObject+Addition.h │ │ ├── NSString+Addition.h │ │ ├── UIButton+Submitting.h │ │ ├── UIImage+CornerRadius.h │ │ ├── UIImage+ImageEffects.h │ │ ├── UIResponder+Router.h │ │ ├── UIView+SuperController.h │ │ ├── NSDate+NSDateRFC1123.h │ │ ├── NSString+Collection.h │ │ ├── UIImageView+RectCorner.h │ │ ├── UILabel+AutomaticWriting.h │ │ ├── UIScrollView+Addition.h │ │ ├── UITextField+InputLimit.h │ │ ├── NSDictionary+Addition.h │ │ ├── NSMutableArray+Queue.h │ │ ├── NSMutableArray+Sort.h │ │ ├── NSMutableArray+Stack.h │ │ ├── UIApplication+Authority.h │ │ ├── UIBarButtonItem+Badge.h │ │ ├── UIButton+ImageTitleStyle.h │ │ ├── UIButton+TouchAreaInsets.h │ │ ├── UIImageView+CornerRadius.h │ │ ├── UITableView+PlaceHolder.h │ │ ├── NSDictionary+Collection.h │ │ ├── NSDictionary+SafeAccess.h │ │ ├── NSObject+AssociatedObject.h │ │ ├── UIAlertController+Blocks.h │ │ ├── UIBarButtonItem+Addition.h │ │ ├── UINavigationBar+Addition.h │ │ ├── UINavigationItem+Loading.h │ │ ├── UINavigationItem+Margin.h │ │ ├── NSDateFormatter+Extension.h │ │ ├── NSMutableArray+SafeAccess.h │ │ ├── NSUserDefaults+SafeAccess.h │ │ ├── TableViewPlaceHolderDelegate.h │ │ ├── UIView+GradientBackgroundColor.h │ │ ├── UIViewController+ClassName.h │ │ ├── UICollectionView+PlaceHolder.h │ │ ├── UITextView+InputLengthCalculate.h │ │ ├── UIViewController+PageViewLevel.h │ │ ├── CollectionViewPlaceHolderDelegate.h │ │ ├── UINavigationController+Addition.h │ │ ├── UIViewController+TopViewController.h │ │ ├── UIApplication+NetworkActivityIndicator.h │ │ └── UIViewController+PreviousController.h │ │ └── SDWebImage │ │ ├── SDDiskCache.h │ │ ├── SDWebImage.h │ │ ├── UIImage+GIF.h │ │ ├── SDImageCache.h │ │ ├── SDImageCoder.h │ │ ├── SDImageFrame.h │ │ ├── SDImageLoader.h │ │ ├── SDMemoryCache.h │ │ ├── SDAnimatedImage.h │ │ ├── SDImageAPNGCoder.h │ │ ├── SDImageGIFCoder.h │ │ ├── SDImageGraphics.h │ │ ├── SDImageIOCoder.h │ │ ├── SDWebImageCompat.h │ │ ├── SDWebImageDefine.h │ │ ├── SDWebImageError.h │ │ ├── UIImage+Metadata.h │ │ ├── UIView+WebCache.h │ │ ├── NSButton+WebCache.h │ │ ├── SDAnimatedImageRep.h │ │ ├── SDImageCacheConfig.h │ │ ├── SDImageCacheDefine.h │ │ ├── SDImageCoderHelper.h │ │ ├── SDImageTransformer.h │ │ ├── SDWebImageManager.h │ │ ├── UIButton+WebCache.h │ │ ├── UIImage+Transform.h │ │ ├── NSImage+Compatibility.h │ │ ├── SDAnimatedImageView.h │ │ ├── SDImageCachesManager.h │ │ ├── SDImageCodersManager.h │ │ ├── SDImageLoadersManager.h │ │ ├── SDWebImageDownloader.h │ │ ├── SDWebImageIndicator.h │ │ ├── SDWebImageOperation.h │ │ ├── SDWebImagePrefetcher.h │ │ ├── SDWebImageTransition.h │ │ ├── UIImage+ForceDecode.h │ │ ├── UIImage+MultiFormat.h │ │ ├── UIImageView+WebCache.h │ │ ├── NSData+ImageContentType.h │ │ ├── UIImage+MemoryCacheCost.h │ │ ├── SDWebImageCacheKeyFilter.h │ │ ├── SDWebImageCacheSerializer.h │ │ ├── SDWebImageDownloaderConfig.h │ │ ├── UIView+WebCacheOperation.h │ │ ├── SDAnimatedImageView+WebCache.h │ │ ├── SDWebImageDownloaderOperation.h │ │ ├── UIImageView+HighlightedWebCache.h │ │ └── SDWebImageDownloaderRequestModifier.h ├── SDWebImage │ ├── WebImage │ │ └── SDWebImage.modulemap │ ├── SDWebImage │ │ ├── Private │ │ │ ├── SDInternalMacros.m │ │ │ ├── SDImageGIFCoderInternal.h │ │ │ ├── UIColor+HexString.h │ │ │ ├── SDImageAPNGCoderInternal.h │ │ │ ├── SDWeakProxy.h │ │ │ ├── SDAsyncBlockOperation.h │ │ │ ├── SDImageCachesManagerOperation.h │ │ │ ├── NSBezierPath+RoundedCorners.h │ │ │ ├── SDImageAssetManager.h │ │ │ └── UIColor+HexString.m │ │ ├── SDWebImageError.m │ │ ├── SDWebImageCompat.m │ │ ├── SDWebImageOperation.h │ │ ├── SDImageAPNGCoder.h │ │ ├── UIImage+GIF.m │ │ ├── SDImageCoder.m │ │ ├── SDImageFrame.m │ │ ├── UIImage+GIF.h │ │ ├── SDAnimatedImageRep.h │ │ ├── SDImageGIFCoder.h │ │ ├── SDWebImageCacheKeyFilter.m │ │ ├── SDImageGraphics.h │ │ ├── SDWebImageCacheKeyFilter.h │ │ ├── SDWebImageCacheSerializer.m │ │ ├── SDWebImageDownloaderRequestModifier.m │ │ ├── SDImageLoadersManager.h │ │ ├── SDWebImageCacheSerializer.h │ │ ├── SDWebImageDownloaderRequestModifier.h │ │ ├── SDImageFrame.h │ │ ├── UIImage+MemoryCacheCost.h │ │ ├── SDWebImageError.h │ │ ├── UIImage+ForceDecode.m │ │ ├── SDImageIOCoder.h │ │ ├── UIImage+ForceDecode.h │ │ └── UIImage+MemoryCacheCost.m │ └── LICENSE ├── Target Support Files │ ├── MYKit │ │ ├── MYKit-dummy.m │ │ ├── MYKit-prefix.pch │ │ └── MYKit.xcconfig │ ├── SDWebImage │ │ ├── SDWebImage-dummy.m │ │ ├── SDWebImage-prefix.pch │ │ └── SDWebImage.xcconfig │ └── Pods-MYBannerCycleViewDemo │ │ ├── Pods-MYBannerCycleViewDemo-dummy.m │ │ ├── Pods-MYBannerCycleViewDemo.debug.xcconfig │ │ └── Pods-MYBannerCycleViewDemo.release.xcconfig ├── MYKit │ ├── MYKit │ │ ├── UIKit │ │ │ ├── UIViewController │ │ │ │ ├── UIViewController+ClassName.h │ │ │ │ ├── UIViewController+TopViewController.h │ │ │ │ ├── UIViewController+PageViewLevel.h │ │ │ │ ├── UIViewController+PreviousController.h │ │ │ │ └── UIViewController+TopViewController.m │ │ │ ├── UIImageView │ │ │ │ ├── UIImageView+CornerRadius.h │ │ │ │ └── UIImageView+RectCorner.h │ │ │ ├── UITextField │ │ │ │ └── UITextField+InputLimit.h │ │ │ ├── UIResponder │ │ │ │ ├── UIResponder+Chain.h │ │ │ │ ├── UIResponder+Router.m │ │ │ │ └── UIResponder+Router.h │ │ │ ├── UITableView │ │ │ │ ├── UITableView+PlaceHolder.h │ │ │ │ └── TableViewPlaceHolderDelegate.h │ │ │ ├── UIButton │ │ │ │ ├── UIButton+TouchAreaInsets.h │ │ │ │ ├── UIButton+Indicator.h │ │ │ │ ├── UIButton+CountDown.h │ │ │ │ ├── UIButton+Submitting.h │ │ │ │ ├── UIButton+Badge.h │ │ │ │ ├── UIButton+TouchAreaInsets.m │ │ │ │ └── UIButton+ImageTitleStyle.h │ │ │ ├── UICollectionView │ │ │ │ ├── UICollectionView+PlaceHolder.h │ │ │ │ └── CollectionViewPlaceHolderDelegate.h │ │ │ ├── UILabel │ │ │ │ ├── UILabel+LineSpacing.h │ │ │ │ ├── UILabel+CountDown.h │ │ │ │ ├── UILabel+LimitLines.h │ │ │ │ └── UILabel+LineSpacing.m │ │ │ ├── UIView │ │ │ │ ├── UIView+SuperController.h │ │ │ │ ├── UIView+RedDot.h │ │ │ │ ├── UIView+Gesture.h │ │ │ │ ├── UIView+FindSubView.h │ │ │ │ ├── UIView+Badge.h │ │ │ │ ├── UIView+GradientBackgroundColor.h │ │ │ │ ├── UIView+Position.h │ │ │ │ ├── UIView+CornerRadii.h │ │ │ │ ├── UIView+Line.h │ │ │ │ ├── UIView+FindSubView.m │ │ │ │ └── UIView+CornerRadii.m │ │ │ ├── UITextView │ │ │ │ ├── UITextView+Select.h │ │ │ │ ├── UITextView+InputLengthCalculate.h │ │ │ │ └── UITextView+Select.m │ │ │ ├── UIWindow │ │ │ │ ├── UIWindow+Hierarchy.h │ │ │ │ └── UIWindow+Hierarchy.m │ │ │ ├── UINavigationItem │ │ │ │ ├── UINavigationItem+Margin.h │ │ │ │ └── UINavigationItem+Loading.h │ │ │ ├── UIColor │ │ │ │ └── UIColor+Addition.h │ │ │ ├── UINavigationBar │ │ │ │ └── UINavigationBar+Addition.h │ │ │ ├── UIApplication │ │ │ │ ├── UIApplication+NetworkActivityIndicator.m │ │ │ │ ├── UIApplication+Authority.h │ │ │ │ └── UIApplication+NetworkActivityIndicator.h │ │ │ ├── UIImage │ │ │ │ ├── UIImage+Addition.h │ │ │ │ ├── UIImage+Color.h │ │ │ │ └── UIImage+CornerRadius.h │ │ │ ├── UIScrollView │ │ │ │ └── UIScrollView+Addition.h │ │ │ ├── UIBarButtonItem │ │ │ │ └── UIBarButtonItem+Badge.h │ │ │ └── UINavigationController │ │ │ │ └── UINavigationController+Addition.h │ │ ├── Foundation │ │ │ ├── NSObject │ │ │ │ ├── NSObject+Addition.h │ │ │ │ ├── NSObject+AssociatedObject.h │ │ │ │ ├── NSObject+Addition.m │ │ │ │ ├── NSObject+AssociatedObject.m │ │ │ │ └── NSObject+Swizzle.h │ │ │ ├── NSBundle │ │ │ │ ├── NSBundle+AppIcon.h │ │ │ │ └── NSBundle+AppIcon.m │ │ │ ├── NSMutableArray │ │ │ │ ├── NSMutableArray+Stack.h │ │ │ │ ├── NSMutableArray+Queue.h │ │ │ │ ├── NSMutableArray+Stack.m │ │ │ │ ├── NSMutableArray+SafeAccess.h │ │ │ │ └── NSMutableArray+Queue.m │ │ │ ├── NSURL │ │ │ │ ├── NSURL+Param.h │ │ │ │ └── NSURL+Param.m │ │ │ ├── NSNumber │ │ │ │ ├── NSNumber+Addition.h │ │ │ │ └── NSNumber+Round.h │ │ │ ├── NSString │ │ │ │ ├── NSString+Trims.h │ │ │ │ └── NSString+Regular.h │ │ │ ├── NSDictionary │ │ │ │ ├── NSDictionary+Collection.h │ │ │ │ └── NSDictionary+SafeAccess.h │ │ │ ├── NSUserDefaults │ │ │ │ └── NSUserDefaults+SafeAccess.h │ │ │ ├── MYFoundationKit.h │ │ │ ├── NSDate │ │ │ │ └── NSDate+NSDateRFC1123.h │ │ │ └── NSArray │ │ │ │ └── NSArray+SafeAccess.h │ │ ├── SafeKit │ │ │ ├── SafeKitShield.h │ │ │ └── MYSafeKit.h │ │ └── MYKit.h │ ├── README.md │ └── LICENSE └── Manifest.lock ├── MYBannerCycleView.gif ├── MYBannerCycleViewDemo ├── Assets.xcassets │ ├── Contents.json │ └── placeholder.imageset │ │ ├── placeholder@2x.png │ │ └── Contents.json ├── ViewController.h ├── MYTestViewController.h ├── MYBannerCycleViewCell.h ├── AppDelegate.h ├── main.m ├── MYBannerFooterView.h ├── MYTestViewController.m └── MYBannerCycleViewCell.m ├── Podfile ├── MYBannerCycleView ├── MYBannerCycleView.bundle │ ├── arrow@2x.png │ └── arrow@3x.png ├── MYBannerCycleViewHeader.h └── UIView+Addition.h ├── MYBannerCycleViewDemo.xcodeproj └── project.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ └── IDEWorkspaceChecks.plist ├── MYBannerCycleViewDemo.xcworkspace ├── xcshareddata │ └── IDEWorkspaceChecks.plist └── contents.xcworkspacedata ├── Podfile.lock ├── MYBannerCycleViewDemoTests ├── Info.plist └── MYBannerCycleViewDemoTests.m ├── MYBannerCycleViewDemoUITests ├── Info.plist └── MYBannerCycleViewDemoUITests.m ├── LICENSE ├── README.md └── .gitignore /Pods/Headers/Private/MYKit/MYKit.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/MYKit.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/MYKit.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/MYKit.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/MYUIKit.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/MYUIKit.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/MYUIKit.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/MYUIKit.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/MYSafeKit.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/SafeKit/MYSafeKit.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/MYSafeKit.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/SafeKit/MYSafeKit.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/SafeKitShield.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/SafeKit/SafeKitShield.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/UIView+Line.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIView/UIView+Line.h -------------------------------------------------------------------------------- /Pods/Headers/Private/SDWebImage/SDWebImage.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/WebImage/SDWebImage.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/SafeKitShield.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/SafeKit/SafeKitShield.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/UIView+Badge.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIView/UIView+Badge.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/UIView+Line.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIView/UIView+Line.h -------------------------------------------------------------------------------- /Pods/Headers/Public/SDWebImage/SDDiskCache.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDDiskCache.h -------------------------------------------------------------------------------- /Pods/Headers/Public/SDWebImage/SDWebImage.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/WebImage/SDWebImage.h -------------------------------------------------------------------------------- /Pods/Headers/Public/SDWebImage/UIImage+GIF.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/UIImage+GIF.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/MYFoundationKit.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/Foundation/MYFoundationKit.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/NSURL+Param.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/Foundation/NSURL/NSURL+Param.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/UIImage+Color.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIImage/UIImage+Color.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/UIView+Badge.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIView/UIView+Badge.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/UIView+Gesture.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIView/UIView+Gesture.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/UIView+RedDot.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIView/UIView+RedDot.h -------------------------------------------------------------------------------- /Pods/Headers/Private/SDWebImage/SDDiskCache.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDDiskCache.h -------------------------------------------------------------------------------- /Pods/Headers/Private/SDWebImage/SDImageCache.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDImageCache.h -------------------------------------------------------------------------------- /Pods/Headers/Private/SDWebImage/SDImageCoder.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDImageCoder.h -------------------------------------------------------------------------------- /Pods/Headers/Private/SDWebImage/SDImageFrame.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDImageFrame.h -------------------------------------------------------------------------------- /Pods/Headers/Private/SDWebImage/SDImageLoader.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDImageLoader.h -------------------------------------------------------------------------------- /Pods/Headers/Private/SDWebImage/SDMemoryCache.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDMemoryCache.h -------------------------------------------------------------------------------- /Pods/Headers/Private/SDWebImage/UIImage+GIF.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/UIImage+GIF.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/MYFoundationKit.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/Foundation/MYFoundationKit.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/NSData+YYAdd.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/Foundation/NSData/NSData+YYAdd.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/NSURL+Param.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/Foundation/NSURL/NSURL+Param.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/UIImage+Color.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIImage/UIImage+Color.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/UIView+Gesture.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIView/UIView+Gesture.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/UIView+RedDot.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIView/UIView+RedDot.h -------------------------------------------------------------------------------- /Pods/Headers/Public/SDWebImage/SDImageCache.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDImageCache.h -------------------------------------------------------------------------------- /Pods/Headers/Public/SDWebImage/SDImageCoder.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDImageCoder.h -------------------------------------------------------------------------------- /Pods/Headers/Public/SDWebImage/SDImageFrame.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDImageFrame.h -------------------------------------------------------------------------------- /Pods/Headers/Public/SDWebImage/SDImageLoader.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDImageLoader.h -------------------------------------------------------------------------------- /Pods/Headers/Public/SDWebImage/SDMemoryCache.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDMemoryCache.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/NSData+YYAdd.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/Foundation/NSData/NSData+YYAdd.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/NSString+Size.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/Foundation/NSString/NSString+Size.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/UIButton+Badge.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIButton/UIButton+Badge.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/UIColor+Addition.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIColor/UIColor+Addition.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/UIImage+Addition.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIImage/UIImage+Addition.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/UIView+Position.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIView/UIView+Position.h -------------------------------------------------------------------------------- /Pods/Headers/Private/SDWebImage/SDAnimatedImage.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDAnimatedImage.h -------------------------------------------------------------------------------- /Pods/Headers/Private/SDWebImage/SDImageGIFCoder.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDImageGIFCoder.h -------------------------------------------------------------------------------- /Pods/Headers/Private/SDWebImage/SDImageGraphics.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDImageGraphics.h -------------------------------------------------------------------------------- /Pods/Headers/Private/SDWebImage/SDImageIOCoder.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDImageIOCoder.h -------------------------------------------------------------------------------- /Pods/Headers/Private/SDWebImage/SDWeakProxy.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/Private/SDWeakProxy.h -------------------------------------------------------------------------------- /Pods/Headers/Private/SDWebImage/SDWebImageError.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDWebImageError.h -------------------------------------------------------------------------------- /Pods/Headers/Private/SDWebImage/UIView+WebCache.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/UIView+WebCache.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/NSString+Size.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/Foundation/NSString/NSString+Size.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/UIButton+Badge.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIButton/UIButton+Badge.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/UIColor+Addition.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIColor/UIColor+Addition.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/UIImage+Addition.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIImage/UIImage+Addition.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/UIView+Position.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIView/UIView+Position.h -------------------------------------------------------------------------------- /Pods/Headers/Public/SDWebImage/SDAnimatedImage.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDAnimatedImage.h -------------------------------------------------------------------------------- /Pods/Headers/Public/SDWebImage/SDImageAPNGCoder.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDImageAPNGCoder.h -------------------------------------------------------------------------------- /Pods/Headers/Public/SDWebImage/SDImageGIFCoder.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDImageGIFCoder.h -------------------------------------------------------------------------------- /Pods/Headers/Public/SDWebImage/SDImageGraphics.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDImageGraphics.h -------------------------------------------------------------------------------- /Pods/Headers/Public/SDWebImage/SDImageIOCoder.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDImageIOCoder.h -------------------------------------------------------------------------------- /Pods/Headers/Public/SDWebImage/SDWebImageCompat.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDWebImageCompat.h -------------------------------------------------------------------------------- /Pods/Headers/Public/SDWebImage/SDWebImageDefine.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDWebImageDefine.h -------------------------------------------------------------------------------- /Pods/Headers/Public/SDWebImage/SDWebImageError.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDWebImageError.h -------------------------------------------------------------------------------- /Pods/Headers/Public/SDWebImage/UIImage+Metadata.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/UIImage+Metadata.h -------------------------------------------------------------------------------- /Pods/Headers/Public/SDWebImage/UIView+WebCache.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/UIView+WebCache.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/NSArray+Addition.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/Foundation/NSArray/NSArray+Addition.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/NSDate+Addition.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/Foundation/NSDate/NSDate+Addition.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/NSNumber+Round.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/Foundation/NSNumber/NSNumber+Round.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/NSString+Trims.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/Foundation/NSString/NSString+Trims.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/UIButton+CountDown.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIButton/UIButton+CountDown.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/UIButton+Indicator.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIButton/UIButton+Indicator.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/UIDevice+Addition.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIDevice/UIDevice+Addition.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/UILabel+CountDown.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UILabel/UILabel+CountDown.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/UILabel+LimitLines.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UILabel/UILabel+LimitLines.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/UIScreen+Addition.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIScreen/UIScreen+Addition.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/UITextView+Select.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UITextView/UITextView+Select.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/UIView+CornerRadii.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIView/UIView+CornerRadii.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/UIView+CustomBorder.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIView/UIView+CustomBorder.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/UIView+FindSubView.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIView/UIView+FindSubView.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/UIWindow+Hierarchy.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIWindow/UIWindow+Hierarchy.h -------------------------------------------------------------------------------- /Pods/Headers/Private/SDWebImage/NSButton+WebCache.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/NSButton+WebCache.h -------------------------------------------------------------------------------- /Pods/Headers/Private/SDWebImage/SDAnimatedImageRep.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDAnimatedImageRep.h -------------------------------------------------------------------------------- /Pods/Headers/Private/SDWebImage/SDImageAPNGCoder.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDImageAPNGCoder.h -------------------------------------------------------------------------------- /Pods/Headers/Private/SDWebImage/SDImageCacheConfig.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDImageCacheConfig.h -------------------------------------------------------------------------------- /Pods/Headers/Private/SDWebImage/SDImageCacheDefine.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDImageCacheDefine.h -------------------------------------------------------------------------------- /Pods/Headers/Private/SDWebImage/SDImageCoderHelper.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDImageCoderHelper.h -------------------------------------------------------------------------------- /Pods/Headers/Private/SDWebImage/SDImageTransformer.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDImageTransformer.h -------------------------------------------------------------------------------- /Pods/Headers/Private/SDWebImage/SDWebImageCompat.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDWebImageCompat.h -------------------------------------------------------------------------------- /Pods/Headers/Private/SDWebImage/SDWebImageDefine.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDWebImageDefine.h -------------------------------------------------------------------------------- /Pods/Headers/Private/SDWebImage/SDWebImageManager.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDWebImageManager.h -------------------------------------------------------------------------------- /Pods/Headers/Private/SDWebImage/SDmetamacros.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/Private/SDmetamacros.h -------------------------------------------------------------------------------- /Pods/Headers/Private/SDWebImage/UIButton+WebCache.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/UIButton+WebCache.h -------------------------------------------------------------------------------- /Pods/Headers/Private/SDWebImage/UIImage+Metadata.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/UIImage+Metadata.h -------------------------------------------------------------------------------- /Pods/Headers/Private/SDWebImage/UIImage+Transform.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/UIImage+Transform.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/NSArray+Addition.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/Foundation/NSArray/NSArray+Addition.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/NSBundle+AppIcon.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/Foundation/NSBundle/NSBundle+AppIcon.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/NSDate+Addition.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/Foundation/NSDate/NSDate+Addition.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/NSNumber+Round.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/Foundation/NSNumber/NSNumber+Round.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/NSObject+Swizzle.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/Foundation/NSObject/NSObject+Swizzle.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/NSString+Regular.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/Foundation/NSString/NSString+Regular.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/NSString+Trims.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/Foundation/NSString/NSString+Trims.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/UIButton+CountDown.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIButton/UIButton+CountDown.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/UIButton+Indicator.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIButton/UIButton+Indicator.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/UIDevice+Addition.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIDevice/UIDevice+Addition.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/UILabel+CountDown.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UILabel/UILabel+CountDown.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/UILabel+LimitLines.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UILabel/UILabel+LimitLines.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/UILabel+LineSpacing.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UILabel/UILabel+LineSpacing.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/UIResponder+Chain.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIResponder/UIResponder+Chain.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/UIScreen+Addition.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIScreen/UIScreen+Addition.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/UITextField+Shake.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UITextField/UITextField+Shake.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/UITextView+Select.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UITextView/UITextView+Select.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/UIView+CornerRadii.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIView/UIView+CornerRadii.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/UIView+CustomBorder.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIView/UIView+CustomBorder.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/UIView+FindSubView.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIView/UIView+FindSubView.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/UIWindow+Hierarchy.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIWindow/UIWindow+Hierarchy.h -------------------------------------------------------------------------------- /Pods/Headers/Public/SDWebImage/NSButton+WebCache.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/NSButton+WebCache.h -------------------------------------------------------------------------------- /Pods/Headers/Public/SDWebImage/SDAnimatedImageRep.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDAnimatedImageRep.h -------------------------------------------------------------------------------- /Pods/Headers/Public/SDWebImage/SDImageCacheConfig.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDImageCacheConfig.h -------------------------------------------------------------------------------- /Pods/Headers/Public/SDWebImage/SDImageCacheDefine.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDImageCacheDefine.h -------------------------------------------------------------------------------- /Pods/Headers/Public/SDWebImage/SDImageCoderHelper.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDImageCoderHelper.h -------------------------------------------------------------------------------- /Pods/Headers/Public/SDWebImage/SDImageTransformer.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDImageTransformer.h -------------------------------------------------------------------------------- /Pods/Headers/Public/SDWebImage/SDWebImageManager.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDWebImageManager.h -------------------------------------------------------------------------------- /Pods/Headers/Public/SDWebImage/UIButton+WebCache.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/UIButton+WebCache.h -------------------------------------------------------------------------------- /Pods/Headers/Public/SDWebImage/UIImage+Transform.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/UIImage+Transform.h -------------------------------------------------------------------------------- /MYBannerCycleView.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunjinshuai/MYBannerCycleView/HEAD/MYBannerCycleView.gif -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/NSArray+Collection.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/Foundation/NSArray/NSArray+Collection.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/NSArray+SafeAccess.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/Foundation/NSArray/NSArray+SafeAccess.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/NSBundle+AppIcon.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/Foundation/NSBundle/NSBundle+AppIcon.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/NSNumber+Addition.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/Foundation/NSNumber/NSNumber+Addition.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/NSObject+Addition.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/Foundation/NSObject/NSObject+Addition.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/NSObject+Swizzle.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/Foundation/NSObject/NSObject+Swizzle.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/NSString+Addition.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/Foundation/NSString/NSString+Addition.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/NSString+Regular.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/Foundation/NSString/NSString+Regular.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/UIButton+Submitting.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIButton/UIButton+Submitting.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/UIImage+CornerRadius.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIImage/UIImage+CornerRadius.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/UIImage+ImageEffects.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIImage/UIImage+ImageEffects.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/UILabel+LineSpacing.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UILabel/UILabel+LineSpacing.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/UIResponder+Chain.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIResponder/UIResponder+Chain.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/UIResponder+Router.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIResponder/UIResponder+Router.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/UITextField+Shake.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UITextField/UITextField+Shake.h -------------------------------------------------------------------------------- /Pods/Headers/Private/SDWebImage/SDAnimatedImageView.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDAnimatedImageView.h -------------------------------------------------------------------------------- /Pods/Headers/Private/SDWebImage/SDImageCachesManager.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDImageCachesManager.h -------------------------------------------------------------------------------- /Pods/Headers/Private/SDWebImage/SDImageCodersManager.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDImageCodersManager.h -------------------------------------------------------------------------------- /Pods/Headers/Private/SDWebImage/SDInternalMacros.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/Private/SDInternalMacros.h -------------------------------------------------------------------------------- /Pods/Headers/Private/SDWebImage/SDWebImageDownloader.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDWebImageDownloader.h -------------------------------------------------------------------------------- /Pods/Headers/Private/SDWebImage/SDWebImageIndicator.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDWebImageIndicator.h -------------------------------------------------------------------------------- /Pods/Headers/Private/SDWebImage/SDWebImageOperation.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDWebImageOperation.h -------------------------------------------------------------------------------- /Pods/Headers/Private/SDWebImage/SDWebImagePrefetcher.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDWebImagePrefetcher.h -------------------------------------------------------------------------------- /Pods/Headers/Private/SDWebImage/SDWebImageTransition.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDWebImageTransition.h -------------------------------------------------------------------------------- /Pods/Headers/Private/SDWebImage/UIImage+ForceDecode.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/UIImage+ForceDecode.h -------------------------------------------------------------------------------- /Pods/Headers/Private/SDWebImage/UIImage+MultiFormat.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/UIImage+MultiFormat.h -------------------------------------------------------------------------------- /Pods/Headers/Private/SDWebImage/UIImageView+WebCache.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/UIImageView+WebCache.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/NSArray+Collection.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/Foundation/NSArray/NSArray+Collection.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/NSArray+SafeAccess.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/Foundation/NSArray/NSArray+SafeAccess.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/NSNumber+Addition.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/Foundation/NSNumber/NSNumber+Addition.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/NSObject+Addition.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/Foundation/NSObject/NSObject+Addition.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/NSString+Addition.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/Foundation/NSString/NSString+Addition.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/UIButton+Submitting.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIButton/UIButton+Submitting.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/UIImage+CornerRadius.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIImage/UIImage+CornerRadius.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/UIImage+ImageEffects.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIImage/UIImage+ImageEffects.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/UIResponder+Router.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIResponder/UIResponder+Router.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/UIView+SuperController.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIView/UIView+SuperController.h -------------------------------------------------------------------------------- /Pods/Headers/Public/SDWebImage/NSImage+Compatibility.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/NSImage+Compatibility.h -------------------------------------------------------------------------------- /Pods/Headers/Public/SDWebImage/SDAnimatedImageView.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDAnimatedImageView.h -------------------------------------------------------------------------------- /Pods/Headers/Public/SDWebImage/SDImageCachesManager.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDImageCachesManager.h -------------------------------------------------------------------------------- /Pods/Headers/Public/SDWebImage/SDImageCodersManager.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDImageCodersManager.h -------------------------------------------------------------------------------- /Pods/Headers/Public/SDWebImage/SDImageLoadersManager.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDImageLoadersManager.h -------------------------------------------------------------------------------- /Pods/Headers/Public/SDWebImage/SDWebImageDownloader.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDWebImageDownloader.h -------------------------------------------------------------------------------- /Pods/Headers/Public/SDWebImage/SDWebImageIndicator.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDWebImageIndicator.h -------------------------------------------------------------------------------- /Pods/Headers/Public/SDWebImage/SDWebImageOperation.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDWebImageOperation.h -------------------------------------------------------------------------------- /Pods/Headers/Public/SDWebImage/SDWebImagePrefetcher.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDWebImagePrefetcher.h -------------------------------------------------------------------------------- /Pods/Headers/Public/SDWebImage/SDWebImageTransition.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDWebImageTransition.h -------------------------------------------------------------------------------- /Pods/Headers/Public/SDWebImage/UIImage+ForceDecode.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/UIImage+ForceDecode.h -------------------------------------------------------------------------------- /Pods/Headers/Public/SDWebImage/UIImage+MultiFormat.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/UIImage+MultiFormat.h -------------------------------------------------------------------------------- /Pods/Headers/Public/SDWebImage/UIImageView+WebCache.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/UIImageView+WebCache.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/NSDate+NSDateRFC1123.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/Foundation/NSDate/NSDate+NSDateRFC1123.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/NSString+Collection.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/Foundation/NSString/NSString+Collection.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/UIScrollView+Addition.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIScrollView/UIScrollView+Addition.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/UIView+SuperController.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIView/UIView+SuperController.h -------------------------------------------------------------------------------- /Pods/Headers/Private/SDWebImage/NSData+ImageContentType.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/NSData+ImageContentType.h -------------------------------------------------------------------------------- /Pods/Headers/Private/SDWebImage/NSImage+Compatibility.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/NSImage+Compatibility.h -------------------------------------------------------------------------------- /Pods/Headers/Private/SDWebImage/SDImageAssetManager.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/Private/SDImageAssetManager.h -------------------------------------------------------------------------------- /Pods/Headers/Private/SDWebImage/SDImageLoadersManager.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDImageLoadersManager.h -------------------------------------------------------------------------------- /Pods/Headers/Private/SDWebImage/UIColor+HexString.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/Private/UIColor+HexString.h -------------------------------------------------------------------------------- /Pods/Headers/Private/SDWebImage/UIImage+MemoryCacheCost.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/UIImage+MemoryCacheCost.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/NSDate+NSDateRFC1123.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/Foundation/NSDate/NSDate+NSDateRFC1123.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/NSString+Collection.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/Foundation/NSString/NSString+Collection.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/UIImageView+RectCorner.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIImageView/UIImageView+RectCorner.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/UILabel+AutomaticWriting.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UILabel/UILabel+AutomaticWriting.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/UIScrollView+Addition.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIScrollView/UIScrollView+Addition.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/UITextField+InputLimit.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UITextField/UITextField+InputLimit.h -------------------------------------------------------------------------------- /Pods/Headers/Public/SDWebImage/NSData+ImageContentType.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/NSData+ImageContentType.h -------------------------------------------------------------------------------- /Pods/Headers/Public/SDWebImage/UIImage+MemoryCacheCost.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/UIImage+MemoryCacheCost.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/NSDictionary+Addition.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/Foundation/NSDictionary/NSDictionary+Addition.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/NSMutableArray+Queue.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/Foundation/NSMutableArray/NSMutableArray+Queue.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/NSMutableArray+Sort.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/Foundation/NSMutableArray/NSMutableArray+Sort.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/NSMutableArray+Stack.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/Foundation/NSMutableArray/NSMutableArray+Stack.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/UIApplication+Authority.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIApplication/UIApplication+Authority.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/UIBarButtonItem+Badge.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIBarButtonItem/UIBarButtonItem+Badge.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/UIButton+ImageTitleStyle.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIButton/UIButton+ImageTitleStyle.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/UIButton+TouchAreaInsets.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIButton/UIButton+TouchAreaInsets.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/UIImageView+CornerRadius.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIImageView/UIImageView+CornerRadius.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/UIImageView+RectCorner.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIImageView/UIImageView+RectCorner.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/UILabel+AutomaticWriting.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UILabel/UILabel+AutomaticWriting.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/UITableView+PlaceHolder.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UITableView/UITableView+PlaceHolder.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/UITextField+InputLimit.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UITextField/UITextField+InputLimit.h -------------------------------------------------------------------------------- /Pods/Headers/Private/SDWebImage/SDAsyncBlockOperation.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/Private/SDAsyncBlockOperation.h -------------------------------------------------------------------------------- /Pods/Headers/Private/SDWebImage/SDWebImageCacheKeyFilter.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDWebImageCacheKeyFilter.h -------------------------------------------------------------------------------- /Pods/Headers/Private/SDWebImage/SDWebImageCacheSerializer.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDWebImageCacheSerializer.h -------------------------------------------------------------------------------- /Pods/Headers/Private/SDWebImage/UIView+WebCacheOperation.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/UIView+WebCacheOperation.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/NSDictionary+Addition.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/Foundation/NSDictionary/NSDictionary+Addition.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/NSMutableArray+Queue.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/Foundation/NSMutableArray/NSMutableArray+Queue.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/NSMutableArray+Sort.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/Foundation/NSMutableArray/NSMutableArray+Sort.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/NSMutableArray+Stack.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/Foundation/NSMutableArray/NSMutableArray+Stack.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/UIApplication+Authority.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIApplication/UIApplication+Authority.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/UIBarButtonItem+Badge.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIBarButtonItem/UIBarButtonItem+Badge.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/UIButton+ImageTitleStyle.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIButton/UIButton+ImageTitleStyle.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/UIButton+TouchAreaInsets.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIButton/UIButton+TouchAreaInsets.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/UIImageView+CornerRadius.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIImageView/UIImageView+CornerRadius.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/UITableView+PlaceHolder.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UITableView/UITableView+PlaceHolder.h -------------------------------------------------------------------------------- /Pods/Headers/Public/SDWebImage/SDWebImageCacheKeyFilter.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDWebImageCacheKeyFilter.h -------------------------------------------------------------------------------- /Pods/Headers/Public/SDWebImage/SDWebImageCacheSerializer.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDWebImageCacheSerializer.h -------------------------------------------------------------------------------- /Pods/Headers/Public/SDWebImage/SDWebImageDownloaderConfig.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDWebImageDownloaderConfig.h -------------------------------------------------------------------------------- /Pods/Headers/Public/SDWebImage/UIView+WebCacheOperation.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/UIView+WebCacheOperation.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/NSDictionary+Collection.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/Foundation/NSDictionary/NSDictionary+Collection.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/NSDictionary+SafeAccess.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/Foundation/NSDictionary/NSDictionary+SafeAccess.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/NSObject+AssociatedObject.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/Foundation/NSObject/NSObject+AssociatedObject.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/UIBarButtonItem+Addition.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIBarButtonItem/UIBarButtonItem+Addition.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/UINavigationBar+Addition.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UINavigationBar/UINavigationBar+Addition.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/UINavigationItem+Loading.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UINavigationItem/UINavigationItem+Loading.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/UINavigationItem+Margin.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UINavigationItem/UINavigationItem+Margin.h -------------------------------------------------------------------------------- /Pods/Headers/Private/SDWebImage/SDAnimatedImageView+WebCache.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDAnimatedImageView+WebCache.h -------------------------------------------------------------------------------- /Pods/Headers/Private/SDWebImage/SDImageAPNGCoderInternal.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/Private/SDImageAPNGCoderInternal.h -------------------------------------------------------------------------------- /Pods/Headers/Private/SDWebImage/SDImageGIFCoderInternal.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/Private/SDImageGIFCoderInternal.h -------------------------------------------------------------------------------- /Pods/Headers/Private/SDWebImage/SDWebImageDownloaderConfig.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDWebImageDownloaderConfig.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/NSDictionary+Collection.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/Foundation/NSDictionary/NSDictionary+Collection.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/NSDictionary+SafeAccess.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/Foundation/NSDictionary/NSDictionary+SafeAccess.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/NSObject+AssociatedObject.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/Foundation/NSObject/NSObject+AssociatedObject.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/UIAlertController+Blocks.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIAlertController/UIAlertController+Blocks.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/UIBarButtonItem+Addition.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIBarButtonItem/UIBarButtonItem+Addition.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/UINavigationBar+Addition.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UINavigationBar/UINavigationBar+Addition.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/UINavigationItem+Loading.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UINavigationItem/UINavigationItem+Loading.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/UINavigationItem+Margin.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UINavigationItem/UINavigationItem+Margin.h -------------------------------------------------------------------------------- /Pods/Headers/Public/SDWebImage/SDAnimatedImageView+WebCache.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDAnimatedImageView+WebCache.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/NSMutableArray+SafeAccess.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/Foundation/NSMutableArray/NSMutableArray+SafeAccess.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/NSUserDefaults+SafeAccess.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/Foundation/NSUserDefaults/NSUserDefaults+SafeAccess.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/TableViewPlaceHolderDelegate.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UITableView/TableViewPlaceHolderDelegate.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/UIAlertController+Blocks.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIAlertController/UIAlertController+Blocks.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/UIView+GradientBackgroundColor.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIView/UIView+GradientBackgroundColor.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/UIViewController+ClassName.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIViewController/UIViewController+ClassName.h -------------------------------------------------------------------------------- /Pods/Headers/Private/SDWebImage/SDWebImageDownloaderOperation.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDWebImageDownloaderOperation.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/NSDateFormatter+Extension.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/Foundation/NSDateFormatter/NSDateFormatter+Extension.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/NSMutableArray+SafeAccess.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/Foundation/NSMutableArray/NSMutableArray+SafeAccess.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/NSUserDefaults+SafeAccess.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/Foundation/NSUserDefaults/NSUserDefaults+SafeAccess.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/TableViewPlaceHolderDelegate.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UITableView/TableViewPlaceHolderDelegate.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/UIView+GradientBackgroundColor.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIView/UIView+GradientBackgroundColor.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/UIViewController+ClassName.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIViewController/UIViewController+ClassName.h -------------------------------------------------------------------------------- /Pods/Headers/Public/SDWebImage/SDWebImageDownloaderOperation.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDWebImageDownloaderOperation.h -------------------------------------------------------------------------------- /Pods/Headers/Public/SDWebImage/UIImageView+HighlightedWebCache.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/UIImageView+HighlightedWebCache.h -------------------------------------------------------------------------------- /MYBannerCycleViewDemo/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/NSDateFormatter+Extension.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/Foundation/NSDateFormatter/NSDateFormatter+Extension.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/UICollectionView+PlaceHolder.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UICollectionView/UICollectionView+PlaceHolder.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/UITextView+InputLengthCalculate.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UITextView/UITextView+InputLengthCalculate.h -------------------------------------------------------------------------------- /Pods/Headers/Private/SDWebImage/NSBezierPath+RoundedCorners.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/Private/NSBezierPath+RoundedCorners.h -------------------------------------------------------------------------------- /Pods/Headers/Private/SDWebImage/SDImageCachesManagerOperation.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/Private/SDImageCachesManagerOperation.h -------------------------------------------------------------------------------- /Pods/Headers/Private/SDWebImage/UIImageView+HighlightedWebCache.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/UIImageView+HighlightedWebCache.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/UICollectionView+PlaceHolder.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UICollectionView/UICollectionView+PlaceHolder.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/UITextView+InputLengthCalculate.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UITextView/UITextView+InputLengthCalculate.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/UIViewController+PageViewLevel.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIViewController/UIViewController+PageViewLevel.h -------------------------------------------------------------------------------- /Pods/Headers/Private/SDWebImage/SDWebImageDownloaderRequestModifier.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDWebImageDownloaderRequestModifier.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/UIViewController+PageViewLevel.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIViewController/UIViewController+PageViewLevel.h -------------------------------------------------------------------------------- /Pods/Headers/Public/SDWebImage/SDWebImageDownloaderRequestModifier.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDWebImageDownloaderRequestModifier.h -------------------------------------------------------------------------------- /Podfile: -------------------------------------------------------------------------------- 1 | platform :ios, "8.0" 2 | 3 | target 'MYBannerCycleViewDemo' do 4 | pod 'MYKit' 5 | pod 'SDWebImage', '~> 5.0.1' 6 | end 7 | -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/CollectionViewPlaceHolderDelegate.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UICollectionView/CollectionViewPlaceHolderDelegate.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/UINavigationController+Addition.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UINavigationController/UINavigationController+Addition.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/UIViewController+TopViewController.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIViewController/UIViewController+TopViewController.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/CollectionViewPlaceHolderDelegate.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UICollectionView/CollectionViewPlaceHolderDelegate.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/UINavigationController+Addition.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UINavigationController/UINavigationController+Addition.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/UIViewController+TopViewController.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIViewController/UIViewController+TopViewController.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/UIApplication+NetworkActivityIndicator.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIApplication/UIApplication+NetworkActivityIndicator.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MYKit/UIViewController+PreviousController.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIViewController/UIViewController+PreviousController.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/UIApplication+NetworkActivityIndicator.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIApplication/UIApplication+NetworkActivityIndicator.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MYKit/UIViewController+PreviousController.h: -------------------------------------------------------------------------------- 1 | ../../../MYKit/MYKit/UIKit/UIViewController/UIViewController+PreviousController.h -------------------------------------------------------------------------------- /Pods/SDWebImage/WebImage/SDWebImage.modulemap: -------------------------------------------------------------------------------- 1 | framework module SDWebImage { 2 | umbrella header "SDWebImage.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /MYBannerCycleView/MYBannerCycleView.bundle/arrow@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunjinshuai/MYBannerCycleView/HEAD/MYBannerCycleView/MYBannerCycleView.bundle/arrow@2x.png -------------------------------------------------------------------------------- /MYBannerCycleView/MYBannerCycleView.bundle/arrow@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunjinshuai/MYBannerCycleView/HEAD/MYBannerCycleView/MYBannerCycleView.bundle/arrow@3x.png -------------------------------------------------------------------------------- /Pods/Target Support Files/MYKit/MYKit-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_MYKit : NSObject 3 | @end 4 | @implementation PodsDummy_MYKit 5 | @end 6 | -------------------------------------------------------------------------------- /Pods/Target Support Files/SDWebImage/SDWebImage-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_SDWebImage : NSObject 3 | @end 4 | @implementation PodsDummy_SDWebImage 5 | @end 6 | -------------------------------------------------------------------------------- /MYBannerCycleViewDemo/Assets.xcassets/placeholder.imageset/placeholder@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunjinshuai/MYBannerCycleView/HEAD/MYBannerCycleViewDemo/Assets.xcassets/placeholder.imageset/placeholder@2x.png -------------------------------------------------------------------------------- /Pods/Target Support Files/Pods-MYBannerCycleViewDemo/Pods-MYBannerCycleViewDemo-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_MYBannerCycleViewDemo : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_MYBannerCycleViewDemo 5 | @end 6 | -------------------------------------------------------------------------------- /MYBannerCycleViewDemo.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Pods/Target Support Files/MYKit/MYKit-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /MYBannerCycleViewDemo/ViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.h 3 | // MYBannerCycleViewDemo 4 | // 5 | // Created by QMMac on 2017/2/8. 6 | // Copyright © 2017 QMMac. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface ViewController : UIViewController 12 | 13 | 14 | @end 15 | 16 | -------------------------------------------------------------------------------- /MYBannerCycleViewDemo.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /MYBannerCycleViewDemo.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /MYBannerCycleViewDemo/MYTestViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // MYTestViewController.h 3 | // MYBannerCycleViewDemo 4 | // 5 | // Created by sunjinshuai on 2018/8/29. 6 | // Copyright © 2018年 QMMac. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface MYTestViewController : UIViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /Pods/Target Support Files/SDWebImage/SDWebImage-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | #import "SDInternalMacros.h" 14 | -------------------------------------------------------------------------------- /MYBannerCycleViewDemo/MYBannerCycleViewCell.h: -------------------------------------------------------------------------------- 1 | // 2 | // MYBannerCycleViewCell.h 3 | // MYBannerCycleViewDemo 4 | // 5 | // Created by sunjinshuai on 2018/8/26. 6 | // Copyright © 2018年 QMMac. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface MYBannerCycleViewCell : UICollectionViewCell 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /MYBannerCycleViewDemo.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /MYBannerCycleViewDemo/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.h 3 | // MYBannerCycleViewDemo 4 | // 5 | // Created by QMMac on 2017/2/8. 6 | // Copyright © 2017 QMMac. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface AppDelegate : UIResponder 12 | 13 | @property (strong, nonatomic) UIWindow *window; 14 | 15 | 16 | @end 17 | 18 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/UIKit/UIViewController/UIViewController+ClassName.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIViewController+ClassName.h 3 | // MYKitDemo 4 | // 5 | // Created by sunjinshuai on 2018/3/23. 6 | // Copyright © 2018年 com.51fanxing. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface UIViewController (ClassName) 12 | 13 | + (void)displayClassName:(BOOL)yesOrNo; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/UIKit/UIImageView/UIImageView+CornerRadius.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIImageView+CornerRadius.h 3 | // MYKitDemo 4 | // 5 | // Created by sunjinshuai on 2017/9/6. 6 | // Copyright © 2017年 com.51fanxing. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface UIImageView (CornerRadius) 12 | 13 | @property (nonatomic, assign) CGFloat myCornerRadius; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/Foundation/NSObject/NSObject+Addition.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSObject+Addition.h 3 | // MYKitDemo 4 | // 5 | // Created by QMMac on 2018/7/31. 6 | // Copyright © 2018 com.51fanxing. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface NSObject (Addition) 12 | 13 | /** 14 | 获取一个类的所有直接子类类簇 15 | */ 16 | - (NSArray *)findAllOf:(Class)defaultClass; 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/UIKit/UITextField/UITextField+InputLimit.h: -------------------------------------------------------------------------------- 1 | // 2 | // UITextField+InputLimit.h 3 | // MYKitDemo 4 | // 5 | // Created by sunjinshuai on 2017/9/7. 6 | // Copyright © 2017年 com.51fanxing. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface UITextField (InputLimit) 12 | 13 | @property (nonatomic, assign) NSInteger maxLength;//if <=0, no limit 14 | 15 | @end 16 | 17 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/UIKit/UIViewController/UIViewController+TopViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIViewController+TopViewController.h 3 | // MYKitDemo 4 | // 5 | // Created by sunjinshuai on 2018/3/14. 6 | // Copyright © 2018年 com.51fanxing. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface UIViewController (TopViewController) 12 | 13 | + (UIViewController *)topViewController; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /MYBannerCycleViewDemo/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // MYBannerCycleViewDemo 4 | // 5 | // Created by QMMac on 2017/2/8. 6 | // Copyright © 2017 QMMac. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "AppDelegate.h" 11 | 12 | int main(int argc, char * argv[]) { 13 | @autoreleasepool { 14 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/UIKit/UIResponder/UIResponder+Chain.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIResponder+Chain.h 3 | // MYKitDemo 4 | // 5 | // Created by sunjinshuai on 2017/9/6. 6 | // Copyright © 2017年 com.51fanxing. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface UIResponder (Chain) 12 | 13 | /** 14 | * @brief 响应者链 15 | * 16 | * @return 响应者链 17 | */ 18 | - (NSString *)responderChainDescription; 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/UIKit/UITableView/UITableView+PlaceHolder.h: -------------------------------------------------------------------------------- 1 | // 2 | // UITableView+PlaceHolder.h 3 | // MYKitDemo 4 | // 5 | // Created by QMMac on 2018/7/27. 6 | // Copyright © 2018 com.51fanxing. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface UITableView (PlaceHolder) 12 | 13 | /** 14 | my_reloadData 替换 reloadData,自动添加或删除 place holder 视图 15 | */ 16 | - (void)my_reloadData; 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/UIKit/UIButton/UIButton+TouchAreaInsets.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIButton+TouchAreaInsets.h 3 | // MYUtils 4 | // 5 | // Created by sunjinshuai on 2017/8/28. 6 | // Copyright © 2017年 com.51fanxing. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface UIButton (TouchAreaInsets) 12 | 13 | /** 14 | * @brief 设置按钮额外热区 15 | */ 16 | @property (nonatomic, assign) UIEdgeInsets touchAreaInsets; 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /Pods/SDWebImage/SDWebImage/Private/SDInternalMacros.m: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the SDWebImage package. 3 | * (c) Olivier Poitrey 4 | * 5 | * For the full copyright and license information, please view the LICENSE 6 | * file that was distributed with this source code. 7 | */ 8 | 9 | #import "SDInternalMacros.h" 10 | 11 | void sd_executeCleanupBlock (__strong sd_cleanupBlock_t *block) { 12 | (*block)(); 13 | } 14 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/UIKit/UICollectionView/UICollectionView+PlaceHolder.h: -------------------------------------------------------------------------------- 1 | // 2 | // UICollectionView+PlaceHolder.h 3 | // MYKitDemo 4 | // 5 | // Created by QMMac on 2018/7/27. 6 | // Copyright © 2018 com.51fanxing. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface UICollectionView (PlaceHolder) 12 | 13 | /** 14 | my_reloadData 替换 reloadData,自动添加或删除 place holder 视图 15 | */ 16 | - (void)my_reloadData; 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/UIKit/UILabel/UILabel+LineSpacing.h: -------------------------------------------------------------------------------- 1 | // 2 | // UILabel+LineSpacing.h 3 | // MYKitDemo 4 | // 5 | // Created by QMMac on 2018/7/20. 6 | // Copyright © 2018 com.51fanxing. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface UILabel (LineSpacing) 12 | 13 | // 请不要将属性名称取为lineSpacing,UILabel已有此隐藏属性。 14 | @property (assign, nonatomic) CGFloat lineSpace; 15 | 16 | + (void)registerLineSpacingSelector; 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /MYBannerCycleViewDemo/Assets.xcassets/placeholder.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "placeholder@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/SafeKit/SafeKitShield.h: -------------------------------------------------------------------------------- 1 | // 2 | // SafeKitShield.h 3 | // MYKitDemo 4 | // 5 | // Created by QMMac on 2018/7/31. 6 | // Copyright © 2018 com.51fanxing. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | //! Project version number for Expecta. 12 | FOUNDATION_EXPORT double SafeKitShieldVersionNumber; 13 | 14 | //! Project version string for Expecta. 15 | FOUNDATION_EXPORT const unsigned char SafeKitShieldVersionString[]; 16 | 17 | #import "MYSafeKit.h" 18 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/UIKit/UIResponder/UIResponder+Router.m: -------------------------------------------------------------------------------- 1 | // 2 | // UIResponder+Router.m 3 | // MYKitDemo 4 | // 5 | // Created by sunjinshuai on 2017/9/6. 6 | // Copyright © 2017年 com.51fanxing. All rights reserved. 7 | // 8 | 9 | #import "UIResponder+Router.h" 10 | 11 | @implementation UIResponder (Router) 12 | 13 | - (void)routerEventWithName:(NSString *)eventName userInfo:(NSDictionary *)userInfo 14 | { 15 | [[self nextResponder] routerEventWithName:eventName userInfo:userInfo]; 16 | } 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/UIKit/UIViewController/UIViewController+PageViewLevel.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIViewController+PageViewLevel.h 3 | // MYKitDemo 4 | // 5 | // Created by sunjinshuai on 2018/3/14. 6 | // Copyright © 2018年 com.51fanxing. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface UIViewController (PageViewLevel) 12 | 13 | /** 14 | 从0开始,记录真实的页面层级不受 15 | UITabBarController, 16 | UINavigationController包含关系影响 17 | */ 18 | @property (nonatomic, readonly) NSInteger pageViewLevel; 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/Foundation/NSBundle/NSBundle+AppIcon.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSBundle+AppIcon.h 3 | // MYKitDemo 4 | // 5 | // Created by sunjinshuai on 2017/9/8. 6 | // Copyright © 2017年 com.51fanxing. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface NSBundle (AppIcon) 12 | 13 | /** 14 | 获取app的icon图标 15 | 16 | @return icon图标 17 | */ 18 | + (UIImage *)appIcon; 19 | 20 | /** 21 | 打印app里面所有启动图片名称信息 22 | 23 | @return 启动图片名称信息数组 24 | */ 25 | + (NSArray *)getAllLaunchImageInfo; 26 | 27 | @end 28 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/Foundation/NSMutableArray/NSMutableArray+Stack.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSMutableArray+Stack.h 3 | // MYKitDemo 4 | // 5 | // Created by sunjinshuai on 2017/12/29. 6 | // Copyright © 2017年 com.51fanxing. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | NS_ASSUME_NONNULL_BEGIN 12 | 13 | @interface NSMutableArray (Stack) 14 | 15 | - (void)pushObject:(id)anObject; 16 | 17 | - (nullable id)popObject; 18 | 19 | - (nullable id)peekObject; 20 | 21 | @end 22 | 23 | NS_ASSUME_NONNULL_END 24 | 25 | -------------------------------------------------------------------------------- /Pods/SDWebImage/SDWebImage/Private/SDImageGIFCoderInternal.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the SDWebImage package. 3 | * (c) Olivier Poitrey 4 | * 5 | * For the full copyright and license information, please view the LICENSE 6 | * file that was distributed with this source code. 7 | */ 8 | 9 | #import "SDWebImageCompat.h" 10 | #import "SDImageGIFCoder.h" 11 | 12 | @interface SDImageGIFCoder () 13 | 14 | - (float)sd_frameDurationAtIndex:(NSUInteger)index source:(nonnull CGImageSourceRef)source; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/UIKit/UIView/UIView+SuperController.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIView+SuperController.h 3 | // MYKitDemo 4 | // 5 | // Created by sunjinshuai on 2017/9/6. 6 | // Copyright © 2017年 com.51fanxing. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface UIView (SuperController) 12 | 13 | + (UIViewController *)viewController:(UIView *)view; 14 | + (UINavigationController *)navigationController:(UIView *)view; 15 | - (UIViewController *)viewController; 16 | - (UINavigationController *)navigationController; 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/MYKit.h: -------------------------------------------------------------------------------- 1 | // 2 | // MYKit.h 3 | // MYKitDemo 4 | // 5 | // Created by sunjinshuai on 2017/9/6. 6 | // Copyright © 2017年 com.51fanxing. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | //! Project version number for LPDAdditions. 12 | FOUNDATION_EXPORT double MYAdditionsVersionNumber; 13 | 14 | //! Project version string for LPDAdditions. 15 | FOUNDATION_EXPORT const unsigned char MYAdditionsVersionString[]; 16 | 17 | #import "MYSafeKit.h" 18 | #import "MYFoundationKit.h" 19 | #import "MYUIKit.h" 20 | 21 | -------------------------------------------------------------------------------- /Pods/SDWebImage/SDWebImage/SDWebImageError.m: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the SDWebImage package. 3 | * (c) Olivier Poitrey 4 | * (c) Jamie Pinkham 5 | * 6 | * For the full copyright and license information, please view the LICENSE 7 | * file that was distributed with this source code. 8 | */ 9 | 10 | #import "SDWebImageError.h" 11 | 12 | NSErrorDomain const _Nonnull SDWebImageErrorDomain = @"SDWebImageErrorDomain"; 13 | NSErrorUserInfoKey const _Nonnull SDWebImageErrorDownloadStatusCodeKey = @"SDWebImageErrorDownloadStatusCodeKey"; 14 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/UIKit/UIButton/UIButton+Indicator.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIButton+Indicator.h 3 | // MYUtils 4 | // 5 | // Created by sunjinshuai on 2017/8/28. 6 | // Copyright © 2017年 com.51fanxing. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface UIButton (Indicator) 12 | 13 | /** 14 | This method will show the activity indicator in place of the button text. 15 | */ 16 | - (void)showIndicator; 17 | 18 | /** 19 | This method will remove the indicator and put thebutton text back in place. 20 | */ 21 | - (void)hideIndicator; 22 | 23 | @end 24 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/UIKit/UIView/UIView+RedDot.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIView+RedDot.h 3 | // MYKitDemo 4 | // 5 | // Created by sunjinshuai on 2017/11/18. 6 | // Copyright © 2017年 com.51fanxing. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface UIView (RedDot) 12 | 13 | - (void)addRedDotWithRadius:(CGFloat)radius offsetX:(CGFloat)offsetX offsetY:(CGFloat)offsetY; 14 | 15 | - (void)showRedDotWithRadius:(CGFloat)radius offsetX:(CGFloat)offsetX offsetY:(CGFloat)offsetY; 16 | 17 | - (void)showRedDot; 18 | 19 | - (void)hiddenRedDot; 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /Pods/SDWebImage/SDWebImage/SDWebImageCompat.m: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the SDWebImage package. 3 | * (c) Olivier Poitrey 4 | * 5 | * For the full copyright and license information, please view the LICENSE 6 | * file that was distributed with this source code. 7 | */ 8 | 9 | #import "SDWebImageCompat.h" 10 | 11 | #if !__has_feature(objc_arc) 12 | #error SDWebImage is ARC only. Either turn on ARC for the project or use -fobjc-arc flag 13 | #endif 14 | 15 | #if !OS_OBJECT_USE_OBJC 16 | #error SDWebImage need ARC for dispatch object 17 | #endif 18 | -------------------------------------------------------------------------------- /Pods/SDWebImage/SDWebImage/SDWebImageOperation.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the SDWebImage package. 3 | * (c) Olivier Poitrey 4 | * 5 | * For the full copyright and license information, please view the LICENSE 6 | * file that was distributed with this source code. 7 | */ 8 | 9 | #import 10 | 11 | @protocol SDWebImageOperation 12 | 13 | - (void)cancel; 14 | 15 | @end 16 | 17 | // NSOperation conform to `SDWebImageOperation` 18 | @interface NSOperation (SDWebImageOperation) 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/UIKit/UIResponder/UIResponder+Router.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIResponder+Router.h 3 | // MYKitDemo 4 | // 5 | // Created by sunjinshuai on 2017/9/6. 6 | // Copyright © 2017年 com.51fanxing. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface UIResponder (Router) 12 | 13 | /** 14 | * 发送一个路由器消息, 对eventName感兴趣的 UIResponsder 可以对消息进行处理 15 | * 16 | * @param eventName 发生的事件名称 17 | * @param userInfo 传递消息时, 携带的数据, 数据传递过程中, 会有新的数据添加 18 | * 19 | */ 20 | - (void)routerEventWithName:(NSString *)eventName userInfo:(NSDictionary *)userInfo; 21 | 22 | @end 23 | 24 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/Foundation/NSMutableArray/NSMutableArray+Queue.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSMutableArray+Queue.h 3 | // MYKitDemo 4 | // 5 | // Created by sunjinshuai on 2017/12/29. 6 | // Copyright © 2017年 com.51fanxing. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | NS_ASSUME_NONNULL_BEGIN 12 | 13 | @interface NSMutableArray (Queue) 14 | 15 | /** 16 | * @brief 队列的容量,大于0为有效容量,小于等于0表示不限制容量 17 | */ 18 | @property (nonatomic, assign) NSInteger queueSize; 19 | 20 | - (void)enqueueObject:(id)anObject; 21 | 22 | - (nullable id)dequeueObject; 23 | 24 | @end 25 | 26 | NS_ASSUME_NONNULL_END 27 | -------------------------------------------------------------------------------- /Pods/SDWebImage/SDWebImage/Private/UIColor+HexString.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the SDWebImage package. 3 | * (c) Olivier Poitrey 4 | * 5 | * For the full copyright and license information, please view the LICENSE 6 | * file that was distributed with this source code. 7 | */ 8 | 9 | #import "SDWebImageCompat.h" 10 | 11 | @interface UIColor (HexString) 12 | 13 | /** 14 | Convenience way to get hex string from color. The output should always be 32-bit RGBA hex string like `#00000000`. 15 | */ 16 | @property (nonatomic, copy, readonly, nonnull) NSString *sd_hexString; 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /Pods/SDWebImage/SDWebImage/Private/SDImageAPNGCoderInternal.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the SDWebImage package. 3 | * (c) Olivier Poitrey 4 | * 5 | * For the full copyright and license information, please view the LICENSE 6 | * file that was distributed with this source code. 7 | */ 8 | 9 | #import "SDWebImageCompat.h" 10 | #import "SDImageAPNGCoder.h" 11 | 12 | @interface SDImageAPNGCoder () 13 | 14 | - (float)sd_frameDurationAtIndex:(NSUInteger)index source:(nonnull CGImageSourceRef)source; 15 | - (NSUInteger)sd_imageLoopCountWithSource:(nonnull CGImageSourceRef)source; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/UIKit/UITextView/UITextView+Select.h: -------------------------------------------------------------------------------- 1 | // 2 | // UITextView+Select.h 3 | // MYKitDemo 4 | // 5 | // Created by sunjinshuai on 2017/9/7. 6 | // Copyright © 2017年 com.51fanxing. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface UITextView (Select) 12 | 13 | /** 14 | * @brief 当前选中的字符串范围 15 | * 16 | * @return NSRange 17 | */ 18 | - (NSRange)selectedRange; 19 | /** 20 | * @brief 选中所有文字 21 | */ 22 | - (void)selectAllText; 23 | /** 24 | * @brief 选中指定范围的文字 25 | * 26 | * @param range NSRange范围 27 | */ 28 | - (void)setSelectedRange:(NSRange)range; 29 | 30 | @end 31 | -------------------------------------------------------------------------------- /Pods/SDWebImage/SDWebImage/Private/SDWeakProxy.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the SDWebImage package. 3 | * (c) Olivier Poitrey 4 | * 5 | * For the full copyright and license information, please view the LICENSE 6 | * file that was distributed with this source code. 7 | */ 8 | 9 | #import 10 | #import "SDWebImageCompat.h" 11 | 12 | @interface SDWeakProxy : NSProxy 13 | 14 | @property (nonatomic, weak, readonly, nullable) id target; 15 | 16 | - (nonnull instancetype)initWithTarget:(nonnull id)target; 17 | + (nonnull instancetype)proxyWithTarget:(nonnull id)target; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/UIKit/UILabel/UILabel+CountDown.h: -------------------------------------------------------------------------------- 1 | // 2 | // UILabel+CountDown.h 3 | // MYKitDemo 4 | // 5 | // Created by sunjinshuai on 2017/9/6. 6 | // Copyright © 2017年 com.51fanxing. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface UILabel (CountDown) 12 | 13 | /** 14 | 倒计时 15 | 16 | @param timeInterval 倒计时时长 17 | @param text 倒计时内容 18 | @param completion 倒计时之后回调 19 | */ 20 | - (void)scheduledTimerWithTimeInterval:(NSInteger)timeInterval 21 | countDownText:(NSString *)text 22 | completion:(void (^)(UILabel *countDownLabel))completion; 23 | 24 | @end 25 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/UIKit/UIViewController/UIViewController+PreviousController.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIViewController+PreviousController.h 3 | // MYKitDemo 4 | // 5 | // Created by sunjinshuai on 2018/3/14. 6 | // Copyright © 2018年 com.51fanxing. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface UIViewController (PreviousController) 12 | 13 | /** 14 | 不支持UITabbarController切换记录前一个 15 | 扩展实现可通过 objc_setAssociatedObject(self, @selector(pc_previousController), sourcePageController, OBJC_ASSOCIATION_RETAIN_NONATOMIC) 设置 16 | 优先使用以设置的值 17 | */ 18 | @property (nonatomic, readonly) UIViewController *previousController; 19 | 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /Pods/SDWebImage/SDWebImage/SDImageAPNGCoder.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the SDWebImage package. 3 | * (c) Olivier Poitrey 4 | * 5 | * For the full copyright and license information, please view the LICENSE 6 | * file that was distributed with this source code. 7 | */ 8 | 9 | #import 10 | #import "SDImageCoder.h" 11 | 12 | /** 13 | Built in coder using ImageIO that supports APNG encoding/decoding 14 | */ 15 | @interface SDImageAPNGCoder : NSObject 16 | 17 | @property (nonatomic, class, readonly, nonnull) SDImageAPNGCoder *sharedCoder; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/Foundation/NSURL/NSURL+Param.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSURL+Param.h 3 | // MYKitDemo 4 | // 5 | // Created by sunjinshuai on 2017/9/8. 6 | // Copyright © 2017年 com.51fanxing. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | NS_ASSUME_NONNULL_BEGIN 12 | 13 | @interface NSURL (Param) 14 | 15 | /** 16 | * @brief url参数转字典 17 | * 18 | * @return 参数转字典结果 19 | */ 20 | - (NSDictionary *)parameters; 21 | /** 22 | * @brief 根据参数名 取参数值 23 | * 24 | * @param parameterKey 参数名的key 25 | * 26 | * @return 参数值 27 | */ 28 | - (NSString *)valueForParameter:(NSString *)parameterKey; 29 | 30 | @end 31 | 32 | NS_ASSUME_NONNULL_END 33 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/UIKit/UIButton/UIButton+CountDown.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIButton+CountDown.h 3 | // MYKitDemo 4 | // 5 | // Created by sunjinshuai on 2017/9/6. 6 | // Copyright © 2017年 com.51fanxing. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface UIButton (CountDown) 12 | 13 | /** 14 | 倒计时 15 | 16 | @param timeInterval 倒计时时长 17 | @param text 倒计时内容 18 | @param completion 倒计时之后回调 19 | */ 20 | - (void)scheduledTimerWithTimeInterval:(NSInteger)timeInterval 21 | countDownText:(NSString *)text 22 | completion:(void (^)(UIButton *countDownButton))completion; 23 | 24 | @end 25 | 26 | -------------------------------------------------------------------------------- /Pods/SDWebImage/SDWebImage/UIImage+GIF.m: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the SDWebImage package. 3 | * (c) Olivier Poitrey 4 | * (c) Laurin Brandner 5 | * 6 | * For the full copyright and license information, please view the LICENSE 7 | * file that was distributed with this source code. 8 | */ 9 | 10 | #import "UIImage+GIF.h" 11 | #import "SDImageGIFCoder.h" 12 | 13 | @implementation UIImage (GIF) 14 | 15 | + (nullable UIImage *)sd_imageWithGIFData:(nullable NSData *)data { 16 | if (!data) { 17 | return nil; 18 | } 19 | return [[SDImageGIFCoder sharedCoder] decodedImageWithData:data options:0]; 20 | } 21 | 22 | @end 23 | -------------------------------------------------------------------------------- /Pods/Target Support Files/SDWebImage/SDWebImage.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/SDWebImage 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/SDWebImage" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/SDWebImage" 4 | PODS_BUILD_DIR = ${BUILD_DIR} 5 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 6 | PODS_ROOT = ${SRCROOT} 7 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/SDWebImage 8 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 9 | SKIP_INSTALL = YES 10 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/UIKit/UIView/UIView+Gesture.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIView+Gesture.h 3 | // MYKitDemo 4 | // 5 | // Created by sunjinshuai on 2017/9/6. 6 | // Copyright © 2017年 com.51fanxing. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | typedef void (^GestureActionBlock)(UIGestureRecognizer *gestureRecoginzer); 12 | 13 | @interface UIView (Gesture) 14 | 15 | /** 16 | * @brief 添加tap手势 17 | * 18 | * @param block 代码块 19 | */ 20 | - (void)addTapActionWithBlock:(GestureActionBlock)block; 21 | 22 | /** 23 | * @brief 添加长按手势 24 | * 25 | * @param block 代码块 26 | */ 27 | - (void)addLongPressActionWithBlock:(GestureActionBlock)block; 28 | 29 | @end 30 | -------------------------------------------------------------------------------- /Pods/Target Support Files/MYKit/MYKit.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/MYKit 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/MYKit" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/MYKit" $(SDKROOT)/usr/include/CommonCrypto 4 | PODS_BUILD_DIR = ${BUILD_DIR} 5 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 6 | PODS_ROOT = ${SRCROOT} 7 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/MYKit 8 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 9 | SKIP_INSTALL = YES 10 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/UIKit/UIWindow/UIWindow+Hierarchy.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIWindow+Hierarchy.h 3 | // MYKitDemo 4 | // 5 | // Created by sunjinshuai on 2017/9/7. 6 | // Copyright © 2017年 com.51fanxing. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface UIWindow (Hierarchy) 12 | 13 | /*! 14 | @method topMostController 15 | 16 | @return Returns the current Top Most ViewController in hierarchy. 17 | */ 18 | - (UIViewController *)topMostController; 19 | 20 | /*! 21 | @method currentViewController 22 | 23 | @return Returns the topViewController in stack of topMostController. 24 | */ 25 | - (UIViewController *)currentViewController; 26 | 27 | @end 28 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/Foundation/NSMutableArray/NSMutableArray+Stack.m: -------------------------------------------------------------------------------- 1 | // 2 | // NSMutableArray+Stack.m 3 | // MYKitDemo 4 | // 5 | // Created by sunjinshuai on 2017/12/29. 6 | // Copyright © 2017年 com.51fanxing. All rights reserved. 7 | // 8 | 9 | #import "NSMutableArray+Stack.h" 10 | 11 | @implementation NSMutableArray (Stack) 12 | 13 | - (void)pushObject:(id)anObject { 14 | [self addObject:anObject]; 15 | } 16 | 17 | - (id)popObject { 18 | id anObject = [self lastObject]; 19 | if (self.count > 0) { 20 | [self removeLastObject]; 21 | } 22 | return anObject; 23 | } 24 | 25 | - (id)peekObject { 26 | return [self lastObject]; 27 | } 28 | 29 | @end 30 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/UIKit/UINavigationItem/UINavigationItem+Margin.h: -------------------------------------------------------------------------------- 1 | // 2 | // UINavigationItem+Margin.h 3 | // MYKitDemo 4 | // 5 | // Created by sunjinshuai on 2017/9/6. 6 | // Copyright © 2017年 com.51fanxing. All rights reserved. 7 | // https://github.com/devxoul/UINavigationItem-Margin 8 | 9 | #import 10 | 11 | FOUNDATION_EXPORT double UINavigationItem_MarginVersionNumber; 12 | FOUNDATION_EXPORT const unsigned char UINavigationItem_MarginVersionString[]; 13 | 14 | @interface UINavigationItem (Margin) 15 | 16 | @property (nonatomic, assign) CGFloat leftMargin; 17 | @property (nonatomic, assign) CGFloat rightMargin; 18 | 19 | + (CGFloat)systemMargin; 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/UIKit/UIView/UIView+FindSubView.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIView+FindSubView.h 3 | // MYKitDemo 4 | // 5 | // Created by sunjinshuai on 2017/11/18. 6 | // Copyright © 2017年 com.51fanxing. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface UIView (FindSubView) 12 | 13 | /** 14 | * 判断两个view是否重叠 15 | */ 16 | + (BOOL)intersectsWithOtherView:(UIView *)otherView anotherView:(UIView *)anotherView; 17 | 18 | /** 19 | * @brief find all subviews 20 | * 21 | * @param cls class of subview 22 | */ 23 | - (NSArray *)subviewsWithClass:(Class)cls; 24 | 25 | /** 26 | * 判断self和view是否重叠 27 | */ 28 | - (BOOL)intersectsWithView:(UIView *)view; 29 | 30 | @end 31 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/UIKit/UILabel/UILabel+LimitLines.h: -------------------------------------------------------------------------------- 1 | // 2 | // UILabel+LimitLines.h 3 | // MYUtils 4 | // 5 | // Created by sunjinshuai on 2017/8/7. 6 | // Copyright © 2017年 com.51fanxing. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | /** 12 | 此分类适合Label文本指定的行数,行间距等 13 | */ 14 | @interface UILabel (LimitLines) 15 | 16 | /** 17 | 最大显示宽度,如果没有设置最大宽度,默认是window的宽度 18 | */ 19 | @property (nonatomic, assign) CGFloat myConstrainedWidth; 20 | 21 | /** 22 | 行间距,默认为0 23 | */ 24 | @property (nonatomic, assign) CGFloat myLineSpacing; 25 | 26 | /** 27 | 文本限制指定的行数 28 | @return 文本是否限制几行 29 | */ 30 | - (BOOL)my_adjustTextToFitLines:(NSInteger)numberOfLines; 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/Foundation/NSObject/NSObject+AssociatedObject.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSObject+AssociatedObject.h 3 | // MYUtils 4 | // 5 | // Created by sunjinshuai on 2017/8/28. 6 | // Copyright © 2017年 com.51fanxing. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface NSObject (AssociatedObject) 12 | 13 | - (id)object:(SEL)key; 14 | 15 | - (void)setAssignObject:(id)object withKey:(SEL)key; 16 | 17 | - (void)setRetainNonatomicObject:(id)object withKey:(SEL)key; 18 | 19 | - (void)setCopyNonatomicObject:(id)object withKey:(SEL)key; 20 | 21 | - (void)setRetainObject:(id)object withKey:(SEL)key; 22 | 23 | - (void)setCopyObject:(id)object withKey:(SEL)key; 24 | 25 | 26 | @end 27 | -------------------------------------------------------------------------------- /Pods/SDWebImage/SDWebImage/Private/SDAsyncBlockOperation.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the SDWebImage package. 3 | * (c) Olivier Poitrey 4 | * 5 | * For the full copyright and license information, please view the LICENSE 6 | * file that was distributed with this source code. 7 | */ 8 | 9 | #import "SDWebImageCompat.h" 10 | 11 | @class SDAsyncBlockOperation; 12 | typedef void (^SDAsyncBlock)(SDAsyncBlockOperation * __nonnull asyncOperation); 13 | 14 | @interface SDAsyncBlockOperation : NSOperation 15 | 16 | - (nonnull instancetype)initWithBlock:(nonnull SDAsyncBlock)block; 17 | + (nonnull instancetype)blockOperationWithBlock:(nonnull SDAsyncBlock)block; 18 | - (void)complete; 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/UIKit/UIColor/UIColor+Addition.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIColor+Addition.h 3 | // MYKitDemo 4 | // 5 | // Created by sunjinshuai on 2017/9/6. 6 | // Copyright © 2017年 com.51fanxing. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface UIColor (Addition) 12 | 13 | /** 14 | Return a randomColor (just for test UI) 15 | 16 | @return randomColor 17 | */ 18 | + (UIColor *)randomColor; 19 | 20 | /** 21 | * @brief get color from hex string 22 | * 23 | * @param hexStr #RGB #ARGB #RRGGBB #AARRGGBB 24 | * 25 | * @return color 26 | */ 27 | + (UIColor *)colorWithHexString:(NSString *)hexStr; 28 | + (UIColor *)colorWithHexString:(NSString *)color alpha:(CGFloat)alphaValue; 29 | 30 | @end 31 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/Foundation/NSNumber/NSNumber+Addition.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSNumber+Addition.h 3 | // MYKitDemo 4 | // 5 | // Created by sunjinshuai on 2018/3/13. 6 | // Copyright © 2018年 com.51fanxing. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | NS_ASSUME_NONNULL_BEGIN 12 | 13 | @interface NSNumber (Addition) 14 | 15 | /** 16 | Creates and returns an NSNumber object from a string. 17 | Valid format: @"12", @"12.345", @" -0xFF", @" .23e99 "... 18 | 19 | @param string The string described an number. 20 | 21 | @return an NSNumber when parse succeed, or nil if an error occurs. 22 | */ 23 | + (nullable NSNumber *)numberWithString:(NSString *)string; 24 | 25 | @end 26 | 27 | NS_ASSUME_NONNULL_END 28 | -------------------------------------------------------------------------------- /Pods/SDWebImage/SDWebImage/Private/SDImageCachesManagerOperation.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the SDWebImage package. 3 | * (c) Olivier Poitrey 4 | * 5 | * For the full copyright and license information, please view the LICENSE 6 | * file that was distributed with this source code. 7 | */ 8 | 9 | #import 10 | #import "SDWebImageCompat.h" 11 | 12 | // This is used for operation management, but not for operation queue execute 13 | @interface SDImageCachesManagerOperation : NSOperation 14 | 15 | @property (nonatomic, assign, readonly) NSUInteger pendingCount; 16 | 17 | - (void)beginWithTotalCount:(NSUInteger)totalCount; 18 | - (void)completeOne; 19 | - (void)done; 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /MYBannerCycleView/MYBannerCycleViewHeader.h: -------------------------------------------------------------------------------- 1 | // 2 | // MYBannerCycleViewHeader.h 3 | // MYBannerCycleViewDemo 4 | // 5 | // Created by QMMac on 2018/8/28. 6 | // Copyright © 2018 QMMac. All rights reserved. 7 | // 8 | 9 | #ifndef MYBannerCycleViewHeader_h 10 | #define MYBannerCycleViewHeader_h 11 | 12 | typedef NS_ENUM(NSInteger, MYBannerViewStatus) { 13 | MYBannerViewStatusIdle = 0, // 闲置 14 | MYBannerViewStatusTrigger // 触发 15 | }; 16 | 17 | typedef NS_ENUM(NSInteger, BannerViewDirection) { 18 | BannerViewDirectionLeft = 0, // 水平向左 19 | BannerViewDirectionRight, // 水平向右 20 | BannerViewDirectionTop, // 竖直向上 21 | BannerViewDirectionBottom // 竖直向下 22 | }; 23 | 24 | #endif /* MYBannerCycleViewHeader_h */ 25 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/UIKit/UIImageView/UIImageView+RectCorner.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIImageView+RectCorner.h 3 | // MYKitDemo 4 | // 5 | // Created by sunjinshuai on 2018/3/20. 6 | // Copyright © 2018年 com.51fanxing. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface UIImageView (RectCorner) 12 | 13 | - (instancetype)initWithCornerRadiusAdvance:(CGFloat)cornerRadius 14 | rectCornerType:(UIRectCorner)rectCornerType; 15 | 16 | - (void)cornerRadiusAdvance:(CGFloat)cornerRadius rectCornerType:(UIRectCorner)rectCornerType; 17 | 18 | - (instancetype)initWithRoundingRectImageView; 19 | 20 | - (void)cornerRadiusRoundingRect; 21 | 22 | - (void)attachBorderWidth:(CGFloat)width color:(UIColor *)color; 23 | 24 | @end 25 | -------------------------------------------------------------------------------- /Pods/Target Support Files/Pods-MYBannerCycleViewDemo/Pods-MYBannerCycleViewDemo.debug.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/MYKit" "${PODS_ROOT}/Headers/Public/SDWebImage" $(SDKROOT)/usr/include/CommonCrypto 3 | LIBRARY_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/MYKit" "${PODS_CONFIGURATION_BUILD_DIR}/SDWebImage" 4 | OTHER_LDFLAGS = $(inherited) -ObjC -l"MYKit" -l"SDWebImage" -framework "Foundation" -framework "ImageIO" -framework "UIKit" 5 | PODS_BUILD_DIR = ${BUILD_DIR} 6 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 8 | PODS_ROOT = ${SRCROOT}/Pods 9 | -------------------------------------------------------------------------------- /Pods/Target Support Files/Pods-MYBannerCycleViewDemo/Pods-MYBannerCycleViewDemo.release.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/MYKit" "${PODS_ROOT}/Headers/Public/SDWebImage" $(SDKROOT)/usr/include/CommonCrypto 3 | LIBRARY_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/MYKit" "${PODS_CONFIGURATION_BUILD_DIR}/SDWebImage" 4 | OTHER_LDFLAGS = $(inherited) -ObjC -l"MYKit" -l"SDWebImage" -framework "Foundation" -framework "ImageIO" -framework "UIKit" 5 | PODS_BUILD_DIR = ${BUILD_DIR} 6 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 8 | PODS_ROOT = ${SRCROOT}/Pods 9 | -------------------------------------------------------------------------------- /Pods/SDWebImage/SDWebImage/SDImageCoder.m: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the SDWebImage package. 3 | * (c) Olivier Poitrey 4 | * 5 | * For the full copyright and license information, please view the LICENSE 6 | * file that was distributed with this source code. 7 | */ 8 | 9 | #import "SDImageCoder.h" 10 | 11 | SDImageCoderOption const SDImageCoderDecodeFirstFrameOnly = @"decodeFirstFrameOnly"; 12 | SDImageCoderOption const SDImageCoderDecodeScaleFactor = @"decodeScaleFactor"; 13 | 14 | SDImageCoderOption const SDImageCoderEncodeFirstFrameOnly = @"encodeFirstFrameOnly"; 15 | SDImageCoderOption const SDImageCoderEncodeCompressionQuality = @"encodeCompressionQuality"; 16 | 17 | SDImageCoderOption const SDImageCoderWebImageContext = @"webImageContext"; 18 | -------------------------------------------------------------------------------- /MYBannerCycleViewDemo/MYBannerFooterView.h: -------------------------------------------------------------------------------- 1 | // 2 | // MYBannerFooterView.h 3 | // MYBannerCycleViewDemo 4 | // 5 | // Created by QMMac on 2018/8/28. 6 | // Copyright © 2018 QMMac. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "MYBannerCycleViewHeader.h" 11 | 12 | @interface MYBannerFooterView : UICollectionReusableView 13 | 14 | @property (nonatomic, assign) MYBannerViewStatus status; 15 | @property (nonatomic, strong) UIFont *footerTitleFont; 16 | @property (nonatomic, strong) UIColor *footerTitleColor; 17 | @property (nonatomic, copy) NSString *IndicateImageName; /**< 指示图片的名字 */ 18 | @property (nonatomic, copy) NSString *idleTitle; /**< 闲置 */ 19 | @property (nonatomic, copy) NSString *triggerTitle; /**< 触发 */ 20 | 21 | 22 | @end 23 | -------------------------------------------------------------------------------- /Pods/SDWebImage/SDWebImage/Private/NSBezierPath+RoundedCorners.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the SDWebImage package. 3 | * (c) Olivier Poitrey 4 | * 5 | * For the full copyright and license information, please view the LICENSE 6 | * file that was distributed with this source code. 7 | */ 8 | 9 | #import "SDWebImageCompat.h" 10 | 11 | #if SD_MAC 12 | 13 | #import "UIImage+Transform.h" 14 | 15 | @interface NSBezierPath (RoundedCorners) 16 | 17 | /** 18 | Convenience way to create a bezier path with the specify rounding corners on macOS. Same as the one on `UIBezierPath`. 19 | */ 20 | + (nonnull instancetype)sd_bezierPathWithRoundedRect:(NSRect)rect byRoundingCorners:(SDRectCorner)corners cornerRadius:(CGFloat)cornerRadius; 21 | 22 | @end 23 | 24 | #endif 25 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/UIKit/UIView/UIView+Badge.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIView+Badge.h 3 | // MYKitDemo 4 | // 5 | // Created by sunjinshuai on 2017/12/29. 6 | // Copyright © 2017年 com.51fanxing. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | NS_ASSUME_NONNULL_BEGIN 12 | 13 | @interface UIView (Badge) 14 | 15 | /** 16 | * @brief 是否显示badge 17 | */ 18 | @property (nonatomic, assign) BOOL shouldShowBadge; 19 | 20 | /** 21 | * @brief badge内容,为空则显示小红点 22 | */ 23 | @property (nonatomic, copy) NSString *badgeString; 24 | 25 | @property (nonatomic, strong) UILabel *badgeLabel; 26 | 27 | 28 | /** 29 | * @brief 配置badge,参数UIView didMoveToSuperview 30 | */ 31 | @property (nonatomic, copy, nullable) void (^badgeConfigBlock)(UIView *); 32 | 33 | @end 34 | 35 | NS_ASSUME_NONNULL_END 36 | -------------------------------------------------------------------------------- /Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - MYKit (1.1.2): 3 | - MYKit/Foundation (= 1.1.2) 4 | - MYKit/SafeKit (= 1.1.2) 5 | - MYKit/UIKit (= 1.1.2) 6 | - MYKit/Foundation (1.1.2) 7 | - MYKit/SafeKit (1.1.2): 8 | - MYKit/Foundation 9 | - MYKit/UIKit (1.1.2): 10 | - MYKit/Foundation 11 | - SDWebImage (5.0.1): 12 | - SDWebImage/Core (= 5.0.1) 13 | - SDWebImage/Core (5.0.1) 14 | 15 | DEPENDENCIES: 16 | - MYKit 17 | - SDWebImage (~> 5.0.1) 18 | 19 | SPEC REPOS: 20 | https://github.com/cocoapods/specs.git: 21 | - MYKit 22 | - SDWebImage 23 | 24 | SPEC CHECKSUMS: 25 | MYKit: 338258b9f984b07fe808216d2c77f4f33d3c2379 26 | SDWebImage: 27dd2c9ea07a2252f94557c9fbb6105ee94b74c9 27 | 28 | PODFILE CHECKSUM: ad7c72b0a0947b154798043e198e72012902e77b 29 | 30 | COCOAPODS: 1.6.1 31 | -------------------------------------------------------------------------------- /Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - MYKit (1.1.2): 3 | - MYKit/Foundation (= 1.1.2) 4 | - MYKit/SafeKit (= 1.1.2) 5 | - MYKit/UIKit (= 1.1.2) 6 | - MYKit/Foundation (1.1.2) 7 | - MYKit/SafeKit (1.1.2): 8 | - MYKit/Foundation 9 | - MYKit/UIKit (1.1.2): 10 | - MYKit/Foundation 11 | - SDWebImage (5.0.1): 12 | - SDWebImage/Core (= 5.0.1) 13 | - SDWebImage/Core (5.0.1) 14 | 15 | DEPENDENCIES: 16 | - MYKit 17 | - SDWebImage (~> 5.0.1) 18 | 19 | SPEC REPOS: 20 | https://github.com/cocoapods/specs.git: 21 | - MYKit 22 | - SDWebImage 23 | 24 | SPEC CHECKSUMS: 25 | MYKit: 338258b9f984b07fe808216d2c77f4f33d3c2379 26 | SDWebImage: 27dd2c9ea07a2252f94557c9fbb6105ee94b74c9 27 | 28 | PODFILE CHECKSUM: ad7c72b0a0947b154798043e198e72012902e77b 29 | 30 | COCOAPODS: 1.6.1 31 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/UIKit/UITableView/TableViewPlaceHolderDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // TableViewPlaceHolderDelegate.h 3 | // MYKitDemo 4 | // 5 | // Created by QMMac on 2018/7/27. 6 | // Copyright © 2018 com.51fanxing. All rights reserved. 7 | // 8 | 9 | @protocol TableViewPlaceHolderDelegate 10 | 11 | @required 12 | /*! 13 | @brief make an empty overlay view when the tableView is empty 14 | @return an empty overlay view 15 | */ 16 | - (UIView *)makePlaceHolderView; 17 | 18 | @optional 19 | /*! 20 | @brief enable tableView scroll when place holder view is showing, it is disabled by default. 21 | @attention There is no need to return NO, it will be NO by default 22 | @return enable tableView scroll, you can only return YES 23 | */ 24 | - (BOOL)enableScrollWhenPlaceHolderViewShowing; 25 | 26 | @end 27 | -------------------------------------------------------------------------------- /MYBannerCycleViewDemoTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | $(DEVELOPMENT_LANGUAGE) 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleVersion 20 | 1 21 | 22 | 23 | -------------------------------------------------------------------------------- /MYBannerCycleViewDemoUITests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | $(DEVELOPMENT_LANGUAGE) 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleVersion 20 | 1 21 | 22 | 23 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/UIKit/UIView/UIView+GradientBackgroundColor.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIView+GradientBackgroundColor.h 3 | // MYKitDemo 4 | // 5 | // Created by sunjinshuai on 2017/12/29. 6 | // Copyright © 2017年 com.51fanxing. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | typedef NS_ENUM(NSInteger, MYGradientDirection) { 12 | MYGradientDirectionTopLeft = 0, 13 | MYGradientDirectionTop = 1, 14 | MYGradientDirectionLeft = 2, 15 | }; 16 | 17 | @interface UIView (GradientBackgroundColor) 18 | 19 | - (void)setGradientBackgroundColors:(NSArray *)colorArray direction:(MYGradientDirection)direction; 20 | 21 | - (void)setGradientBackgroundColors:(NSArray *)colorArray; 22 | 23 | - (void)setGradientBackgroundColorFrom:(UIColor *)fromColor toColor:(UIColor *)toColor; 24 | 25 | @end 26 | -------------------------------------------------------------------------------- /Pods/SDWebImage/SDWebImage/SDImageFrame.m: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the SDWebImage package. 3 | * (c) Olivier Poitrey 4 | * 5 | * For the full copyright and license information, please view the LICENSE 6 | * file that was distributed with this source code. 7 | */ 8 | 9 | #import "SDImageFrame.h" 10 | 11 | @interface SDImageFrame () 12 | 13 | @property (nonatomic, strong, readwrite, nonnull) UIImage *image; 14 | @property (nonatomic, readwrite, assign) NSTimeInterval duration; 15 | 16 | @end 17 | 18 | @implementation SDImageFrame 19 | 20 | + (instancetype)frameWithImage:(UIImage *)image duration:(NSTimeInterval)duration { 21 | SDImageFrame *frame = [[SDImageFrame alloc] init]; 22 | frame.image = image; 23 | frame.duration = duration; 24 | 25 | return frame; 26 | } 27 | 28 | @end 29 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/UIKit/UICollectionView/CollectionViewPlaceHolderDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // CollectionViewPlaceHolderDelegate.h 3 | // MYKitDemo 4 | // 5 | // Created by QMMac on 2018/7/27. 6 | // Copyright © 2018 com.51fanxing. All rights reserved. 7 | // 8 | 9 | @protocol CollectionViewPlaceHolderDelegate 10 | 11 | @required 12 | /*! 13 | @brief make an empty overlay view when the tableView is empty 14 | @return an empty overlay view 15 | */ 16 | - (UIView *)makePlaceHolderView; 17 | 18 | @optional 19 | /*! 20 | @brief enable collectionView scroll when place holder view is showing, it is disabled by default. 21 | @attention There is no need to return NO, it will be NO by default 22 | @return enable collectionView scroll, you can only return YES 23 | */ 24 | - (BOOL)enableScrollWhenPlaceHolderViewShowing; 25 | 26 | @end 27 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/Foundation/NSBundle/NSBundle+AppIcon.m: -------------------------------------------------------------------------------- 1 | // 2 | // NSBundle+AppIcon.m 3 | // MYKitDemo 4 | // 5 | // Created by sunjinshuai on 2017/9/8. 6 | // Copyright © 2017年 com.51fanxing. All rights reserved. 7 | // 8 | 9 | #import "NSBundle+AppIcon.h" 10 | 11 | @implementation NSBundle (AppIcon) 12 | 13 | + (UIImage *)appIcon { 14 | NSDictionary *infoPlist = [[self mainBundle] infoDictionary]; 15 | NSString *appIcon = [[infoPlist valueForKeyPath:@"CFBundleIcons.CFBundlePrimaryIcon.CFBundleIconFiles"] lastObject]; 16 | return [UIImage imageNamed:appIcon]; 17 | } 18 | 19 | + (NSArray *)getAllLaunchImageInfo { 20 | NSDictionary *infoDict = [[self mainBundle] infoDictionary]; 21 | // 获取所有启动图片信息数组 22 | NSArray *launchImagesArray = infoDict[@"UILaunchImages"]; 23 | return launchImagesArray; 24 | } 25 | 26 | @end 27 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/UIKit/UINavigationBar/UINavigationBar+Addition.h: -------------------------------------------------------------------------------- 1 | // 2 | // UINavigationBar+Addition.h 3 | // MYKitDemo 4 | // 5 | // Created by sunjinshuai on 2018/3/22. 6 | // Copyright © 2018年 com.51fanxing. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface UINavigationBar (Addition) 12 | 13 | /** 14 | 设置导航栏所有BarButtonItem的透明度 15 | */ 16 | - (void)setBarButtonItemsAlpha:(CGFloat)alpha hasSystemBackIndicator:(BOOL)hasSystemBackIndicator; 17 | 18 | /** 19 | 设置Bar偏移 20 | @param translationY 偏移量 21 | */ 22 | - (void)setTranslationY:(CGFloat)translationY; 23 | 24 | /** 25 | 获取当前导航栏在垂直方向上偏移了多少 26 | */ 27 | - (CGFloat)getTranslationY; 28 | 29 | /** 30 | * 隐藏导航栏下面的分割线 31 | */ 32 | - (void)hideBottomHairline; 33 | 34 | /** 35 | * 显示导航栏下面的分割线 36 | */ 37 | - (void)showBottomHairline; 38 | 39 | @end 40 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/UIKit/UIApplication/UIApplication+NetworkActivityIndicator.m: -------------------------------------------------------------------------------- 1 | // 2 | // UIApplication+NetworkActivityIndicator.m 3 | // MYKitDemo 4 | // 5 | // Created by sunjinshuai on 2017/9/7. 6 | // Copyright © 2017年 com.51fanxing. All rights reserved. 7 | // 8 | 9 | #import "UIApplication+NetworkActivityIndicator.h" 10 | #import 11 | 12 | @implementation UIApplication (NetworkActivityIndicator) 13 | 14 | static volatile int32_t numberOfActiveNetworkConnections; 15 | 16 | #pragma mark Public API 17 | 18 | - (void)beganNetworkActivity 19 | { 20 | self.networkActivityIndicatorVisible = OSAtomicAdd32(1, &numberOfActiveNetworkConnections) > 0; 21 | } 22 | 23 | - (void)endedNetworkActivity 24 | { 25 | self.networkActivityIndicatorVisible = OSAtomicAdd32(-1, &numberOfActiveNetworkConnections) > 0; 26 | } 27 | 28 | @end 29 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/UIKit/UIView/UIView+Position.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIView+Position.h 3 | // MYKitDemo 4 | // 5 | // Created by sunjinshuai on 2017/9/6. 6 | // Copyright © 2017年 com.51fanxing. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface UIView (Position) 12 | 13 | @property (nonatomic, assign) CGFloat x; 14 | @property (nonatomic, assign) CGFloat y; 15 | @property (nonatomic, assign) CGFloat width; 16 | @property (nonatomic, assign) CGFloat height; 17 | @property (nonatomic, assign) CGSize size; 18 | @property (nonatomic, assign) CGPoint origin; 19 | @property (nonatomic, assign) CGFloat centerX; 20 | @property (nonatomic, assign) CGFloat centerY; 21 | @property (nonatomic, assign) CGFloat left; 22 | @property (nonatomic, assign) CGFloat top; 23 | @property (nonatomic, assign) CGFloat right; 24 | @property (nonatomic, assign) CGFloat bottom; 25 | 26 | @end 27 | -------------------------------------------------------------------------------- /Pods/SDWebImage/SDWebImage/UIImage+GIF.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the SDWebImage package. 3 | * (c) Olivier Poitrey 4 | * (c) Laurin Brandner 5 | * 6 | * For the full copyright and license information, please view the LICENSE 7 | * file that was distributed with this source code. 8 | */ 9 | 10 | #import "SDWebImageCompat.h" 11 | 12 | // This category is just use as a convenience method. For more detail control, use methods in `UIImage+MultiFormat.h` or directlly use `SDImageCoder` 13 | @interface UIImage (GIF) 14 | 15 | /** 16 | Creates an animated UIImage from an NSData. 17 | This will create animated image if the data is Animated GIF. And will create a static image is the data is Static GIF. 18 | 19 | @param data The GIF data 20 | @return The created image 21 | */ 22 | + (nullable UIImage *)sd_imageWithGIFData:(nullable NSData *)data; 23 | 24 | @end 25 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/UIKit/UIImage/UIImage+Addition.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIImage+Addition.h 3 | // FXKitExampleDemo 4 | // 5 | // Created by sunjinshuai on 2017/7/19. 6 | // Copyright © 2017年 com.51fanxing. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | NS_ASSUME_NONNULL_BEGIN 12 | 13 | @interface UIImage (Addition) 14 | 15 | /** 16 | * @brief 根据name获取GIF图片 17 | * 18 | * @param name 图片名称 19 | * 20 | * @return 返回处理后的图片 21 | */ 22 | + (nullable UIImage *)animatedGIFNamed:(NSString *)name; 23 | 24 | /** 25 | * @brief 根据data获取GIF图片 26 | * 27 | * @param data 图片数据流 28 | * 29 | * @return 返回处理后的图片 30 | */ 31 | + (nullable UIImage *)animatedGIFWithData:(NSData *)data; 32 | 33 | /** 34 | * @brief 根据图片路径获取图片 35 | * 36 | * @param imageName 图片路径名称 37 | * 38 | * @return 返回处理后的图片 39 | */ 40 | + (nullable UIImage *)imageNoCacheWithName:(NSString *)imageName; 41 | 42 | @end 43 | 44 | NS_ASSUME_NONNULL_END 45 | 46 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/Foundation/NSString/NSString+Trims.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSString+Trims.h 3 | // MYKitDemo 4 | // 5 | // Created by sunjinshuai on 2017/9/8. 6 | // Copyright © 2017年 com.51fanxing. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface NSString (Trims) 12 | 13 | /** 14 | 去除回车键 15 | */ 16 | + (NSString *)stirngByTrimReturnKey:(NSString *)string; 17 | 18 | /** 19 | Trim blank characters (space and newline) in head and tail. 20 | @return the trimmed string. 21 | */ 22 | - (NSString *)stringByTrim; 23 | 24 | /** 25 | * @brief 去除字符串与空行 26 | * 27 | * @return 去除字符串与空行的字符串 28 | */ 29 | - (NSString *)trimmingWhitespaceAndNewlines; 30 | 31 | /** 32 | * @brief 清除html标签 33 | * 34 | * @return 清除后的结果 35 | */ 36 | - (NSString *)stringByStrippingHTML; 37 | /** 38 | * @brief 清除js脚本 39 | * 40 | * @return 清楚js后的结果 41 | */ 42 | - (NSString *)stringByRemovingScriptsAndStrippingHTML; 43 | 44 | @end 45 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/UIKit/UIView/UIView+CornerRadii.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIView+CornerRadii.h 3 | // LPDCrowdsource 4 | // 5 | // Created by eMr.Wang on 16/1/29. 6 | // Copyright © 2016年 elm. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | NS_ASSUME_NONNULL_BEGIN 12 | 13 | @interface UIView (CornerRadii) 14 | 15 | /** 16 | 快速切圆角,带边框、边框颜色 17 | 18 | @param roundingCorners 圆角样式 19 | @param cornerRadii 圆角角度 20 | */ 21 | - (void)setCornerRadii:(CGFloat)cornerRadii 22 | roundingCorners:(UIRectCorner)roundingCorners; 23 | 24 | /** 25 | 快速切圆角,带边框、边框颜色 26 | 27 | @param roundingCorners 圆角样式 28 | @param cornerRadii 圆角角度 29 | @param borderWidth 边线宽度 30 | @param borderColor 边线颜色 31 | */ 32 | - (void)setCornerRadii:(CGFloat)cornerRadii 33 | roundingCorners:(UIRectCorner)roundingCorners 34 | borderWidth:(CGFloat)borderWidth 35 | borderColor:(UIColor *)borderColor; 36 | 37 | @end 38 | 39 | NS_ASSUME_NONNULL_END 40 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/Foundation/NSObject/NSObject+Addition.m: -------------------------------------------------------------------------------- 1 | // 2 | // NSObject+Addition.m 3 | // MYKitDemo 4 | // 5 | // Created by QMMac on 2018/7/31. 6 | // Copyright © 2018 com.51fanxing. All rights reserved. 7 | // 8 | 9 | #import "NSObject+Addition.h" 10 | #import 11 | 12 | @implementation NSObject (Addition) 13 | 14 | 15 | - (NSArray *)findAllOf:(Class)defaultClass { 16 | 17 | int count = objc_getClassList(NULL, 0); 18 | if (count <= 0) { 19 | @throw @"Couldn't retrieve Obj-C class-list"; 20 | return @[defaultClass]; 21 | } 22 | 23 | NSMutableArray *output = @[].mutableCopy; 24 | Class *classes = (Class *)malloc(sizeof(Class) * count); 25 | objc_getClassList(classes, count); 26 | for (int i = 0; i < count; ++i) { 27 | if (defaultClass == class_getSuperclass(classes[i])) { //子类 28 | [output addObject:classes[i]]; 29 | } 30 | } 31 | free(classes); 32 | return output.copy; 33 | } 34 | 35 | @end 36 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/UIKit/UIButton/UIButton+Submitting.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIButton+Submitting.h 3 | // MYUtils 4 | // 5 | // Created by sunjinshuai on 2017/8/28. 6 | // Copyright © 2017年 com.51fanxing. All rights reserved. 7 | // https://github.com/foxsofter/FXCategories 8 | 9 | #import 10 | 11 | NS_ASSUME_NONNULL_BEGIN 12 | 13 | /** 14 | * @author foxsofter, 15-09-24 10:09:49 15 | * 16 | * @brief 为UIButton添加提交状态,通过ActivityIndicator表示 17 | */ 18 | @interface UIButton (Submitting) 19 | 20 | /** 21 | * @brief 按钮点击后,禁用按钮并居中显示ActivityIndicator 22 | */ 23 | - (void)beginSubmitting; 24 | 25 | /** 26 | * @brief 按钮点击后,禁用按钮并在按钮上显示ActivityIndicator,以及title 27 | * 28 | * @param title 按钮上显示的文字 29 | */ 30 | - (void)beginSubmitting:(NSString * _Nullable)title; 31 | 32 | /** 33 | * @brief 按钮点击后,恢复按钮点击前的状态 34 | */ 35 | - (void)endSubmitting; 36 | 37 | /** 38 | * @brief 按钮是否正在提交中 39 | */ 40 | @property (nonatomic, readonly, getter=isSubmitting) BOOL submitting; 41 | 42 | @end 43 | 44 | NS_ASSUME_NONNULL_END 45 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/Foundation/NSString/NSString+Regular.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSString+Regular.h 3 | // FXKitExampleDemo 4 | // 5 | // Created by sunjinshuai on 2017/8/30. 6 | // Copyright © 2017年 com.51fanxing. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface NSString (Regular) 12 | 13 | /** 14 | * 手机号码的有效性:分电信、联通、移动和小灵通 15 | */ 16 | - (BOOL)isMobileNumberClassification; 17 | /** 18 | * 手机号有效性 19 | */ 20 | - (BOOL)isMobileNumber; 21 | 22 | /** 23 | * 邮箱的有效性 24 | */ 25 | - (BOOL)isEmailAddress; 26 | 27 | /** 28 | * 简单的身份证有效性 29 | * 30 | */ 31 | - (BOOL)simpleVerifyIdentityCardNum; 32 | 33 | /** 34 | * 车牌号的有效性 35 | */ 36 | - (BOOL)isCarNumber; 37 | 38 | /** 39 | * Mac地址有效性 40 | */ 41 | - (BOOL)isMacAddress; 42 | 43 | /** 44 | * 网址有效性 45 | */ 46 | - (BOOL)isValidUrl; 47 | 48 | /** 49 | * 纯汉字 50 | */ 51 | - (BOOL)isValidChinese; 52 | 53 | /** 54 | * 邮政编码 55 | */ 56 | - (BOOL)isValidPostalcode; 57 | 58 | /** 59 | * 工商税号 60 | */ 61 | - (BOOL)isValidTaxNo; 62 | 63 | @end 64 | -------------------------------------------------------------------------------- /MYBannerCycleViewDemo/MYTestViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // MYTestViewController.m 3 | // MYBannerCycleViewDemo 4 | // 5 | // Created by sunjinshuai on 2018/8/29. 6 | // Copyright © 2018年 QMMac. All rights reserved. 7 | // 8 | 9 | #import "MYTestViewController.h" 10 | 11 | @interface MYTestViewController () 12 | 13 | @end 14 | 15 | @implementation MYTestViewController 16 | 17 | - (void)viewDidLoad { 18 | [super viewDidLoad]; 19 | // Do any additional setup after loading the view. 20 | } 21 | 22 | - (void)didReceiveMemoryWarning { 23 | [super didReceiveMemoryWarning]; 24 | // Dispose of any resources that can be recreated. 25 | } 26 | 27 | /* 28 | #pragma mark - Navigation 29 | 30 | // In a storyboard-based application, you will often want to do a little preparation before navigation 31 | - (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender { 32 | // Get the new view controller using [segue destinationViewController]. 33 | // Pass the selected object to the new view controller. 34 | } 35 | */ 36 | 37 | @end 38 | -------------------------------------------------------------------------------- /MYBannerCycleViewDemo/MYBannerCycleViewCell.m: -------------------------------------------------------------------------------- 1 | // 2 | // MYBannerCycleViewCell.m 3 | // MYBannerCycleViewDemo 4 | // 5 | // Created by sunjinshuai on 2018/8/26. 6 | // Copyright © 2018年 QMMac. All rights reserved. 7 | // 8 | 9 | #import "MYBannerCycleViewCell.h" 10 | #import 11 | #import 12 | 13 | @interface MYBannerCycleViewCell () 14 | 15 | @property (nonatomic, strong) UIImageView *imageView; 16 | 17 | @end 18 | 19 | @implementation MYBannerCycleViewCell 20 | 21 | - (instancetype)initWithFrame:(CGRect)frame { 22 | self = [super initWithFrame:frame]; 23 | if (self) { 24 | 25 | [self initSubViews]; 26 | } 27 | return self; 28 | } 29 | 30 | - (void)initSubViews { 31 | self.imageView = [UIImageView new]; 32 | self.imageView.frame = self.contentView.bounds; 33 | [self.contentView addSubview:self.imageView]; 34 | [self.imageView sd_setImageWithURL:[NSURL URLWithString:@"https://img.zcool.cn/community/01430a572eaaf76ac7255f9ca95d2b.jpg"]]; 35 | } 36 | 37 | @end 38 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/Foundation/NSDictionary/NSDictionary+Collection.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSDictionary+Collection.h 3 | // Collection 4 | // 5 | // Created by Jordi Puigdellívol on 10/8/16. 6 | // Copyright © 2016 Revo. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface NSDictionary (Collection) 12 | 13 | + (NSDictionary * _Nullable)fromData:(NSData* _Nullable)data; 14 | + (NSDictionary * _Nullable)fromString:(NSString* _Nullable)string; 15 | - (NSString * _Nullable)toString; 16 | - (NSDictionary * _Nullable)except:(NSArray* _Nullable)exceptKeys; 17 | - (NSDictionary* _Nullable)only:(NSArray* _Nullable)keysToKeep; 18 | 19 | - (void)each:(void(^ _Nullable)(id _Nonnull key, id _Nonnull object))operation; 20 | - (NSDictionary* _Nullable)filter:(BOOL (^ _Nullable)(id _Nonnull key, id _Nonnull object))condition; 21 | - (NSDictionary* _Nullable)reject:(BOOL (^ _Nullable)(id _Nonnull key, id _Nonnull object))condition; 22 | - (NSDictionary* _Nullable)map:(id _Nonnull (^ _Nullable)(id _Nonnull key, id _Nonnull object))callback; 23 | @end 24 | -------------------------------------------------------------------------------- /Pods/SDWebImage/SDWebImage/SDAnimatedImageRep.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the SDWebImage package. 3 | * (c) Olivier Poitrey 4 | * 5 | * For the full copyright and license information, please view the LICENSE 6 | * file that was distributed with this source code. 7 | */ 8 | 9 | #import "SDWebImageCompat.h" 10 | 11 | #if SD_MAC 12 | 13 | // A subclass of `NSBitmapImageRep` to fix that GIF loop count issue because `NSBitmapImageRep` will reset `NSImageCurrentFrameDuration` by using `kCGImagePropertyGIFDelayTime` but not `kCGImagePropertyGIFUnclampedDelayTime`. 14 | // Built in GIF coder use this instead of `NSBitmapImageRep` for better GIF rendering. If you do not want this, only enable `SDImageIOCoder`, which just call `NSImage` API and actually use `NSBitmapImageRep` for GIF image. 15 | // This also support APNG format using `SDImageAPNGCoder`. Which provide full alpha-channel support and the correct duration match the `kCGImagePropertyAPNGUnclampedDelayTime`. 16 | 17 | @interface SDAnimatedImageRep : NSBitmapImageRep 18 | 19 | @end 20 | 21 | #endif 22 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/Foundation/NSNumber/NSNumber+Round.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSNumber+Round.h 3 | // MYUtils 4 | // 5 | // Created by sunjinshuai on 2017/8/28. 6 | // Copyright © 2017年 com.51fanxing. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface NSNumber (Round) 12 | 13 | /* 展示 */ 14 | - (NSString *)toDisplayNumberWithDigit:(NSInteger)digit; 15 | - (NSString *)toDisplayPercentageWithDigit:(NSInteger)digit; 16 | 17 | /* 四舍五入 */ 18 | /** 19 | * @brief 四舍五入 20 | * 21 | * @param digit 限制最大位数 22 | * 23 | * @return 结果 24 | */ 25 | - (NSNumber *)doRoundWithDigit:(NSUInteger)digit; 26 | /** 27 | * @brief 取上整 28 | * 29 | * @param digit 限制最大位数 30 | * 31 | * @return 结果 32 | */ 33 | - (NSNumber *)doCeilWithDigit:(NSUInteger)digit; 34 | /** 35 | * @brief 取下整 36 | * 37 | * @param digit 限制最大位数 38 | * 39 | * @return 结果 40 | */ 41 | - (NSNumber *)doFloorWithDigit:(NSUInteger)digit; 42 | 43 | /** 44 | * 将当前金额数值转成中文繁体金额 45 | * 1234567890.31 <=> 壹拾貳億叁仟肆佰伍拾陸萬柒仟捌佰玖拾圓叁角壹分 46 | */ 47 | - (NSString *)traditionalMoneyString; 48 | 49 | @end 50 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/Foundation/NSUserDefaults/NSUserDefaults+SafeAccess.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSUserDefaults+SafeAccess.h 3 | // MYUtils 4 | // 5 | // Created by sunjinshuai on 2017/8/28. 6 | // Copyright © 2017年 com.51fanxing. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | NS_ASSUME_NONNULL_BEGIN 12 | 13 | @interface NSUserDefaults (SafeAccess) 14 | 15 | + (NSString *)stringForKey:(NSString *)defaultName; 16 | 17 | + (NSArray *)arrayForKey:(NSString *)defaultName; 18 | 19 | + (NSDictionary *)dictionaryForKey:(NSString *)defaultName; 20 | 21 | + (NSData *)dataForKey:(NSString *)defaultName; 22 | 23 | + (NSArray *)stringArrayForKey:(NSString *)defaultName; 24 | 25 | + (NSInteger)integerForKey:(NSString *)defaultName; 26 | 27 | + (float)floatForKey:(NSString *)defaultName; 28 | 29 | + (double)doubleForKey:(NSString *)defaultName; 30 | 31 | + (BOOL)boolForKey:(NSString *)defaultName; 32 | 33 | + (NSURL *)URLForKey:(NSString *)defaultName; 34 | 35 | + (void)setObject:(id)value forKey:(NSString *)defaultName; 36 | 37 | @end 38 | 39 | NS_ASSUME_NONNULL_END 40 | -------------------------------------------------------------------------------- /Pods/MYKit/README.md: -------------------------------------------------------------------------------- 1 | # MYKit 2 | 效率工具类 & 系统文件归类整理; 3 | 4 | [![Build Status](https://travis-ci.org/sunjinshuai/MYKit.svg?branch=master)](https://travis-ci.org/sunjinshuai/MYKit/) 5 | [![Version](https://img.shields.io/cocoapods/v/MYKit.svg?style=flat)](http://cocoapods.org/pods/MYKit) 6 | [![License](https://img.shields.io/cocoapods/l/MYKit.svg?style=flat)](http://cocoapods.org/pods/MYKit) 7 | [![Platform](https://img.shields.io/cocoapods/p/MYKit.svg?style=flat)](http://cocoapods.org/pods/MYKit) 8 | 9 | MYKit整理了平常项目中经常使用的分类,是不错的效率工具类 & 系统文件归类整理,抽离出来先开源给大家。 10 | 11 | ## Usage 12 | 13 | To run the example project, clone the repo, and run `pod install` from the Example directory first. 14 | 15 | ## Requirements 16 | 17 | ## Installation 18 | 19 | MYKit is available through [CocoaPods](http://cocoapods.org). To install 20 | it, simply add the following line to your Podfile: 21 | 22 | ```ruby 23 | pod 'MYKit', '~> 1.1.1' 24 | ``` 25 | 26 | ## Author 27 | 28 | sunjinshuai, s_mike@163.com 29 | 30 | ## License 31 | 32 | MYKit is available under the MIT license. See the LICENSE file for more info. 33 | -------------------------------------------------------------------------------- /Pods/SDWebImage/SDWebImage/Private/SDImageAssetManager.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the SDWebImage package. 3 | * (c) Olivier Poitrey 4 | * 5 | * For the full copyright and license information, please view the LICENSE 6 | * file that was distributed with this source code. 7 | */ 8 | 9 | #import 10 | #import "SDWebImageCompat.h" 11 | 12 | // Apple parse the Asset Catalog compiled file(`Assets.car`) by CoreUI.framework, however it's a private framework and there are no other ways to directly get the data. So we just process the normal bundle files :) 13 | 14 | @interface SDImageAssetManager : NSObject 15 | 16 | @property (nonatomic, strong, nonnull) NSMapTable *imageTable; 17 | 18 | + (nonnull instancetype)sharedAssetManager; 19 | - (nullable NSString *)getPathForName:(nonnull NSString *)name bundle:(nonnull NSBundle *)bundle preferredScale:(nonnull CGFloat *)scale; 20 | - (nullable UIImage *)imageForName:(nonnull NSString *)name; 21 | - (void)storeImage:(nonnull UIImage *)image forName:(nonnull NSString *)name; 22 | 23 | @end 24 | -------------------------------------------------------------------------------- /MYBannerCycleView/UIView+Addition.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIView+Addition.h 3 | // MYBannerCycleViewDemo 4 | // 5 | // Created by QMMac on 2017/2/8. 6 | // Copyright © 2017 QMMac. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface UIView (Addition) 12 | 13 | @property (nonatomic) CGFloat left; ///< Shortcut for frame.origin.x. 14 | @property (nonatomic) CGFloat top; ///< Shortcut for frame.origin.y 15 | @property (nonatomic) CGFloat right; ///< Shortcut for frame.origin.x + frame.size.width 16 | @property (nonatomic) CGFloat bottom; ///< Shortcut for frame.origin.y + frame.size.height 17 | @property (nonatomic) CGFloat width; ///< Shortcut for frame.size.width. 18 | @property (nonatomic) CGFloat height; ///< Shortcut for frame.size.height. 19 | @property (nonatomic) CGFloat centerX; ///< Shortcut for center.x 20 | @property (nonatomic) CGFloat centerY; ///< Shortcut for center.y 21 | @property (nonatomic) CGPoint origin; ///< Shortcut for frame.origin. 22 | @property (nonatomic) CGSize size; ///< Shortcut for frame.size. 23 | 24 | @end 25 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/Foundation/NSMutableArray/NSMutableArray+SafeAccess.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSMutableArray+SafeAccess.h 3 | // MYKitDemo 4 | // 5 | // Created by sunjinshuai on 2018/3/1. 6 | // Copyright © 2018年 com.51fanxing. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface NSMutableArray (SafeAccess) 12 | 13 | /** 14 | 安全的添加一个对象 15 | 16 | @param object 对象 17 | */ 18 | - (void)addSafeObject:(id)object; 19 | 20 | /** 21 | 根据索引安全的插入一个对象 22 | 23 | @param object 对象 24 | @param index NSUInteger 25 | */ 26 | - (void)insertSafeObject:(id)object 27 | index:(NSUInteger)index; 28 | 29 | /** 30 | 根据索引安全的插入一个数组 31 | 32 | @param array NSArray 33 | @param indexSet NSIndexSet 34 | */ 35 | - (void)insertSafeArray:(NSArray *)array 36 | indexSet:(NSIndexSet *)indexSet; 37 | 38 | /** 39 | 根据索引安全的删除一个对象 40 | 41 | @param index NSUInteger 42 | */ 43 | - (void)safeRemoveObjectAtIndex:(NSUInteger)index; 44 | 45 | /** 46 | 根据范围安全的删除 47 | 48 | @param range NSRange 49 | */ 50 | - (void)safeRemoveObjectsInRange:(NSRange)range; 51 | 52 | @end 53 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2017 sunjinshuai 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/UIKit/UIWindow/UIWindow+Hierarchy.m: -------------------------------------------------------------------------------- 1 | // 2 | // UIWindow+Hierarchy.m 3 | // MYKitDemo 4 | // 5 | // Created by sunjinshuai on 2017/9/7. 6 | // Copyright © 2017年 com.51fanxing. All rights reserved. 7 | // 8 | 9 | #import "UIWindow+Hierarchy.h" 10 | 11 | @implementation UIWindow (Hierarchy) 12 | 13 | - (UIViewController *)topMostController { 14 | UIViewController *topController = [self rootViewController]; 15 | 16 | // Getting topMost ViewController 17 | while ([topController presentedViewController]) topController = [topController presentedViewController]; 18 | 19 | // Returning topMost ViewController 20 | return topController; 21 | } 22 | 23 | - (UIViewController *)currentViewController { 24 | UIViewController *currentViewController = [self topMostController]; 25 | 26 | while ([currentViewController isKindOfClass:[UINavigationController class]] && [(UINavigationController*)currentViewController topViewController]) 27 | currentViewController = [(UINavigationController*)currentViewController topViewController]; 28 | 29 | return currentViewController; 30 | } 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /Pods/SDWebImage/SDWebImage/SDImageGIFCoder.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the SDWebImage package. 3 | * (c) Olivier Poitrey 4 | * 5 | * For the full copyright and license information, please view the LICENSE 6 | * file that was distributed with this source code. 7 | */ 8 | 9 | #import 10 | #import "SDImageCoder.h" 11 | 12 | /** 13 | Built in coder using ImageIO that supports animated GIF encoding/decoding 14 | @note `SDImageIOCoder` supports GIF but only as static (will use the 1st frame). 15 | @note Use `SDImageGIFCoder` for fully animated GIFs. For `UIImageView`, it will produce animated `UIImage`(`NSImage` on macOS) for rendering. For `SDAnimatedImageView`, it will use `SDAnimatedImage` for rendering. 16 | @note The recommended approach for animated GIFs is using `SDAnimatedImage` with `SDAnimatedImageView`. It's more performant than `UIImageView` for GIF displaying(especially on memory usage) 17 | */ 18 | @interface SDImageGIFCoder : NSObject 19 | 20 | @property (nonatomic, class, readonly, nonnull) SDImageGIFCoder *sharedCoder; 21 | 22 | @end 23 | -------------------------------------------------------------------------------- /Pods/SDWebImage/SDWebImage/SDWebImageCacheKeyFilter.m: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the SDWebImage package. 3 | * (c) Olivier Poitrey 4 | * 5 | * For the full copyright and license information, please view the LICENSE 6 | * file that was distributed with this source code. 7 | */ 8 | 9 | #import "SDWebImageCacheKeyFilter.h" 10 | 11 | @interface SDWebImageCacheKeyFilter () 12 | 13 | @property (nonatomic, copy, nonnull) SDWebImageCacheKeyFilterBlock block; 14 | 15 | @end 16 | 17 | @implementation SDWebImageCacheKeyFilter 18 | 19 | - (instancetype)initWithBlock:(SDWebImageCacheKeyFilterBlock)block { 20 | self = [super init]; 21 | if (self) { 22 | self.block = block; 23 | } 24 | return self; 25 | } 26 | 27 | + (instancetype)cacheKeyFilterWithBlock:(SDWebImageCacheKeyFilterBlock)block { 28 | SDWebImageCacheKeyFilter *cacheKeyFilter = [[SDWebImageCacheKeyFilter alloc] initWithBlock:block]; 29 | return cacheKeyFilter; 30 | } 31 | 32 | - (NSString *)cacheKeyForURL:(NSURL *)url { 33 | if (!self.block) { 34 | return nil; 35 | } 36 | return self.block(url); 37 | } 38 | 39 | @end 40 | -------------------------------------------------------------------------------- /Pods/MYKit/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2017 sunjinshuai 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /Pods/SDWebImage/SDWebImage/SDImageGraphics.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the SDWebImage package. 3 | * (c) Olivier Poitrey 4 | * 5 | * For the full copyright and license information, please view the LICENSE 6 | * file that was distributed with this source code. 7 | */ 8 | 9 | #import "SDWebImageCompat.h" 10 | #import 11 | 12 | /** 13 | These following graphics context method are provided to easily write cross-platform(AppKit/UIKit) code. 14 | For UIKit, these methods just call the same method in `UIGraphics.h`. See the documentation for usage. 15 | For AppKit, these methods use `NSGraphicsContext` to create image context and match the behavior like UIKit. 16 | */ 17 | FOUNDATION_EXPORT CGContextRef __nullable SDGraphicsGetCurrentContext(void) CF_RETURNS_NOT_RETAINED; 18 | FOUNDATION_EXPORT void SDGraphicsBeginImageContext(CGSize size); 19 | FOUNDATION_EXPORT void SDGraphicsBeginImageContextWithOptions(CGSize size, BOOL opaque, CGFloat scale); 20 | FOUNDATION_EXPORT void SDGraphicsEndImageContext(void); 21 | FOUNDATION_EXPORT UIImage * __nullable SDGraphicsGetImageFromCurrentImageContext(void); 22 | -------------------------------------------------------------------------------- /MYBannerCycleViewDemoTests/MYBannerCycleViewDemoTests.m: -------------------------------------------------------------------------------- 1 | // 2 | // MYBannerCycleViewDemoTests.m 3 | // MYBannerCycleViewDemoTests 4 | // 5 | // Created by QMMac on 2017/2/8. 6 | // Copyright © 2017 QMMac. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface MYBannerCycleViewDemoTests : XCTestCase 12 | 13 | @end 14 | 15 | @implementation MYBannerCycleViewDemoTests 16 | 17 | - (void)setUp { 18 | [super setUp]; 19 | // Put setup code here. This method is called before the invocation of each test method in the class. 20 | } 21 | 22 | - (void)tearDown { 23 | // Put teardown code here. This method is called after the invocation of each test method in the class. 24 | [super tearDown]; 25 | } 26 | 27 | - (void)testExample { 28 | // This is an example of a functional test case. 29 | // Use XCTAssert and related functions to verify your tests produce the correct results. 30 | } 31 | 32 | - (void)testPerformanceExample { 33 | // This is an example of a performance test case. 34 | [self measureBlock:^{ 35 | // Put the code you want to measure the time of here. 36 | }]; 37 | } 38 | 39 | @end 40 | -------------------------------------------------------------------------------- /Pods/SDWebImage/SDWebImage/SDWebImageCacheKeyFilter.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the SDWebImage package. 3 | * (c) Olivier Poitrey 4 | * 5 | * For the full copyright and license information, please view the LICENSE 6 | * file that was distributed with this source code. 7 | */ 8 | 9 | #import 10 | #import "SDWebImageCompat.h" 11 | 12 | typedef NSString * _Nullable(^SDWebImageCacheKeyFilterBlock)(NSURL * _Nonnull url); 13 | 14 | // This is the protocol for cache key filter. We can use a block to specify the cache key filter. But Using protocol can make this extensible, and allow Swift user to use it easily instead of using `@convention(block)` to store a block into context options. 15 | @protocol SDWebImageCacheKeyFilter 16 | 17 | - (nullable NSString *)cacheKeyForURL:(nonnull NSURL *)url; 18 | 19 | @end 20 | 21 | @interface SDWebImageCacheKeyFilter : NSObject 22 | 23 | - (nonnull instancetype)initWithBlock:(nonnull SDWebImageCacheKeyFilterBlock)block; 24 | + (nonnull instancetype)cacheKeyFilterWithBlock:(nonnull SDWebImageCacheKeyFilterBlock)block; 25 | 26 | @end 27 | -------------------------------------------------------------------------------- /Pods/SDWebImage/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2009-2018 Olivier Poitrey rs@dailymotion.com 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is furnished 8 | to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in all 11 | copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | 21 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/Foundation/NSURL/NSURL+Param.m: -------------------------------------------------------------------------------- 1 | // 2 | // NSURL+Param.m 3 | // MYKitDemo 4 | // 5 | // Created by sunjinshuai on 2017/9/8. 6 | // Copyright © 2017年 com.51fanxing. All rights reserved. 7 | // 8 | 9 | #import "NSURL+Param.h" 10 | 11 | @implementation NSURL (Param) 12 | 13 | /** 14 | * @brief url参数转字典 15 | * 16 | * @return 参数转字典结果 17 | */ 18 | - (NSDictionary *)parameters { 19 | NSMutableDictionary *parametersDictionary = [NSMutableDictionary dictionary]; 20 | NSArray *queryComponents = [self.query componentsSeparatedByString:@"&"]; 21 | for (NSString *queryComponent in queryComponents) { 22 | NSString *key = [queryComponent componentsSeparatedByString:@"="].firstObject; 23 | NSString *value = [queryComponent substringFromIndex:(key.length + 1)]; 24 | [parametersDictionary setObject:value forKey:key]; 25 | } 26 | return parametersDictionary; 27 | } 28 | 29 | /** 30 | * @brief 根据参数名 取参数值 31 | * 32 | * @param parameterKey 参数名的key 33 | * 34 | * @return 参数值 35 | */ 36 | - (NSString *)valueForParameter:(NSString *)parameterKey { 37 | return [[self parameters] objectForKey:parameterKey]; 38 | } 39 | 40 | @end 41 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/SafeKit/MYSafeKit.h: -------------------------------------------------------------------------------- 1 | // 2 | // MYSafeKit.h 3 | // MYKitDemo 4 | // 5 | // Created by QMMac on 2018/6/26. 6 | // Copyright © 2018 com.51fanxing. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | typedef NS_OPTIONS(NSUInteger, MYSafeKitShieldType) { 12 | MYSafeKitShieldTypeUnrecognizedSelector = 1 << 1, 13 | MYSafeKitShieldTypeContainer = 1 << 2, 14 | MYSafeKitShieldTypeKVO = 1 << 3, 15 | MYSafeKitShieldTypeNotification = 1 << 4, 16 | MYSafeKitShieldTypeTimer = 1 << 5, 17 | MYSafeKitShieldTypeAll, 18 | }; 19 | 20 | @protocol MYSafeKitRecordProtocol 21 | 22 | - (void)recordWithReason:(NSError *)reason; 23 | 24 | @end 25 | 26 | @interface MYSafeKit : NSObject 27 | 28 | /** 29 | 注册汇报中心 30 | 31 | @param record 汇报中心 32 | */ 33 | + (void)registerRecordHandler:(id)record; 34 | 35 | /** 36 | 注册 SDK,默认只要开启就打开防 Crash 37 | */ 38 | + (void)registerSafeKitShield; 39 | 40 | /** 41 | 注册 SDK,根据不同 ability 开启防 Crash 42 | 本注册方式不包含 MYSafeKitShieldTypeAll 类型 43 | @param ability ability 44 | */ 45 | + (void)registerSafeKitShieldWithAbility:(MYSafeKitShieldType)ability; 46 | 47 | @end 48 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/UIKit/UIApplication/UIApplication+Authority.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIApplication+Authority.h 3 | // MYKitDemo 4 | // 5 | // Created by sunjinshuai on 2018/3/14. 6 | // Copyright © 2018年 com.51fanxing. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | typedef void (^CLPermissionBlock)(BOOL granted); 12 | 13 | @interface UIApplication (Authority) 14 | 15 | #pragma mark - 权限查询 16 | /** 17 | 获取UIApplication的定位是否授权 18 | 19 | @return BOOL 20 | */ 21 | + (BOOL)getApplicationLocationPermit; 22 | 23 | /** 24 | 获取UIApplication的通信录是否授权 25 | 26 | @return BOOL 27 | */ 28 | + (BOOL)getApplicationAddressBookPermit; 29 | 30 | /** 31 | 获取UIApplication的相机是否授权 32 | 33 | @return BOOL 34 | */ 35 | + (BOOL)getApplicationCameraPermit; 36 | 37 | /** 38 | 获取UIApplication的推送功能是否授权 39 | 40 | @return BOOL 41 | */ 42 | + (BOOL)getApplicationRemindersPermit; 43 | 44 | /** 45 | 获取UIApplication的相册是否授权 46 | 47 | @return BOOL 48 | */ 49 | + (BOOL)getApplicationPhotosLibraryPermit; 50 | 51 | /** 52 | 获取UIApplication的麦克风是否开启 53 | 54 | @param block CLPermissionBlock 55 | */ 56 | + (void)getApplicationMicrophonePermitWithBlock:(CLPermissionBlock)block; 57 | 58 | 59 | @end 60 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/Foundation/NSMutableArray/NSMutableArray+Queue.m: -------------------------------------------------------------------------------- 1 | // 2 | // NSMutableArray+Queue.m 3 | // MYKitDemo 4 | // 5 | // Created by sunjinshuai on 2017/12/29. 6 | // Copyright © 2017年 com.51fanxing. All rights reserved. 7 | // 8 | 9 | #import "NSMutableArray+Queue.h" 10 | #import "NSObject+AssociatedObject.h" 11 | 12 | @implementation NSMutableArray (Queue) 13 | 14 | BOOL queueSizeFlag = NO; 15 | 16 | - (void)enqueueObject:(id)anObject { 17 | [self addObject:anObject]; 18 | if (queueSizeFlag && self.count > self.queueSize) { 19 | [self removeObjectAtIndex:0]; 20 | } 21 | } 22 | 23 | - (id)dequeueObject { 24 | id anObject = [self firstObject]; 25 | if (self.count > 0) { 26 | [self removeObjectAtIndex:0]; 27 | } 28 | return anObject; 29 | } 30 | 31 | #pragma mark - propertes 32 | 33 | - (NSInteger)queueSize { 34 | return [[self object:@selector(setQueueSize:)] integerValue]; 35 | } 36 | 37 | - (void)setQueueSize:(NSInteger)queueSize { 38 | [self setRetainNonatomicObject:@(queueSize) withKey:@selector(setQueueSize:)]; 39 | if (queueSize > 0) { 40 | queueSizeFlag = YES; 41 | } else { 42 | queueSizeFlag = NO; 43 | } 44 | } 45 | 46 | @end 47 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/UIKit/UIScrollView/UIScrollView+Addition.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIScrollView+Addition.h 3 | // MYKitDemo 4 | // 5 | // Created by sunjinshuai on 2017/12/29. 6 | // Copyright © 2017年 com.51fanxing. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface UIScrollView (Addition) 12 | 13 | /** 14 | * @brief get contentOffset.x 15 | */ 16 | @property (nonatomic) CGFloat contentOffsetX; 17 | 18 | /** 19 | * @brief get contentOffset.y 20 | */ 21 | @property (nonatomic) CGFloat contentOffsetY; 22 | 23 | /** 24 | * @brief get contentSize.width 25 | */ 26 | @property (nonatomic) CGFloat contentSizeWidth; 27 | 28 | /** 29 | * @brief get contentSize.height 30 | */ 31 | @property (nonatomic) CGFloat contentSizeHeight; 32 | 33 | /** 34 | * @brief get contentInset.top 35 | */ 36 | @property (nonatomic) CGFloat contentInsetTop; 37 | 38 | /** 39 | * @brief get contentInset.left 40 | */ 41 | @property (nonatomic) CGFloat contentInsetLeft; 42 | 43 | /** 44 | * @brief get contentInset.bottom 45 | */ 46 | @property (nonatomic) CGFloat contentInsetBottom; 47 | 48 | /** 49 | * @brief get contentInset.right 50 | */ 51 | @property (nonatomic) CGFloat contentInsetRight; 52 | 53 | @end 54 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/UIKit/UIView/UIView+Line.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIView+Line.h 3 | // MYKitDemo 4 | // 5 | // Created by sunjinshuai on 2017/11/18. 6 | // Copyright © 2017年 com.51fanxing. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface UIView (Line) 12 | 13 | /** 14 | * 划各种线 和分割线 15 | */ 16 | - (CAShapeLayer *)addBezierLine:(UIBezierPath *)bezierLine color:(UIColor *)lineColor; 17 | 18 | - (CAShapeLayer *)addDottedLine:(CGPoint)startLine endPoint:(CGPoint)endPoint color:(UIColor *)lineColor; 19 | 20 | - (CAShapeLayer *)addLine:(CGPoint)startLine endPoint:(CGPoint)endPoint color:(UIColor *)lineColor; 21 | 22 | - (CAShapeLayer *)addLine:(CGPoint)startLine endPoint:(CGPoint)endPoint lineWidth:(CGFloat)lineWidth color:(UIColor *)lineColor; 23 | 24 | - (CAShapeLayer *)addCornerRadius:(CGFloat)cornerRadius; 25 | 26 | - (CAShapeLayer *)addCornerRadius:(CGFloat)cornerRadius color:(UIColor *)borderColor; 27 | 28 | - (CAShapeLayer *)addCornerRadius:(CGFloat)cornerRadius lineWidth:(CGFloat)lineWidth color:(UIColor *)borderColor; 29 | 30 | - (CAShapeLayer *)addCornerRadius:(CGFloat)cornerRadius lineWidth:(CGFloat)lineWidth color:(UIColor *)borderColor backgroundColor:(UIColor *)backgroundColor; 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/UIKit/UIButton/UIButton+Badge.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIButton+Badge.h 3 | // MYUtils 4 | // 5 | // Created by sunjinshuai on 2017/8/28. 6 | // Copyright © 2017年 com.51fanxing. All rights reserved. 7 | // https://github.com/mikeMTOL/UIBarButtonItem-Badge 8 | 9 | #import 10 | 11 | @interface UIButton (Badge) 12 | 13 | @property (strong, nonatomic) UILabel *badge; 14 | 15 | // Badge value to be display 16 | @property (nonatomic) NSString *badgeValue; 17 | // Badge background color 18 | @property (nonatomic) UIColor *badgeBGColor; 19 | // Badge text color 20 | @property (nonatomic) UIColor *badgeTextColor; 21 | // Badge font 22 | @property (nonatomic) UIFont *badgeFont; 23 | // Padding value for the badge 24 | @property (nonatomic) CGFloat badgePadding; 25 | // Minimum size badge to small 26 | @property (nonatomic) CGFloat badgeMinSize; 27 | // Values for offseting the badge over the BarButtonItem you picked 28 | @property (nonatomic) CGFloat badgeOriginX; 29 | @property (nonatomic) CGFloat badgeOriginY; 30 | // In case of numbers, remove the badge when reaching zero 31 | @property BOOL shouldHideBadgeAtZero; 32 | // Badge has a bounce animation when value changes 33 | @property BOOL shouldAnimateBadge; 34 | 35 | @end 36 | -------------------------------------------------------------------------------- /Pods/SDWebImage/SDWebImage/SDWebImageCacheSerializer.m: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the SDWebImage package. 3 | * (c) Olivier Poitrey 4 | * 5 | * For the full copyright and license information, please view the LICENSE 6 | * file that was distributed with this source code. 7 | */ 8 | 9 | #import "SDWebImageCacheSerializer.h" 10 | 11 | @interface SDWebImageCacheSerializer () 12 | 13 | @property (nonatomic, copy, nonnull) SDWebImageCacheSerializerBlock block; 14 | 15 | @end 16 | 17 | @implementation SDWebImageCacheSerializer 18 | 19 | - (instancetype)initWithBlock:(SDWebImageCacheSerializerBlock)block { 20 | self = [super init]; 21 | if (self) { 22 | self.block = block; 23 | } 24 | return self; 25 | } 26 | 27 | + (instancetype)cacheSerializerWithBlock:(SDWebImageCacheSerializerBlock)block { 28 | SDWebImageCacheSerializer *cacheSerializer = [[SDWebImageCacheSerializer alloc] initWithBlock:block]; 29 | return cacheSerializer; 30 | } 31 | 32 | - (NSData *)cacheDataWithImage:(UIImage *)image originalData:(NSData *)data imageURL:(nullable NSURL *)imageURL { 33 | if (!self.block) { 34 | return nil; 35 | } 36 | return self.block(image, data, imageURL); 37 | } 38 | 39 | @end 40 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/UIKit/UINavigationItem/UINavigationItem+Loading.h: -------------------------------------------------------------------------------- 1 | // 2 | // UINavigationItem+Loading.h 3 | // MYKitDemo 4 | // 5 | // Created by sunjinshuai on 2017/9/6. 6 | // Copyright © 2017年 com.51fanxing. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | /** 12 | * Position to show UIActivityIndicatorView in a navigation bar 13 | */ 14 | typedef NS_ENUM(NSUInteger, ANNavBarLoaderPosition){ 15 | /** 16 | * Will show UIActivityIndicatorView in place of title view 17 | */ 18 | ANNavBarLoaderPositionCenter = 0, 19 | /** 20 | * Will show UIActivityIndicatorView in place of left item 21 | */ 22 | ANNavBarLoaderPositionLeft, 23 | /** 24 | * Will show UIActivityIndicatorView in place of right item 25 | */ 26 | ANNavBarLoaderPositionRight 27 | }; 28 | 29 | @interface UINavigationItem (Loading) 30 | 31 | /** 32 | * Add UIActivityIndicatorView to view hierarchy and start animating immediately 33 | * 34 | * @param position Left, center or right 35 | */ 36 | - (void)startAnimatingAt:(ANNavBarLoaderPosition)position; 37 | 38 | /** 39 | * Stop animating, remove UIActivityIndicatorView from view hierarchy and restore item 40 | */ 41 | - (void)stopAnimating; 42 | 43 | @end 44 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/UIKit/UIApplication/UIApplication+NetworkActivityIndicator.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIApplication+NetworkActivityIndicator.h 3 | // MYKitDemo 4 | // 5 | // Created by sunjinshuai on 2017/9/7. 6 | // Copyright © 2017年 com.51fanxing. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface UIApplication (NetworkActivityIndicator) 12 | 13 | /* 14 | This category will automatically keep track of concurrent network activity and display the network activity indicator accordingly. 15 | */ 16 | 17 | /// Tell the application that network activity has begun. The network activity indicator will then be shown. 18 | /// Display the network activity indicator to provide feedback when your application accesses the network for more than a couple of seconds. If the operation finishes sooner than that, you don’t have to show the network activity indicator, because the indicator would be likely to disappear before users notice its presence. 19 | - (void)beganNetworkActivity; 20 | 21 | /// Tell the application that a session of network activity has begun. The network activity indicator will remain showing or hide automatically depending the presence of other ongoing network activity in the app. 22 | - (void)endedNetworkActivity; 23 | 24 | @end 25 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/UIKit/UIBarButtonItem/UIBarButtonItem+Badge.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIBarButtonItem+Badge.h 3 | // MYUtils 4 | // 5 | // Created by sunjinshuai on 2017/8/28. 6 | // Copyright © 2017年 com.51fanxing. All rights reserved. 7 | // https://github.com/mikeMTOL/UIBarButtonItem-Badge 8 | 9 | #import 10 | 11 | @interface UIBarButtonItem (Badge) 12 | 13 | @property (strong, atomic) UILabel *badge; 14 | 15 | // Badge value to be display 16 | @property (nonatomic) NSString *badgeValue; 17 | // Badge background color 18 | @property (nonatomic) UIColor *badgeBGColor; 19 | // Badge text color 20 | @property (nonatomic) UIColor *badgeTextColor; 21 | // Badge font 22 | @property (nonatomic) UIFont *badgeFont; 23 | // Padding value for the badge 24 | @property (nonatomic) CGFloat badgePadding; 25 | // Minimum size badge to small 26 | @property (nonatomic) CGFloat badgeMinSize; 27 | // Values for offseting the badge over the BarButtonItem you picked 28 | @property (nonatomic) CGFloat badgeOriginX; 29 | @property (nonatomic) CGFloat badgeOriginY; 30 | // In case of numbers, remove the badge when reaching zero 31 | @property BOOL shouldHideBadgeAtZero; 32 | // Badge has a bounce animation when value changes 33 | @property BOOL shouldAnimateBadge; 34 | 35 | @end 36 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/Foundation/MYFoundationKit.h: -------------------------------------------------------------------------------- 1 | // 2 | // MYFoundationKit.h 3 | // MYKitDemo 4 | // 5 | // Created by QMMac on 2018/4/26. 6 | // Copyright © 2018年 com.51fanxing. All rights reserved. 7 | // 8 | 9 | #ifndef MYFoundationKit_h 10 | #define MYFoundationKit_h 11 | 12 | #import "NSData+YYAdd.h" 13 | #import "NSArray+Collection.h" 14 | #import "NSArray+SafeAccess.h" 15 | #import "NSArray+Addition.h" 16 | #import "NSMutableArray+Sort.h" 17 | #import "NSMutableArray+Stack.h" 18 | #import "NSMutableArray+Queue.h" 19 | #import "NSMutableArray+SafeAccess.h" 20 | #import "NSDictionary+Addition.h" 21 | #import "NSDictionary+SafeAccess.h" 22 | #import "NSDictionary+Collection.h" 23 | #import "NSBundle+AppIcon.h" 24 | #import "NSDate+NSDateRFC1123.h" 25 | #import "NSDate+Addition.h" 26 | #import "NSDateFormatter+Extension.h" 27 | #import "NSUserDefaults+SafeAccess.h" 28 | #import "NSURL+Param.h" 29 | #import "NSObject+Addition.h" 30 | #import "NSObject+Swizzle.h" 31 | #import "NSObject+AssociatedObject.h" 32 | #import "NSNumber+Round.h" 33 | #import "NSNumber+Addition.h" 34 | #import "NSString+Addition.h" 35 | #import "NSString+Regular.h" 36 | #import "NSString+Trims.h" 37 | #import "NSString+Size.h" 38 | #import "NSString+Collection.h" 39 | 40 | #endif /* MYFoundationKit_h */ 41 | -------------------------------------------------------------------------------- /Pods/SDWebImage/SDWebImage/SDWebImageDownloaderRequestModifier.m: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the SDWebImage package. 3 | * (c) Olivier Poitrey 4 | * 5 | * For the full copyright and license information, please view the LICENSE 6 | * file that was distributed with this source code. 7 | */ 8 | 9 | #import "SDWebImageDownloaderRequestModifier.h" 10 | 11 | @interface SDWebImageDownloaderRequestModifier () 12 | 13 | @property (nonatomic, copy, nonnull) SDWebImageDownloaderRequestModifierBlock block; 14 | 15 | @end 16 | 17 | @implementation SDWebImageDownloaderRequestModifier 18 | 19 | - (instancetype)initWithBlock:(SDWebImageDownloaderRequestModifierBlock)block { 20 | self = [super init]; 21 | if (self) { 22 | self.block = block; 23 | } 24 | return self; 25 | } 26 | 27 | + (instancetype)requestModifierWithBlock:(SDWebImageDownloaderRequestModifierBlock)block { 28 | SDWebImageDownloaderRequestModifier *requestModifier = [[SDWebImageDownloaderRequestModifier alloc] initWithBlock:block]; 29 | return requestModifier; 30 | } 31 | 32 | - (NSURLRequest *)modifiedRequestWithRequest:(NSURLRequest *)request { 33 | if (!self.block) { 34 | return nil; 35 | } 36 | return self.block(request); 37 | } 38 | 39 | @end 40 | -------------------------------------------------------------------------------- /Pods/SDWebImage/SDWebImage/SDImageLoadersManager.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the SDWebImage package. 3 | * (c) Olivier Poitrey 4 | * 5 | * For the full copyright and license information, please view the LICENSE 6 | * file that was distributed with this source code. 7 | */ 8 | 9 | #import "SDImageLoader.h" 10 | 11 | @interface SDImageLoadersManager : NSObject 12 | 13 | /** 14 | Returns the global shared loaders manager instance. By default we will set [`SDWebImageDownloader.sharedDownloader`] into the loaders array. 15 | */ 16 | @property (nonatomic, class, readonly, nonnull) SDImageLoadersManager *sharedManager; 17 | 18 | /** 19 | All image loaders in manager. The loaders array is a priority queue, which means the later added loader will have the highest priority 20 | */ 21 | @property (nonatomic, copy, nullable) NSArray>* loaders; 22 | 23 | /** 24 | Add a new image loader to the end of loaders array. Which has the highest priority. 25 | 26 | @param loader loader 27 | */ 28 | - (void)addLoader:(nonnull id)loader; 29 | 30 | /** 31 | Remove a image loader in the loaders array. 32 | 33 | @param loader loader 34 | */ 35 | - (void)removeLoader:(nonnull id)loader; 36 | 37 | @end 38 | -------------------------------------------------------------------------------- /Pods/SDWebImage/SDWebImage/Private/UIColor+HexString.m: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the SDWebImage package. 3 | * (c) Olivier Poitrey 4 | * 5 | * For the full copyright and license information, please view the LICENSE 6 | * file that was distributed with this source code. 7 | */ 8 | 9 | #import "UIColor+HexString.h" 10 | 11 | @implementation UIColor (HexString) 12 | 13 | - (NSString *)sd_hexString { 14 | CGFloat red, green, blue, alpha; 15 | #if SD_UIKIT 16 | if (![self getRed:&red green:&green blue:&blue alpha:&alpha]) { 17 | [self getWhite:&red alpha:&alpha]; 18 | green = red; 19 | blue = red; 20 | } 21 | #else 22 | @try { 23 | [self getRed:&red green:&green blue:&blue alpha:&alpha]; 24 | } 25 | @catch (NSException *exception) { 26 | [self getWhite:&red alpha:&alpha]; 27 | green = red; 28 | blue = red; 29 | } 30 | #endif 31 | 32 | red = roundf(red * 255.f); 33 | green = roundf(green * 255.f); 34 | blue = roundf(blue * 255.f); 35 | alpha = roundf(alpha * 255.f); 36 | 37 | uint hex = ((uint)alpha << 24) | ((uint)red << 16) | ((uint)green << 8) | ((uint)blue); 38 | 39 | return [NSString stringWithFormat:@"#%08x", hex]; 40 | } 41 | 42 | @end 43 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/Foundation/NSObject/NSObject+AssociatedObject.m: -------------------------------------------------------------------------------- 1 | // 2 | // NSObject+AssociatedObject.m 3 | // MYUtils 4 | // 5 | // Created by sunjinshuai on 2017/8/28. 6 | // Copyright © 2017年 com.51fanxing. All rights reserved. 7 | // 8 | 9 | #import "NSObject+AssociatedObject.h" 10 | #import 11 | 12 | @implementation NSObject (AssociatedObject) 13 | 14 | - (id)object:(SEL)key { 15 | return objc_getAssociatedObject(self, key); 16 | } 17 | 18 | - (void)setAssignObject:(id)object withKey:(SEL)key { 19 | objc_setAssociatedObject(self, key, object, OBJC_ASSOCIATION_ASSIGN); 20 | } 21 | 22 | - (void)setRetainNonatomicObject:(id)object withKey:(SEL)key { 23 | objc_setAssociatedObject(self, key, object, 24 | OBJC_ASSOCIATION_RETAIN_NONATOMIC); 25 | } 26 | 27 | - (void)setCopyNonatomicObject:(id)object withKey:(SEL)key { 28 | objc_setAssociatedObject(self, key, object, OBJC_ASSOCIATION_COPY_NONATOMIC); 29 | } 30 | 31 | - (void)setRetainObject:(id)object withKey:(SEL)key { 32 | objc_setAssociatedObject(self, key, object, OBJC_ASSOCIATION_COPY_NONATOMIC); 33 | } 34 | 35 | - (void)setCopyObject:(id)object withKey:(SEL)key { 36 | objc_setAssociatedObject(self, key, object, OBJC_ASSOCIATION_COPY_NONATOMIC); 37 | } 38 | 39 | @end 40 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/UIKit/UIViewController/UIViewController+TopViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // UIViewController+TopViewController.m 3 | // MYKitDemo 4 | // 5 | // Created by sunjinshuai on 2018/3/14. 6 | // Copyright © 2018年 com.51fanxing. All rights reserved. 7 | // 8 | 9 | #import "UIViewController+TopViewController.h" 10 | 11 | @implementation UIViewController (TopViewController) 12 | 13 | + (UIViewController *)topViewController { 14 | UIViewController *resultVC; 15 | #if TARGET_OS_IOS 16 | resultVC = [self _topViewController:[[UIApplication sharedApplication].keyWindow rootViewController]]; 17 | while (resultVC.presentedViewController) { 18 | resultVC = [self _topViewController:resultVC.presentedViewController]; 19 | } 20 | #else 21 | 22 | #endif 23 | return resultVC; 24 | } 25 | 26 | + (UIViewController *)_topViewController:(UIViewController *)vc { 27 | if ([vc isKindOfClass:[UINavigationController class]]) { 28 | return [self _topViewController:[(UINavigationController *)vc topViewController]]; 29 | } else if ([vc isKindOfClass:[UITabBarController class]]) { 30 | return [self _topViewController:[(UITabBarController *)vc selectedViewController]]; 31 | } else { 32 | return vc; 33 | } 34 | return nil; 35 | } 36 | 37 | @end 38 | -------------------------------------------------------------------------------- /Pods/SDWebImage/SDWebImage/SDWebImageCacheSerializer.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the SDWebImage package. 3 | * (c) Olivier Poitrey 4 | * 5 | * For the full copyright and license information, please view the LICENSE 6 | * file that was distributed with this source code. 7 | */ 8 | 9 | #import 10 | #import "SDWebImageCompat.h" 11 | 12 | typedef NSData * _Nullable(^SDWebImageCacheSerializerBlock)(UIImage * _Nonnull image, NSData * _Nullable data, NSURL * _Nullable imageURL); 13 | 14 | // This is the protocol for cache serializer. We can use a block to specify the cache serializer. But Using protocol can make this extensible, and allow Swift user to use it easily instead of using `@convention(block)` to store a block into context options. 15 | @protocol SDWebImageCacheSerializer 16 | 17 | - (nullable NSData *)cacheDataWithImage:(nonnull UIImage *)image originalData:(nullable NSData *)data imageURL:(nullable NSURL *)imageURL; 18 | 19 | @end 20 | 21 | @interface SDWebImageCacheSerializer : NSObject 22 | 23 | - (nonnull instancetype)initWithBlock:(nonnull SDWebImageCacheSerializerBlock)block; 24 | + (nonnull instancetype)cacheSerializerWithBlock:(nonnull SDWebImageCacheSerializerBlock)block; 25 | 26 | @end 27 | -------------------------------------------------------------------------------- /Pods/SDWebImage/SDWebImage/SDWebImageDownloaderRequestModifier.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the SDWebImage package. 3 | * (c) Olivier Poitrey 4 | * 5 | * For the full copyright and license information, please view the LICENSE 6 | * file that was distributed with this source code. 7 | */ 8 | 9 | #import 10 | #import "SDWebImageCompat.h" 11 | 12 | typedef NSURLRequest * _Nullable (^SDWebImageDownloaderRequestModifierBlock)(NSURLRequest * _Nonnull request); 13 | 14 | // This is the protocol for downloader request modifier. We can use a block to specify the downloader request modifier. But Using protocol can make this extensible, and allow Swift user to use it easily instead of using `@convention(block)` to store a block into context options. 15 | @protocol SDWebImageDownloaderRequestModifier 16 | 17 | - (nullable NSURLRequest *)modifiedRequestWithRequest:(nonnull NSURLRequest *)request; 18 | 19 | @end 20 | 21 | @interface SDWebImageDownloaderRequestModifier : NSObject 22 | 23 | - (nonnull instancetype)initWithBlock:(nonnull SDWebImageDownloaderRequestModifierBlock)block; 24 | + (nonnull instancetype)requestModifierWithBlock:(nonnull SDWebImageDownloaderRequestModifierBlock)block; 25 | 26 | @end 27 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/UIKit/UIButton/UIButton+TouchAreaInsets.m: -------------------------------------------------------------------------------- 1 | // 2 | // UIButton+TouchAreaInsets.m 3 | // MYUtils 4 | // 5 | // Created by sunjinshuai on 2017/8/28. 6 | // Copyright © 2017年 com.51fanxing. All rights reserved. 7 | // 8 | 9 | #import "UIButton+TouchAreaInsets.h" 10 | #import 11 | 12 | @implementation UIButton (TouchAreaInsets) 13 | 14 | - (UIEdgeInsets)touchAreaInsets { 15 | return [objc_getAssociatedObject(self, @selector(touchAreaInsets)) UIEdgeInsetsValue]; 16 | } 17 | 18 | - (void)setTouchAreaInsets:(UIEdgeInsets)touchAreaInsets { 19 | NSValue *value = [NSValue valueWithUIEdgeInsets:touchAreaInsets]; 20 | objc_setAssociatedObject(self, @selector(touchAreaInsets), value, OBJC_ASSOCIATION_RETAIN_NONATOMIC); 21 | } 22 | 23 | - (BOOL)pointInside:(CGPoint)point withEvent:(UIEvent *)event { 24 | UIEdgeInsets touchAreaInsets = self.touchAreaInsets; 25 | CGRect bounds = self.bounds; 26 | bounds = CGRectMake(bounds.origin.x - touchAreaInsets.left, 27 | bounds.origin.y - touchAreaInsets.top, 28 | bounds.size.width + touchAreaInsets.left + touchAreaInsets.right, 29 | bounds.size.height + touchAreaInsets.top + touchAreaInsets.bottom); 30 | return CGRectContainsPoint(bounds, point); 31 | } 32 | 33 | @end 34 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/UIKit/UIImage/UIImage+Color.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIImage+Color.h 3 | // MYKitDemo 4 | // 5 | // Created by sunjinshuai on 2017/9/6. 6 | // Copyright © 2017年 com.51fanxing. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface UIImage (Color) 12 | 13 | /** 14 | * @brief 取图片某一点的颜色 15 | * 16 | * @param point 某一点 17 | * 18 | * @return 颜色 19 | */ 20 | - (UIColor *)colorAtPoint:(CGPoint)point; 21 | 22 | /** 23 | * @brief 取某一像素的颜色 24 | * 25 | * @param point 一像素 26 | * 27 | * @return 颜色 28 | */ 29 | - (UIColor *)colorAtPixel:(CGPoint)point; 30 | 31 | /** 32 | * @brief 返回该图片是否有透明度通道 33 | * 34 | * @return 是否有透明度通道 35 | */ 36 | - (BOOL)hasAlphaChannel; 37 | 38 | /** 39 | * @brief 获得灰度图 40 | * 41 | * @param sourceImage 图片 42 | * 43 | * @return 获得灰度图片 44 | */ 45 | + (UIImage *)covertToGrayImageFromImage:(UIImage *)sourceImage; 46 | 47 | /** 48 | * @brief 根据颜色生成图片,默认size为{1.f, 1.f} 49 | * @param color 传入颜色 50 | * @return 返回图片 51 | */ 52 | + (UIImage *)createImageWithColor:(UIColor *)color; 53 | 54 | /** 55 | * @brief 设置图片的透明度 56 | * @param alpha 透明度 57 | * @return 返回处理后的图片 58 | */ 59 | - (UIImage *)imageWithAlpha:(CGFloat)alpha; 60 | 61 | /** 62 | * @brief 设置图片的size 63 | * @return 返回改变size之后的图片 64 | */ 65 | - (UIImage *)resizeTo:(CGSize)size; 66 | 67 | @end 68 | -------------------------------------------------------------------------------- /Pods/SDWebImage/SDWebImage/SDImageFrame.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the SDWebImage package. 3 | * (c) Olivier Poitrey 4 | * 5 | * For the full copyright and license information, please view the LICENSE 6 | * file that was distributed with this source code. 7 | */ 8 | 9 | #import 10 | #import "SDWebImageCompat.h" 11 | 12 | @interface SDImageFrame : NSObject 13 | 14 | // This class is used for creating animated images via `animatedImageWithFrames` in `SDImageCoderHelper`. Attention if you need to specify animated images loop count, use `sd_imageLoopCount` property in `UIImage+Metadata.h`. 15 | 16 | /** 17 | The image of current frame. You should not set an animated image. 18 | */ 19 | @property (nonatomic, strong, readonly, nonnull) UIImage *image; 20 | /** 21 | The duration of current frame to be displayed. The number is seconds but not milliseconds. You should not set this to zero. 22 | */ 23 | @property (nonatomic, readonly, assign) NSTimeInterval duration; 24 | 25 | /** 26 | Create a frame instance with specify image and duration 27 | 28 | @param image current frame's image 29 | @param duration current frame's duration 30 | @return frame instance 31 | */ 32 | + (instancetype _Nonnull)frameWithImage:(UIImage * _Nonnull)image duration:(NSTimeInterval)duration; 33 | 34 | @end 35 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/UIKit/UIView/UIView+FindSubView.m: -------------------------------------------------------------------------------- 1 | // 2 | // UIView+FindSubView.m 3 | // MYKitDemo 4 | // 5 | // Created by sunjinshuai on 2017/11/18. 6 | // Copyright © 2017年 com.51fanxing. All rights reserved. 7 | // 8 | 9 | #import "UIView+FindSubView.h" 10 | 11 | @implementation UIView (FindSubView) 12 | 13 | + (BOOL)intersectsWithOtherView:(UIView *)otherView anotherView:(UIView *)anotherView { 14 | // 先转换为相对于窗口的坐标,然后进行判断是否重合 15 | CGRect selfRect = [otherView convertRect:otherView.bounds toView:nil]; 16 | CGRect viewRect = [anotherView convertRect:anotherView.bounds toView:nil]; 17 | return CGRectIntersectsRect(selfRect, viewRect); 18 | } 19 | 20 | - (BOOL)intersectsWithView:(UIView *)view { 21 | // 先转换为相对于窗口的坐标,然后进行判断是否重合 22 | CGRect selfRect = [self convertRect:self.bounds toView:nil]; 23 | CGRect viewRect = [view convertRect:view.bounds toView:nil]; 24 | return CGRectIntersectsRect(selfRect, viewRect); 25 | } 26 | 27 | - (NSArray *)subviewsWithClass:(Class)cls { 28 | NSMutableArray *subviews = [NSMutableArray array]; 29 | for (UIView *subview in self.subviews) { 30 | if ([subview isKindOfClass:cls]) { 31 | [subviews addObject:subview]; 32 | [subviews addObjectsFromArray:[subview subviewsWithClass:cls]]; 33 | } 34 | } 35 | return subviews; 36 | } 37 | 38 | @end 39 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/Foundation/NSObject/NSObject+Swizzle.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSObject+Swizzle.h 3 | // MYKitDemo 4 | // 5 | // Created by QMMac on 2018/6/13. 6 | // Copyright © 2018 com.51fanxing. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | 12 | @interface NSObject (Swizzle) 13 | 14 | /** 15 | 对类方法进行拦截并替换 16 | 17 | @param originalSelector 类的原类方法 18 | @param replaceSelector 替代方法 19 | */ 20 | + (void)swizzleClassMethod:(SEL)originalSelector replaceMethod:(SEL)replaceSelector; 21 | 22 | /** 23 | 对对象的实例方法进行拦截并替换 24 | 25 | @param originalSelector 对象的原实例方法 26 | @param replaceSelector 替代方法 27 | */ 28 | - (void)instanceSwizzleMethod:(SEL _Nonnull )originalSelector replaceMethod:(SEL _Nonnull )replaceSelector; 29 | 30 | /** 31 | 对类方法进行拦截并替换 32 | 33 | @param klass 被拦截的具体类 34 | @param originalSelector 类的原类方法 35 | @param replaceSelector 替代方法 36 | */ 37 | + (void)classSwizzleMethodWithClass:(Class _Nonnull)klass orginalMethod:(SEL _Nonnull)originalSelector replaceMethod:(SEL _Nonnull)replaceSelector; 38 | 39 | /** 40 | 对对象的实例方法进行拦截并替换 41 | 42 | @param klass 被拦截的具体类 43 | @param originalSelector 对象的原实例方法 44 | @param replaceSelector 替代方法 45 | */ 46 | + (void)instanceSwizzleMethodWithClass:(Class _Nonnull)klass orginalMethod:(SEL _Nonnull)originalSelector replaceMethod:(SEL _Nonnull)replaceSelector; 47 | 48 | @end 49 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # MYBannerCycleView 2 | 3 | [![Build Status](https://travis-ci.org/sunjinshuai/MYBannerCycleView.svg?branch=master)](https://travis-ci.org/sunjinshuai/MYBannerCycleView/) 4 | [![Version](https://img.shields.io/cocoapods/v/MYBannerCycleView.svg?style=flat)](http://cocoapods.org/pods/MYBannerCycleView) 5 | [![License](https://img.shields.io/cocoapods/l/MYBannerCycleView.svg?style=flat)](http://cocoapods.org/pods/MYBannerCycleView) 6 | [![Platform](https://img.shields.io/cocoapods/p/MYBannerCycleView.svg?style=flat)](http://cocoapods.org/pods/MYBannerCycleView) 7 | 8 | **MYBannerCycleView**是用UICollectionView实现的,使用的时候也特别简单,就跟使用UICollectionView一样的清爽。 9 | 代码规范,结构清晰,个人感觉没有一点冗余代码,欢迎各路大神批评指正,喜欢的可以给star。 10 | 11 | ## Usage 12 | 13 | To run the example project, clone the repo, and run `pod install` from the Example directory first. 14 | 15 | ## For example 16 | 17 | ![效果图](https://github.com/sunjinshuai/MYBannerCycleView/blob/master/MYBannerCycleView.gif) 18 | 19 | ## Installation 20 | 21 | MYBannerCycleView is available through [CocoaPods](http://cocoapods.org). To install 22 | it, simply add the following line to your Podfile: 23 | 24 | ```ruby 25 | pod 'MYBannerCycleView', '~> 0.0.2' 26 | ``` 27 | 28 | ## Author 29 | 30 | sunjinshuai, s_mike@163.com 31 | 32 | ## License 33 | 34 | MYBannerCycleView is available under the MIT license. See the LICENSE file for more info. 35 | 36 | -------------------------------------------------------------------------------- /Pods/SDWebImage/SDWebImage/UIImage+MemoryCacheCost.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the SDWebImage package. 3 | * (c) Olivier Poitrey 4 | * 5 | * For the full copyright and license information, please view the LICENSE 6 | * file that was distributed with this source code. 7 | */ 8 | 9 | #import "SDWebImageCompat.h" 10 | 11 | @interface UIImage (MemoryCacheCost) 12 | 13 | /** 14 | The memory cache cost for specify image used by image cache. The cost function is the bytes size held in memory. 15 | If you set some associated object to `UIImage`, you can set the custom value to indicate the memory cost. 16 | 17 | For `UIImage`, this method return the single frame bytes size when `image.images` is nil for static image. Retuen full frame bytes size when `image.images` is not nil for animated image. 18 | For `NSImage`, this method return the single frame bytes size because `NSImage` does not store all frames in memory. 19 | @note Note that because of the limitations of category this property can get out of sync if you create another instance with CGImage or other methods. 20 | @note For custom animated class conforms to `SDAnimatedImage`, you can override this getter method in your subclass to return a more proper value instead, which representing the current frame's total bytes. 21 | */ 22 | @property (assign, nonatomic) NSUInteger sd_memoryCost; 23 | 24 | @end 25 | -------------------------------------------------------------------------------- /Pods/SDWebImage/SDWebImage/SDWebImageError.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the SDWebImage package. 3 | * (c) Olivier Poitrey 4 | * (c) Jamie Pinkham 5 | * 6 | * For the full copyright and license information, please view the LICENSE 7 | * file that was distributed with this source code. 8 | */ 9 | 10 | #import "SDWebImageCompat.h" 11 | 12 | FOUNDATION_EXPORT NSErrorDomain const _Nonnull SDWebImageErrorDomain; 13 | 14 | FOUNDATION_EXPORT NSErrorUserInfoKey const _Nonnull SDWebImageErrorDownloadStatusCodeKey; 15 | 16 | typedef NS_ERROR_ENUM(SDWebImageErrorDomain, SDWebImageError) { 17 | SDWebImageErrorInvalidURL = 1000, // The URL is invalid, such as nil URL or corrupted URL 18 | SDWebImageErrorBadImageData = 1001, // The image data can not be decoded to image, or the image data is empty 19 | SDWebImageErrorCacheNotModified = 1002, // The remote location specify that the cached image is not modified, such as the HTTP response 304 code. It's useful for `SDWebImageRefreshCached` 20 | SDWebImageErrorInvalidDownloadOperation = 2000, // The image download operation is invalid, such as nil operation or unexpected error occur when operation initialized 21 | SDWebImageErrorInvalidDownloadStatusCode = 2001, // The image downloda response a invalid status code. You can check the status code in error's userInfo under `SDWebImageErrorDownloadStatusCodeKey` 22 | }; 23 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/UIKit/UIButton/UIButton+ImageTitleStyle.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIButton+ImageTitleStyle.h 3 | // MYKitDemo 4 | // 5 | // Created by sunjinshuai on 2018/1/17. 6 | // Copyright © 2018年 com.51fanxing. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | /* 12 | 针对同时设置了Image和Title的场景时UIButton中的图片和文字的关系 13 | */ 14 | typedef NS_ENUM(NSInteger, ButtonImageTitleStyle ) { 15 | ButtonImageTitleStyleDefault = 0, //图片在左,文字在右,整体居中。 16 | ButtonImageTitleStyleLeft = 0, //图片在左,文字在右,整体居中。 17 | ButtonImageTitleStyleRight = 2, //图片在右,文字在左,整体居中。 18 | ButtonImageTitleStyleTop = 3, //图片在上,文字在下,整体居中。 19 | ButtonImageTitleStyleBottom = 4, //图片在下,文字在上,整体居中。 20 | ButtonImageTitleStyleCenterTop = 5, //图片居中,文字在上距离按钮顶部。 21 | ButtonImageTitleStyleCenterBottom = 6, //图片居中,文字在下距离按钮底部。 22 | ButtonImageTitleStyleCenterUp = 7, //图片居中,文字在图片上面。 23 | ButtonImageTitleStyleCenterDown = 8, //图片居中,文字在图片下面。 24 | ButtonImageTitleStyleRightLeft = 9, //图片在右,文字在左,距离按钮两边边距 25 | ButtonImageTitleStyleLeftRight = 10, //图片在左,文字在右,距离按钮两边边距 26 | }; 27 | 28 | @interface UIButton (ImageTitleStyle) 29 | 30 | /* 31 | 调整按钮的文本和image的布局,前提是title和image同时存在才会调整。 32 | padding是调整布局时整个按钮和图文的间隔。 33 | 34 | */ 35 | - (void)setButtonImageTitleStyle:(ButtonImageTitleStyle)style 36 | padding:(CGFloat)padding; 37 | 38 | @end 39 | -------------------------------------------------------------------------------- /Pods/SDWebImage/SDWebImage/UIImage+ForceDecode.m: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the SDWebImage package. 3 | * (c) Olivier Poitrey 4 | * 5 | * For the full copyright and license information, please view the LICENSE 6 | * file that was distributed with this source code. 7 | */ 8 | 9 | #import "UIImage+ForceDecode.h" 10 | #import "SDImageCoderHelper.h" 11 | #import "objc/runtime.h" 12 | 13 | @implementation UIImage (ForceDecode) 14 | 15 | - (BOOL)sd_isDecoded { 16 | NSNumber *value = objc_getAssociatedObject(self, @selector(sd_isDecoded)); 17 | return value.boolValue; 18 | } 19 | 20 | - (void)setSd_isDecoded:(BOOL)sd_isDecoded { 21 | objc_setAssociatedObject(self, @selector(sd_isDecoded), @(sd_isDecoded), OBJC_ASSOCIATION_RETAIN_NONATOMIC); 22 | } 23 | 24 | + (UIImage *)sd_decodedImageWithImage:(UIImage *)image { 25 | if (!image) { 26 | return nil; 27 | } 28 | return [SDImageCoderHelper decodedImageWithImage:image]; 29 | } 30 | 31 | + (UIImage *)sd_decodedAndScaledDownImageWithImage:(UIImage *)image { 32 | return [self sd_decodedAndScaledDownImageWithImage:image limitBytes:0]; 33 | } 34 | 35 | + (UIImage *)sd_decodedAndScaledDownImageWithImage:(UIImage *)image limitBytes:(NSUInteger)bytes { 36 | if (!image) { 37 | return nil; 38 | } 39 | return [SDImageCoderHelper decodedAndScaledDownImageWithImage:image limitBytes:bytes]; 40 | } 41 | 42 | @end 43 | -------------------------------------------------------------------------------- /Pods/SDWebImage/SDWebImage/SDImageIOCoder.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the SDWebImage package. 3 | * (c) Olivier Poitrey 4 | * 5 | * For the full copyright and license information, please view the LICENSE 6 | * file that was distributed with this source code. 7 | */ 8 | 9 | #import 10 | #import "SDImageCoder.h" 11 | 12 | /** 13 | Built in coder that supports PNG, JPEG, TIFF, includes support for progressive decoding. 14 | 15 | GIF 16 | Also supports static GIF (meaning will only handle the 1st frame). 17 | For a full GIF support, we recommend `SDAnimatedImageView` to keep both CPU and memory balanced. 18 | 19 | HEIC 20 | This coder also supports HEIC format because ImageIO supports it natively. But it depends on the system capabilities, so it won't work on all devices, see: https://devstreaming-cdn.apple.com/videos/wwdc/2017/511tj33587vdhds/511/511_working_with_heif_and_hevc.pdf 21 | Decode(Software): !Simulator && (iOS 11 || tvOS 11 || macOS 10.13) 22 | Decode(Hardware): !Simulator && ((iOS 11 && A9Chip) || (macOS 10.13 && 6thGenerationIntelCPU)) 23 | Encode(Software): macOS 10.13 24 | Encode(Hardware): !Simulator && ((iOS 11 && A10FusionChip) || (macOS 10.13 && 6thGenerationIntelCPU)) 25 | */ 26 | @interface SDImageIOCoder : NSObject 27 | 28 | @property (nonatomic, class, readonly, nonnull) SDImageIOCoder *sharedCoder; 29 | 30 | @end 31 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/UIKit/UINavigationController/UINavigationController+Addition.h: -------------------------------------------------------------------------------- 1 | // 2 | // UINavigationController+Addition.h 3 | // MYUtils 4 | // 5 | // Created by sunjinshuai on 2017/8/28. 6 | // Copyright © 2017年 com.51fanxing. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface UINavigationController (Addition) 12 | 13 | /** 14 | * @brief 寻找Navigation中的某个viewcontroler对象 15 | * 16 | * @param className viewcontroler名称 17 | * 18 | * @return viewcontroler对象 19 | */ 20 | - (id)findViewController:(NSString *)className; 21 | 22 | /** 23 | * @brief 判断是否只有一个RootViewController 24 | * 25 | * @return 是否只有一个RootViewController 26 | */ 27 | - (BOOL)isOnlyContainRootViewController; 28 | 29 | /** 30 | * @brief RootViewController 31 | * 32 | * @return RootViewController 33 | */ 34 | - (UIViewController *)rootViewController; 35 | 36 | /** 37 | * @brief 返回指定的viewcontroler 38 | * 39 | * @param className 指定viewcontroler类名 40 | * @param animated 是否动画 41 | * 42 | * @return pop之后的viewcontrolers 43 | */ 44 | - (NSArray *)popToViewControllerWithClassName:(NSString *)className 45 | animated:(BOOL)animated; 46 | 47 | /** 48 | * @brief pop n层 49 | * 50 | * @param level n层 51 | * @param animated 是否动画 52 | * 53 | * @return pop之后的viewcontrolers 54 | */ 55 | - (NSArray *)popToViewControllerWithLevel:(NSInteger)level animated:(BOOL)animated; 56 | 57 | @end 58 | -------------------------------------------------------------------------------- /MYBannerCycleViewDemoUITests/MYBannerCycleViewDemoUITests.m: -------------------------------------------------------------------------------- 1 | // 2 | // MYBannerCycleViewDemoUITests.m 3 | // MYBannerCycleViewDemoUITests 4 | // 5 | // Created by QMMac on 2017/2/8. 6 | // Copyright © 2017 QMMac. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface MYBannerCycleViewDemoUITests : XCTestCase 12 | 13 | @end 14 | 15 | @implementation MYBannerCycleViewDemoUITests 16 | 17 | - (void)setUp { 18 | [super setUp]; 19 | 20 | // Put setup code here. This method is called before the invocation of each test method in the class. 21 | 22 | // In UI tests it is usually best to stop immediately when a failure occurs. 23 | self.continueAfterFailure = NO; 24 | // UI tests must launch the application that they test. Doing this in setup will make sure it happens for each test method. 25 | [[[XCUIApplication alloc] init] launch]; 26 | 27 | // In UI tests it’s important to set the initial state - such as interface orientation - required for your tests before they run. The setUp method is a good place to do this. 28 | } 29 | 30 | - (void)tearDown { 31 | // Put teardown code here. This method is called after the invocation of each test method in the class. 32 | [super tearDown]; 33 | } 34 | 35 | - (void)testExample { 36 | // Use recording to get started writing UI tests. 37 | // Use XCTAssert and related functions to verify your tests produce the correct results. 38 | } 39 | 40 | @end 41 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/Foundation/NSDictionary/NSDictionary+SafeAccess.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSDictionary+SafeAccess.h 3 | // MYUtils 4 | // 5 | // Created by sunjinshuai on 2017/8/27. 6 | // Copyright © 2017年 com.51fanxing. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface NSDictionary (SafeAccess) 12 | 13 | - (BOOL)hasKey:(NSString *)key; 14 | 15 | - (NSString *)stringForKey:(id)key; 16 | 17 | - (NSNumber *)numberForKey:(id)key; 18 | 19 | - (NSDecimalNumber *)decimalNumberForKey:(id)key; 20 | 21 | - (NSArray *)arrayForKey:(id)key; 22 | 23 | - (NSDictionary*)dictionaryForKey:(id)key; 24 | 25 | - (NSInteger)integerForKey:(id)key; 26 | 27 | - (NSUInteger)unsignedIntegerForKey:(id)key; 28 | 29 | - (BOOL)boolForKey:(id)key; 30 | 31 | - (int16_t)int16ForKey:(id)key; 32 | 33 | - (int32_t)int32ForKey:(id)key; 34 | 35 | - (int64_t)int64ForKey:(id)key; 36 | 37 | - (char)charForKey:(id)key; 38 | 39 | - (short)shortForKey:(id)key; 40 | 41 | - (float)floatForKey:(id)key; 42 | 43 | - (double)doubleForKey:(id)key; 44 | 45 | - (long)longForKey:(id)key; 46 | 47 | - (long long)longLongForKey:(id)key; 48 | 49 | - (unsigned long long)unsignedLongLongForKey:(id)key; 50 | 51 | - (id)getValueForKey:(NSString *)key; 52 | 53 | - (NSDate *)dateForKey:(id)key dateFormat:(NSString *)dateFormat; 54 | 55 | - (CGFloat)CGFloatForKey:(id)key; 56 | 57 | - (CGPoint)pointForKey:(id)key; 58 | 59 | - (CGSize)sizeForKey:(id)key; 60 | 61 | - (CGRect)rectForKey:(id)key; 62 | 63 | @end 64 | -------------------------------------------------------------------------------- /Pods/SDWebImage/SDWebImage/UIImage+ForceDecode.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the SDWebImage package. 3 | * (c) Olivier Poitrey 4 | * 5 | * For the full copyright and license information, please view the LICENSE 6 | * file that was distributed with this source code. 7 | */ 8 | 9 | #import "SDWebImageCompat.h" 10 | 11 | @interface UIImage (ForceDecode) 12 | 13 | /** 14 | A bool value indicating whether the image has already been decoded. This can help to avoid extra force decode. 15 | */ 16 | @property (nonatomic, assign) BOOL sd_isDecoded; 17 | 18 | /** 19 | Decode the provided image. This is useful if you want to force decode the image before rendering to improve performance. 20 | 21 | @param image The image to be decoded 22 | @return The decoded image 23 | */ 24 | + (nullable UIImage *)sd_decodedImageWithImage:(nullable UIImage *)image; 25 | 26 | /** 27 | Decode and scale down the provided image 28 | 29 | @param image The image to be decoded 30 | @return The decoded and scaled down image 31 | */ 32 | + (nullable UIImage *)sd_decodedAndScaledDownImageWithImage:(nullable UIImage *)image; 33 | 34 | /** 35 | Decode and scale down the provided image with limit bytes 36 | 37 | @param image The image to be decoded 38 | @param bytes The limit bytes size. Provide 0 to use the build-in limit. 39 | @return The decoded and scaled down image 40 | */ 41 | + (nullable UIImage *)sd_decodedAndScaledDownImageWithImage:(nullable UIImage *)image limitBytes:(NSUInteger)bytes; 42 | 43 | @end 44 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/UIKit/UILabel/UILabel+LineSpacing.m: -------------------------------------------------------------------------------- 1 | // 2 | // UILabel+LineSpacing.m 3 | // MYKitDemo 4 | // 5 | // Created by QMMac on 2018/7/20. 6 | // Copyright © 2018 com.51fanxing. All rights reserved. 7 | // 8 | 9 | #import "UILabel+LineSpacing.h" 10 | #import "NSObject+Swizzle.h" 11 | 12 | @implementation UILabel (LineSpacing) 13 | 14 | static char *lineSpaceKey; 15 | 16 | + (void)registerLineSpacingSelector { 17 | 18 | // 防御对象实例方法 19 | [self instanceSwizzleMethod:@selector(setText:) replaceMethod:@selector(setHasLineSpaceText:)]; 20 | } 21 | 22 | //设置带有行间距的文本。 23 | - (void)setHasLineSpaceText:(NSString *)text { 24 | 25 | if (!text.length || self.lineSpace==0) { 26 | [self setHasLineSpaceText:text]; 27 | return; 28 | } 29 | 30 | NSMutableParagraphStyle *style = [NSMutableParagraphStyle new]; 31 | style.lineSpacing = self.lineSpace; 32 | style.lineBreakMode = self.lineBreakMode; 33 | 34 | NSMutableAttributedString *attrString = [[NSMutableAttributedString alloc] initWithString:text]; 35 | [attrString addAttribute:NSParagraphStyleAttributeName value:style range:NSMakeRange(0, text.length)]; 36 | self.attributedText = attrString; 37 | } 38 | 39 | - (void)setLineSpace:(CGFloat)lineSpace { 40 | 41 | objc_setAssociatedObject(self, &lineSpaceKey, @(lineSpace), OBJC_ASSOCIATION_ASSIGN); 42 | self.text = self.text; 43 | } 44 | 45 | - (CGFloat)lineSpace { 46 | return [objc_getAssociatedObject(self, &lineSpaceKey) floatValue]; 47 | } 48 | 49 | @end 50 | 51 | -------------------------------------------------------------------------------- /Pods/SDWebImage/SDWebImage/UIImage+MemoryCacheCost.m: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the SDWebImage package. 3 | * (c) Olivier Poitrey 4 | * 5 | * For the full copyright and license information, please view the LICENSE 6 | * file that was distributed with this source code. 7 | */ 8 | 9 | #import "UIImage+MemoryCacheCost.h" 10 | #import "objc/runtime.h" 11 | #import "NSImage+Compatibility.h" 12 | 13 | FOUNDATION_STATIC_INLINE NSUInteger SDMemoryCacheCostForImage(UIImage *image) { 14 | CGImageRef imageRef = image.CGImage; 15 | if (!imageRef) { 16 | return 0; 17 | } 18 | NSUInteger bytesPerFrame = CGImageGetBytesPerRow(imageRef) * CGImageGetHeight(imageRef); 19 | NSUInteger frameCount; 20 | #if SD_MAC 21 | frameCount = 1; 22 | #elif SD_UIKIT || SD_WATCH 23 | frameCount = image.images.count > 0 ? image.images.count : 1; 24 | #endif 25 | NSUInteger cost = bytesPerFrame * frameCount; 26 | return cost; 27 | } 28 | 29 | @implementation UIImage (MemoryCacheCost) 30 | 31 | - (NSUInteger)sd_memoryCost { 32 | NSNumber *value = objc_getAssociatedObject(self, @selector(sd_memoryCost)); 33 | NSUInteger memoryCost; 34 | if (value != nil) { 35 | memoryCost = [value unsignedIntegerValue]; 36 | } else { 37 | memoryCost = SDMemoryCacheCostForImage(self); 38 | } 39 | return memoryCost; 40 | } 41 | 42 | - (void)setSd_memoryCost:(NSUInteger)sd_memoryCost { 43 | objc_setAssociatedObject(self, @selector(sd_memoryCost), @(sd_memoryCost), OBJC_ASSOCIATION_RETAIN_NONATOMIC); 44 | } 45 | 46 | @end 47 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/Foundation/NSDate/NSDate+NSDateRFC1123.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSDate+NSDateRFC1123.h 3 | // MYKitDemo 4 | // 5 | // Created by sunjinshuai on 2017/11/18. 6 | // Copyright © 2017年 com.51fanxing. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | NS_ASSUME_NONNULL_BEGIN 12 | 13 | @interface NSDate (NSDateRFC1123) 14 | 15 | /** 16 | Convert a RFC1123 'Full-Date' string 17 | (http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1) 18 | into NSDate. 19 | */ 20 | + (nullable NSDate *)dateFromRFC1123:(NSString * _Nullable)value_; 21 | 22 | /** 23 | Convert NSDate into a RFC1123 'Full-Date' string 24 | (http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1). 25 | */ 26 | - (nullable NSString *)rfc1123String; 27 | 28 | /** 29 | Convert NSDate into a 'yyyyMMdd' string 30 | */ 31 | - (nullable NSString *)yyyyMMddString; 32 | 33 | /** 34 | Convert NSDate into a string with FormatString 35 | */ 36 | - (nullable NSString *)stringWithFormatString:(nonnull NSString *)formatString; 37 | 38 | /** 39 | * @brief Convert to local time zone. 40 | */ 41 | - (nullable NSDate *)toLocalDate; 42 | 43 | - (nullable NSDate *)toBeijingDate; 44 | 45 | /** 46 | * @brief Convert to gmt time zone. 47 | */ 48 | - (nullable NSDate *)toGlobalDate; 49 | 50 | /** 51 | * @brief 00:00:00 52 | */ 53 | - (nullable NSDate *)beginningOfDay; 54 | 55 | /** 56 | * @brief 23:59:59 57 | */ 58 | - (nullable NSDate *)endingOfDay; 59 | 60 | /** 61 | * @brief MM月01日 62 | */ 63 | - (nonnull NSString *)beginningOfMonth; 64 | 65 | @end 66 | 67 | NS_ASSUME_NONNULL_END 68 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/UIKit/UITextView/UITextView+InputLengthCalculate.h: -------------------------------------------------------------------------------- 1 | // 2 | // UITextView+InputLengthCalculate.h 3 | // MYKitDemo 4 | // 5 | // Created by sunjinshuai on 2017/9/7. 6 | // Copyright © 2017年 com.51fanxing. All rights reserved. 7 | // 用于计算textview输入情况下的字符数,解决实现限制字符数时,计算不准的问题 8 | 9 | #import 10 | 11 | @interface UITextView (InputLengthCalculate) 12 | 13 | /* 14 | - (BOOL)textView:(UITextView *)textView shouldChangeTextInRange:(NSRange)range replacementText:(NSString *)text 15 | { 16 | NSInteger textLength = [textView getInputLengthWithText:text]; 17 | if (textLength > 20) { 18 | //超过20个字可以删除 19 | if ([text isEqualToString:@""]) { 20 | return YES; 21 | } 22 | return NO; 23 | } 24 | return YES; 25 | } 26 | 27 | - (void)textViewDidChange:(UITextView *)textView 28 | { 29 | if ([textView getInputLengthWithText:nil] > 20) { 30 | textView.text = [textView.text substringToIndex:20]; 31 | } 32 | } 33 | 34 | */ 35 | 36 | /** 37 | * 用来捕获输入时的字符数的 38 | * 39 | * @param text 40 | 在-(BOOL)textView:(UITextView *)textView shouldChangeTextInRange:(NSRange)range replacementText:(NSString *)text使用时需要传入replacementText用于计算长度,- (void)textViewDidChange:(UITextView *)textView中使用不需要传入 41 | * 42 | * @return 字符长度 43 | */ 44 | - (NSInteger)getInputLengthWithText:(NSString *)text; 45 | 46 | - (void)insertAttributedText:(NSAttributedString *)text; 47 | - (void)insertAttributedText:(NSAttributedString *)text 48 | settingBlock:(void (^)(NSMutableAttributedString *attributedText))settingBlock; 49 | 50 | @end 51 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/UIKit/UIImage/UIImage+CornerRadius.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIImage+CornerRadius.h 3 | // MYKitDemo 4 | // 5 | // Created by sunjinshuai on 2018/3/14. 6 | // Copyright © 2018年 com.51fanxing. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface UIImage (CornerRadius) 12 | 13 | /** 14 | 将图片进行圆角处理,默认无边框(此操作是线程安全的)。 15 | @param radius 圆角大小 16 | @param newSize 图片将会缩放成的目标大小 17 | @return 返回处理之后的图片 18 | */ 19 | - (nullable UIImage *)imageByRoundCornerRadius:(CGFloat)radius 20 | scaleSize:(CGSize)newSize; 21 | 22 | /** 23 | 将图片进行圆角处理,并加上边框(此操作是线程安全的)。 24 | @param radius 圆角大小 25 | @param newSize 图片将会缩放成的目标大小 26 | @param borderWidth 边框宽度 27 | @param borderColor 边框颜色 28 | @return 返回处理之后的图片 29 | */ 30 | - (nullable UIImage *)imageByRoundCornerRadius:(CGFloat)radius 31 | scaleSize:(CGSize)newSize 32 | borderWidth:(CGFloat)borderWidth 33 | borderColor:(nullable UIColor *)borderColor; 34 | 35 | /** 36 | 图片加上圆形边框,图片必须得是正方形的,否则直接返回未加边框的原图片(此操作是线程安全的) 37 | @param color 边框颜色 38 | @param width 边框宽度 39 | @return 返回处理之后的图片 40 | */ 41 | - (nullable UIImage *)imageByRoundBorderedColor:(nullable UIColor *)color 42 | borderWidth:(CGFloat)width; 43 | 44 | /** 45 | 创建一张纯色的圆形图片 46 | @param color 图片填充的颜色 47 | @param radius 圆形图片的半径 48 | @return 返回纯色的圆形图片 49 | */ 50 | + (nullable UIImage *)roundImageWithColor:(nullable UIColor *)color 51 | radius:(CGFloat)radius; 52 | 53 | @end 54 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/Foundation/NSArray/NSArray+SafeAccess.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSArray+SafeAccess.h 3 | // MYKitDemo 4 | // 5 | // Created by sunjinshuai on 2017/9/8. 6 | // Copyright © 2017年 com.51fanxing. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface NSArray (SafeAccess) 12 | 13 | /*! 14 | @method objectWithIndex: 15 | @abstract 检查是否越界和NSNull如果是返回nil 16 | @result 返回对象 17 | */ 18 | - (id)objectWithIndex:(NSUInteger)index; 19 | 20 | - (NSString *)stringWithIndex:(NSUInteger)index; 21 | 22 | - (NSNumber *)numberWithIndex:(NSUInteger)index; 23 | 24 | - (NSDecimalNumber *)decimalNumberWithIndex:(NSUInteger)index; 25 | 26 | - (NSArray *)arrayWithIndex:(NSUInteger)index; 27 | 28 | - (NSDictionary *)dictionaryWithIndex:(NSUInteger)index; 29 | 30 | - (NSInteger)integerWithIndex:(NSUInteger)index; 31 | 32 | - (NSUInteger)unsignedIntegerWithIndex:(NSUInteger)index; 33 | 34 | - (BOOL)boolWithIndex:(NSUInteger)index; 35 | 36 | - (int16_t)int16WithIndex:(NSUInteger)index; 37 | 38 | - (int32_t)int32WithIndex:(NSUInteger)index; 39 | 40 | - (int64_t)int64WithIndex:(NSUInteger)index; 41 | 42 | - (char)charWithIndex:(NSUInteger)index; 43 | 44 | - (short)shortWithIndex:(NSUInteger)index; 45 | 46 | - (float)floatWithIndex:(NSUInteger)index; 47 | 48 | - (double)doubleWithIndex:(NSUInteger)index; 49 | 50 | - (NSDate *)dateWithIndex:(NSUInteger)index dateFormat:(NSString *)dateFormat; 51 | 52 | - (CGFloat)my_floatWithIndex:(NSUInteger)index; 53 | 54 | - (CGPoint)my_pointWithIndex:(NSUInteger)index; 55 | 56 | - (CGSize)my_sizeWithIndex:(NSUInteger)index; 57 | 58 | - (CGRect)my_rectWithIndex:(NSUInteger)index; 59 | 60 | @end 61 | 62 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/UIKit/UIView/UIView+CornerRadii.m: -------------------------------------------------------------------------------- 1 | // 2 | // UIView+CornerRadii.m 3 | // LPDCrowdsource 4 | // 5 | // Created by eMr.Wang on 16/1/29. 6 | // Copyright © 2016年 elm. All rights reserved. 7 | // 8 | 9 | #import "UIView+CornerRadii.h" 10 | 11 | @implementation UIView (CornerRadii) 12 | 13 | - (void)setCornerRadii:(CGFloat)cornerRadii roundingCorners:(UIRectCorner)roundingCorners { 14 | return [self setCornerRadii:cornerRadii roundingCorners:roundingCorners borderWidth:0 borderColor:[UIColor whiteColor]]; 15 | } 16 | 17 | - (void)setCornerRadii:(CGFloat)cornerRadii roundingCorners:(UIRectCorner)roundingCorners borderWidth:(CGFloat)borderWidth 18 | borderColor:(UIColor *)borderColor { 19 | if (self.layer.mask) { 20 | self.layer.mask = nil; 21 | } 22 | self.layer.masksToBounds = YES; 23 | UIBezierPath *maskPath = [UIBezierPath bezierPathWithRoundedRect:self.bounds 24 | byRoundingCorners:roundingCorners 25 | cornerRadii:CGSizeMake(cornerRadii, cornerRadii)]; 26 | CAShapeLayer *maskLayer = [CAShapeLayer layer]; 27 | maskLayer.frame = self.bounds; 28 | maskLayer.path = maskPath.CGPath; 29 | self.layer.mask = maskLayer; 30 | 31 | CAShapeLayer *borderLayer = [CAShapeLayer layer]; 32 | borderLayer.path = maskPath.CGPath; 33 | borderLayer.fillColor = [UIColor clearColor].CGColor; 34 | borderLayer.strokeColor = borderColor.CGColor; 35 | borderLayer.lineWidth = borderWidth; 36 | borderLayer.frame = self.bounds; 37 | 38 | [self.layer addSublayer:borderLayer]; 39 | } 40 | 41 | @end 42 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Xcode 2 | # 3 | # gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore 4 | 5 | ## Build generated 6 | build/ 7 | DerivedData/ 8 | 9 | ## Various settings 10 | *.pbxuser 11 | !default.pbxuser 12 | *.mode1v3 13 | !default.mode1v3 14 | *.mode2v3 15 | !default.mode2v3 16 | *.perspectivev3 17 | !default.perspectivev3 18 | xcuserdata/ 19 | .DS_Store 20 | */.DS_Store 21 | 22 | ## Other 23 | *.moved-aside 24 | *.xccheckout 25 | *.xcscmblueprint 26 | 27 | ## Obj-C/Swift specific 28 | *.hmap 29 | *.ipa 30 | *.dSYM.zip 31 | *.dSYM 32 | 33 | # CocoaPods 34 | # 35 | # We recommend against adding the Pods directory to your .gitignore. However 36 | # you should judge for yourself, the pros and cons are mentioned at: 37 | # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control 38 | # 39 | # Pods/ 40 | 41 | # Carthage 42 | # 43 | # Add this line if you want to avoid checking in source code from Carthage dependencies. 44 | # Carthage/Checkouts 45 | 46 | Carthage/Build 47 | 48 | # fastlane 49 | # 50 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 51 | # screenshots whenever they are needed. 52 | # For more information about the recommended setup visit: 53 | # https://docs.fastlane.tools/best-practices/source-control/#source-control 54 | 55 | fastlane/report.xml 56 | fastlane/Preview.html 57 | fastlane/screenshots 58 | fastlane/test_output 59 | 60 | # Code Injection 61 | # 62 | # After new code Injection tools there's a generated folder /iOSInjectionProject 63 | # https://github.com/johnno1962/injectionforxcode 64 | 65 | iOSInjectionProject/ 66 | -------------------------------------------------------------------------------- /Pods/MYKit/MYKit/UIKit/UITextView/UITextView+Select.m: -------------------------------------------------------------------------------- 1 | // 2 | // UITextView+Select.m 3 | // MYKitDemo 4 | // 5 | // Created by sunjinshuai on 2017/9/7. 6 | // Copyright © 2017年 com.51fanxing. All rights reserved. 7 | // 8 | 9 | #import "UITextView+Select.h" 10 | 11 | @implementation UITextView (Select) 12 | 13 | /** 14 | * @brief 当前选中的字符串范围 15 | * 16 | * @return NSRange 17 | */ 18 | - (NSRange)selectedRange { 19 | UITextPosition* beginning = self.beginningOfDocument; 20 | 21 | UITextRange* selectedRange = self.selectedTextRange; 22 | UITextPosition* selectionStart = selectedRange.start; 23 | UITextPosition* selectionEnd = selectedRange.end; 24 | 25 | NSInteger location = [self offsetFromPosition:beginning toPosition:selectionStart]; 26 | NSInteger length = [self offsetFromPosition:selectionStart toPosition:selectionEnd]; 27 | 28 | return NSMakeRange(location, length); 29 | } 30 | /** 31 | * @brief 选中所有文字 32 | */ 33 | - (void)selectAllText { 34 | UITextRange *range = [self textRangeFromPosition:self.beginningOfDocument toPosition:self.endOfDocument]; 35 | [self setSelectedTextRange:range]; 36 | } 37 | /** 38 | * @brief 选中指定范围的文字 39 | * 40 | * @param range NSRange范围 41 | */ 42 | - (void)setSelectedRange:(NSRange)range { 43 | UITextPosition *beginning = self.beginningOfDocument; 44 | UITextPosition *startPosition = [self positionFromPosition:beginning offset:range.location]; 45 | UITextPosition *endPosition = [self positionFromPosition:beginning offset:NSMaxRange(range)]; 46 | UITextRange *selectionRange = [self textRangeFromPosition:startPosition toPosition:endPosition]; 47 | [self setSelectedTextRange:selectionRange]; 48 | } 49 | 50 | @end 51 | --------------------------------------------------------------------------------