├── MVC.xcodeproj ├── project.pbxproj ├── project.xcworkspace │ ├── contents.xcworkspacedata │ └── xcuserdata │ │ └── HeiHuaBaiHua.xcuserdatad │ │ └── UserInterfaceState.xcuserstate └── xcuserdata │ └── HeiHuaBaiHua.xcuserdatad │ └── xcschemes │ ├── MVC.xcscheme │ └── xcschememanagement.plist ├── MVC.xcworkspace ├── contents.xcworkspacedata └── xcuserdata │ └── HeiHuaBaiHua.xcuserdatad │ ├── UserInterfaceState.xcuserstate │ └── xcdebugger │ └── Breakpoints_v2.xcbkptlist ├── MVC ├── AppDelegate.h ├── AppDelegate.m ├── Assets.xcassets │ └── AppIcon.appiconset │ │ └── Contents.json ├── Base.lproj │ ├── LaunchScreen.storyboard │ └── Main.storyboard ├── Blog.h ├── Blog.m ├── BlogCell.h ├── BlogCell.m ├── BlogCell.xib ├── BlogCellHelper.h ├── BlogCellHelper.m ├── BlogCellPresenter.h ├── BlogCellPresenter.m ├── BlogCellViewModel.h ├── BlogCellViewModel.m ├── BlogTableViewCell.h ├── BlogTableViewCell.m ├── BlogTableViewCell.xib ├── BlogTableViewController.h ├── BlogTableViewController.m ├── BlogView.h ├── BlogView.m ├── BlogViewCell.h ├── BlogViewCell.m ├── BlogViewCell.xib ├── BlogViewController.h ├── BlogViewController.m ├── BlogViewModel.h ├── BlogViewModel.m ├── BlogViewPresenter.h ├── BlogViewPresenter.m ├── DetailViewController.h ├── DetailViewController.m ├── Draft.h ├── Draft.m ├── DraftCellHelper.h ├── DraftCellHelper.m ├── DraftCellPresenter.h ├── DraftCellPresenter.m ├── DraftTableViewCell.h ├── DraftTableViewCell.m ├── DraftTableViewCell.xib ├── DraftTableViewController.h ├── DraftTableViewController.m ├── DraftViewCell.h ├── DraftViewCell.m ├── DraftViewCell.xib ├── DraftViewController.h ├── DraftViewController.m ├── DraftViewPresenter.h ├── DraftViewPresenter.m ├── Info.plist ├── MVPUserViewController.h ├── MVPUserViewController.m ├── MVVMUserViewController.h ├── MVVMUserViewController.m ├── SceneX.h ├── SceneX.m ├── SceneY.h ├── SceneY.m ├── SelfViewController.h ├── SelfViewController.m ├── UIResponder+Router.h ├── UIResponder+Router.m ├── UIView+Alert.h ├── UIView+Alert.m ├── UIView+Controller.h ├── UIView+Controller.m ├── UIView+Extension.h ├── UIView+Extension.m ├── User.h ├── User.m ├── UserAPIManager.h ├── UserAPIManager.m ├── UserInfoController.h ├── UserInfoController.m ├── UserInfoView.h ├── UserInfoView.m ├── UserInfoViewController.h ├── UserInfoViewController.m ├── UserInfoViewController.xib ├── UserInfoViewModel.h ├── UserInfoViewModel.m ├── UserViewController+Protect.h ├── UserViewController.h ├── UserViewController.m ├── ViewController.h ├── ViewController.m ├── icon0@2x.png ├── icon0@3x.png ├── icon1@2x.png ├── icon1@3x.png ├── like@2x.png ├── like@3x.png └── main.m ├── Podfile ├── Podfile.lock └── Pods ├── Headers ├── Private │ ├── MBProgressHUD │ │ └── MBProgressHUD.h │ ├── MJRefresh │ │ ├── MJRefresh.h │ │ ├── MJRefreshAutoFooter.h │ │ ├── MJRefreshAutoGifFooter.h │ │ ├── MJRefreshAutoNormalFooter.h │ │ ├── MJRefreshAutoStateFooter.h │ │ ├── MJRefreshBackFooter.h │ │ ├── MJRefreshBackGifFooter.h │ │ ├── MJRefreshBackNormalFooter.h │ │ ├── MJRefreshBackStateFooter.h │ │ ├── MJRefreshComponent.h │ │ ├── MJRefreshConst.h │ │ ├── MJRefreshFooter.h │ │ ├── MJRefreshGifHeader.h │ │ ├── MJRefreshHeader.h │ │ ├── MJRefreshNormalHeader.h │ │ ├── MJRefreshStateHeader.h │ │ ├── UIScrollView+MJExtension.h │ │ ├── UIScrollView+MJRefresh.h │ │ └── UIView+MJExtension.h │ ├── Masonry │ │ ├── MASCompositeConstraint.h │ │ ├── MASConstraint+Private.h │ │ ├── MASConstraint.h │ │ ├── MASConstraintMaker.h │ │ ├── MASLayoutConstraint.h │ │ ├── MASUtilities.h │ │ ├── MASViewAttribute.h │ │ ├── MASViewConstraint.h │ │ ├── Masonry.h │ │ ├── NSArray+MASAdditions.h │ │ ├── NSArray+MASShorthandAdditions.h │ │ ├── NSLayoutConstraint+MASDebugAdditions.h │ │ ├── View+MASAdditions.h │ │ ├── View+MASShorthandAdditions.h │ │ └── ViewController+MASAdditions.h │ ├── ReactiveCocoa │ │ ├── MKAnnotationView+RACSignalSupport.h │ │ ├── NSArray+RACSequenceAdditions.h │ │ ├── NSData+RACSupport.h │ │ ├── NSDictionary+RACSequenceAdditions.h │ │ ├── NSEnumerator+RACSequenceAdditions.h │ │ ├── NSFileHandle+RACSupport.h │ │ ├── NSIndexSet+RACSequenceAdditions.h │ │ ├── NSInvocation+RACTypeParsing.h │ │ ├── NSNotificationCenter+RACSupport.h │ │ ├── NSObject+RACDeallocating.h │ │ ├── NSObject+RACDescription.h │ │ ├── NSObject+RACKVOWrapper.h │ │ ├── NSObject+RACLifting.h │ │ ├── NSObject+RACPropertySubscribing.h │ │ ├── NSObject+RACSelectorSignal.h │ │ ├── NSOrderedSet+RACSequenceAdditions.h │ │ ├── NSSet+RACSequenceAdditions.h │ │ ├── NSString+RACKeyPathUtilities.h │ │ ├── NSString+RACSequenceAdditions.h │ │ ├── NSString+RACSupport.h │ │ ├── NSURLConnection+RACSupport.h │ │ ├── NSUserDefaults+RACSupport.h │ │ ├── RACArraySequence.h │ │ ├── RACBehaviorSubject.h │ │ ├── RACBlockTrampoline.h │ │ ├── RACChannel.h │ │ ├── RACCommand.h │ │ ├── RACCompoundDisposable.h │ │ ├── RACDelegateProxy.h │ │ ├── RACDisposable.h │ │ ├── RACDynamicSequence.h │ │ ├── RACDynamicSignal.h │ │ ├── RACEXTKeyPathCoding.h │ │ ├── RACEXTRuntimeExtensions.h │ │ ├── RACEXTScope.h │ │ ├── RACEagerSequence.h │ │ ├── RACEmptySequence.h │ │ ├── RACEmptySignal.h │ │ ├── RACErrorSignal.h │ │ ├── RACEvent.h │ │ ├── RACGroupedSignal.h │ │ ├── RACImmediateScheduler.h │ │ ├── RACIndexSetSequence.h │ │ ├── RACKVOChannel.h │ │ ├── RACKVOProxy.h │ │ ├── RACKVOTrampoline.h │ │ ├── RACMulticastConnection+Private.h │ │ ├── RACMulticastConnection.h │ │ ├── RACObjCRuntime.h │ │ ├── RACPassthroughSubscriber.h │ │ ├── RACQueueScheduler+Subclass.h │ │ ├── RACQueueScheduler.h │ │ ├── RACReplaySubject.h │ │ ├── RACReturnSignal.h │ │ ├── RACScheduler+Private.h │ │ ├── RACScheduler+Subclass.h │ │ ├── RACScheduler.h │ │ ├── RACScopedDisposable.h │ │ ├── RACSequence.h │ │ ├── RACSerialDisposable.h │ │ ├── RACSignal+Operations.h │ │ ├── RACSignal.h │ │ ├── RACSignalSequence.h │ │ ├── RACStream+Private.h │ │ ├── RACStream.h │ │ ├── RACStringSequence.h │ │ ├── RACSubject.h │ │ ├── RACSubscriber+Private.h │ │ ├── RACSubscriber.h │ │ ├── RACSubscriptingAssignmentTrampoline.h │ │ ├── RACSubscriptionScheduler.h │ │ ├── RACTargetQueueScheduler.h │ │ ├── RACTestScheduler.h │ │ ├── RACTuple.h │ │ ├── RACTupleSequence.h │ │ ├── RACUnarySequence.h │ │ ├── RACUnit.h │ │ ├── RACValueTransformer.h │ │ ├── RACmetamacros.h │ │ ├── ReactiveCocoa.h │ │ ├── UIActionSheet+RACSignalSupport.h │ │ ├── UIAlertView+RACSignalSupport.h │ │ ├── UIBarButtonItem+RACCommandSupport.h │ │ ├── UIButton+RACCommandSupport.h │ │ ├── UICollectionReusableView+RACSignalSupport.h │ │ ├── UIControl+RACSignalSupport.h │ │ ├── UIControl+RACSignalSupportPrivate.h │ │ ├── UIDatePicker+RACSignalSupport.h │ │ ├── UIGestureRecognizer+RACSignalSupport.h │ │ ├── UIImagePickerController+RACSignalSupport.h │ │ ├── UIRefreshControl+RACCommandSupport.h │ │ ├── UISegmentedControl+RACSignalSupport.h │ │ ├── UISlider+RACSignalSupport.h │ │ ├── UIStepper+RACSignalSupport.h │ │ ├── UISwitch+RACSignalSupport.h │ │ ├── UITableViewCell+RACSignalSupport.h │ │ ├── UITableViewHeaderFooterView+RACSignalSupport.h │ │ ├── UITextField+RACSignalSupport.h │ │ └── UITextView+RACSignalSupport.h │ └── Toast │ │ └── UIView+Toast.h └── Public │ ├── MBProgressHUD │ └── MBProgressHUD.h │ ├── MJRefresh │ ├── MJRefresh.h │ ├── MJRefreshAutoFooter.h │ ├── MJRefreshAutoGifFooter.h │ ├── MJRefreshAutoNormalFooter.h │ ├── MJRefreshAutoStateFooter.h │ ├── MJRefreshBackFooter.h │ ├── MJRefreshBackGifFooter.h │ ├── MJRefreshBackNormalFooter.h │ ├── MJRefreshBackStateFooter.h │ ├── MJRefreshComponent.h │ ├── MJRefreshConst.h │ ├── MJRefreshFooter.h │ ├── MJRefreshGifHeader.h │ ├── MJRefreshHeader.h │ ├── MJRefreshNormalHeader.h │ ├── MJRefreshStateHeader.h │ ├── UIScrollView+MJExtension.h │ ├── UIScrollView+MJRefresh.h │ └── UIView+MJExtension.h │ ├── Masonry │ ├── MASCompositeConstraint.h │ ├── MASConstraint+Private.h │ ├── MASConstraint.h │ ├── MASConstraintMaker.h │ ├── MASLayoutConstraint.h │ ├── MASUtilities.h │ ├── MASViewAttribute.h │ ├── MASViewConstraint.h │ ├── Masonry.h │ ├── NSArray+MASAdditions.h │ ├── NSArray+MASShorthandAdditions.h │ ├── NSLayoutConstraint+MASDebugAdditions.h │ ├── View+MASAdditions.h │ ├── View+MASShorthandAdditions.h │ └── ViewController+MASAdditions.h │ ├── ReactiveCocoa │ ├── MKAnnotationView+RACSignalSupport.h │ ├── NSArray+RACSequenceAdditions.h │ ├── NSData+RACSupport.h │ ├── NSDictionary+RACSequenceAdditions.h │ ├── NSEnumerator+RACSequenceAdditions.h │ ├── NSFileHandle+RACSupport.h │ ├── NSIndexSet+RACSequenceAdditions.h │ ├── NSInvocation+RACTypeParsing.h │ ├── NSNotificationCenter+RACSupport.h │ ├── NSObject+RACDeallocating.h │ ├── NSObject+RACDescription.h │ ├── NSObject+RACKVOWrapper.h │ ├── NSObject+RACLifting.h │ ├── NSObject+RACPropertySubscribing.h │ ├── NSObject+RACSelectorSignal.h │ ├── NSOrderedSet+RACSequenceAdditions.h │ ├── NSSet+RACSequenceAdditions.h │ ├── NSString+RACKeyPathUtilities.h │ ├── NSString+RACSequenceAdditions.h │ ├── NSString+RACSupport.h │ ├── NSURLConnection+RACSupport.h │ ├── NSUserDefaults+RACSupport.h │ ├── RACArraySequence.h │ ├── RACBehaviorSubject.h │ ├── RACBlockTrampoline.h │ ├── RACChannel.h │ ├── RACCommand.h │ ├── RACCompoundDisposable.h │ ├── RACDelegateProxy.h │ ├── RACDisposable.h │ ├── RACDynamicSequence.h │ ├── RACDynamicSignal.h │ ├── RACEXTKeyPathCoding.h │ ├── RACEXTRuntimeExtensions.h │ ├── RACEXTScope.h │ ├── RACEagerSequence.h │ ├── RACEmptySequence.h │ ├── RACEmptySignal.h │ ├── RACErrorSignal.h │ ├── RACEvent.h │ ├── RACGroupedSignal.h │ ├── RACImmediateScheduler.h │ ├── RACIndexSetSequence.h │ ├── RACKVOChannel.h │ ├── RACKVOProxy.h │ ├── RACKVOTrampoline.h │ ├── RACMulticastConnection.h │ ├── RACObjCRuntime.h │ ├── RACPassthroughSubscriber.h │ ├── RACQueueScheduler+Subclass.h │ ├── RACQueueScheduler.h │ ├── RACReplaySubject.h │ ├── RACReturnSignal.h │ ├── RACScheduler+Subclass.h │ ├── RACScheduler.h │ ├── RACScopedDisposable.h │ ├── RACSequence.h │ ├── RACSerialDisposable.h │ ├── RACSignal+Operations.h │ ├── RACSignal.h │ ├── RACSignalSequence.h │ ├── RACStream.h │ ├── RACStringSequence.h │ ├── RACSubject.h │ ├── RACSubscriber.h │ ├── RACSubscriptingAssignmentTrampoline.h │ ├── RACSubscriptionScheduler.h │ ├── RACTargetQueueScheduler.h │ ├── RACTestScheduler.h │ ├── RACTuple.h │ ├── RACTupleSequence.h │ ├── RACUnarySequence.h │ ├── RACUnit.h │ ├── RACValueTransformer.h │ ├── RACmetamacros.h │ ├── ReactiveCocoa.h │ ├── UIActionSheet+RACSignalSupport.h │ ├── UIAlertView+RACSignalSupport.h │ ├── UIBarButtonItem+RACCommandSupport.h │ ├── UIButton+RACCommandSupport.h │ ├── UICollectionReusableView+RACSignalSupport.h │ ├── UIControl+RACSignalSupport.h │ ├── UIControl+RACSignalSupportPrivate.h │ ├── UIDatePicker+RACSignalSupport.h │ ├── UIGestureRecognizer+RACSignalSupport.h │ ├── UIImagePickerController+RACSignalSupport.h │ ├── UIRefreshControl+RACCommandSupport.h │ ├── UISegmentedControl+RACSignalSupport.h │ ├── UISlider+RACSignalSupport.h │ ├── UIStepper+RACSignalSupport.h │ ├── UISwitch+RACSignalSupport.h │ ├── UITableViewCell+RACSignalSupport.h │ ├── UITableViewHeaderFooterView+RACSignalSupport.h │ ├── UITextField+RACSignalSupport.h │ └── UITextView+RACSignalSupport.h │ └── Toast │ └── UIView+Toast.h ├── MBProgressHUD ├── LICENSE ├── MBProgressHUD.h ├── MBProgressHUD.m └── README.mdown ├── MJRefresh ├── LICENSE ├── MJRefresh │ ├── Base │ │ ├── MJRefreshAutoFooter.h │ │ ├── MJRefreshAutoFooter.m │ │ ├── MJRefreshBackFooter.h │ │ ├── MJRefreshBackFooter.m │ │ ├── MJRefreshComponent.h │ │ ├── MJRefreshComponent.m │ │ ├── MJRefreshFooter.h │ │ ├── MJRefreshFooter.m │ │ ├── MJRefreshHeader.h │ │ └── MJRefreshHeader.m │ ├── Custom │ │ ├── Footer │ │ │ ├── Auto │ │ │ │ ├── MJRefreshAutoGifFooter.h │ │ │ │ ├── MJRefreshAutoGifFooter.m │ │ │ │ ├── MJRefreshAutoNormalFooter.h │ │ │ │ ├── MJRefreshAutoNormalFooter.m │ │ │ │ ├── MJRefreshAutoStateFooter.h │ │ │ │ └── MJRefreshAutoStateFooter.m │ │ │ └── Back │ │ │ │ ├── MJRefreshBackGifFooter.h │ │ │ │ ├── MJRefreshBackGifFooter.m │ │ │ │ ├── MJRefreshBackNormalFooter.h │ │ │ │ ├── MJRefreshBackNormalFooter.m │ │ │ │ ├── MJRefreshBackStateFooter.h │ │ │ │ └── MJRefreshBackStateFooter.m │ │ └── Header │ │ │ ├── MJRefreshGifHeader.h │ │ │ ├── MJRefreshGifHeader.m │ │ │ ├── MJRefreshNormalHeader.h │ │ │ ├── MJRefreshNormalHeader.m │ │ │ ├── MJRefreshStateHeader.h │ │ │ └── MJRefreshStateHeader.m │ ├── MJRefresh.bundle │ │ └── arrow@2x.png │ ├── MJRefresh.h │ ├── MJRefreshConst.h │ ├── MJRefreshConst.m │ ├── UIScrollView+MJExtension.h │ ├── UIScrollView+MJExtension.m │ ├── UIScrollView+MJRefresh.h │ ├── UIScrollView+MJRefresh.m │ ├── UIView+MJExtension.h │ └── UIView+MJExtension.m └── README.md ├── Manifest.lock ├── Masonry ├── LICENSE ├── Masonry │ ├── MASCompositeConstraint.h │ ├── MASCompositeConstraint.m │ ├── MASConstraint+Private.h │ ├── MASConstraint.h │ ├── MASConstraint.m │ ├── MASConstraintMaker.h │ ├── MASConstraintMaker.m │ ├── MASLayoutConstraint.h │ ├── MASLayoutConstraint.m │ ├── MASUtilities.h │ ├── MASViewAttribute.h │ ├── MASViewAttribute.m │ ├── MASViewConstraint.h │ ├── MASViewConstraint.m │ ├── Masonry.h │ ├── NSArray+MASAdditions.h │ ├── NSArray+MASAdditions.m │ ├── NSArray+MASShorthandAdditions.h │ ├── NSLayoutConstraint+MASDebugAdditions.h │ ├── NSLayoutConstraint+MASDebugAdditions.m │ ├── View+MASAdditions.h │ ├── View+MASAdditions.m │ ├── View+MASShorthandAdditions.h │ ├── ViewController+MASAdditions.h │ └── ViewController+MASAdditions.m └── README.md ├── Pods.xcodeproj ├── project.pbxproj └── xcuserdata │ └── HeiHuaBaiHua.xcuserdatad │ └── xcschemes │ ├── MBProgressHUD.xcscheme │ ├── MJRefresh.xcscheme │ ├── Masonry.xcscheme │ ├── Pods-MVC.xcscheme │ ├── ReactiveCocoa.xcscheme │ ├── Toast.xcscheme │ └── xcschememanagement.plist ├── ReactiveCocoa ├── LICENSE.md ├── README.md └── ReactiveCocoa │ ├── MKAnnotationView+RACSignalSupport.h │ ├── MKAnnotationView+RACSignalSupport.m │ ├── NSArray+RACSequenceAdditions.h │ ├── NSArray+RACSequenceAdditions.m │ ├── NSData+RACSupport.h │ ├── NSData+RACSupport.m │ ├── NSDictionary+RACSequenceAdditions.h │ ├── NSDictionary+RACSequenceAdditions.m │ ├── NSEnumerator+RACSequenceAdditions.h │ ├── NSEnumerator+RACSequenceAdditions.m │ ├── NSFileHandle+RACSupport.h │ ├── NSFileHandle+RACSupport.m │ ├── NSIndexSet+RACSequenceAdditions.h │ ├── NSIndexSet+RACSequenceAdditions.m │ ├── NSInvocation+RACTypeParsing.h │ ├── NSInvocation+RACTypeParsing.m │ ├── NSNotificationCenter+RACSupport.h │ ├── NSNotificationCenter+RACSupport.m │ ├── NSObject+RACDeallocating.h │ ├── NSObject+RACDeallocating.m │ ├── NSObject+RACDescription.h │ ├── NSObject+RACDescription.m │ ├── NSObject+RACKVOWrapper.h │ ├── NSObject+RACKVOWrapper.m │ ├── NSObject+RACLifting.h │ ├── NSObject+RACLifting.m │ ├── NSObject+RACPropertySubscribing.h │ ├── NSObject+RACPropertySubscribing.m │ ├── NSObject+RACSelectorSignal.h │ ├── NSObject+RACSelectorSignal.m │ ├── NSOrderedSet+RACSequenceAdditions.h │ ├── NSOrderedSet+RACSequenceAdditions.m │ ├── NSSet+RACSequenceAdditions.h │ ├── NSSet+RACSequenceAdditions.m │ ├── NSString+RACKeyPathUtilities.h │ ├── NSString+RACKeyPathUtilities.m │ ├── NSString+RACSequenceAdditions.h │ ├── NSString+RACSequenceAdditions.m │ ├── NSString+RACSupport.h │ ├── NSString+RACSupport.m │ ├── NSURLConnection+RACSupport.h │ ├── NSURLConnection+RACSupport.m │ ├── NSUserDefaults+RACSupport.h │ ├── NSUserDefaults+RACSupport.m │ ├── RACArraySequence.h │ ├── RACArraySequence.m │ ├── RACBehaviorSubject.h │ ├── RACBehaviorSubject.m │ ├── RACBlockTrampoline.h │ ├── RACBlockTrampoline.m │ ├── RACChannel.h │ ├── RACChannel.m │ ├── RACCommand.h │ ├── RACCommand.m │ ├── RACCompoundDisposable.h │ ├── RACCompoundDisposable.m │ ├── RACCompoundDisposableProvider.d │ ├── RACDelegateProxy.h │ ├── RACDelegateProxy.m │ ├── RACDisposable.h │ ├── RACDisposable.m │ ├── RACDynamicSequence.h │ ├── RACDynamicSequence.m │ ├── RACDynamicSignal.h │ ├── RACDynamicSignal.m │ ├── RACEagerSequence.h │ ├── RACEagerSequence.m │ ├── RACEmptySequence.h │ ├── RACEmptySequence.m │ ├── RACEmptySignal.h │ ├── RACEmptySignal.m │ ├── RACErrorSignal.h │ ├── RACErrorSignal.m │ ├── RACEvent.h │ ├── RACEvent.m │ ├── RACGroupedSignal.h │ ├── RACGroupedSignal.m │ ├── RACImmediateScheduler.h │ ├── RACImmediateScheduler.m │ ├── RACIndexSetSequence.h │ ├── RACIndexSetSequence.m │ ├── RACKVOChannel.h │ ├── RACKVOChannel.m │ ├── RACKVOProxy.h │ ├── RACKVOProxy.m │ ├── RACKVOTrampoline.h │ ├── RACKVOTrampoline.m │ ├── RACMulticastConnection+Private.h │ ├── RACMulticastConnection.h │ ├── RACMulticastConnection.m │ ├── RACObjCRuntime.h │ ├── RACObjCRuntime.m │ ├── RACPassthroughSubscriber.h │ ├── RACPassthroughSubscriber.m │ ├── RACQueueScheduler+Subclass.h │ ├── RACQueueScheduler.h │ ├── RACQueueScheduler.m │ ├── RACReplaySubject.h │ ├── RACReplaySubject.m │ ├── RACReturnSignal.h │ ├── RACReturnSignal.m │ ├── RACScheduler+Private.h │ ├── RACScheduler+Subclass.h │ ├── RACScheduler.h │ ├── RACScheduler.m │ ├── RACScopedDisposable.h │ ├── RACScopedDisposable.m │ ├── RACSequence.h │ ├── RACSequence.m │ ├── RACSerialDisposable.h │ ├── RACSerialDisposable.m │ ├── RACSignal+Operations.h │ ├── RACSignal+Operations.m │ ├── RACSignal.h │ ├── RACSignal.m │ ├── RACSignalProvider.d │ ├── RACSignalSequence.h │ ├── RACSignalSequence.m │ ├── RACStream+Private.h │ ├── RACStream.h │ ├── RACStream.m │ ├── RACStringSequence.h │ ├── RACStringSequence.m │ ├── RACSubject.h │ ├── RACSubject.m │ ├── RACSubscriber+Private.h │ ├── RACSubscriber.h │ ├── RACSubscriber.m │ ├── RACSubscriptingAssignmentTrampoline.h │ ├── RACSubscriptingAssignmentTrampoline.m │ ├── RACSubscriptionScheduler.h │ ├── RACSubscriptionScheduler.m │ ├── RACTargetQueueScheduler.h │ ├── RACTargetQueueScheduler.m │ ├── RACTestScheduler.h │ ├── RACTestScheduler.m │ ├── RACTuple.h │ ├── RACTuple.m │ ├── RACTupleSequence.h │ ├── RACTupleSequence.m │ ├── RACUnarySequence.h │ ├── RACUnarySequence.m │ ├── RACUnit.h │ ├── RACUnit.m │ ├── RACValueTransformer.h │ ├── RACValueTransformer.m │ ├── ReactiveCocoa.h │ ├── UIActionSheet+RACSignalSupport.h │ ├── UIActionSheet+RACSignalSupport.m │ ├── UIAlertView+RACSignalSupport.h │ ├── UIAlertView+RACSignalSupport.m │ ├── UIBarButtonItem+RACCommandSupport.h │ ├── UIBarButtonItem+RACCommandSupport.m │ ├── UIButton+RACCommandSupport.h │ ├── UIButton+RACCommandSupport.m │ ├── UICollectionReusableView+RACSignalSupport.h │ ├── UICollectionReusableView+RACSignalSupport.m │ ├── UIControl+RACSignalSupport.h │ ├── UIControl+RACSignalSupport.m │ ├── UIControl+RACSignalSupportPrivate.h │ ├── UIControl+RACSignalSupportPrivate.m │ ├── UIDatePicker+RACSignalSupport.h │ ├── UIDatePicker+RACSignalSupport.m │ ├── UIGestureRecognizer+RACSignalSupport.h │ ├── UIGestureRecognizer+RACSignalSupport.m │ ├── UIImagePickerController+RACSignalSupport.h │ ├── UIImagePickerController+RACSignalSupport.m │ ├── UIRefreshControl+RACCommandSupport.h │ ├── UIRefreshControl+RACCommandSupport.m │ ├── UISegmentedControl+RACSignalSupport.h │ ├── UISegmentedControl+RACSignalSupport.m │ ├── UISlider+RACSignalSupport.h │ ├── UISlider+RACSignalSupport.m │ ├── UIStepper+RACSignalSupport.h │ ├── UIStepper+RACSignalSupport.m │ ├── UISwitch+RACSignalSupport.h │ ├── UISwitch+RACSignalSupport.m │ ├── UITableViewCell+RACSignalSupport.h │ ├── UITableViewCell+RACSignalSupport.m │ ├── UITableViewHeaderFooterView+RACSignalSupport.h │ ├── UITableViewHeaderFooterView+RACSignalSupport.m │ ├── UITextField+RACSignalSupport.h │ ├── UITextField+RACSignalSupport.m │ ├── UITextView+RACSignalSupport.h │ ├── UITextView+RACSignalSupport.m │ └── extobjc │ ├── RACEXTKeyPathCoding.h │ ├── RACEXTRuntimeExtensions.h │ ├── RACEXTRuntimeExtensions.m │ ├── RACEXTScope.h │ └── RACmetamacros.h ├── Target Support Files ├── MBProgressHUD │ ├── MBProgressHUD-dummy.m │ ├── MBProgressHUD-prefix.pch │ └── MBProgressHUD.xcconfig ├── MJRefresh │ ├── MJRefresh-dummy.m │ ├── MJRefresh-prefix.pch │ └── MJRefresh.xcconfig ├── Masonry │ ├── Masonry-dummy.m │ ├── Masonry-prefix.pch │ └── Masonry.xcconfig ├── Pods-MVC │ ├── Pods-MVC-acknowledgements.markdown │ ├── Pods-MVC-acknowledgements.plist │ ├── Pods-MVC-dummy.m │ ├── Pods-MVC-frameworks.sh │ ├── Pods-MVC-resources.sh │ ├── Pods-MVC.debug.xcconfig │ └── Pods-MVC.release.xcconfig ├── ReactiveCocoa │ ├── ReactiveCocoa-dummy.m │ ├── ReactiveCocoa-prefix.pch │ └── ReactiveCocoa.xcconfig └── Toast │ ├── Toast-dummy.m │ ├── Toast-prefix.pch │ └── Toast.xcconfig └── Toast ├── README.markdown ├── Toast └── Toast │ ├── UIView+Toast.h │ └── UIView+Toast.m └── license /MVC.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /MVC.xcodeproj/project.xcworkspace/xcuserdata/HeiHuaBaiHua.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HeiHuaBaiHua/TMVX/2aac69eecddff21bcbfbacd060617d46bc04cf5e/MVC.xcodeproj/project.xcworkspace/xcuserdata/HeiHuaBaiHua.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /MVC.xcodeproj/xcuserdata/HeiHuaBaiHua.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | MVC.xcscheme 8 | 9 | orderHint 10 | 0 11 | 12 | 13 | SuppressBuildableAutocreation 14 | 15 | 9DDC09FF1E703007003509E4 16 | 17 | primary 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /MVC.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /MVC.xcworkspace/xcuserdata/HeiHuaBaiHua.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HeiHuaBaiHua/TMVX/2aac69eecddff21bcbfbacd060617d46bc04cf5e/MVC.xcworkspace/xcuserdata/HeiHuaBaiHua.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /MVC.xcworkspace/xcuserdata/HeiHuaBaiHua.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | -------------------------------------------------------------------------------- /MVC/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.h 3 | // MVC 4 | // 5 | // Created by 黑花白花 on 2017/3/8. 6 | // Copyright © 2017年 黑花白花. 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 | -------------------------------------------------------------------------------- /MVC/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "29x29", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "29x29", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "40x40", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "40x40", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "60x60", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "60x60", 31 | "scale" : "3x" 32 | } 33 | ], 34 | "info" : { 35 | "version" : 1, 36 | "author" : "xcode" 37 | } 38 | } -------------------------------------------------------------------------------- /MVC/Blog.h: -------------------------------------------------------------------------------- 1 | // 2 | // Blog.h 3 | // MVC 4 | // 5 | // Created by 黑花白花 on 2017/3/8. 6 | // Copyright © 2017年 黑花白花. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface Blog : NSObject 12 | 13 | - (instancetype)initWithBlogId:(NSUInteger)blogId; 14 | 15 | @property (copy, nonatomic) NSString *blogTitle; 16 | @property (copy, nonatomic) NSString *blogSummary; 17 | @property (assign, nonatomic) BOOL isLiked; 18 | @property (assign, nonatomic) NSUInteger blogId; 19 | @property (assign, nonatomic) NSUInteger likeCount; 20 | @property (assign, nonatomic) NSUInteger shareCount; 21 | 22 | @end 23 | -------------------------------------------------------------------------------- /MVC/Blog.m: -------------------------------------------------------------------------------- 1 | // 2 | // Blog.m 3 | // MVC 4 | // 5 | // Created by 黑花白花 on 2017/3/8. 6 | // Copyright © 2017年 黑花白花. All rights reserved. 7 | // 8 | 9 | #import "Blog.h" 10 | 11 | @implementation Blog 12 | 13 | - (instancetype)initWithBlogId:(NSUInteger)blogId { 14 | 15 | self.blogId = blogId; 16 | self.isLiked = blogId % 2; 17 | self.likeCount = blogId + 10; 18 | self.blogTitle = [NSString stringWithFormat:@"blogTitle%ld", blogId]; 19 | self.shareCount = blogId + 8; 20 | self.blogSummary = [NSString stringWithFormat:@"blogSummary%ld", blogId]; 21 | 22 | return self; 23 | } 24 | 25 | @end 26 | -------------------------------------------------------------------------------- /MVC/BlogCell.h: -------------------------------------------------------------------------------- 1 | // 2 | // BlogCell.h 3 | // MVC 4 | // 5 | // Created by 黑花白花 on 2017/3/11. 6 | // Copyright © 2017年 黑花白花. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | #import "BlogCellViewModel.h" 12 | @interface BlogCell : UITableViewCell 13 | 14 | @property (strong, nonatomic) BlogCellViewModel *viewModel; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /MVC/BlogCellHelper.h: -------------------------------------------------------------------------------- 1 | // 2 | // BlogCellHelper.h 3 | // MVC 4 | // 5 | // Created by 黑花白花 on 2017/3/9. 6 | // Copyright © 2017年 黑花白花. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | #import "Blog.h" 12 | @interface BlogCellHelper : NSObject 13 | 14 | + (instancetype)helperWithBlog:(Blog *)blog; 15 | 16 | - (Blog *)blog; 17 | 18 | - (BOOL)isLiked; 19 | - (NSString *)blogTitleText; 20 | - (NSString *)blogSummaryText; 21 | - (NSString *)blogLikeCountText; 22 | - (NSString *)blogShareCountText; 23 | 24 | @end 25 | -------------------------------------------------------------------------------- /MVC/BlogCellHelper.m: -------------------------------------------------------------------------------- 1 | // 2 | // BlogCellHelper.m 3 | // MVC 4 | // 5 | // Created by 黑花白花 on 2017/3/9. 6 | // Copyright © 2017年 黑花白花. All rights reserved. 7 | // 8 | 9 | #import "BlogCellHelper.h" 10 | 11 | @interface BlogCellHelper () 12 | 13 | @property (strong, nonatomic) Blog *blog; 14 | 15 | @end 16 | 17 | @implementation BlogCellHelper 18 | 19 | + (instancetype)helperWithBlog:(Blog *)blog {//懒 20 | BlogCellHelper *helper = [BlogCellHelper new]; 21 | helper.blog = blog; 22 | return helper; 23 | } 24 | 25 | - (BOOL)isLiked { 26 | return self.blog.isLiked; 27 | } 28 | 29 | - (NSString *)blogTitleText { 30 | return self.blog.blogTitle.length > 0 ? self.blog.blogTitle : @"未命名"; 31 | } 32 | 33 | - (NSString *)blogSummaryText { 34 | return self.blog.blogSummary.length > 0 ? [NSString stringWithFormat:@"摘要: %@", self.blog.blogSummary] : @"这个人很懒, 什么也没有写..."; 35 | } 36 | 37 | - (NSString *)blogLikeCountText { 38 | return [NSString stringWithFormat:@"赞 %ld", self.blog.likeCount]; 39 | } 40 | 41 | - (NSString *)blogShareCountText { 42 | return [NSString stringWithFormat:@"分享 %ld", self.blog.shareCount]; 43 | } 44 | 45 | @end 46 | -------------------------------------------------------------------------------- /MVC/BlogCellPresenter.h: -------------------------------------------------------------------------------- 1 | // 2 | // BlogCellPresenter.h 3 | // MVC 4 | // 5 | // Created by 黑花白花 on 2017/3/11. 6 | // Copyright © 2017年 黑花白花. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | #import "Blog.h" 12 | #import "UserAPIManager.h" 13 | 14 | @class BlogCellPresenter; 15 | @protocol BlogCellPresenterCallBack 16 | 17 | @optional 18 | - (void)blogPresenterDidUpdateLikeState:(BlogCellPresenter *)presenter; 19 | - (void)blogPresenterDidUpdateShareState:(BlogCellPresenter *)presenter; 20 | 21 | @end 22 | 23 | @interface BlogCellPresenter : NSObject 24 | 25 | @property (weak, nonatomic) id view; 26 | 27 | + (instancetype)presenterWithBlog:(Blog *)blog; 28 | 29 | - (Blog *)blog; 30 | 31 | - (BOOL)isLiked; 32 | - (NSString *)blogTitleText; 33 | - (NSString *)blogSummaryText; 34 | - (NSString *)blogLikeCountText; 35 | - (NSString *)blogShareCountText; 36 | 37 | - (void)likeBlogWithCompletionHandler:(NetworkCompletionHandler)completionHandler; 38 | - (void)shareBlogWithCompletionHandler:(NetworkCompletionHandler)completionHandler; 39 | @end 40 | -------------------------------------------------------------------------------- /MVC/BlogCellViewModel.h: -------------------------------------------------------------------------------- 1 | // 2 | // BlogCellViewModel.h 3 | // MVC 4 | // 5 | // Created by 黑花白花 on 2017/3/11. 6 | // Copyright © 2017年 黑花白花. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | #import "Blog.h" 12 | #import "ReactiveCocoa.h" 13 | #import "UserAPIManager.h" 14 | 15 | extern NSString *LikeBlogEvent; 16 | extern NSString *kCellViewModel; 17 | @interface BlogCellViewModel : NSObject 18 | 19 | + (instancetype)viewModelWithBlog:(Blog *)blog; 20 | 21 | - (Blog *)blog; 22 | 23 | - (BOOL)isLiked; 24 | - (NSString *)blogTitleText; 25 | - (NSString *)blogSummaryText; 26 | - (NSString *)blogLikeCount; 27 | - (NSString *)blogShareCount; 28 | 29 | - (RACCommand *)likeBlogCommand; 30 | - (RACCommand *)shareBlogCommand; 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /MVC/BlogTableViewCell.h: -------------------------------------------------------------------------------- 1 | // 2 | // BlogTableViewCell.h 3 | // MVC 4 | // 5 | // Created by 黑花白花 on 2017/3/8. 6 | // Copyright © 2017年 黑花白花. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | #import "UserAPIManager.h" 12 | @interface BlogTableViewCell : UITableViewCell 13 | 14 | - (void)setTitle:(NSString *)title; 15 | - (void)setSummary:(NSString *)summary; 16 | - (void)setLikeState:(BOOL)isLiked; 17 | - (void)setLikeCountText:(NSString *)likeCountText; 18 | - (void)setShareCountText:(NSString *)shareCountText; 19 | 20 | - (void)setDidLikeHandler:(void(^)())didLikeHandler; 21 | @end 22 | -------------------------------------------------------------------------------- /MVC/BlogTableViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // BlogTableViewHelper.h 3 | // MVC 4 | // 5 | // Created by 黑花白花 on 2017/3/8. 6 | // Copyright © 2017年 黑花白花. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | #import "UserAPIManager.h" 12 | @interface BlogTableViewController : NSObject 13 | 14 | + (instancetype)instanceWithUserId:(NSUInteger)userId; 15 | 16 | - (UITableView *)tableView; 17 | - (void)fetchDataWithCompletionHandler:(NetworkCompletionHandler)completionHander; 18 | - (void)setVCGenerator:(ViewControllerGenerator)VCGenerator; 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /MVC/BlogView.h: -------------------------------------------------------------------------------- 1 | // 2 | // BlogView.h 3 | // MVC 4 | // 5 | // Created by 黑花白花 on 2017/3/11. 6 | // Copyright © 2017年 黑花白花. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | #import "BlogViewModel.h" 12 | @interface BlogView : NSObject 13 | 14 | + (instancetype)instanceWithViewModel:(BlogViewModel *)viewModel; 15 | 16 | - (UITableView *)tableView; 17 | 18 | - (RACCommand *)fetchDataCommand; 19 | - (void)setDidSelectedRowCommand:(RACCommand *)didSelectedRowCommand; 20 | @end 21 | -------------------------------------------------------------------------------- /MVC/BlogViewCell.h: -------------------------------------------------------------------------------- 1 | // 2 | // BlogViewCell.h 3 | // MVC 4 | // 5 | // Created by 黑花白花 on 2017/3/11. 6 | // Copyright © 2017年 黑花白花. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | #import "BlogCellPresenter.h" 12 | @interface BlogViewCell : UITableViewCell 13 | 14 | @property (strong, nonatomic) BlogCellPresenter *presenter; 15 | 16 | - (void)setDidLikeHandler:(void (^)())didLikeHandler; 17 | @end 18 | -------------------------------------------------------------------------------- /MVC/BlogViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // BlogViewController.h 3 | // MVC 4 | // 5 | // Created by 黑花白花 on 2017/3/11. 6 | // Copyright © 2017年 黑花白花. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | #import "Blog.h" 12 | #import "BlogViewPresenter.h" 13 | @protocol BlogViewControllerCallBack 14 | 15 | - (void)blogViewControllerdidSelectBlog:(Blog *)blog; 16 | 17 | @end 18 | 19 | @interface BlogViewController : NSObject 20 | 21 | @property (weak, nonatomic) id delegate; 22 | 23 | + (instancetype)instanceWithPresenter:(BlogViewPresenter *)presenter; 24 | 25 | - (UITableView *)tableView; 26 | - (BlogViewPresenter *)presenter; 27 | @end 28 | -------------------------------------------------------------------------------- /MVC/BlogViewModel.h: -------------------------------------------------------------------------------- 1 | // 2 | // BlogViewModel.h 3 | // MVC 4 | // 5 | // Created by 黑花白花 on 2017/3/11. 6 | // Copyright © 2017年 黑花白花. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | #import "UserAPIManager.h" 12 | #import "BlogCellViewModel.h" 13 | @interface BlogViewModel : NSObject 14 | 15 | + (instancetype)viewModelWithUserId:(NSUInteger)userId; 16 | 17 | - (NSArray *)allDatas; 18 | 19 | - (RACSignal *)refreshDataSignal; 20 | - (RACSignal *)loadMoreDataSignal; 21 | 22 | @end 23 | -------------------------------------------------------------------------------- /MVC/BlogViewPresenter.h: -------------------------------------------------------------------------------- 1 | // 2 | // BlogViewPresenter.h 3 | // MVC 4 | // 5 | // Created by 黑花白花 on 2017/3/11. 6 | // Copyright © 2017年 黑花白花. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | #import "BlogCellPresenter.h" 12 | 13 | @class BlogViewPresenter; 14 | @protocol BlogViewPresenterCallBack 15 | 16 | - (void)blogViewPresenter:(BlogViewPresenter *)presenter didRefreshDataWithResult:(id)result error:(NSError *)error; 17 | - (void)blogViewPresenter:(BlogViewPresenter *)presenter didLoadMoreDataWithResult:(id)result error:(NSError *)error; 18 | 19 | @end 20 | 21 | @interface BlogViewPresenter : NSObject 22 | 23 | @property (weak, nonatomic) id view; 24 | 25 | + (instancetype)presenterWithUserId:(NSUInteger)userId; 26 | 27 | - (NSArray *)allDatas; 28 | 29 | - (void)refreshData; 30 | - (void)loadMoreData; 31 | - (void)fetchDataWithCompletionHandler:(NetworkCompletionHandler)completionHander; 32 | @end 33 | -------------------------------------------------------------------------------- /MVC/DetailViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // DetailViewController.h 3 | // MVC 4 | // 5 | // Created by 黑花白花 on 2017/3/9. 6 | // Copyright © 2017年 黑花白花. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class User; 12 | @class Blog; 13 | @class Draft; 14 | 15 | @interface UserDetailViewController : UIViewController 16 | + (instancetype)instanceWithUser:(User *)user; 17 | @end 18 | 19 | @interface BlogDetailViewController : UIViewController 20 | + (instancetype)instanceWithBlog:(Blog *)blog; 21 | @end 22 | 23 | @interface DraftDetailViewController : UIViewController 24 | + (instancetype)instanceWithDraft:(Draft *)draft; 25 | 26 | @end 27 | -------------------------------------------------------------------------------- /MVC/Draft.h: -------------------------------------------------------------------------------- 1 | // 2 | // Draft.h 3 | // MVC 4 | // 5 | // Created by 黑花白花 on 2017/3/8. 6 | // Copyright © 2017年 黑花白花. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface Draft : NSObject 12 | 13 | - (instancetype)initWithDraftId:(NSUInteger)draftId; 14 | 15 | @property (copy, nonatomic) NSString *draftTitle; 16 | @property (copy, nonatomic) NSString *draftSummary; 17 | @property (assign, nonatomic) NSUInteger draftId; 18 | @property (assign, nonatomic) NSUInteger editDate; 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /MVC/Draft.m: -------------------------------------------------------------------------------- 1 | // 2 | // Draft.m 3 | // MVC 4 | // 5 | // Created by 黑花白花 on 2017/3/8. 6 | // Copyright © 2017年 黑花白花. All rights reserved. 7 | // 8 | 9 | #import "Draft.h" 10 | 11 | @implementation Draft 12 | 13 | - (instancetype)initWithDraftId:(NSUInteger)draftId { 14 | 15 | self.draftId = draftId; 16 | self.draftTitle = [NSString stringWithFormat:@"draftTitle%ld", draftId]; 17 | self.draftSummary = [NSString stringWithFormat:@"draftSummary%ld", draftId]; 18 | self.editDate = [[NSDate date] timeIntervalSince1970] + arc4random() % 200; 19 | 20 | return self; 21 | } 22 | 23 | @end 24 | -------------------------------------------------------------------------------- /MVC/DraftCellHelper.h: -------------------------------------------------------------------------------- 1 | // 2 | // DraftCellHelper.h 3 | // MVC 4 | // 5 | // Created by 黑花白花 on 2017/3/9. 6 | // Copyright © 2017年 黑花白花. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | #import "Draft.h" 12 | 13 | @interface DraftCellHelper : NSObject 14 | 15 | + (instancetype)helperWithDraft:(Draft *)draft; 16 | 17 | - (Draft *)draft; 18 | 19 | - (NSString *)draftEditDate; 20 | - (NSString *)darftTitleText; 21 | - (NSString *)draftSummaryText; 22 | 23 | @end 24 | -------------------------------------------------------------------------------- /MVC/DraftCellHelper.m: -------------------------------------------------------------------------------- 1 | // 2 | // DraftCellHelper.m 3 | // MVC 4 | // 5 | // Created by 黑花白花 on 2017/3/9. 6 | // Copyright © 2017年 黑花白花. All rights reserved. 7 | // 8 | 9 | #import "DraftCellHelper.h" 10 | 11 | @interface DraftCellHelper () 12 | 13 | @property (strong, nonatomic) Draft *draft; 14 | 15 | @end 16 | 17 | @implementation DraftCellHelper 18 | 19 | + (instancetype)helperWithDraft:(Draft *)draft {//懒 20 | DraftCellHelper *helper = [DraftCellHelper new]; 21 | helper.draft = draft; 22 | return helper; 23 | } 24 | 25 | - (NSString *)draftEditDate { 26 | 27 | NSUInteger date = self.draft.editDate > 0 ? self.draft.editDate : [[NSDate date] timeIntervalSince1970]; 28 | return [[NSDate dateWithTimeIntervalSince1970:date] description]; 29 | } 30 | 31 | - (NSString *)darftTitleText { 32 | return self.draft.draftTitle.length > 0 ? self.draft.draftTitle : @"未命名"; 33 | } 34 | 35 | - (NSString *)draftSummaryText { 36 | return self.draft.draftSummary.length > 0 ? [NSString stringWithFormat:@"摘要: %@", self.draft.draftSummary] : @"写点什么吧~"; 37 | } 38 | 39 | @end 40 | -------------------------------------------------------------------------------- /MVC/DraftCellPresenter.h: -------------------------------------------------------------------------------- 1 | // 2 | // DraftCellPresenter.h 3 | // MVC 4 | // 5 | // Created by 黑花白花 on 2017/3/11. 6 | // Copyright © 2017年 黑花白花. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | #import "Draft.h" 12 | #import "UserAPIManager.h" 13 | @interface DraftCellPresenter : NSObject 14 | 15 | + (instancetype)presenterWithDraft:(Draft *)draft; 16 | 17 | - (Draft *)draft; 18 | 19 | - (NSString *)draftEditDate; 20 | - (NSString *)darftTitleText; 21 | - (NSString *)draftSummaryText; 22 | 23 | - (void)deleteDraftWithCompletionHandler:(NetworkCompletionHandler)completionHandler; 24 | @end 25 | -------------------------------------------------------------------------------- /MVC/DraftTableViewCell.h: -------------------------------------------------------------------------------- 1 | // 2 | // DraftTableViewCell.h 3 | // MVC 4 | // 5 | // Created by 黑花白花 on 2017/3/8. 6 | // Copyright © 2017年 黑花白花. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface DraftTableViewCell : UITableViewCell 12 | 13 | - (void)setTitle:(NSString *)title; 14 | - (void)setSummary:(NSString *)summary; 15 | - (void)setEditDate:(NSString *)editDate; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /MVC/DraftTableViewCell.m: -------------------------------------------------------------------------------- 1 | // 2 | // DraftTableViewCell.m 3 | // MVC 4 | // 5 | // Created by 黑花白花 on 2017/3/8. 6 | // Copyright © 2017年 黑花白花. All rights reserved. 7 | // 8 | 9 | #import "DraftTableViewCell.h" 10 | 11 | @interface DraftTableViewCell () 12 | @property (weak, nonatomic) IBOutlet UILabel *titleLabel; 13 | @property (weak, nonatomic) IBOutlet UILabel *summaryLabel; 14 | @property (weak, nonatomic) IBOutlet UILabel *editDateLabel; 15 | 16 | @end 17 | 18 | @implementation DraftTableViewCell 19 | 20 | - (void)awakeFromNib { 21 | [super awakeFromNib]; 22 | 23 | } 24 | 25 | #pragma mark - Setter 26 | 27 | - (void)setTitle:(NSString *)title { 28 | self.titleLabel.text = title; 29 | } 30 | 31 | - (void)setSummary:(NSString *)summary { 32 | self.summaryLabel.text = summary; 33 | } 34 | 35 | - (void)setEditDate:(NSString *)editDate { 36 | self.editDateLabel.text = editDate; 37 | } 38 | 39 | @end 40 | -------------------------------------------------------------------------------- /MVC/DraftTableViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // DraftTableViewHelper.h 3 | // MVC 4 | // 5 | // Created by 黑花白花 on 2017/3/8. 6 | // Copyright © 2017年 黑花白花. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | #import "Draft.h" 12 | #import "UserAPIManager.h" 13 | @interface DraftTableViewController : NSObject 14 | 15 | + (instancetype)instanceWithUserId:(NSUInteger)userId; 16 | 17 | - (UITableView *)tableView; 18 | 19 | - (void)fetchData; 20 | - (void)setDidSelectedRowHandler:(void (^)(Draft *))didSelectedRowHandler; 21 | 22 | @end 23 | -------------------------------------------------------------------------------- /MVC/DraftViewCell.h: -------------------------------------------------------------------------------- 1 | // 2 | // DraftViewCell.h 3 | // MVC 4 | // 5 | // Created by 黑花白花 on 2017/3/11. 6 | // Copyright © 2017年 黑花白花. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "DraftCellPresenter.h" 11 | @interface DraftViewCell : UITableViewCell 12 | 13 | @property (strong, nonatomic) DraftCellPresenter *presenter; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /MVC/DraftViewCell.m: -------------------------------------------------------------------------------- 1 | // 2 | // DraftViewCell.m 3 | // MVC 4 | // 5 | // Created by 黑花白花 on 2017/3/11. 6 | // Copyright © 2017年 黑花白花. All rights reserved. 7 | // 8 | 9 | #import "DraftViewCell.h" 10 | 11 | @interface DraftViewCell () 12 | @property (weak, nonatomic) IBOutlet UILabel *titleLabel; 13 | @property (weak, nonatomic) IBOutlet UILabel *summaryLabel; 14 | @property (weak, nonatomic) IBOutlet UILabel *editDateLabel; 15 | @end 16 | 17 | @implementation DraftViewCell 18 | 19 | - (void)setPresenter:(DraftCellPresenter *)presenter { 20 | _presenter = presenter; 21 | 22 | self.titleLabel.text = presenter.darftTitleText; 23 | self.summaryLabel.text = presenter.draftSummaryText; 24 | self.editDateLabel.text = presenter.draftEditDate; 25 | } 26 | 27 | @end 28 | -------------------------------------------------------------------------------- /MVC/DraftViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // DraftViewController.h 3 | // MVC 4 | // 5 | // Created by 黑花白花 on 2017/3/11. 6 | // Copyright © 2017年 黑花白花. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | #import "UserAPIManager.h" 12 | #import "DraftViewPresenter.h" 13 | @interface DraftViewController : NSObject 14 | 15 | + (instancetype)instanceWithPresenter:(DraftViewPresenter *)presenter; 16 | 17 | - (UITableView *)tableView; 18 | - (void)fetchDataWithCompletionHandler:(NetworkCompletionHandler)completionHander; 19 | 20 | - (void)setDidSelectedRowHandler:(void (^)(Draft *))didSelectedRowHandler; 21 | @end 22 | -------------------------------------------------------------------------------- /MVC/DraftViewPresenter.h: -------------------------------------------------------------------------------- 1 | // 2 | // DraftViewPresenter.h 3 | // MVC 4 | // 5 | // Created by 黑花白花 on 2017/3/11. 6 | // Copyright © 2017年 黑花白花. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | #import "UserAPIManager.h" 12 | #import "DraftCellPresenter.h" 13 | @interface DraftViewPresenter : NSObject 14 | 15 | + (instancetype)presenterWithUserId:(NSUInteger)userId; 16 | 17 | - (NSArray *)allDatas; 18 | 19 | - (void)refreshDataWithCompletionHandler:(NetworkCompletionHandler)completionHander; 20 | - (void)loadMoreDataWithCompletionHandler:(NetworkCompletionHandler)completionHander; 21 | - (void)deleteDraftAtIndex:(NSUInteger)index completionHandler:(NetworkCompletionHandler)completionHander; 22 | @end 23 | -------------------------------------------------------------------------------- /MVC/MVPUserViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // MVPUserViewController.h 3 | // MVC 4 | // 5 | // Created by 黑花白花 on 2017/3/11. 6 | // Copyright © 2017年 黑花白花. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface MVPUserViewController : UIViewController 12 | 13 | + (instancetype)instanceWithUserId:(NSUInteger)userId; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /MVC/MVVMUserViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // MVVMUserViewController.h 3 | // MVC 4 | // 5 | // Created by 黑花白花 on 2017/3/11. 6 | // Copyright © 2017年 黑花白花. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface MVVMUserViewController : UIViewController 12 | 13 | + (instancetype)instanceWithUserId:(NSUInteger)userId; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /MVC/SceneX.h: -------------------------------------------------------------------------------- 1 | // 2 | // SceneX.h 3 | // MVC 4 | // 5 | // Created by 黑花白花 on 2017/3/11. 6 | // Copyright © 2017年 黑花白花. All rights reserved. 7 | // 8 | 9 | #import "UserViewController.h" 10 | 11 | @interface SceneX : UserViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /MVC/SceneX.m: -------------------------------------------------------------------------------- 1 | // 2 | // SceneX.m 3 | // MVC 4 | // 5 | // Created by 黑花白花 on 2017/3/11. 6 | // Copyright © 2017年 黑花白花. All rights reserved. 7 | // 8 | 9 | #import "SceneX.h" 10 | 11 | #import "UIView+Alert.h" 12 | #import "UIView+Extension.h" 13 | #import "BlogTableViewController.h" 14 | 15 | @interface SceneX () 16 | 17 | @property (strong, nonatomic) BlogTableViewController *blogVC; 18 | 19 | @end 20 | 21 | @implementation SceneX 22 | 23 | - (void)viewDidLoad { 24 | [super viewDidLoad]; 25 | 26 | self.blogVC = [BlogTableViewController instanceWithUserId:999]; 27 | self.blogVC.tableView.frame = ScreenBounds; 28 | [self.view addSubview:self.blogVC.tableView]; 29 | 30 | [self showHUD]; 31 | [self.blogVC fetchDataWithCompletionHandler:^(NSError *error, id result) { 32 | [self hideHUD]; 33 | }]; 34 | } 35 | 36 | 37 | @end 38 | -------------------------------------------------------------------------------- /MVC/SceneY.h: -------------------------------------------------------------------------------- 1 | // 2 | // SceneY.h 3 | // MVC 4 | // 5 | // Created by 黑花白花 on 2017/3/11. 6 | // Copyright © 2017年 黑花白花. All rights reserved. 7 | // 8 | 9 | #import "UserViewController.h" 10 | 11 | @interface SceneY : UserViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /MVC/SceneY.m: -------------------------------------------------------------------------------- 1 | // 2 | // SceneY.m 3 | // MVC 4 | // 5 | // Created by 黑花白花 on 2017/3/11. 6 | // Copyright © 2017年 黑花白花. All rights reserved. 7 | // 8 | 9 | #import "SceneY.h" 10 | 11 | #import "UIView+Extension.h" 12 | #import "DraftTableViewController.h" 13 | 14 | @interface SceneY () 15 | 16 | @property (strong, nonatomic) DraftTableViewController *draftVC; 17 | 18 | @end 19 | 20 | @implementation SceneY 21 | 22 | - (void)viewDidLoad { 23 | [super viewDidLoad]; 24 | 25 | self.draftVC = [DraftTableViewController instanceWithUserId:999]; 26 | self.draftVC.tableView.frame = ScreenBounds; 27 | [self.view addSubview:self.draftVC.tableView]; 28 | [self.draftVC fetchData]; 29 | } 30 | 31 | @end 32 | -------------------------------------------------------------------------------- /MVC/SelfViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // SelfViewController.h 3 | // MVC 4 | // 5 | // Created by 黑花白花 on 2017/3/11. 6 | // Copyright © 2017年 黑花白花. All rights reserved. 7 | // 8 | 9 | #import "UserViewController.h" 10 | 11 | @interface SelfViewController : UserViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /MVC/UIResponder+Router.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIResponder+Router.h 3 | // MVC 4 | // 5 | // Created by 黑花白花 on 2017/3/8. 6 | // Copyright © 2017年 黑花白花. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface UIResponder (Router) 12 | 13 | - (void)routeEvent:(NSString *)eventName userInfo:(NSDictionary *)userInfo; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /MVC/UIResponder+Router.m: -------------------------------------------------------------------------------- 1 | // 2 | // UIResponder+Router.m 3 | // MVC 4 | // 5 | // Created by 黑花白花 on 2017/3/8. 6 | // Copyright © 2017年 黑花白花. All rights reserved. 7 | // 8 | 9 | #import "UIResponder+Router.h" 10 | 11 | @implementation UIResponder (Router) 12 | 13 | - (void)routeEvent:(NSString *)eventName userInfo:(NSDictionary *)userInfo { 14 | [self.nextResponder routeEvent:eventName userInfo:userInfo]; 15 | } 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /MVC/UIView+Alert.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIView+Alert.h 3 | // MVC 4 | // 5 | // Created by 黑花白花 on 2017/3/9. 6 | // Copyright © 2017年 黑花白花. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @protocol Alert 12 | 13 | - (void)showHUD; 14 | - (void)showHUDWithText:(NSString *)text; 15 | - (void)hideHUD; 16 | 17 | - (void)showToastWithText:(NSString *)toastString; 18 | - (void)showToastWithText:(NSString *)toastString positon:(id)positon; 19 | - (void)showToastWithText:(NSString *)toastString afterDelay:(NSTimeInterval)timeInterval; 20 | 21 | - (void)showAlertWithTitle:(NSString *)title message:(NSString *)message confirmHandler:(void(^)(UIAlertAction *confirmAction))handler; 22 | - (void)showAlertWithTitle:(NSString *)title message:(NSString *)message confirmTitle:(NSString *)confirmTitle confirmHandler:(void(^)(UIAlertAction *confirmAction))handler; 23 | - (void)showAlertWithTitle:(NSString *)title message:(NSString *)message cancelAction:(UIAlertAction *)cancelAction confirmAction:(UIAlertAction *)confirmAction; 24 | 25 | @end 26 | 27 | @interface UIView (Alert) 28 | @end 29 | 30 | @interface UIViewController (Alert) 31 | @end 32 | -------------------------------------------------------------------------------- /MVC/UIView+Controller.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIView+Controller.h 3 | // MVC 4 | // 5 | // Created by 黑花白花 on 2017/3/9. 6 | // Copyright © 2017年 黑花白花. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface UIView (Controller) 12 | 13 | - (UIViewController *)viewController; 14 | - (UINavigationController *)navigationController; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /MVC/UIView+Controller.m: -------------------------------------------------------------------------------- 1 | // 2 | // UIView+Controller.m 3 | // MVC 4 | // 5 | // Created by 黑花白花 on 2017/3/9. 6 | // Copyright © 2017年 黑花白花. All rights reserved. 7 | // 8 | 9 | #import "UIView+Controller.h" 10 | 11 | @implementation UIView (Controller) 12 | 13 | - (UIViewController *)viewController { 14 | 15 | UIResponder *next = [self nextResponder]; 16 | do { 17 | if ([next isKindOfClass:[UIViewController class]]) { 18 | return (UIViewController *)next; 19 | } 20 | next = [next nextResponder]; 21 | } while (next != nil); 22 | 23 | return nil; 24 | } 25 | 26 | - (UINavigationController *)navigationController { 27 | return self.viewController.navigationController; 28 | } 29 | 30 | @end 31 | -------------------------------------------------------------------------------- /MVC/User.h: -------------------------------------------------------------------------------- 1 | // 2 | // User.h 3 | // MVC 4 | // 5 | // Created by 黑花白花 on 2017/3/8. 6 | // Copyright © 2017年 黑花白花. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface User : NSObject 12 | 13 | - (instancetype)initWithUserId:(NSUInteger)userId; 14 | 15 | @property (copy, nonatomic) NSString *name; 16 | @property (copy, nonatomic) NSString *icon; 17 | @property (copy, nonatomic) NSString *summary; 18 | @property (assign, nonatomic) NSUInteger userId; 19 | @property (assign, nonatomic) NSUInteger blogCount; 20 | @property (assign, nonatomic) NSUInteger friendCount; 21 | 22 | @end 23 | -------------------------------------------------------------------------------- /MVC/User.m: -------------------------------------------------------------------------------- 1 | // 2 | // User.m 3 | // MVC 4 | // 5 | // Created by 黑花白花 on 2017/3/8. 6 | // Copyright © 2017年 黑花白花. All rights reserved. 7 | // 8 | 9 | #import "User.h" 10 | 11 | @implementation User 12 | 13 | - (instancetype)initWithUserId:(NSUInteger)userId { 14 | 15 | self.name = [NSString stringWithFormat:@"user%lu",userId]; 16 | self.icon = [NSString stringWithFormat:@"icon%lu.png", userId % 2]; 17 | self.userId = userId; 18 | self.summary = [NSString stringWithFormat:@"userSummary%ld", userId]; 19 | self.blogCount = userId + 8; 20 | self.friendCount = userId + 10; 21 | return self; 22 | } 23 | 24 | @end 25 | -------------------------------------------------------------------------------- /MVC/UserInfoController.h: -------------------------------------------------------------------------------- 1 | // 2 | // UserInfoController.h 3 | // MVC 4 | // 5 | // Created by 黑花白花 on 2017/3/31. 6 | // Copyright © 2017年 黑花白花. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | #import "UserInfoView.h" 12 | #import "UserInfoViewModel.h" 13 | @interface UserInfoController : NSObject 14 | 15 | //法1 16 | + (instancetype)instanceWithView:(UserInfoView *)view viewModel:(UserInfoViewModel *)viewModel; 17 | 18 | //法2 19 | //+ (instancetype)instanceWithView:(UIView *)view viewModel:(id)viewModel; 20 | 21 | - (UserInfoView *)view; 22 | - (UserInfoViewModel *)viewModel; 23 | //- (UIView *)view; 24 | //- (id *)viewModel; 25 | 26 | - (void)fetchData; 27 | - (void)setOnClickIconCommand:(RACCommand *)onClickIconCommand; 28 | @end 29 | -------------------------------------------------------------------------------- /MVC/UserInfoView.h: -------------------------------------------------------------------------------- 1 | // 2 | // UserInfoView.h 3 | // MVC 4 | // 5 | // Created by 黑花白花 on 2017/3/31. 6 | // Copyright © 2017年 黑花白花. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @protocol UserInfoViewProtocl 12 | 13 | - (UIButton *)iconButton; 14 | - (UILabel *)nameLabel; 15 | - (UILabel *)summaryLabel; 16 | - (UILabel *)blogCountLabel; 17 | - (UILabel *)friendCountLabel; 18 | 19 | @end 20 | 21 | @interface UserInfoView : UIView/***/ 22 | 23 | - (UIButton *)iconButton; 24 | - (UILabel *)nameLabel; 25 | - (UILabel *)summaryLabel; 26 | - (UILabel *)blogCountLabel; 27 | - (UILabel *)friendCountLabel; 28 | 29 | @end 30 | -------------------------------------------------------------------------------- /MVC/UserInfoViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // UserInfoViewController.h 3 | // MVC 4 | // 5 | // Created by 黑花白花 on 2017/3/8. 6 | // Copyright © 2017年 黑花白花. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | #import "UserAPIManager.h" 12 | @interface UserInfoViewController : UIViewController 13 | 14 | + (CGFloat)viewHeight; 15 | + (instancetype)instanceWithUserId:(NSUInteger)userId; 16 | 17 | - (void)fetchData; 18 | - (void)setVCGenerator:(ViewControllerGenerator)VCGenerator; 19 | @end 20 | -------------------------------------------------------------------------------- /MVC/UserInfoViewModel.h: -------------------------------------------------------------------------------- 1 | // 2 | // UserInfoViewModel.h 3 | // MVC 4 | // 5 | // Created by 黑花白花 on 2017/3/31. 6 | // Copyright © 2017年 黑花白花. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class User; 12 | #import "ReactiveCocoa.h" 13 | 14 | @protocol UserInfoViewModelProtocol 15 | 16 | - (User *)user; 17 | - (RACCommand *)fetchUserInfoCommand; 18 | 19 | - (UIImage *)icon; 20 | - (NSString *)name; 21 | - (NSString *)summary; 22 | - (NSString *)blogCount; 23 | - (NSString *)friendCount; 24 | 25 | @end 26 | 27 | @interface UserInfoViewModel : NSObject/***/ 28 | 29 | + (instancetype)viewModelWithUserId:(NSUInteger)userId; 30 | 31 | - (User *)user; 32 | - (RACCommand *)fetchUserInfoCommand; 33 | 34 | - (UIImage *)icon; 35 | - (NSString *)name; 36 | - (NSString *)summary; 37 | - (NSString *)blogCount; 38 | - (NSString *)friendCount; 39 | 40 | @end 41 | -------------------------------------------------------------------------------- /MVC/UserViewController+Protect.h: -------------------------------------------------------------------------------- 1 | // 2 | // UserViewController+Protect.h 3 | // MVC 4 | // 5 | // Created by 黑花白花 on 2017/3/11. 6 | // Copyright © 2017年 黑花白花. All rights reserved. 7 | // 8 | 9 | #import "UserViewController.h" 10 | 11 | #import "DetailViewController.h" 12 | #import "UserInfoViewController.h" 13 | #import "BlogTableViewController.h" 14 | #import "DraftTableViewController.h" 15 | 16 | #import "UIView+Alert.h" 17 | #import "UIView+Extension.h" 18 | 19 | @interface UserViewController () 20 | 21 | @property (assign, nonatomic) NSUInteger userId; 22 | 23 | @property (strong, nonatomic) UserInfoViewController *userInfoVC; 24 | @property (strong, nonatomic) BlogTableViewController *blogVC; 25 | 26 | - (void)addUI; 27 | - (void)fetchData; 28 | - (void)configuration; 29 | @end 30 | -------------------------------------------------------------------------------- /MVC/UserViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // UserViewController.h 3 | // MVC 4 | // 5 | // Created by 黑花白花 on 2017/3/8. 6 | // Copyright © 2017年 黑花白花. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | #define LoginUserId 123 12 | 13 | @interface UserViewController : UIViewController 14 | 15 | + (instancetype)instanceWithUserId:(NSUInteger)userId; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /MVC/ViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.h 3 | // MVC 4 | // 5 | // Created by 黑花白花 on 2017/3/8. 6 | // Copyright © 2017年 黑花白花. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface ViewController : UIViewController 12 | 13 | 14 | @end 15 | 16 | -------------------------------------------------------------------------------- /MVC/ViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.m 3 | // MVC 4 | // 5 | // Created by 黑花白花 on 2017/3/8. 6 | // Copyright © 2017年 黑花白花. All rights reserved. 7 | // 8 | 9 | #import "ViewController.h" 10 | 11 | #import "UserViewController.h" 12 | #import "MVPUserViewController.h" 13 | #import "MVVMUserViewController.h" 14 | 15 | @interface ViewController () 16 | 17 | @end 18 | 19 | @implementation ViewController 20 | 21 | - (void)viewDidLoad { 22 | [super viewDidLoad]; 23 | 24 | } 25 | 26 | - (IBAction)MVC:(UIButton *)sender { 27 | [self.navigationController pushViewController:[UserViewController instanceWithUserId:sender.tag] animated:YES]; 28 | } 29 | 30 | - (IBAction)MVP:(UIButton *)sender { 31 | [self.navigationController pushViewController:[MVPUserViewController instanceWithUserId:123] animated:YES]; 32 | } 33 | 34 | - (IBAction)MVVM:(UIButton *)sender { 35 | [self.navigationController pushViewController:[MVVMUserViewController instanceWithUserId:123] animated:YES]; 36 | } 37 | @end 38 | -------------------------------------------------------------------------------- /MVC/icon0@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HeiHuaBaiHua/TMVX/2aac69eecddff21bcbfbacd060617d46bc04cf5e/MVC/icon0@2x.png -------------------------------------------------------------------------------- /MVC/icon0@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HeiHuaBaiHua/TMVX/2aac69eecddff21bcbfbacd060617d46bc04cf5e/MVC/icon0@3x.png -------------------------------------------------------------------------------- /MVC/icon1@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HeiHuaBaiHua/TMVX/2aac69eecddff21bcbfbacd060617d46bc04cf5e/MVC/icon1@2x.png -------------------------------------------------------------------------------- /MVC/icon1@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HeiHuaBaiHua/TMVX/2aac69eecddff21bcbfbacd060617d46bc04cf5e/MVC/icon1@3x.png -------------------------------------------------------------------------------- /MVC/like@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HeiHuaBaiHua/TMVX/2aac69eecddff21bcbfbacd060617d46bc04cf5e/MVC/like@2x.png -------------------------------------------------------------------------------- /MVC/like@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HeiHuaBaiHua/TMVX/2aac69eecddff21bcbfbacd060617d46bc04cf5e/MVC/like@3x.png -------------------------------------------------------------------------------- /MVC/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // MVC 4 | // 5 | // Created by 黑花白花 on 2017/3/8. 6 | // Copyright © 2017年 黑花白花. 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 | -------------------------------------------------------------------------------- /Podfile: -------------------------------------------------------------------------------- 1 | platform :ios, '8.0' 2 | 3 | target 'MVC' do 4 | pod 'MBProgressHUD', '~> 0.9.1' 5 | pod 'MJRefresh', '~> 2.4.10' 6 | pod 'Toast', '~> 3.0' 7 | pod 'ReactiveCocoa', '~> 2.5' 8 | pod 'Masonry' 9 | end 10 | 11 | -------------------------------------------------------------------------------- /Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - Masonry (1.0.2) 3 | - MBProgressHUD (0.9.2) 4 | - MJRefresh (2.4.12) 5 | - ReactiveCocoa (2.5): 6 | - ReactiveCocoa/UI (= 2.5) 7 | - ReactiveCocoa/Core (2.5): 8 | - ReactiveCocoa/no-arc 9 | - ReactiveCocoa/no-arc (2.5) 10 | - ReactiveCocoa/UI (2.5): 11 | - ReactiveCocoa/Core 12 | - Toast (3.1.0) 13 | 14 | DEPENDENCIES: 15 | - Masonry 16 | - MBProgressHUD (~> 0.9.1) 17 | - MJRefresh (~> 2.4.10) 18 | - ReactiveCocoa (~> 2.5) 19 | - Toast (~> 3.0) 20 | 21 | SPEC CHECKSUMS: 22 | Masonry: 7c429b56da9d4ee0bbb3ed77a5ea710d6a5df39e 23 | MBProgressHUD: 1569cf7ace17a8bac47aabfbb8580a49690386d1 24 | MJRefresh: ca8e9589895977df32d379d46e6b8a5450b3ff44 25 | ReactiveCocoa: e2db045570aa97c695e7aa97c2bcab222ae51f4a 26 | Toast: 14a93686d6c8bfe2727afd342414e35660a8a1f3 27 | 28 | PODFILE CHECKSUM: a31b62af38a18a64eb9e92c4f87a1a7f6242238f 29 | 30 | COCOAPODS: 1.2.0 31 | -------------------------------------------------------------------------------- /Pods/Headers/Private/MBProgressHUD/MBProgressHUD.h: -------------------------------------------------------------------------------- 1 | ../../../MBProgressHUD/MBProgressHUD.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MJRefresh/MJRefresh.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/MJRefresh.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MJRefresh/MJRefreshAutoFooter.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Base/MJRefreshAutoFooter.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MJRefresh/MJRefreshAutoGifFooter.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Custom/Footer/Auto/MJRefreshAutoGifFooter.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MJRefresh/MJRefreshAutoNormalFooter.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Custom/Footer/Auto/MJRefreshAutoNormalFooter.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MJRefresh/MJRefreshAutoStateFooter.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Custom/Footer/Auto/MJRefreshAutoStateFooter.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MJRefresh/MJRefreshBackFooter.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Base/MJRefreshBackFooter.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MJRefresh/MJRefreshBackGifFooter.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Custom/Footer/Back/MJRefreshBackGifFooter.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MJRefresh/MJRefreshBackNormalFooter.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Custom/Footer/Back/MJRefreshBackNormalFooter.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MJRefresh/MJRefreshBackStateFooter.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Custom/Footer/Back/MJRefreshBackStateFooter.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MJRefresh/MJRefreshComponent.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Base/MJRefreshComponent.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MJRefresh/MJRefreshConst.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/MJRefreshConst.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MJRefresh/MJRefreshFooter.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Base/MJRefreshFooter.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MJRefresh/MJRefreshGifHeader.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Custom/Header/MJRefreshGifHeader.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MJRefresh/MJRefreshHeader.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Base/MJRefreshHeader.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MJRefresh/MJRefreshNormalHeader.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Custom/Header/MJRefreshNormalHeader.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MJRefresh/MJRefreshStateHeader.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Custom/Header/MJRefreshStateHeader.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MJRefresh/UIScrollView+MJExtension.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/UIScrollView+MJExtension.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MJRefresh/UIScrollView+MJRefresh.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/UIScrollView+MJRefresh.h -------------------------------------------------------------------------------- /Pods/Headers/Private/MJRefresh/UIView+MJExtension.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/UIView+MJExtension.h -------------------------------------------------------------------------------- /Pods/Headers/Private/Masonry/MASCompositeConstraint.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/MASCompositeConstraint.h -------------------------------------------------------------------------------- /Pods/Headers/Private/Masonry/MASConstraint+Private.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/MASConstraint+Private.h -------------------------------------------------------------------------------- /Pods/Headers/Private/Masonry/MASConstraint.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/MASConstraint.h -------------------------------------------------------------------------------- /Pods/Headers/Private/Masonry/MASConstraintMaker.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/MASConstraintMaker.h -------------------------------------------------------------------------------- /Pods/Headers/Private/Masonry/MASLayoutConstraint.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/MASLayoutConstraint.h -------------------------------------------------------------------------------- /Pods/Headers/Private/Masonry/MASUtilities.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/MASUtilities.h -------------------------------------------------------------------------------- /Pods/Headers/Private/Masonry/MASViewAttribute.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/MASViewAttribute.h -------------------------------------------------------------------------------- /Pods/Headers/Private/Masonry/MASViewConstraint.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/MASViewConstraint.h -------------------------------------------------------------------------------- /Pods/Headers/Private/Masonry/Masonry.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/Masonry.h -------------------------------------------------------------------------------- /Pods/Headers/Private/Masonry/NSArray+MASAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/NSArray+MASAdditions.h -------------------------------------------------------------------------------- /Pods/Headers/Private/Masonry/NSArray+MASShorthandAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/NSArray+MASShorthandAdditions.h -------------------------------------------------------------------------------- /Pods/Headers/Private/Masonry/NSLayoutConstraint+MASDebugAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/NSLayoutConstraint+MASDebugAdditions.h -------------------------------------------------------------------------------- /Pods/Headers/Private/Masonry/View+MASAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/View+MASAdditions.h -------------------------------------------------------------------------------- /Pods/Headers/Private/Masonry/View+MASShorthandAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/View+MASShorthandAdditions.h -------------------------------------------------------------------------------- /Pods/Headers/Private/Masonry/ViewController+MASAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/ViewController+MASAdditions.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/MKAnnotationView+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/MKAnnotationView+RACSignalSupport.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/NSArray+RACSequenceAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/NSArray+RACSequenceAdditions.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/NSData+RACSupport.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/NSData+RACSupport.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/NSDictionary+RACSequenceAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/NSDictionary+RACSequenceAdditions.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/NSEnumerator+RACSequenceAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/NSEnumerator+RACSequenceAdditions.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/NSFileHandle+RACSupport.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/NSFileHandle+RACSupport.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/NSIndexSet+RACSequenceAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/NSIndexSet+RACSequenceAdditions.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/NSInvocation+RACTypeParsing.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/NSInvocation+RACTypeParsing.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/NSNotificationCenter+RACSupport.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/NSNotificationCenter+RACSupport.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/NSObject+RACDeallocating.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/NSObject+RACDeallocating.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/NSObject+RACDescription.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/NSObject+RACDescription.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/NSObject+RACKVOWrapper.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/NSObject+RACKVOWrapper.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/NSObject+RACLifting.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/NSObject+RACLifting.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/NSObject+RACPropertySubscribing.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/NSObject+RACPropertySubscribing.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/NSObject+RACSelectorSignal.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/NSObject+RACSelectorSignal.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/NSOrderedSet+RACSequenceAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/NSOrderedSet+RACSequenceAdditions.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/NSSet+RACSequenceAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/NSSet+RACSequenceAdditions.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/NSString+RACKeyPathUtilities.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/NSString+RACKeyPathUtilities.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/NSString+RACSequenceAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/NSString+RACSequenceAdditions.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/NSString+RACSupport.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/NSString+RACSupport.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/NSURLConnection+RACSupport.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/NSURLConnection+RACSupport.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/NSUserDefaults+RACSupport.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/NSUserDefaults+RACSupport.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/RACArraySequence.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACArraySequence.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/RACBehaviorSubject.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACBehaviorSubject.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/RACBlockTrampoline.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACBlockTrampoline.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/RACChannel.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACChannel.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/RACCommand.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACCommand.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/RACCompoundDisposable.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACCompoundDisposable.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/RACDelegateProxy.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACDelegateProxy.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/RACDisposable.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACDisposable.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/RACDynamicSequence.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACDynamicSequence.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/RACDynamicSignal.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACDynamicSignal.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/RACEXTKeyPathCoding.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/extobjc/RACEXTKeyPathCoding.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/RACEXTRuntimeExtensions.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/extobjc/RACEXTRuntimeExtensions.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/RACEXTScope.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/extobjc/RACEXTScope.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/RACEagerSequence.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACEagerSequence.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/RACEmptySequence.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACEmptySequence.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/RACEmptySignal.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACEmptySignal.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/RACErrorSignal.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACErrorSignal.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/RACEvent.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACEvent.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/RACGroupedSignal.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACGroupedSignal.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/RACImmediateScheduler.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACImmediateScheduler.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/RACIndexSetSequence.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACIndexSetSequence.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/RACKVOChannel.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACKVOChannel.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/RACKVOProxy.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACKVOProxy.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/RACKVOTrampoline.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACKVOTrampoline.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/RACMulticastConnection+Private.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACMulticastConnection+Private.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/RACMulticastConnection.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACMulticastConnection.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/RACObjCRuntime.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACObjCRuntime.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/RACPassthroughSubscriber.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACPassthroughSubscriber.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/RACQueueScheduler+Subclass.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACQueueScheduler+Subclass.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/RACQueueScheduler.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACQueueScheduler.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/RACReplaySubject.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACReplaySubject.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/RACReturnSignal.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACReturnSignal.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/RACScheduler+Private.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACScheduler+Private.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/RACScheduler+Subclass.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACScheduler+Subclass.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/RACScheduler.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACScheduler.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/RACScopedDisposable.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACScopedDisposable.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/RACSequence.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACSequence.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/RACSerialDisposable.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACSerialDisposable.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/RACSignal+Operations.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACSignal+Operations.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/RACSignal.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACSignal.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/RACSignalSequence.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACSignalSequence.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/RACStream+Private.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACStream+Private.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/RACStream.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACStream.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/RACStringSequence.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACStringSequence.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/RACSubject.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACSubject.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/RACSubscriber+Private.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACSubscriber+Private.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/RACSubscriber.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACSubscriber.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/RACSubscriptingAssignmentTrampoline.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACSubscriptingAssignmentTrampoline.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/RACSubscriptionScheduler.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACSubscriptionScheduler.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/RACTargetQueueScheduler.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACTargetQueueScheduler.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/RACTestScheduler.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACTestScheduler.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/RACTuple.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACTuple.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/RACTupleSequence.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACTupleSequence.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/RACUnarySequence.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACUnarySequence.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/RACUnit.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACUnit.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/RACValueTransformer.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACValueTransformer.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/RACmetamacros.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/extobjc/RACmetamacros.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/ReactiveCocoa.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/UIActionSheet+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/UIActionSheet+RACSignalSupport.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/UIAlertView+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/UIAlertView+RACSignalSupport.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/UIBarButtonItem+RACCommandSupport.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/UIBarButtonItem+RACCommandSupport.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/UIButton+RACCommandSupport.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/UIButton+RACCommandSupport.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/UICollectionReusableView+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/UICollectionReusableView+RACSignalSupport.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/UIControl+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/UIControl+RACSignalSupport.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/UIControl+RACSignalSupportPrivate.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/UIControl+RACSignalSupportPrivate.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/UIDatePicker+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/UIDatePicker+RACSignalSupport.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/UIGestureRecognizer+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/UIGestureRecognizer+RACSignalSupport.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/UIImagePickerController+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/UIImagePickerController+RACSignalSupport.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/UIRefreshControl+RACCommandSupport.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/UIRefreshControl+RACCommandSupport.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/UISegmentedControl+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/UISegmentedControl+RACSignalSupport.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/UISlider+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/UISlider+RACSignalSupport.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/UIStepper+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/UIStepper+RACSignalSupport.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/UISwitch+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/UISwitch+RACSignalSupport.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/UITableViewCell+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/UITableViewCell+RACSignalSupport.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/UITableViewHeaderFooterView+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/UITableViewHeaderFooterView+RACSignalSupport.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/UITextField+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/UITextField+RACSignalSupport.h -------------------------------------------------------------------------------- /Pods/Headers/Private/ReactiveCocoa/UITextView+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/UITextView+RACSignalSupport.h -------------------------------------------------------------------------------- /Pods/Headers/Private/Toast/UIView+Toast.h: -------------------------------------------------------------------------------- 1 | ../../../Toast/Toast/Toast/UIView+Toast.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MBProgressHUD/MBProgressHUD.h: -------------------------------------------------------------------------------- 1 | ../../../MBProgressHUD/MBProgressHUD.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MJRefresh/MJRefresh.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/MJRefresh.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MJRefresh/MJRefreshAutoFooter.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Base/MJRefreshAutoFooter.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MJRefresh/MJRefreshAutoGifFooter.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Custom/Footer/Auto/MJRefreshAutoGifFooter.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MJRefresh/MJRefreshAutoNormalFooter.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Custom/Footer/Auto/MJRefreshAutoNormalFooter.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MJRefresh/MJRefreshAutoStateFooter.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Custom/Footer/Auto/MJRefreshAutoStateFooter.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MJRefresh/MJRefreshBackFooter.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Base/MJRefreshBackFooter.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MJRefresh/MJRefreshBackGifFooter.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Custom/Footer/Back/MJRefreshBackGifFooter.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MJRefresh/MJRefreshBackNormalFooter.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Custom/Footer/Back/MJRefreshBackNormalFooter.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MJRefresh/MJRefreshBackStateFooter.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Custom/Footer/Back/MJRefreshBackStateFooter.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MJRefresh/MJRefreshComponent.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Base/MJRefreshComponent.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MJRefresh/MJRefreshConst.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/MJRefreshConst.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MJRefresh/MJRefreshFooter.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Base/MJRefreshFooter.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MJRefresh/MJRefreshGifHeader.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Custom/Header/MJRefreshGifHeader.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MJRefresh/MJRefreshHeader.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Base/MJRefreshHeader.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MJRefresh/MJRefreshNormalHeader.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Custom/Header/MJRefreshNormalHeader.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MJRefresh/MJRefreshStateHeader.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Custom/Header/MJRefreshStateHeader.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MJRefresh/UIScrollView+MJExtension.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/UIScrollView+MJExtension.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MJRefresh/UIScrollView+MJRefresh.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/UIScrollView+MJRefresh.h -------------------------------------------------------------------------------- /Pods/Headers/Public/MJRefresh/UIView+MJExtension.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/UIView+MJExtension.h -------------------------------------------------------------------------------- /Pods/Headers/Public/Masonry/MASCompositeConstraint.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/MASCompositeConstraint.h -------------------------------------------------------------------------------- /Pods/Headers/Public/Masonry/MASConstraint+Private.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/MASConstraint+Private.h -------------------------------------------------------------------------------- /Pods/Headers/Public/Masonry/MASConstraint.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/MASConstraint.h -------------------------------------------------------------------------------- /Pods/Headers/Public/Masonry/MASConstraintMaker.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/MASConstraintMaker.h -------------------------------------------------------------------------------- /Pods/Headers/Public/Masonry/MASLayoutConstraint.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/MASLayoutConstraint.h -------------------------------------------------------------------------------- /Pods/Headers/Public/Masonry/MASUtilities.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/MASUtilities.h -------------------------------------------------------------------------------- /Pods/Headers/Public/Masonry/MASViewAttribute.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/MASViewAttribute.h -------------------------------------------------------------------------------- /Pods/Headers/Public/Masonry/MASViewConstraint.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/MASViewConstraint.h -------------------------------------------------------------------------------- /Pods/Headers/Public/Masonry/Masonry.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/Masonry.h -------------------------------------------------------------------------------- /Pods/Headers/Public/Masonry/NSArray+MASAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/NSArray+MASAdditions.h -------------------------------------------------------------------------------- /Pods/Headers/Public/Masonry/NSArray+MASShorthandAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/NSArray+MASShorthandAdditions.h -------------------------------------------------------------------------------- /Pods/Headers/Public/Masonry/NSLayoutConstraint+MASDebugAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/NSLayoutConstraint+MASDebugAdditions.h -------------------------------------------------------------------------------- /Pods/Headers/Public/Masonry/View+MASAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/View+MASAdditions.h -------------------------------------------------------------------------------- /Pods/Headers/Public/Masonry/View+MASShorthandAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/View+MASShorthandAdditions.h -------------------------------------------------------------------------------- /Pods/Headers/Public/Masonry/ViewController+MASAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../Masonry/Masonry/ViewController+MASAdditions.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/MKAnnotationView+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/MKAnnotationView+RACSignalSupport.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/NSArray+RACSequenceAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/NSArray+RACSequenceAdditions.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/NSData+RACSupport.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/NSData+RACSupport.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/NSDictionary+RACSequenceAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/NSDictionary+RACSequenceAdditions.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/NSEnumerator+RACSequenceAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/NSEnumerator+RACSequenceAdditions.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/NSFileHandle+RACSupport.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/NSFileHandle+RACSupport.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/NSIndexSet+RACSequenceAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/NSIndexSet+RACSequenceAdditions.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/NSInvocation+RACTypeParsing.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/NSInvocation+RACTypeParsing.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/NSNotificationCenter+RACSupport.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/NSNotificationCenter+RACSupport.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/NSObject+RACDeallocating.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/NSObject+RACDeallocating.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/NSObject+RACDescription.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/NSObject+RACDescription.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/NSObject+RACKVOWrapper.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/NSObject+RACKVOWrapper.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/NSObject+RACLifting.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/NSObject+RACLifting.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/NSObject+RACPropertySubscribing.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/NSObject+RACPropertySubscribing.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/NSObject+RACSelectorSignal.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/NSObject+RACSelectorSignal.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/NSOrderedSet+RACSequenceAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/NSOrderedSet+RACSequenceAdditions.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/NSSet+RACSequenceAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/NSSet+RACSequenceAdditions.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/NSString+RACKeyPathUtilities.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/NSString+RACKeyPathUtilities.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/NSString+RACSequenceAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/NSString+RACSequenceAdditions.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/NSString+RACSupport.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/NSString+RACSupport.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/NSURLConnection+RACSupport.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/NSURLConnection+RACSupport.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/NSUserDefaults+RACSupport.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/NSUserDefaults+RACSupport.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/RACArraySequence.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACArraySequence.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/RACBehaviorSubject.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACBehaviorSubject.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/RACBlockTrampoline.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACBlockTrampoline.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/RACChannel.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACChannel.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/RACCommand.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACCommand.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/RACCompoundDisposable.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACCompoundDisposable.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/RACDelegateProxy.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACDelegateProxy.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/RACDisposable.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACDisposable.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/RACDynamicSequence.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACDynamicSequence.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/RACDynamicSignal.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACDynamicSignal.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/RACEXTKeyPathCoding.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/extobjc/RACEXTKeyPathCoding.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/RACEXTRuntimeExtensions.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/extobjc/RACEXTRuntimeExtensions.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/RACEXTScope.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/extobjc/RACEXTScope.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/RACEagerSequence.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACEagerSequence.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/RACEmptySequence.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACEmptySequence.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/RACEmptySignal.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACEmptySignal.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/RACErrorSignal.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACErrorSignal.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/RACEvent.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACEvent.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/RACGroupedSignal.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACGroupedSignal.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/RACImmediateScheduler.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACImmediateScheduler.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/RACIndexSetSequence.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACIndexSetSequence.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/RACKVOChannel.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACKVOChannel.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/RACKVOProxy.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACKVOProxy.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/RACKVOTrampoline.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACKVOTrampoline.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/RACMulticastConnection.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACMulticastConnection.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/RACObjCRuntime.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACObjCRuntime.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/RACPassthroughSubscriber.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACPassthroughSubscriber.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/RACQueueScheduler+Subclass.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACQueueScheduler+Subclass.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/RACQueueScheduler.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACQueueScheduler.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/RACReplaySubject.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACReplaySubject.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/RACReturnSignal.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACReturnSignal.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/RACScheduler+Subclass.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACScheduler+Subclass.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/RACScheduler.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACScheduler.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/RACScopedDisposable.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACScopedDisposable.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/RACSequence.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACSequence.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/RACSerialDisposable.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACSerialDisposable.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/RACSignal+Operations.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACSignal+Operations.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/RACSignal.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACSignal.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/RACSignalSequence.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACSignalSequence.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/RACStream.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACStream.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/RACStringSequence.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACStringSequence.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/RACSubject.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACSubject.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/RACSubscriber.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACSubscriber.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/RACSubscriptingAssignmentTrampoline.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACSubscriptingAssignmentTrampoline.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/RACSubscriptionScheduler.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACSubscriptionScheduler.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/RACTargetQueueScheduler.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACTargetQueueScheduler.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/RACTestScheduler.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACTestScheduler.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/RACTuple.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACTuple.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/RACTupleSequence.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACTupleSequence.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/RACUnarySequence.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACUnarySequence.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/RACUnit.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACUnit.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/RACValueTransformer.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/RACValueTransformer.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/RACmetamacros.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/extobjc/RACmetamacros.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/ReactiveCocoa.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/UIActionSheet+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/UIActionSheet+RACSignalSupport.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/UIAlertView+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/UIAlertView+RACSignalSupport.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/UIBarButtonItem+RACCommandSupport.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/UIBarButtonItem+RACCommandSupport.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/UIButton+RACCommandSupport.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/UIButton+RACCommandSupport.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/UICollectionReusableView+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/UICollectionReusableView+RACSignalSupport.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/UIControl+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/UIControl+RACSignalSupport.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/UIControl+RACSignalSupportPrivate.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/UIControl+RACSignalSupportPrivate.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/UIDatePicker+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/UIDatePicker+RACSignalSupport.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/UIGestureRecognizer+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/UIGestureRecognizer+RACSignalSupport.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/UIImagePickerController+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/UIImagePickerController+RACSignalSupport.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/UIRefreshControl+RACCommandSupport.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/UIRefreshControl+RACCommandSupport.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/UISegmentedControl+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/UISegmentedControl+RACSignalSupport.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/UISlider+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/UISlider+RACSignalSupport.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/UIStepper+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/UIStepper+RACSignalSupport.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/UISwitch+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/UISwitch+RACSignalSupport.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/UITableViewCell+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/UITableViewCell+RACSignalSupport.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/UITableViewHeaderFooterView+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/UITableViewHeaderFooterView+RACSignalSupport.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/UITextField+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/UITextField+RACSignalSupport.h -------------------------------------------------------------------------------- /Pods/Headers/Public/ReactiveCocoa/UITextView+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoa/UITextView+RACSignalSupport.h -------------------------------------------------------------------------------- /Pods/Headers/Public/Toast/UIView+Toast.h: -------------------------------------------------------------------------------- 1 | ../../../Toast/Toast/Toast/UIView+Toast.h -------------------------------------------------------------------------------- /Pods/MBProgressHUD/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2009-2015 Matej Bukovinski 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 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all 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. -------------------------------------------------------------------------------- /Pods/MJRefresh/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2013-2015 MJRefresh (https://github.com/CoderMJLee/MJRefresh) 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 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all 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 | -------------------------------------------------------------------------------- /Pods/MJRefresh/MJRefresh/Base/MJRefreshAutoFooter.h: -------------------------------------------------------------------------------- 1 | // 2 | // MJRefreshAutoFooter.h 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/4/24. 6 | // Copyright (c) 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJRefreshFooter.h" 10 | 11 | @interface MJRefreshAutoFooter : MJRefreshFooter 12 | /** 是否自动刷新(默认为YES) */ 13 | @property (assign, nonatomic, getter=isAutomaticallyRefresh) BOOL automaticallyRefresh; 14 | 15 | /** 当底部控件出现多少时就自动刷新(默认为1.0,也就是底部控件完全出现时,才会自动刷新) */ 16 | @property (assign, nonatomic) CGFloat appearencePercentTriggerAutoRefresh MJRefreshDeprecated("请使用automaticallyChangeAlpha属性"); 17 | 18 | /** 当底部控件出现多少时就自动刷新(默认为1.0,也就是底部控件完全出现时,才会自动刷新) */ 19 | @property (assign, nonatomic) CGFloat triggerAutomaticallyRefreshPercent; 20 | @end 21 | -------------------------------------------------------------------------------- /Pods/MJRefresh/MJRefresh/Base/MJRefreshBackFooter.h: -------------------------------------------------------------------------------- 1 | // 2 | // MJRefreshBackFooter.h 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/4/24. 6 | // Copyright (c) 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJRefreshFooter.h" 10 | 11 | @interface MJRefreshBackFooter : MJRefreshFooter 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /Pods/MJRefresh/MJRefresh/Base/MJRefreshHeader.h: -------------------------------------------------------------------------------- 1 | // 代码地址: https://github.com/CoderMJLee/MJRefresh 2 | // 代码地址: http://code4app.com/ios/%E5%BF%AB%E9%80%9F%E9%9B%86%E6%88%90%E4%B8%8B%E6%8B%89%E4%B8%8A%E6%8B%89%E5%88%B7%E6%96%B0/52326ce26803fabc46000000 3 | // MJRefreshHeader.h 4 | // MJRefreshExample 5 | // 6 | // Created by MJ Lee on 15/3/4. 7 | // Copyright (c) 2015年 小码哥. All rights reserved. 8 | // 下拉刷新控件:负责监控用户下拉的状态 9 | 10 | #import "MJRefreshComponent.h" 11 | 12 | @interface MJRefreshHeader : MJRefreshComponent 13 | /** 创建header */ 14 | + (instancetype)headerWithRefreshingBlock:(MJRefreshComponentRefreshingBlock)refreshingBlock; 15 | /** 创建header */ 16 | + (instancetype)headerWithRefreshingTarget:(id)target refreshingAction:(SEL)action; 17 | 18 | /** 这个key用来存储上一次下拉刷新成功的时间 */ 19 | @property (copy, nonatomic) NSString *lastUpdatedTimeKey; 20 | /** 上一次下拉刷新成功的时间 */ 21 | @property (strong, nonatomic, readonly) NSDate *lastUpdatedTime; 22 | 23 | /** 忽略多少scrollView的contentInset的top */ 24 | @property (assign, nonatomic) CGFloat ignoredScrollViewContentInsetTop; 25 | @end 26 | -------------------------------------------------------------------------------- /Pods/MJRefresh/MJRefresh/Custom/Footer/Auto/MJRefreshAutoGifFooter.h: -------------------------------------------------------------------------------- 1 | // 2 | // MJRefreshAutoGifFooter.h 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/4/24. 6 | // Copyright (c) 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJRefreshAutoStateFooter.h" 10 | 11 | @interface MJRefreshAutoGifFooter : MJRefreshAutoStateFooter 12 | /** 设置state状态下的动画图片images 动画持续时间duration*/ 13 | - (void)setImages:(NSArray *)images duration:(NSTimeInterval)duration forState:(MJRefreshState)state; 14 | - (void)setImages:(NSArray *)images forState:(MJRefreshState)state; 15 | @end 16 | -------------------------------------------------------------------------------- /Pods/MJRefresh/MJRefresh/Custom/Footer/Auto/MJRefreshAutoNormalFooter.h: -------------------------------------------------------------------------------- 1 | // 2 | // MJRefreshAutoNormalFooter.h 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/4/24. 6 | // Copyright (c) 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJRefreshAutoStateFooter.h" 10 | 11 | @interface MJRefreshAutoNormalFooter : MJRefreshAutoStateFooter 12 | /** 菊花的样式 */ 13 | @property (assign, nonatomic) UIActivityIndicatorViewStyle activityIndicatorViewStyle; 14 | @end 15 | -------------------------------------------------------------------------------- /Pods/MJRefresh/MJRefresh/Custom/Footer/Auto/MJRefreshAutoStateFooter.h: -------------------------------------------------------------------------------- 1 | // 2 | // MJRefreshAutoStateFooter.h 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/6/13. 6 | // Copyright © 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJRefreshAutoFooter.h" 10 | 11 | @interface MJRefreshAutoStateFooter : MJRefreshAutoFooter 12 | /** 显示刷新状态的label */ 13 | @property (weak, nonatomic, readonly) UILabel *stateLabel; 14 | 15 | /** 设置state状态下的文字 */ 16 | - (void)setTitle:(NSString *)title forState:(MJRefreshState)state; 17 | 18 | /** 隐藏刷新状态的文字 */ 19 | @property (assign, nonatomic, getter=isRefreshingTitleHidden) BOOL refreshingTitleHidden; 20 | @end 21 | -------------------------------------------------------------------------------- /Pods/MJRefresh/MJRefresh/Custom/Footer/Back/MJRefreshBackGifFooter.h: -------------------------------------------------------------------------------- 1 | // 2 | // MJRefreshBackGifFooter.h 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/4/24. 6 | // Copyright (c) 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJRefreshBackStateFooter.h" 10 | 11 | @interface MJRefreshBackGifFooter : MJRefreshBackStateFooter 12 | /** 设置state状态下的动画图片images 动画持续时间duration*/ 13 | - (void)setImages:(NSArray *)images duration:(NSTimeInterval)duration forState:(MJRefreshState)state; 14 | - (void)setImages:(NSArray *)images forState:(MJRefreshState)state; 15 | @end 16 | -------------------------------------------------------------------------------- /Pods/MJRefresh/MJRefresh/Custom/Footer/Back/MJRefreshBackNormalFooter.h: -------------------------------------------------------------------------------- 1 | // 2 | // MJRefreshBackNormalFooter.h 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/4/24. 6 | // Copyright (c) 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJRefreshBackStateFooter.h" 10 | 11 | @interface MJRefreshBackNormalFooter : MJRefreshBackStateFooter 12 | @property (weak, nonatomic, readonly) UIImageView *arrowView; 13 | /** 菊花的样式 */ 14 | @property (assign, nonatomic) UIActivityIndicatorViewStyle activityIndicatorViewStyle; 15 | @end 16 | -------------------------------------------------------------------------------- /Pods/MJRefresh/MJRefresh/Custom/Footer/Back/MJRefreshBackStateFooter.h: -------------------------------------------------------------------------------- 1 | // 2 | // MJRefreshBackStateFooter.h 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/6/13. 6 | // Copyright © 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJRefreshBackFooter.h" 10 | 11 | @interface MJRefreshBackStateFooter : MJRefreshBackFooter 12 | /** 显示刷新状态的label */ 13 | @property (weak, nonatomic, readonly) UILabel *stateLabel; 14 | /** 设置state状态下的文字 */ 15 | - (void)setTitle:(NSString *)title forState:(MJRefreshState)state; 16 | 17 | /** 获取state状态下的title */ 18 | - (NSString *)titleForState:(MJRefreshState)state; 19 | @end 20 | -------------------------------------------------------------------------------- /Pods/MJRefresh/MJRefresh/Custom/Header/MJRefreshGifHeader.h: -------------------------------------------------------------------------------- 1 | // 2 | // MJRefreshGifHeader.h 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/4/24. 6 | // Copyright (c) 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJRefreshStateHeader.h" 10 | 11 | @interface MJRefreshGifHeader : MJRefreshStateHeader 12 | /** 设置state状态下的动画图片images 动画持续时间duration*/ 13 | - (void)setImages:(NSArray *)images duration:(NSTimeInterval)duration forState:(MJRefreshState)state; 14 | - (void)setImages:(NSArray *)images forState:(MJRefreshState)state; 15 | @end 16 | -------------------------------------------------------------------------------- /Pods/MJRefresh/MJRefresh/Custom/Header/MJRefreshNormalHeader.h: -------------------------------------------------------------------------------- 1 | // 2 | // MJRefreshNormalHeader.h 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/4/24. 6 | // Copyright (c) 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJRefreshStateHeader.h" 10 | 11 | @interface MJRefreshNormalHeader : MJRefreshStateHeader 12 | @property (weak, nonatomic, readonly) UIImageView *arrowView; 13 | /** 菊花的样式 */ 14 | @property (assign, nonatomic) UIActivityIndicatorViewStyle activityIndicatorViewStyle; 15 | @end 16 | -------------------------------------------------------------------------------- /Pods/MJRefresh/MJRefresh/Custom/Header/MJRefreshStateHeader.h: -------------------------------------------------------------------------------- 1 | // 2 | // MJRefreshStateHeader.h 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/4/24. 6 | // Copyright (c) 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJRefreshHeader.h" 10 | 11 | @interface MJRefreshStateHeader : MJRefreshHeader 12 | #pragma mark - 刷新时间相关 13 | /** 利用这个block来决定显示的更新时间文字 */ 14 | @property (copy, nonatomic) NSString *(^lastUpdatedTimeText)(NSDate *lastUpdatedTime); 15 | /** 显示上一次刷新时间的label */ 16 | @property (weak, nonatomic, readonly) UILabel *lastUpdatedTimeLabel; 17 | 18 | #pragma mark - 状态相关 19 | /** 显示刷新状态的label */ 20 | @property (weak, nonatomic, readonly) UILabel *stateLabel; 21 | /** 设置state状态下的文字 */ 22 | - (void)setTitle:(NSString *)title forState:(MJRefreshState)state; 23 | @end 24 | -------------------------------------------------------------------------------- /Pods/MJRefresh/MJRefresh/MJRefresh.bundle/arrow@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HeiHuaBaiHua/TMVX/2aac69eecddff21bcbfbacd060617d46bc04cf5e/Pods/MJRefresh/MJRefresh/MJRefresh.bundle/arrow@2x.png -------------------------------------------------------------------------------- /Pods/MJRefresh/MJRefresh/MJRefresh.h: -------------------------------------------------------------------------------- 1 | // 代码地址: https://github.com/CoderMJLee/MJRefresh 2 | // 代码地址: http://code4app.com/ios/%E5%BF%AB%E9%80%9F%E9%9B%86%E6%88%90%E4%B8%8B%E6%8B%89%E4%B8%8A%E6%8B%89%E5%88%B7%E6%96%B0/52326ce26803fabc46000000 3 | 4 | #import "UIScrollView+MJRefresh.h" 5 | #import "UIScrollView+MJExtension.h" 6 | #import "UIView+MJExtension.h" 7 | 8 | #import "MJRefreshNormalHeader.h" 9 | #import "MJRefreshGifHeader.h" 10 | 11 | #import "MJRefreshBackNormalFooter.h" 12 | #import "MJRefreshBackGifFooter.h" 13 | #import "MJRefreshAutoNormalFooter.h" 14 | #import "MJRefreshAutoGifFooter.h" -------------------------------------------------------------------------------- /Pods/MJRefresh/MJRefresh/UIScrollView+MJExtension.h: -------------------------------------------------------------------------------- 1 | // 代码地址: https://github.com/CoderMJLee/MJRefresh 2 | // 代码地址: http://code4app.com/ios/%E5%BF%AB%E9%80%9F%E9%9B%86%E6%88%90%E4%B8%8B%E6%8B%89%E4%B8%8A%E6%8B%89%E5%88%B7%E6%96%B0/52326ce26803fabc46000000 3 | // UIScrollView+Extension.h 4 | // MJRefreshExample 5 | // 6 | // Created by MJ Lee on 14-5-28. 7 | // Copyright (c) 2014年 小码哥. All rights reserved. 8 | // 9 | 10 | #import 11 | 12 | @interface UIScrollView (MJExtension) 13 | @property (assign, nonatomic) CGFloat mj_insetT; 14 | @property (assign, nonatomic) CGFloat mj_insetB; 15 | @property (assign, nonatomic) CGFloat mj_insetL; 16 | @property (assign, nonatomic) CGFloat mj_insetR; 17 | 18 | @property (assign, nonatomic) CGFloat mj_offsetX; 19 | @property (assign, nonatomic) CGFloat mj_offsetY; 20 | 21 | @property (assign, nonatomic) CGFloat mj_contentW; 22 | @property (assign, nonatomic) CGFloat mj_contentH; 23 | @end 24 | -------------------------------------------------------------------------------- /Pods/MJRefresh/MJRefresh/UIScrollView+MJRefresh.h: -------------------------------------------------------------------------------- 1 | // 代码地址: https://github.com/CoderMJLee/MJRefresh 2 | // 代码地址: http://code4app.com/ios/%E5%BF%AB%E9%80%9F%E9%9B%86%E6%88%90%E4%B8%8B%E6%8B%89%E4%B8%8A%E6%8B%89%E5%88%B7%E6%96%B0/52326ce26803fabc46000000 3 | // UIScrollView+MJRefresh.h 4 | // MJRefreshExample 5 | // 6 | // Created by MJ Lee on 15/3/4. 7 | // Copyright (c) 2015年 小码哥. All rights reserved. 8 | // 给ScrollView增加下拉刷新、上拉刷新的功能 9 | 10 | #import 11 | 12 | @class MJRefreshHeader, MJRefreshFooter; 13 | 14 | @interface UIScrollView (MJRefresh) 15 | /** 下拉刷新控件 */ 16 | @property (strong, nonatomic) MJRefreshHeader *header; 17 | /** 上拉刷新控件 */ 18 | @property (strong, nonatomic) MJRefreshFooter *footer; 19 | 20 | #pragma mark - other 21 | - (NSInteger)totalDataCount; 22 | @property (copy, nonatomic) void (^reloadDataBlock)(NSInteger totalDataCount); 23 | @end 24 | -------------------------------------------------------------------------------- /Pods/MJRefresh/MJRefresh/UIView+MJExtension.h: -------------------------------------------------------------------------------- 1 | // 代码地址: https://github.com/CoderMJLee/MJRefresh 2 | // 代码地址: http://code4app.com/ios/%E5%BF%AB%E9%80%9F%E9%9B%86%E6%88%90%E4%B8%8B%E6%8B%89%E4%B8%8A%E6%8B%89%E5%88%B7%E6%96%B0/52326ce26803fabc46000000 3 | // UIView+Extension.h 4 | // MJRefreshExample 5 | // 6 | // Created by MJ Lee on 14-5-28. 7 | // Copyright (c) 2014年 小码哥. All rights reserved. 8 | // 9 | 10 | #import 11 | 12 | @interface UIView (MJExtension) 13 | @property (assign, nonatomic) CGFloat mj_x; 14 | @property (assign, nonatomic) CGFloat mj_y; 15 | @property (assign, nonatomic) CGFloat mj_w; 16 | @property (assign, nonatomic) CGFloat mj_h; 17 | @property (assign, nonatomic) CGSize mj_size; 18 | @property (assign, nonatomic) CGPoint mj_origin; 19 | @end 20 | -------------------------------------------------------------------------------- /Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - Masonry (1.0.2) 3 | - MBProgressHUD (0.9.2) 4 | - MJRefresh (2.4.12) 5 | - ReactiveCocoa (2.5): 6 | - ReactiveCocoa/UI (= 2.5) 7 | - ReactiveCocoa/Core (2.5): 8 | - ReactiveCocoa/no-arc 9 | - ReactiveCocoa/no-arc (2.5) 10 | - ReactiveCocoa/UI (2.5): 11 | - ReactiveCocoa/Core 12 | - Toast (3.1.0) 13 | 14 | DEPENDENCIES: 15 | - Masonry 16 | - MBProgressHUD (~> 0.9.1) 17 | - MJRefresh (~> 2.4.10) 18 | - ReactiveCocoa (~> 2.5) 19 | - Toast (~> 3.0) 20 | 21 | SPEC CHECKSUMS: 22 | Masonry: 7c429b56da9d4ee0bbb3ed77a5ea710d6a5df39e 23 | MBProgressHUD: 1569cf7ace17a8bac47aabfbb8580a49690386d1 24 | MJRefresh: ca8e9589895977df32d379d46e6b8a5450b3ff44 25 | ReactiveCocoa: e2db045570aa97c695e7aa97c2bcab222ae51f4a 26 | Toast: 14a93686d6c8bfe2727afd342414e35660a8a1f3 27 | 28 | PODFILE CHECKSUM: a31b62af38a18a64eb9e92c4f87a1a7f6242238f 29 | 30 | COCOAPODS: 1.2.0 31 | -------------------------------------------------------------------------------- /Pods/Masonry/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2011-2012 Masonry Team - https://github.com/Masonry 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 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all 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. -------------------------------------------------------------------------------- /Pods/Masonry/Masonry/MASCompositeConstraint.h: -------------------------------------------------------------------------------- 1 | // 2 | // MASCompositeConstraint.h 3 | // Masonry 4 | // 5 | // Created by Jonas Budelmann on 21/07/13. 6 | // Copyright (c) 2013 cloudling. All rights reserved. 7 | // 8 | 9 | #import "MASConstraint.h" 10 | #import "MASUtilities.h" 11 | 12 | /** 13 | * A group of MASConstraint objects 14 | */ 15 | @interface MASCompositeConstraint : MASConstraint 16 | 17 | /** 18 | * Creates a composite with a predefined array of children 19 | * 20 | * @param children child MASConstraints 21 | * 22 | * @return a composite constraint 23 | */ 24 | - (id)initWithChildren:(NSArray *)children; 25 | 26 | @end 27 | -------------------------------------------------------------------------------- /Pods/Masonry/Masonry/MASLayoutConstraint.h: -------------------------------------------------------------------------------- 1 | // 2 | // MASLayoutConstraint.h 3 | // Masonry 4 | // 5 | // Created by Jonas Budelmann on 3/08/13. 6 | // Copyright (c) 2013 Jonas Budelmann. All rights reserved. 7 | // 8 | 9 | #import "MASUtilities.h" 10 | 11 | /** 12 | * When you are debugging or printing the constraints attached to a view this subclass 13 | * makes it easier to identify which constraints have been created via Masonry 14 | */ 15 | @interface MASLayoutConstraint : NSLayoutConstraint 16 | 17 | /** 18 | * a key to associate with this constraint 19 | */ 20 | @property (nonatomic, strong) id mas_key; 21 | 22 | @end 23 | -------------------------------------------------------------------------------- /Pods/Masonry/Masonry/MASLayoutConstraint.m: -------------------------------------------------------------------------------- 1 | // 2 | // MASLayoutConstraint.m 3 | // Masonry 4 | // 5 | // Created by Jonas Budelmann on 3/08/13. 6 | // Copyright (c) 2013 Jonas Budelmann. All rights reserved. 7 | // 8 | 9 | #import "MASLayoutConstraint.h" 10 | 11 | @implementation MASLayoutConstraint 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /Pods/Masonry/Masonry/Masonry.h: -------------------------------------------------------------------------------- 1 | // 2 | // Masonry.h 3 | // Masonry 4 | // 5 | // Created by Jonas Budelmann on 20/07/13. 6 | // Copyright (c) 2013 cloudling. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | //! Project version number for Masonry. 12 | FOUNDATION_EXPORT double MasonryVersionNumber; 13 | 14 | //! Project version string for Masonry. 15 | FOUNDATION_EXPORT const unsigned char MasonryVersionString[]; 16 | 17 | #import "MASUtilities.h" 18 | #import "View+MASAdditions.h" 19 | #import "View+MASShorthandAdditions.h" 20 | #import "ViewController+MASAdditions.h" 21 | #import "NSArray+MASAdditions.h" 22 | #import "NSArray+MASShorthandAdditions.h" 23 | #import "MASConstraint.h" 24 | #import "MASCompositeConstraint.h" 25 | #import "MASViewAttribute.h" 26 | #import "MASViewConstraint.h" 27 | #import "MASConstraintMaker.h" 28 | #import "MASLayoutConstraint.h" 29 | #import "NSLayoutConstraint+MASDebugAdditions.h" 30 | -------------------------------------------------------------------------------- /Pods/Masonry/Masonry/NSLayoutConstraint+MASDebugAdditions.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSLayoutConstraint+MASDebugAdditions.h 3 | // Masonry 4 | // 5 | // Created by Jonas Budelmann on 3/08/13. 6 | // Copyright (c) 2013 Jonas Budelmann. All rights reserved. 7 | // 8 | 9 | #import "MASUtilities.h" 10 | 11 | /** 12 | * makes debug and log output of NSLayoutConstraints more readable 13 | */ 14 | @interface NSLayoutConstraint (MASDebugAdditions) 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /Pods/Masonry/Masonry/ViewController+MASAdditions.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIViewController+MASAdditions.h 3 | // Masonry 4 | // 5 | // Created by Craig Siemens on 2015-06-23. 6 | // 7 | // 8 | 9 | #import "MASUtilities.h" 10 | #import "MASConstraintMaker.h" 11 | #import "MASViewAttribute.h" 12 | 13 | #ifdef MAS_VIEW_CONTROLLER 14 | 15 | @interface MAS_VIEW_CONTROLLER (MASAdditions) 16 | 17 | /** 18 | * following properties return a new MASViewAttribute with appropriate UILayoutGuide and NSLayoutAttribute 19 | */ 20 | @property (nonatomic, strong, readonly) MASViewAttribute *mas_topLayoutGuide; 21 | @property (nonatomic, strong, readonly) MASViewAttribute *mas_bottomLayoutGuide; 22 | @property (nonatomic, strong, readonly) MASViewAttribute *mas_topLayoutGuideTop; 23 | @property (nonatomic, strong, readonly) MASViewAttribute *mas_topLayoutGuideBottom; 24 | @property (nonatomic, strong, readonly) MASViewAttribute *mas_bottomLayoutGuideTop; 25 | @property (nonatomic, strong, readonly) MASViewAttribute *mas_bottomLayoutGuideBottom; 26 | 27 | 28 | @end 29 | 30 | #endif 31 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/LICENSE.md: -------------------------------------------------------------------------------- 1 | **Copyright (c) 2012 - 2015, GitHub, Inc.** 2 | **All rights reserved.** 3 | 4 | Permission is hereby granted, free of charge, to any person obtaining a copy of 5 | this software and associated documentation files (the "Software"), to deal in 6 | the Software without restriction, including without limitation the rights to 7 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of 8 | the Software, and to permit persons to whom the Software is furnished to do so, 9 | subject to the following conditions: 10 | 11 | The above copyright notice and this permission notice shall be included in all 12 | copies or substantial portions of the Software. 13 | 14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 16 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 17 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 18 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 19 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/MKAnnotationView+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | // 2 | // MKAnnotationView+RACSignalSupport.h 3 | // ReactiveCocoa 4 | // 5 | // Created by Zak Remer on 3/31/15. 6 | // Copyright (c) 2015 GitHub. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | 12 | @class RACSignal; 13 | 14 | @interface MKAnnotationView (RACSignalSupport) 15 | 16 | /// A signal which will send a RACUnit whenever -prepareForReuse is invoked upon 17 | /// the receiver. 18 | /// 19 | /// Examples 20 | /// 21 | /// [[[self.cancelButton 22 | /// rac_signalForControlEvents:UIControlEventTouchUpInside] 23 | /// takeUntil:self.rac_prepareForReuseSignal] 24 | /// subscribeNext:^(UIButton *x) { 25 | /// // do other things 26 | /// }]; 27 | @property (nonatomic, strong, readonly) RACSignal *rac_prepareForReuseSignal; 28 | 29 | @end 30 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/MKAnnotationView+RACSignalSupport.m: -------------------------------------------------------------------------------- 1 | // 2 | // MKAnnotationView+RACSignalSupport.m 3 | // ReactiveCocoa 4 | // 5 | // Created by Zak Remer on 3/31/15. 6 | // Copyright (c) 2015 GitHub. All rights reserved. 7 | // 8 | 9 | #import "MKAnnotationView+RACSignalSupport.h" 10 | #import "NSObject+RACDescription.h" 11 | #import "NSObject+RACSelectorSignal.h" 12 | #import "RACSignal+Operations.h" 13 | #import "RACUnit.h" 14 | #import 15 | 16 | @implementation MKAnnotationView (RACSignalSupport) 17 | 18 | - (RACSignal *)rac_prepareForReuseSignal { 19 | RACSignal *signal = objc_getAssociatedObject(self, _cmd); 20 | if (signal != nil) return signal; 21 | 22 | signal = [[[self 23 | rac_signalForSelector:@selector(prepareForReuse)] 24 | mapReplace:RACUnit.defaultUnit] 25 | setNameWithFormat:@"%@ -rac_prepareForReuseSignal", self.rac_description]; 26 | 27 | objc_setAssociatedObject(self, _cmd, signal, OBJC_ASSOCIATION_RETAIN_NONATOMIC); 28 | return signal; 29 | } 30 | 31 | @end 32 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/NSArray+RACSequenceAdditions.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSArray+RACSequenceAdditions.h 3 | // ReactiveCocoa 4 | // 5 | // Created by Justin Spahr-Summers on 2012-10-29. 6 | // Copyright (c) 2012 GitHub. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class RACSequence; 12 | 13 | @interface NSArray (RACSequenceAdditions) 14 | 15 | /// Creates and returns a sequence corresponding to the receiver. 16 | /// 17 | /// Mutating the receiver will not affect the sequence after it's been created. 18 | @property (nonatomic, copy, readonly) RACSequence *rac_sequence; 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/NSArray+RACSequenceAdditions.m: -------------------------------------------------------------------------------- 1 | // 2 | // NSArray+RACSequenceAdditions.m 3 | // ReactiveCocoa 4 | // 5 | // Created by Justin Spahr-Summers on 2012-10-29. 6 | // Copyright (c) 2012 GitHub. All rights reserved. 7 | // 8 | 9 | #import "NSArray+RACSequenceAdditions.h" 10 | #import "RACArraySequence.h" 11 | 12 | @implementation NSArray (RACSequenceAdditions) 13 | 14 | - (RACSequence *)rac_sequence { 15 | return [RACArraySequence sequenceWithArray:self offset:0]; 16 | } 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/NSData+RACSupport.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSData+RACSupport.h 3 | // ReactiveCocoa 4 | // 5 | // Created by Josh Abernathy on 5/11/12. 6 | // Copyright (c) 2012 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class RACScheduler; 12 | @class RACSignal; 13 | 14 | @interface NSData (RACSupport) 15 | 16 | // Read the data at the URL using -[NSData initWithContentsOfURL:options:error:]. 17 | // Sends the data or the error. 18 | // 19 | // scheduler - cannot be nil. 20 | + (RACSignal *)rac_readContentsOfURL:(NSURL *)URL options:(NSDataReadingOptions)options scheduler:(RACScheduler *)scheduler; 21 | 22 | @end 23 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/NSData+RACSupport.m: -------------------------------------------------------------------------------- 1 | // 2 | // NSData+RACSupport.m 3 | // ReactiveCocoa 4 | // 5 | // Created by Josh Abernathy on 5/11/12. 6 | // Copyright (c) 2012 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import "NSData+RACSupport.h" 10 | #import "RACReplaySubject.h" 11 | #import "RACScheduler.h" 12 | 13 | @implementation NSData (RACSupport) 14 | 15 | + (RACSignal *)rac_readContentsOfURL:(NSURL *)URL options:(NSDataReadingOptions)options scheduler:(RACScheduler *)scheduler { 16 | NSCParameterAssert(scheduler != nil); 17 | 18 | RACReplaySubject *subject = [RACReplaySubject subject]; 19 | [subject setNameWithFormat:@"+rac_readContentsOfURL: %@ options: %lu scheduler: %@", URL, (unsigned long)options, scheduler]; 20 | 21 | [scheduler schedule:^{ 22 | NSError *error = nil; 23 | NSData *data = [[NSData alloc] initWithContentsOfURL:URL options:options error:&error]; 24 | if (data == nil) { 25 | [subject sendError:error]; 26 | } else { 27 | [subject sendNext:data]; 28 | [subject sendCompleted]; 29 | } 30 | }]; 31 | 32 | return subject; 33 | } 34 | 35 | @end 36 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/NSDictionary+RACSequenceAdditions.m: -------------------------------------------------------------------------------- 1 | // 2 | // NSDictionary+RACSequenceAdditions.m 3 | // ReactiveCocoa 4 | // 5 | // Created by Justin Spahr-Summers on 2012-10-29. 6 | // Copyright (c) 2012 GitHub. All rights reserved. 7 | // 8 | 9 | #import "NSDictionary+RACSequenceAdditions.h" 10 | #import "NSArray+RACSequenceAdditions.h" 11 | #import "RACSequence.h" 12 | #import "RACTuple.h" 13 | 14 | @implementation NSDictionary (RACSequenceAdditions) 15 | 16 | - (RACSequence *)rac_sequence { 17 | NSDictionary *immutableDict = [self copy]; 18 | 19 | // TODO: First class support for dictionary sequences. 20 | return [immutableDict.allKeys.rac_sequence map:^(id key) { 21 | id value = immutableDict[key]; 22 | return RACTuplePack(key, value); 23 | }]; 24 | } 25 | 26 | - (RACSequence *)rac_keySequence { 27 | return self.allKeys.rac_sequence; 28 | } 29 | 30 | - (RACSequence *)rac_valueSequence { 31 | return self.allValues.rac_sequence; 32 | } 33 | 34 | @end 35 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/NSEnumerator+RACSequenceAdditions.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSEnumerator+RACSequenceAdditions.h 3 | // ReactiveCocoa 4 | // 5 | // Created by Uri Baghin on 07/01/2013. 6 | // Copyright (c) 2013 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class RACSequence; 12 | 13 | @interface NSEnumerator (RACSequenceAdditions) 14 | 15 | /// Creates and returns a sequence corresponding to the receiver. 16 | /// 17 | /// The receiver is exhausted lazily as the sequence is enumerated. 18 | @property (nonatomic, copy, readonly) RACSequence *rac_sequence; 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/NSEnumerator+RACSequenceAdditions.m: -------------------------------------------------------------------------------- 1 | // 2 | // NSEnumerator+RACSequenceAdditions.m 3 | // ReactiveCocoa 4 | // 5 | // Created by Uri Baghin on 07/01/2013. 6 | // Copyright (c) 2013 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import "NSEnumerator+RACSequenceAdditions.h" 10 | #import "RACSequence.h" 11 | 12 | @implementation NSEnumerator (RACSequenceAdditions) 13 | 14 | - (RACSequence *)rac_sequence { 15 | return [RACSequence sequenceWithHeadBlock:^{ 16 | return [self nextObject]; 17 | } tailBlock:^{ 18 | return self.rac_sequence; 19 | }]; 20 | } 21 | 22 | @end 23 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/NSFileHandle+RACSupport.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSFileHandle+RACSupport.h 3 | // ReactiveCocoa 4 | // 5 | // Created by Josh Abernathy on 5/10/12. 6 | // Copyright (c) 2012 GitHub. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class RACSignal; 12 | 13 | @interface NSFileHandle (RACSupport) 14 | 15 | // Read any available data in the background and send it. Completes when data 16 | // length is <= 0. 17 | - (RACSignal *)rac_readInBackground; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/NSIndexSet+RACSequenceAdditions.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSIndexSet+RACSequenceAdditions.h 3 | // ReactiveCocoa 4 | // 5 | // Created by Sergey Gavrilyuk on 12/17/13. 6 | // Copyright (c) 2013 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class RACSequence; 12 | 13 | @interface NSIndexSet (RACSequenceAdditions) 14 | 15 | /// Creates and returns a sequence of indexes (as `NSNumber`s) corresponding to 16 | /// the receiver. 17 | /// 18 | /// Mutating the receiver will not affect the sequence after it's been created. 19 | @property (nonatomic, copy, readonly) RACSequence *rac_sequence; 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/NSIndexSet+RACSequenceAdditions.m: -------------------------------------------------------------------------------- 1 | // 2 | // NSIndexSet+RACSequenceAdditions.m 3 | // ReactiveCocoa 4 | // 5 | // Created by Sergey Gavrilyuk on 12/17/13. 6 | // Copyright (c) 2013 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import "NSIndexSet+RACSequenceAdditions.h" 10 | #import "RACIndexSetSequence.h" 11 | 12 | @implementation NSIndexSet (RACSequenceAdditions) 13 | 14 | - (RACSequence *)rac_sequence { 15 | return [RACIndexSetSequence sequenceWithIndexSet:self]; 16 | } 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/NSNotificationCenter+RACSupport.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSNotificationCenter+RACSupport.h 3 | // ReactiveCocoa 4 | // 5 | // Created by Josh Abernathy on 5/10/12. 6 | // Copyright (c) 2012 GitHub. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class RACSignal; 12 | 13 | @interface NSNotificationCenter (RACSupport) 14 | 15 | // Sends the NSNotification every time the notification is posted. 16 | - (RACSignal *)rac_addObserverForName:(NSString *)notificationName object:(id)object; 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/NSNotificationCenter+RACSupport.m: -------------------------------------------------------------------------------- 1 | // 2 | // NSNotificationCenter+RACSupport.m 3 | // ReactiveCocoa 4 | // 5 | // Created by Josh Abernathy on 5/10/12. 6 | // Copyright (c) 2012 GitHub. All rights reserved. 7 | // 8 | 9 | #import "NSNotificationCenter+RACSupport.h" 10 | #import "RACEXTScope.h" 11 | #import "RACSignal.h" 12 | #import "RACSubscriber.h" 13 | #import "RACDisposable.h" 14 | 15 | @implementation NSNotificationCenter (RACSupport) 16 | 17 | - (RACSignal *)rac_addObserverForName:(NSString *)notificationName object:(id)object { 18 | @unsafeify(object); 19 | return [[RACSignal createSignal:^(id subscriber) { 20 | @strongify(object); 21 | id observer = [self addObserverForName:notificationName object:object queue:nil usingBlock:^(NSNotification *note) { 22 | [subscriber sendNext:note]; 23 | }]; 24 | 25 | return [RACDisposable disposableWithBlock:^{ 26 | [self removeObserver:observer]; 27 | }]; 28 | }] setNameWithFormat:@"-rac_addObserverForName: %@ object: <%@: %p>", notificationName, [object class], object]; 29 | } 30 | 31 | @end 32 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/NSObject+RACDescription.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSObject+RACDescription.h 3 | // ReactiveCocoa 4 | // 5 | // Created by Justin Spahr-Summers on 2013-05-13. 6 | // Copyright (c) 2013 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | // A private category providing a terser but faster alternative to -description. 12 | @interface NSObject (RACDescription) 13 | 14 | // A simplified description of the receiver, which does not invoke -description 15 | // (and thus should be much faster in many cases). 16 | // 17 | // This is for debugging purposes only, and will return a constant string 18 | // unless the RAC_DEBUG_SIGNAL_NAMES environment variable is set. 19 | - (NSString *)rac_description; 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/NSObject+RACDescription.m: -------------------------------------------------------------------------------- 1 | // 2 | // NSObject+RACDescription.m 3 | // ReactiveCocoa 4 | // 5 | // Created by Justin Spahr-Summers on 2013-05-13. 6 | // Copyright (c) 2013 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import "NSObject+RACDescription.h" 10 | #import "RACTuple.h" 11 | 12 | @implementation NSObject (RACDescription) 13 | 14 | - (NSString *)rac_description { 15 | if (getenv("RAC_DEBUG_SIGNAL_NAMES") != NULL) { 16 | return [[NSString alloc] initWithFormat:@"<%@: %p>", self.class, self]; 17 | } else { 18 | return @"(description skipped)"; 19 | } 20 | } 21 | 22 | @end 23 | 24 | @implementation NSValue (RACDescription) 25 | 26 | - (NSString *)rac_description { 27 | return self.description; 28 | } 29 | 30 | @end 31 | 32 | @implementation NSString (RACDescription) 33 | 34 | - (NSString *)rac_description { 35 | return self.description; 36 | } 37 | 38 | @end 39 | 40 | @implementation RACTuple (RACDescription) 41 | 42 | - (NSString *)rac_description { 43 | if (getenv("RAC_DEBUG_SIGNAL_NAMES") != NULL) { 44 | return self.allObjects.description; 45 | } else { 46 | return @"(description skipped)"; 47 | } 48 | } 49 | 50 | @end 51 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/NSOrderedSet+RACSequenceAdditions.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSOrderedSet+RACSequenceAdditions.h 3 | // ReactiveCocoa 4 | // 5 | // Created by Justin Spahr-Summers on 2012-10-29. 6 | // Copyright (c) 2012 GitHub. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class RACSequence; 12 | 13 | @interface NSOrderedSet (RACSequenceAdditions) 14 | 15 | /// Creates and returns a sequence corresponding to the receiver. 16 | /// 17 | /// Mutating the receiver will not affect the sequence after it's been created. 18 | @property (nonatomic, copy, readonly) RACSequence *rac_sequence; 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/NSOrderedSet+RACSequenceAdditions.m: -------------------------------------------------------------------------------- 1 | // 2 | // NSOrderedSet+RACSequenceAdditions.m 3 | // ReactiveCocoa 4 | // 5 | // Created by Justin Spahr-Summers on 2012-10-29. 6 | // Copyright (c) 2012 GitHub. All rights reserved. 7 | // 8 | 9 | #import "NSOrderedSet+RACSequenceAdditions.h" 10 | #import "NSArray+RACSequenceAdditions.h" 11 | 12 | @implementation NSOrderedSet (RACSequenceAdditions) 13 | 14 | - (RACSequence *)rac_sequence { 15 | // TODO: First class support for ordered set sequences. 16 | return self.array.rac_sequence; 17 | } 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/NSSet+RACSequenceAdditions.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSSet+RACSequenceAdditions.h 3 | // ReactiveCocoa 4 | // 5 | // Created by Justin Spahr-Summers on 2012-10-29. 6 | // Copyright (c) 2012 GitHub. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class RACSequence; 12 | 13 | @interface NSSet (RACSequenceAdditions) 14 | 15 | /// Creates and returns a sequence corresponding to the receiver. 16 | /// 17 | /// Mutating the receiver will not affect the sequence after it's been created. 18 | @property (nonatomic, copy, readonly) RACSequence *rac_sequence; 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/NSSet+RACSequenceAdditions.m: -------------------------------------------------------------------------------- 1 | // 2 | // NSSet+RACSequenceAdditions.m 3 | // ReactiveCocoa 4 | // 5 | // Created by Justin Spahr-Summers on 2012-10-29. 6 | // Copyright (c) 2012 GitHub. All rights reserved. 7 | // 8 | 9 | #import "NSSet+RACSequenceAdditions.h" 10 | #import "NSArray+RACSequenceAdditions.h" 11 | 12 | @implementation NSSet (RACSequenceAdditions) 13 | 14 | - (RACSequence *)rac_sequence { 15 | // TODO: First class support for set sequences. 16 | return self.allObjects.rac_sequence; 17 | } 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/NSString+RACKeyPathUtilities.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSString+RACKeyPathUtilities.h 3 | // ReactiveCocoa 4 | // 5 | // Created by Uri Baghin on 05/05/2013. 6 | // Copyright (c) 2013 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | // A private category of methods to extract parts of a key path. 12 | @interface NSString (RACKeyPathUtilities) 13 | 14 | // Returns an array of the components of the receiver. 15 | // 16 | // Calling this method on a string that isn't a key path is considered undefined 17 | // behavior. 18 | - (NSArray *)rac_keyPathComponents; 19 | 20 | // Returns a key path with all the components of the receiver except for the 21 | // last one. 22 | // 23 | // Calling this method on a string that isn't a key path is considered undefined 24 | // behavior. 25 | - (NSString *)rac_keyPathByDeletingLastKeyPathComponent; 26 | 27 | // Returns a key path with all the components of the receiver expect for the 28 | // first one. 29 | // 30 | // Calling this method on a string that isn't a key path is considered undefined 31 | // behavior. 32 | - (NSString *)rac_keyPathByDeletingFirstKeyPathComponent; 33 | 34 | @end 35 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/NSString+RACKeyPathUtilities.m: -------------------------------------------------------------------------------- 1 | // 2 | // NSString+RACKeyPathUtilities.m 3 | // ReactiveCocoa 4 | // 5 | // Created by Uri Baghin on 05/05/2013. 6 | // Copyright (c) 2013 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import "NSString+RACKeyPathUtilities.h" 10 | 11 | @implementation NSString (RACKeyPathUtilities) 12 | 13 | - (NSArray *)rac_keyPathComponents { 14 | if (self.length == 0) { 15 | return nil; 16 | } 17 | return [self componentsSeparatedByString:@"."]; 18 | } 19 | 20 | - (NSString *)rac_keyPathByDeletingLastKeyPathComponent { 21 | NSUInteger lastDotIndex = [self rangeOfString:@"." options:NSBackwardsSearch].location; 22 | if (lastDotIndex == NSNotFound) { 23 | return nil; 24 | } 25 | return [self substringToIndex:lastDotIndex]; 26 | } 27 | 28 | - (NSString *)rac_keyPathByDeletingFirstKeyPathComponent { 29 | NSUInteger firstDotIndex = [self rangeOfString:@"."].location; 30 | if (firstDotIndex == NSNotFound) { 31 | return nil; 32 | } 33 | return [self substringFromIndex:firstDotIndex + 1]; 34 | } 35 | 36 | @end 37 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/NSString+RACSequenceAdditions.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSString+RACSequenceAdditions.h 3 | // ReactiveCocoa 4 | // 5 | // Created by Justin Spahr-Summers on 2012-10-29. 6 | // Copyright (c) 2012 GitHub. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class RACSequence; 12 | 13 | @interface NSString (RACSequenceAdditions) 14 | 15 | /// Creates and returns a sequence containing strings corresponding to each 16 | /// composed character sequence in the receiver. 17 | /// 18 | /// Mutating the receiver will not affect the sequence after it's been created. 19 | @property (nonatomic, copy, readonly) RACSequence *rac_sequence; 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/NSString+RACSequenceAdditions.m: -------------------------------------------------------------------------------- 1 | // 2 | // NSString+RACSequenceAdditions.m 3 | // ReactiveCocoa 4 | // 5 | // Created by Justin Spahr-Summers on 2012-10-29. 6 | // Copyright (c) 2012 GitHub. All rights reserved. 7 | // 8 | 9 | #import "NSString+RACSequenceAdditions.h" 10 | #import "RACStringSequence.h" 11 | 12 | @implementation NSString (RACSequenceAdditions) 13 | 14 | - (RACSequence *)rac_sequence { 15 | return [RACStringSequence sequenceWithString:self offset:0]; 16 | } 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/NSString+RACSupport.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSString+RACSupport.h 3 | // ReactiveCocoa 4 | // 5 | // Created by Josh Abernathy on 5/11/12. 6 | // Copyright (c) 2012 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class RACScheduler; 12 | @class RACSignal; 13 | 14 | @interface NSString (RACSupport) 15 | 16 | // Reads in the contents of the file using +[NSString stringWithContentsOfURL:usedEncoding:error:]. 17 | // Note that encoding won't be valid until the signal completes successfully. 18 | // 19 | // scheduler - cannot be nil. 20 | + (RACSignal *)rac_readContentsOfURL:(NSURL *)URL usedEncoding:(NSStringEncoding *)encoding scheduler:(RACScheduler *)scheduler; 21 | 22 | @end 23 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/NSString+RACSupport.m: -------------------------------------------------------------------------------- 1 | // 2 | // NSString+RACSupport.m 3 | // ReactiveCocoa 4 | // 5 | // Created by Josh Abernathy on 5/11/12. 6 | // Copyright (c) 2012 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import "NSString+RACSupport.h" 10 | #import "RACReplaySubject.h" 11 | #import "RACScheduler.h" 12 | 13 | @implementation NSString (RACSupport) 14 | 15 | + (RACSignal *)rac_readContentsOfURL:(NSURL *)URL usedEncoding:(NSStringEncoding *)encoding scheduler:(RACScheduler *)scheduler { 16 | NSCParameterAssert(scheduler != nil); 17 | 18 | RACReplaySubject *subject = [RACReplaySubject subject]; 19 | [subject setNameWithFormat:@"+rac_readContentsOfURL: %@ usedEncoding:scheduler: %@", URL, scheduler]; 20 | 21 | [scheduler schedule:^{ 22 | NSError *error = nil; 23 | NSString *string = [NSString stringWithContentsOfURL:URL usedEncoding:encoding error:&error]; 24 | if (string == nil) { 25 | [subject sendError:error]; 26 | } else { 27 | [subject sendNext:string]; 28 | [subject sendCompleted]; 29 | } 30 | }]; 31 | 32 | return subject; 33 | } 34 | 35 | @end 36 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/NSURLConnection+RACSupport.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSURLConnection+RACSupport.h 3 | // ReactiveCocoa 4 | // 5 | // Created by Justin Spahr-Summers on 2013-10-01. 6 | // Copyright (c) 2013 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class RACSignal; 12 | 13 | @interface NSURLConnection (RACSupport) 14 | 15 | // Lazily loads data for the given request in the background. 16 | // 17 | // request - The URL request to load. This must not be nil. 18 | // 19 | // Returns a signal which will begin loading the request upon each subscription, 20 | // then send a `RACTuple` of the received `NSURLResponse` and downloaded 21 | // `NSData`, and complete on a background thread. If any errors occur, the 22 | // returned signal will error out. 23 | + (RACSignal *)rac_sendAsynchronousRequest:(NSURLRequest *)request; 24 | 25 | @end 26 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/NSUserDefaults+RACSupport.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSUserDefaults+RACSupport.h 3 | // ReactiveCocoa 4 | // 5 | // Created by Matt Diephouse on 12/19/13. 6 | // Copyright (c) 2013 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class RACChannelTerminal; 12 | 13 | @interface NSUserDefaults (RACSupport) 14 | 15 | /// Creates and returns a terminal for binding the user defaults key. 16 | /// 17 | /// **Note:** The value in the user defaults is *asynchronously* updated with 18 | /// values sent to the channel. 19 | /// 20 | /// key - The user defaults key to create the channel terminal for. 21 | /// 22 | /// Returns a channel terminal that sends the value of the user defaults key 23 | /// upon subscription, sends an updated value whenever the default changes, and 24 | /// updates the default asynchronously with values it receives. 25 | - (RACChannelTerminal *)rac_channelTerminalForKey:(NSString *)key; 26 | 27 | @end 28 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/RACArraySequence.h: -------------------------------------------------------------------------------- 1 | // 2 | // RACArraySequence.h 3 | // ReactiveCocoa 4 | // 5 | // Created by Justin Spahr-Summers on 2012-10-29. 6 | // Copyright (c) 2012 GitHub. All rights reserved. 7 | // 8 | 9 | #import "RACSequence.h" 10 | 11 | // Private class that adapts an array to the RACSequence interface. 12 | @interface RACArraySequence : RACSequence 13 | 14 | // Returns a sequence for enumerating over the given array, starting from the 15 | // given offset. The array will be copied to prevent mutation. 16 | + (instancetype)sequenceWithArray:(NSArray *)array offset:(NSUInteger)offset; 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/RACBehaviorSubject.h: -------------------------------------------------------------------------------- 1 | // 2 | // RACBehaviorSubject.h 3 | // ReactiveCocoa 4 | // 5 | // Created by Josh Abernathy on 3/16/12. 6 | // Copyright (c) 2012 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import "RACSubject.h" 10 | 11 | /// A behavior subject sends the last value it received when it is subscribed to. 12 | @interface RACBehaviorSubject : RACSubject 13 | 14 | /// Creates a new behavior subject with a default value. If it hasn't received 15 | /// any values when it gets subscribed to, it sends the default value. 16 | + (instancetype)behaviorSubjectWithDefaultValue:(id)value; 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/RACBlockTrampoline.h: -------------------------------------------------------------------------------- 1 | // 2 | // RACBlockTrampoline.h 3 | // ReactiveCocoa 4 | // 5 | // Created by Josh Abernathy on 10/21/12. 6 | // Copyright (c) 2012 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class RACTuple; 12 | 13 | // A private class that allows a limited type of dynamic block invocation. 14 | @interface RACBlockTrampoline : NSObject 15 | 16 | // Invokes the given block with the given arguments. All of the block's 17 | // argument types must be objects and it must be typed to return an object. 18 | // 19 | // At this time, it only supports blocks that take up to 15 arguments. Any more 20 | // is just cray. 21 | // 22 | // block - The block to invoke. Must accept as many arguments as are given in 23 | // the arguments array. Cannot be nil. 24 | // arguments - The arguments with which to invoke the block. `RACTupleNil`s will 25 | // be passed as nils. 26 | // 27 | // Returns the return value of invoking the block. 28 | + (id)invokeBlock:(id)block withArguments:(RACTuple *)arguments; 29 | 30 | @end 31 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/RACCompoundDisposableProvider.d: -------------------------------------------------------------------------------- 1 | provider RACCompoundDisposable { 2 | probe added(char *compoundDisposable, char *disposable, long newTotal); 3 | probe removed(char *compoundDisposable, char *disposable, long newTotal); 4 | }; 5 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/RACDelegateProxy.h: -------------------------------------------------------------------------------- 1 | // 2 | // RACDelegateProxy.h 3 | // ReactiveCocoa 4 | // 5 | // Created by Cody Krieger on 5/19/12. 6 | // Copyright (c) 2012 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class RACSignal; 12 | 13 | // A private delegate object suitable for using 14 | // -rac_signalForSelector:fromProtocol: upon. 15 | @interface RACDelegateProxy : NSObject 16 | 17 | // The delegate to which messages should be forwarded if not handled by 18 | // any -signalForSelector: applications. 19 | @property (nonatomic, unsafe_unretained) id rac_proxiedDelegate; 20 | 21 | // Creates a delegate proxy capable of responding to selectors from `protocol`. 22 | - (instancetype)initWithProtocol:(Protocol *)protocol; 23 | 24 | // Calls -rac_signalForSelector:fromProtocol: using the `protocol` specified 25 | // during initialization. 26 | - (RACSignal *)signalForSelector:(SEL)selector; 27 | 28 | @end 29 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/RACDisposable.h: -------------------------------------------------------------------------------- 1 | // 2 | // RACDisposable.h 3 | // ReactiveCocoa 4 | // 5 | // Created by Josh Abernathy on 3/16/12. 6 | // Copyright (c) 2012 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class RACScopedDisposable; 12 | 13 | /// A disposable encapsulates the work necessary to tear down and cleanup a 14 | /// subscription. 15 | @interface RACDisposable : NSObject 16 | 17 | /// Whether the receiver has been disposed. 18 | /// 19 | /// Use of this property is discouraged, since it may be set to `YES` 20 | /// concurrently at any time. 21 | /// 22 | /// This property is not KVO-compliant. 23 | @property (atomic, assign, getter = isDisposed, readonly) BOOL disposed; 24 | 25 | + (instancetype)disposableWithBlock:(void (^)(void))block; 26 | 27 | /// Performs the disposal work. Can be called multiple times, though subsequent 28 | /// calls won't do anything. 29 | - (void)dispose; 30 | 31 | /// Returns a new disposable which will dispose of this disposable when it gets 32 | /// dealloc'd. 33 | - (RACScopedDisposable *)asScopedDisposable; 34 | 35 | @end 36 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/RACDynamicSequence.h: -------------------------------------------------------------------------------- 1 | // 2 | // RACDynamicSequence.h 3 | // ReactiveCocoa 4 | // 5 | // Created by Justin Spahr-Summers on 2012-10-29. 6 | // Copyright (c) 2012 GitHub. All rights reserved. 7 | // 8 | 9 | #import "RACSequence.h" 10 | 11 | // Private class that implements a sequence dynamically using blocks. 12 | @interface RACDynamicSequence : RACSequence 13 | 14 | // Returns a sequence which evaluates `dependencyBlock` only once, the first 15 | // time either `headBlock` or `tailBlock` is evaluated. The result of 16 | // `dependencyBlock` will be passed into `headBlock` and `tailBlock` when 17 | // invoked. 18 | + (RACSequence *)sequenceWithLazyDependency:(id (^)(void))dependencyBlock headBlock:(id (^)(id dependency))headBlock tailBlock:(RACSequence *(^)(id dependency))tailBlock; 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/RACDynamicSignal.h: -------------------------------------------------------------------------------- 1 | // 2 | // RACDynamicSignal.h 3 | // ReactiveCocoa 4 | // 5 | // Created by Justin Spahr-Summers on 2013-10-10. 6 | // Copyright (c) 2013 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import "RACSignal.h" 10 | 11 | // A private `RACSignal` subclasses that implements its subscription behavior 12 | // using a block. 13 | @interface RACDynamicSignal : RACSignal 14 | 15 | + (RACSignal *)createSignal:(RACDisposable * (^)(id subscriber))didSubscribe; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/RACEagerSequence.h: -------------------------------------------------------------------------------- 1 | // 2 | // RACEagerSequence.h 3 | // ReactiveCocoa 4 | // 5 | // Created by Uri Baghin on 02/01/2013. 6 | // Copyright (c) 2013 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import "RACArraySequence.h" 10 | 11 | // Private class that implements an eager sequence. 12 | @interface RACEagerSequence : RACArraySequence 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/RACEmptySequence.h: -------------------------------------------------------------------------------- 1 | // 2 | // RACEmptySequence.h 3 | // ReactiveCocoa 4 | // 5 | // Created by Justin Spahr-Summers on 2012-10-29. 6 | // Copyright (c) 2012 GitHub. All rights reserved. 7 | // 8 | 9 | #import "RACSequence.h" 10 | 11 | // Private class representing an empty sequence. 12 | @interface RACEmptySequence : RACSequence 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/RACEmptySignal.h: -------------------------------------------------------------------------------- 1 | // 2 | // RACEmptySignal.h 3 | // ReactiveCocoa 4 | // 5 | // Created by Justin Spahr-Summers on 2013-10-10. 6 | // Copyright (c) 2013 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import "RACSignal.h" 10 | 11 | // A private `RACSignal` subclasses that synchronously sends completed to any 12 | // subscribers. 13 | @interface RACEmptySignal : RACSignal 14 | 15 | + (RACSignal *)empty; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/RACErrorSignal.h: -------------------------------------------------------------------------------- 1 | // 2 | // RACErrorSignal.h 3 | // ReactiveCocoa 4 | // 5 | // Created by Justin Spahr-Summers on 2013-10-10. 6 | // Copyright (c) 2013 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import "RACSignal.h" 10 | 11 | // A private `RACSignal` subclasses that synchronously sends an error to any 12 | // subscribers. 13 | @interface RACErrorSignal : RACSignal 14 | 15 | + (RACSignal *)error:(NSError *)error; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/RACErrorSignal.m: -------------------------------------------------------------------------------- 1 | // 2 | // RACErrorSignal.m 3 | // ReactiveCocoa 4 | // 5 | // Created by Justin Spahr-Summers on 2013-10-10. 6 | // Copyright (c) 2013 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import "RACErrorSignal.h" 10 | #import "RACScheduler+Private.h" 11 | #import "RACSubscriber.h" 12 | 13 | @interface RACErrorSignal () 14 | 15 | // The error to send upon subscription. 16 | @property (nonatomic, strong, readonly) NSError *error; 17 | 18 | @end 19 | 20 | @implementation RACErrorSignal 21 | 22 | #pragma mark Lifecycle 23 | 24 | + (RACSignal *)error:(NSError *)error { 25 | RACErrorSignal *signal = [[self alloc] init]; 26 | signal->_error = error; 27 | 28 | #ifdef DEBUG 29 | [signal setNameWithFormat:@"+error: %@", error]; 30 | #else 31 | signal.name = @"+error:"; 32 | #endif 33 | 34 | return signal; 35 | } 36 | 37 | #pragma mark Subscription 38 | 39 | - (RACDisposable *)subscribe:(id)subscriber { 40 | NSCParameterAssert(subscriber != nil); 41 | 42 | return [RACScheduler.subscriptionScheduler schedule:^{ 43 | [subscriber sendError:self.error]; 44 | }]; 45 | } 46 | 47 | @end 48 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/RACGroupedSignal.h: -------------------------------------------------------------------------------- 1 | // 2 | // RACGroupedSignal.h 3 | // ReactiveCocoa 4 | // 5 | // Created by Josh Abernathy on 5/2/12. 6 | // Copyright (c) 2012 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import "RACSubject.h" 10 | 11 | /// A grouped signal is used by -[RACSignal groupBy:transform:]. 12 | @interface RACGroupedSignal : RACSubject 13 | 14 | /// The key shared by the group. 15 | @property (nonatomic, readonly, copy) id key; 16 | 17 | + (instancetype)signalWithKey:(id)key; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/RACGroupedSignal.m: -------------------------------------------------------------------------------- 1 | // 2 | // RACGroupedSignal.m 3 | // ReactiveCocoa 4 | // 5 | // Created by Josh Abernathy on 5/2/12. 6 | // Copyright (c) 2012 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import "RACGroupedSignal.h" 10 | 11 | @interface RACGroupedSignal () 12 | @property (nonatomic, copy) id key; 13 | @end 14 | 15 | @implementation RACGroupedSignal 16 | 17 | #pragma mark API 18 | 19 | + (instancetype)signalWithKey:(id)key { 20 | RACGroupedSignal *subject = [self subject]; 21 | subject.key = key; 22 | return subject; 23 | } 24 | 25 | @end 26 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/RACImmediateScheduler.h: -------------------------------------------------------------------------------- 1 | // 2 | // RACImmediateScheduler.h 3 | // ReactiveCocoa 4 | // 5 | // Created by Josh Abernathy on 11/30/12. 6 | // Copyright (c) 2012 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import "RACScheduler.h" 10 | 11 | // A private scheduler which immediately executes its scheduled blocks. 12 | @interface RACImmediateScheduler : RACScheduler 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/RACIndexSetSequence.h: -------------------------------------------------------------------------------- 1 | // 2 | // RACIndexSetSequence.h 3 | // ReactiveCocoa 4 | // 5 | // Created by Sergey Gavrilyuk on 12/18/13. 6 | // Copyright (c) 2013 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import "RACSequence.h" 10 | 11 | // Private class that adapts an array to the RACSequence interface. 12 | @interface RACIndexSetSequence : RACSequence 13 | 14 | + (instancetype)sequenceWithIndexSet:(NSIndexSet *)indexSet; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/RACMulticastConnection+Private.h: -------------------------------------------------------------------------------- 1 | // 2 | // RACMulticastConnection+Private.h 3 | // ReactiveCocoa 4 | // 5 | // Created by Josh Abernathy on 4/11/12. 6 | // Copyright (c) 2012 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import "RACMulticastConnection.h" 10 | 11 | @class RACSubject; 12 | 13 | @interface RACMulticastConnection () 14 | 15 | - (id)initWithSourceSignal:(RACSignal *)source subject:(RACSubject *)subject; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/RACObjCRuntime.h: -------------------------------------------------------------------------------- 1 | // 2 | // RACObjCRuntime.h 3 | // ReactiveCocoa 4 | // 5 | // Created by Cody Krieger on 5/19/12. 6 | // Copyright (c) 2012 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | // A private class containing wrappers to runtime functions. 12 | @interface RACObjCRuntime : NSObject 13 | 14 | // Invokes objc_allocateClassPair(). Can be called from ARC code. 15 | + (Class)createClass:(const char *)className inheritingFromClass:(Class)superclass; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/RACObjCRuntime.m: -------------------------------------------------------------------------------- 1 | // 2 | // RACObjCRuntime.m 3 | // ReactiveCocoa 4 | // 5 | // Created by Cody Krieger on 5/19/12. 6 | // Copyright (c) 2012 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import "RACObjCRuntime.h" 10 | #import 11 | 12 | #if __has_feature(objc_arc) 13 | #error "This file must be compiled without ARC." 14 | #endif 15 | 16 | @implementation RACObjCRuntime 17 | 18 | + (Class)createClass:(const char *)className inheritingFromClass:(Class)superclass { 19 | return objc_allocateClassPair(superclass, className, 0); 20 | } 21 | 22 | @end 23 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/RACPassthroughSubscriber.h: -------------------------------------------------------------------------------- 1 | // 2 | // RACPassthroughSubscriber.h 3 | // ReactiveCocoa 4 | // 5 | // Created by Justin Spahr-Summers on 2013-06-13. 6 | // Copyright (c) 2013 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "RACSubscriber.h" 11 | 12 | @class RACCompoundDisposable; 13 | @class RACSignal; 14 | 15 | // A private subscriber that passes through all events to another subscriber 16 | // while not disposed. 17 | @interface RACPassthroughSubscriber : NSObject 18 | 19 | // Initializes the receiver to pass through events until disposed. 20 | // 21 | // subscriber - The subscriber to forward events to. This must not be nil. 22 | // signal - The signal that will be sending events to the receiver. 23 | // disposable - When this disposable is disposed, no more events will be 24 | // forwarded. This must not be nil. 25 | // 26 | // Returns an initialized passthrough subscriber. 27 | - (instancetype)initWithSubscriber:(id)subscriber signal:(RACSignal *)signal disposable:(RACCompoundDisposable *)disposable; 28 | 29 | @end 30 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/RACQueueScheduler.h: -------------------------------------------------------------------------------- 1 | // 2 | // RACQueueScheduler.h 3 | // ReactiveCocoa 4 | // 5 | // Created by Josh Abernathy on 11/30/12. 6 | // Copyright (c) 2012 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import "RACScheduler.h" 10 | 11 | /// An abstract scheduler which asynchronously enqueues all its work to a Grand 12 | /// Central Dispatch queue. 13 | /// 14 | /// Because RACQueueScheduler is abstract, it should not be instantiated 15 | /// directly. Create a subclass using the `RACQueueScheduler+Subclass.h` 16 | /// interface and use that instead. 17 | @interface RACQueueScheduler : RACScheduler 18 | @end 19 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/RACReplaySubject.h: -------------------------------------------------------------------------------- 1 | // 2 | // RACReplaySubject.h 3 | // ReactiveCocoa 4 | // 5 | // Created by Josh Abernathy on 3/14/12. 6 | // Copyright (c) 2012 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import "RACSubject.h" 10 | 11 | extern const NSUInteger RACReplaySubjectUnlimitedCapacity; 12 | 13 | /// A replay subject saves the values it is sent (up to its defined capacity) 14 | /// and resends those to new subscribers. It will also replay an error or 15 | /// completion. 16 | @interface RACReplaySubject : RACSubject 17 | 18 | /// Creates a new replay subject with the given capacity. A capacity of 19 | /// RACReplaySubjectUnlimitedCapacity means values are never trimmed. 20 | + (instancetype)replaySubjectWithCapacity:(NSUInteger)capacity; 21 | 22 | @end 23 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/RACReturnSignal.h: -------------------------------------------------------------------------------- 1 | // 2 | // RACReturnSignal.h 3 | // ReactiveCocoa 4 | // 5 | // Created by Justin Spahr-Summers on 2013-10-10. 6 | // Copyright (c) 2013 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import "RACSignal.h" 10 | 11 | // A private `RACSignal` subclasses that synchronously sends a value to any 12 | // subscribers, then completes. 13 | @interface RACReturnSignal : RACSignal 14 | 15 | + (RACSignal *)return:(id)value; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/RACScheduler+Subclass.h: -------------------------------------------------------------------------------- 1 | // 2 | // RACScheduler.m 3 | // ReactiveCocoa 4 | // 5 | // Created by Miķelis Vindavs on 5/27/14. 6 | // Copyright (c) 2014 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "RACScheduler.h" 11 | 12 | /// An interface for use by subclasses. 13 | /// 14 | /// Subclasses should use `-performAsCurrentScheduler:` to do the actual block 15 | /// invocation so that +[RACScheduler currentScheduler] behaves as expected. 16 | /// 17 | /// **Note that RACSchedulers are expected to be serial**. Subclasses must honor 18 | /// that contract. See `RACTargetQueueScheduler` for a queue-based scheduler 19 | /// which will enforce the serialization guarantee. 20 | @interface RACScheduler () 21 | 22 | /// Performs the given block with the receiver as the current scheduler for 23 | /// its thread. This should only be called by subclasses to perform their 24 | /// scheduled blocks. 25 | /// 26 | /// block - The block to execute. Cannot be NULL. 27 | - (void)performAsCurrentScheduler:(void (^)(void))block; 28 | 29 | @end 30 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/RACScopedDisposable.h: -------------------------------------------------------------------------------- 1 | // 2 | // RACScopedDisposable.h 3 | // ReactiveCocoa 4 | // 5 | // Created by Josh Abernathy on 3/28/12. 6 | // Copyright (c) 2012 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import "RACDisposable.h" 10 | 11 | /// A disposable that calls its own -dispose when it is dealloc'd. 12 | @interface RACScopedDisposable : RACDisposable 13 | 14 | /// Creates a new scoped disposable that will also dispose of the given 15 | /// disposable when it is dealloc'd. 16 | + (instancetype)scopedDisposableWithDisposable:(RACDisposable *)disposable; 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/RACScopedDisposable.m: -------------------------------------------------------------------------------- 1 | // 2 | // RACScopedDisposable.m 3 | // ReactiveCocoa 4 | // 5 | // Created by Josh Abernathy on 3/28/12. 6 | // Copyright (c) 2012 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import "RACScopedDisposable.h" 10 | 11 | @implementation RACScopedDisposable 12 | 13 | #pragma mark Lifecycle 14 | 15 | + (instancetype)scopedDisposableWithDisposable:(RACDisposable *)disposable { 16 | return [self disposableWithBlock:^{ 17 | [disposable dispose]; 18 | }]; 19 | } 20 | 21 | - (void)dealloc { 22 | [self dispose]; 23 | } 24 | 25 | #pragma mark RACDisposable 26 | 27 | - (RACScopedDisposable *)asScopedDisposable { 28 | // totally already are 29 | return self; 30 | } 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/RACSignalProvider.d: -------------------------------------------------------------------------------- 1 | provider RACSignal { 2 | probe next(char *signal, char *subscriber, char *valueDescription); 3 | probe completed(char *signal, char *subscriber); 4 | probe error(char *signal, char *subscriber, char *errorDescription); 5 | }; 6 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/RACSignalSequence.h: -------------------------------------------------------------------------------- 1 | // 2 | // RACSignalSequence.h 3 | // ReactiveCocoa 4 | // 5 | // Created by Justin Spahr-Summers on 2012-11-09. 6 | // Copyright (c) 2012 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import "RACSequence.h" 10 | 11 | @class RACSignal; 12 | 13 | // Private class that adapts a RACSignal to the RACSequence interface. 14 | @interface RACSignalSequence : RACSequence 15 | 16 | // Returns a sequence for enumerating over the given signal. 17 | + (RACSequence *)sequenceWithSignal:(RACSignal *)signal; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/RACStream+Private.h: -------------------------------------------------------------------------------- 1 | // 2 | // RACStream+Private.h 3 | // ReactiveCocoa 4 | // 5 | // Created by Justin Spahr-Summers on 2013-07-22. 6 | // Copyright (c) 2013 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import "RACStream.h" 10 | 11 | @interface RACStream () 12 | 13 | // Combines a list of streams using the logic of the given block. 14 | // 15 | // streams - The streams to combine. 16 | // block - An operator that combines two streams and returns a new one. The 17 | // returned stream should contain 2-tuples of the streams' combined 18 | // values. 19 | // 20 | // Returns a combined stream. 21 | + (instancetype)join:(id)streams block:(RACStream * (^)(id, id))block; 22 | 23 | @end 24 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/RACStringSequence.h: -------------------------------------------------------------------------------- 1 | // 2 | // RACStringSequence.h 3 | // ReactiveCocoa 4 | // 5 | // Created by Justin Spahr-Summers on 2012-10-29. 6 | // Copyright (c) 2012 GitHub. All rights reserved. 7 | // 8 | 9 | #import "RACSequence.h" 10 | 11 | // Private class that adapts a string to the RACSequence interface. 12 | @interface RACStringSequence : RACSequence 13 | 14 | // Returns a sequence for enumerating over the given string, starting from the 15 | // given character offset. The string will be copied to prevent mutation. 16 | + (RACSequence *)sequenceWithString:(NSString *)string offset:(NSUInteger)offset; 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/RACSubject.h: -------------------------------------------------------------------------------- 1 | // 2 | // RACSubject.h 3 | // ReactiveCocoa 4 | // 5 | // Created by Josh Abernathy on 3/9/12. 6 | // Copyright (c) 2012 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import "RACSignal.h" 10 | #import "RACSubscriber.h" 11 | 12 | /// A subject can be thought of as a signal that you can manually control by 13 | /// sending next, completed, and error. 14 | /// 15 | /// They're most helpful in bridging the non-RAC world to RAC, since they let you 16 | /// manually control the sending of events. 17 | @interface RACSubject : RACSignal 18 | 19 | /// Returns a new subject. 20 | + (instancetype)subject; 21 | 22 | @end 23 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/RACSubscriber+Private.h: -------------------------------------------------------------------------------- 1 | // 2 | // RACSubscriber+Private.h 3 | // ReactiveCocoa 4 | // 5 | // Created by Justin Spahr-Summers on 2013-06-13. 6 | // Copyright (c) 2013 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import "RACSubscriber.h" 10 | 11 | // A simple block-based subscriber. 12 | @interface RACSubscriber : NSObject 13 | 14 | // Creates a new subscriber with the given blocks. 15 | + (instancetype)subscriberWithNext:(void (^)(id x))next error:(void (^)(NSError *error))error completed:(void (^)(void))completed; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/RACSubscriptionScheduler.h: -------------------------------------------------------------------------------- 1 | // 2 | // RACSubscriptionScheduler.h 3 | // ReactiveCocoa 4 | // 5 | // Created by Josh Abernathy on 11/30/12. 6 | // Copyright (c) 2012 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import "RACScheduler.h" 10 | 11 | // A private scheduler used only for subscriptions. See the private 12 | // +[RACScheduler subscriptionScheduler] method for more information. 13 | @interface RACSubscriptionScheduler : RACScheduler 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/RACTargetQueueScheduler.h: -------------------------------------------------------------------------------- 1 | // 2 | // RACTargetQueueScheduler.h 3 | // ReactiveCocoa 4 | // 5 | // Created by Josh Abernathy on 6/6/13. 6 | // Copyright (c) 2013 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import "RACQueueScheduler.h" 10 | 11 | /// A scheduler that enqueues blocks on a private serial queue, targeting an 12 | /// arbitrary GCD queue. 13 | @interface RACTargetQueueScheduler : RACQueueScheduler 14 | 15 | /// Initializes the receiver with a serial queue that will target the given 16 | /// `targetQueue`. 17 | /// 18 | /// name - The name of the scheduler. If nil, a default name will be used. 19 | /// targetQueue - The queue to target. Cannot be NULL. 20 | /// 21 | /// Returns the initialized object. 22 | - (id)initWithName:(NSString *)name targetQueue:(dispatch_queue_t)targetQueue; 23 | 24 | @end 25 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/RACTargetQueueScheduler.m: -------------------------------------------------------------------------------- 1 | // 2 | // RACTargetQueueScheduler.m 3 | // ReactiveCocoa 4 | // 5 | // Created by Josh Abernathy on 6/6/13. 6 | // Copyright (c) 2013 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import "RACTargetQueueScheduler.h" 10 | #import "RACQueueScheduler+Subclass.h" 11 | 12 | @implementation RACTargetQueueScheduler 13 | 14 | #pragma mark Lifecycle 15 | 16 | - (id)initWithName:(NSString *)name targetQueue:(dispatch_queue_t)targetQueue { 17 | NSCParameterAssert(targetQueue != NULL); 18 | 19 | if (name == nil) { 20 | name = [NSString stringWithFormat:@"com.ReactiveCocoa.RACTargetQueueScheduler(%s)", dispatch_queue_get_label(targetQueue)]; 21 | } 22 | 23 | dispatch_queue_t queue = dispatch_queue_create(name.UTF8String, DISPATCH_QUEUE_SERIAL); 24 | if (queue == NULL) return nil; 25 | 26 | dispatch_set_target_queue(queue, targetQueue); 27 | 28 | return [super initWithName:name queue:queue]; 29 | } 30 | 31 | @end 32 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/RACTupleSequence.h: -------------------------------------------------------------------------------- 1 | // 2 | // RACTupleSequence.h 3 | // ReactiveCocoa 4 | // 5 | // Created by Justin Spahr-Summers on 2013-05-01. 6 | // Copyright (c) 2013 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import "RACSequence.h" 10 | 11 | // Private class that adapts a RACTuple to the RACSequence interface. 12 | @interface RACTupleSequence : RACSequence 13 | 14 | // Returns a sequence for enumerating over the given backing array (from a 15 | // RACTuple), starting from the given offset. 16 | + (instancetype)sequenceWithTupleBackingArray:(NSArray *)backingArray offset:(NSUInteger)offset; 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/RACUnarySequence.h: -------------------------------------------------------------------------------- 1 | // 2 | // RACUnarySequence.h 3 | // ReactiveCocoa 4 | // 5 | // Created by Justin Spahr-Summers on 2013-05-01. 6 | // Copyright (c) 2013 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import "RACSequence.h" 10 | 11 | // Private class representing a sequence of exactly one value. 12 | @interface RACUnarySequence : RACSequence 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/RACUnit.h: -------------------------------------------------------------------------------- 1 | // 2 | // RACUnit.h 3 | // ReactiveCocoa 4 | // 5 | // Created by Josh Abernathy on 3/27/12. 6 | // Copyright (c) 2012 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | /// A unit represents an empty value. 12 | /// 13 | /// It should never be necessary to create a unit yourself. Just use +defaultUnit. 14 | @interface RACUnit : NSObject 15 | 16 | /// A singleton instance. 17 | + (RACUnit *)defaultUnit; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/RACUnit.m: -------------------------------------------------------------------------------- 1 | // 2 | // RACUnit.m 3 | // ReactiveCocoa 4 | // 5 | // Created by Josh Abernathy on 3/27/12. 6 | // Copyright (c) 2012 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import "RACUnit.h" 10 | 11 | @implementation RACUnit 12 | 13 | #pragma mark API 14 | 15 | + (RACUnit *)defaultUnit { 16 | static dispatch_once_t onceToken; 17 | static RACUnit *defaultUnit = nil; 18 | dispatch_once(&onceToken, ^{ 19 | defaultUnit = [[self alloc] init]; 20 | }); 21 | 22 | return defaultUnit; 23 | } 24 | 25 | @end 26 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/RACValueTransformer.h: -------------------------------------------------------------------------------- 1 | // 2 | // RACValueTransformer.h 3 | // ReactiveCocoa 4 | // 5 | // Created by Josh Abernathy on 3/6/12. 6 | // Copyright (c) 2012 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | // A private block based transformer. 12 | @interface RACValueTransformer : NSValueTransformer 13 | 14 | + (instancetype)transformerWithBlock:(id (^)(id value))block; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/RACValueTransformer.m: -------------------------------------------------------------------------------- 1 | // 2 | // RACValueTransformer.m 3 | // ReactiveCocoa 4 | // 5 | // Created by Josh Abernathy on 3/6/12. 6 | // Copyright (c) 2012 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import "RACValueTransformer.h" 10 | 11 | @interface RACValueTransformer () 12 | @property (nonatomic, copy) id (^transformBlock)(id value); 13 | @end 14 | 15 | 16 | @implementation RACValueTransformer 17 | 18 | 19 | #pragma mark NSValueTransformer 20 | 21 | + (BOOL)allowsReverseTransformation { 22 | return NO; 23 | } 24 | 25 | - (id)transformedValue:(id)value { 26 | return self.transformBlock(value); 27 | } 28 | 29 | 30 | #pragma mark API 31 | 32 | @synthesize transformBlock; 33 | 34 | + (instancetype)transformerWithBlock:(id (^)(id value))block { 35 | NSCParameterAssert(block != NULL); 36 | 37 | RACValueTransformer *transformer = [[self alloc] init]; 38 | transformer.transformBlock = block; 39 | return transformer; 40 | } 41 | 42 | @end 43 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/UIBarButtonItem+RACCommandSupport.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIBarButtonItem+RACCommandSupport.h 3 | // ReactiveCocoa 4 | // 5 | // Created by Kyle LeNeau on 3/27/13. 6 | // Copyright (c) 2013 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class RACCommand; 12 | 13 | @interface UIBarButtonItem (RACCommandSupport) 14 | 15 | /// Sets the control's command. When the control is clicked, the command is 16 | /// executed with the sender of the event. The control's enabledness is bound 17 | /// to the command's `canExecute`. 18 | /// 19 | /// Note: this will reset the control's target and action. 20 | @property (nonatomic, strong) RACCommand *rac_command; 21 | 22 | @end 23 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/UIButton+RACCommandSupport.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIButton+RACCommandSupport.h 3 | // ReactiveCocoa 4 | // 5 | // Created by Ash Furrow on 2013-06-06. 6 | // Copyright (c) 2013 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class RACCommand; 12 | 13 | @interface UIButton (RACCommandSupport) 14 | 15 | /// Sets the button's command. When the button is clicked, the command is 16 | /// executed with the sender of the event. The button's enabledness is bound 17 | /// to the command's `canExecute`. 18 | @property (nonatomic, strong) RACCommand *rac_command; 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/UICollectionReusableView+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | // 2 | // UICollectionReusableView+RACSignalSupport.h 3 | // ReactiveCocoa 4 | // 5 | // Created by Kent Wong on 2013-10-04. 6 | // Copyright (c) 2013 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class RACSignal; 12 | 13 | // This category is only applicable to iOS >= 6.0. 14 | @interface UICollectionReusableView (RACSignalSupport) 15 | 16 | /// A signal which will send a RACUnit whenever -prepareForReuse is invoked upon 17 | /// the receiver. 18 | /// 19 | /// Examples 20 | /// 21 | /// [[[self.cancelButton 22 | /// rac_signalForControlEvents:UIControlEventTouchUpInside] 23 | /// takeUntil:self.rac_prepareForReuseSignal] 24 | /// subscribeNext:^(UIButton *x) { 25 | /// // do other things 26 | /// }]; 27 | @property (nonatomic, strong, readonly) RACSignal *rac_prepareForReuseSignal; 28 | 29 | @end 30 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/UICollectionReusableView+RACSignalSupport.m: -------------------------------------------------------------------------------- 1 | // 2 | // UICollectionReusableView+RACSignalSupport.m 3 | // ReactiveCocoa 4 | // 5 | // Created by Kent Wong on 2013-10-04. 6 | // Copyright (c) 2013 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import "UICollectionReusableView+RACSignalSupport.h" 10 | #import "NSObject+RACDescription.h" 11 | #import "NSObject+RACSelectorSignal.h" 12 | #import "RACSignal+Operations.h" 13 | #import "RACUnit.h" 14 | #import 15 | 16 | @implementation UICollectionReusableView (RACSignalSupport) 17 | 18 | - (RACSignal *)rac_prepareForReuseSignal { 19 | RACSignal *signal = objc_getAssociatedObject(self, _cmd); 20 | if (signal != nil) return signal; 21 | 22 | signal = [[[self 23 | rac_signalForSelector:@selector(prepareForReuse)] 24 | mapReplace:RACUnit.defaultUnit] 25 | setNameWithFormat:@"%@ -rac_prepareForReuseSignal", self.rac_description]; 26 | 27 | objc_setAssociatedObject(self, _cmd, signal, OBJC_ASSOCIATION_RETAIN_NONATOMIC); 28 | return signal; 29 | } 30 | 31 | @end 32 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/UIControl+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIControl+RACSignalSupport.h 3 | // ReactiveCocoa 4 | // 5 | // Created by Josh Abernathy on 4/17/12. 6 | // Copyright (c) 2012 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class RACSignal; 12 | 13 | @interface UIControl (RACSignalSupport) 14 | 15 | /// Creates and returns a signal that sends the sender of the control event 16 | /// whenever one of the control events is triggered. 17 | - (RACSignal *)rac_signalForControlEvents:(UIControlEvents)controlEvents; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/UIDatePicker+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIDatePicker+RACSignalSupport.h 3 | // ReactiveCocoa 4 | // 5 | // Created by Uri Baghin on 20/07/2013. 6 | // Copyright (c) 2013 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class RACChannelTerminal; 12 | 13 | @interface UIDatePicker (RACSignalSupport) 14 | 15 | /// Creates a new RACChannel-based binding to the receiver. 16 | /// 17 | /// nilValue - The date to set when the terminal receives `nil`. 18 | /// 19 | /// Returns a RACChannelTerminal that sends the receiver's date whenever the 20 | /// UIControlEventValueChanged control event is fired, and sets the date to the 21 | /// values it receives. 22 | - (RACChannelTerminal *)rac_newDateChannelWithNilValue:(NSDate *)nilValue; 23 | 24 | @end 25 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/UIDatePicker+RACSignalSupport.m: -------------------------------------------------------------------------------- 1 | // 2 | // UIDatePicker+RACSignalSupport.m 3 | // ReactiveCocoa 4 | // 5 | // Created by Uri Baghin on 20/07/2013. 6 | // Copyright (c) 2013 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import "UIDatePicker+RACSignalSupport.h" 10 | #import "RACEXTKeyPathCoding.h" 11 | #import "UIControl+RACSignalSupportPrivate.h" 12 | 13 | @implementation UIDatePicker (RACSignalSupport) 14 | 15 | - (RACChannelTerminal *)rac_newDateChannelWithNilValue:(NSDate *)nilValue { 16 | return [self rac_channelForControlEvents:UIControlEventValueChanged key:@keypath(self.date) nilValue:nilValue]; 17 | } 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/UIGestureRecognizer+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIGestureRecognizer+RACSignalSupport.h 3 | // ReactiveCocoa 4 | // 5 | // Created by Josh Vera on 5/5/13. 6 | // Copyright (c) 2013 GitHub. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class RACSignal; 12 | 13 | @interface UIGestureRecognizer (RACSignalSupport) 14 | 15 | /// Returns a signal that sends the receiver when its gesture occurs. 16 | - (RACSignal *)rac_gestureSignal; 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/UIRefreshControl+RACCommandSupport.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIRefreshControl+RACCommandSupport.h 3 | // ReactiveCocoa 4 | // 5 | // Created by Dave Lee on 2013-10-17. 6 | // Copyright (c) 2013 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class RACCommand; 12 | 13 | @interface UIRefreshControl (RACCommandSupport) 14 | 15 | /// Manipulate the RACCommand property associated with this refresh control. 16 | /// 17 | /// When this refresh control is activated by the user, the command will be 18 | /// executed. Upon completion or error of the execution signal, -endRefreshing 19 | /// will be invoked. 20 | @property (nonatomic, strong) RACCommand *rac_command; 21 | 22 | @end 23 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/UISegmentedControl+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | // 2 | // UISegmentedControl+RACSignalSupport.h 3 | // ReactiveCocoa 4 | // 5 | // Created by Uri Baghin on 20/07/2013. 6 | // Copyright (c) 2013 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class RACChannelTerminal; 12 | 13 | @interface UISegmentedControl (RACSignalSupport) 14 | 15 | /// Creates a new RACChannel-based binding to the receiver. 16 | /// 17 | /// nilValue - The segment to select when the terminal receives `nil`. 18 | /// 19 | /// Returns a RACChannelTerminal that sends the receiver's currently selected 20 | /// segment's index whenever the UIControlEventValueChanged control event is 21 | /// fired, and sets the selected segment index to the values it receives. 22 | - (RACChannelTerminal *)rac_newSelectedSegmentIndexChannelWithNilValue:(NSNumber *)nilValue; 23 | 24 | @end 25 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/UISegmentedControl+RACSignalSupport.m: -------------------------------------------------------------------------------- 1 | // 2 | // UISegmentedControl+RACSignalSupport.m 3 | // ReactiveCocoa 4 | // 5 | // Created by Uri Baghin on 20/07/2013. 6 | // Copyright (c) 2013 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import "UISegmentedControl+RACSignalSupport.h" 10 | #import "RACEXTKeyPathCoding.h" 11 | #import "UIControl+RACSignalSupportPrivate.h" 12 | 13 | @implementation UISegmentedControl (RACSignalSupport) 14 | 15 | - (RACChannelTerminal *)rac_newSelectedSegmentIndexChannelWithNilValue:(NSNumber *)nilValue { 16 | return [self rac_channelForControlEvents:UIControlEventValueChanged key:@keypath(self.selectedSegmentIndex) nilValue:nilValue]; 17 | } 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/UISlider+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | // 2 | // UISlider+RACSignalSupport.h 3 | // ReactiveCocoa 4 | // 5 | // Created by Uri Baghin on 20/07/2013. 6 | // Copyright (c) 2013 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class RACChannelTerminal; 12 | 13 | @interface UISlider (RACSignalSupport) 14 | 15 | /// Creates a new RACChannel-based binding to the receiver. 16 | /// 17 | /// nilValue - The value to set when the terminal receives `nil`. 18 | /// 19 | /// Returns a RACChannelTerminal that sends the receiver's value whenever the 20 | /// UIControlEventValueChanged control event is fired, and sets the value to the 21 | /// values it receives. 22 | - (RACChannelTerminal *)rac_newValueChannelWithNilValue:(NSNumber *)nilValue; 23 | 24 | @end 25 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/UISlider+RACSignalSupport.m: -------------------------------------------------------------------------------- 1 | // 2 | // UISlider+RACSignalSupport.m 3 | // ReactiveCocoa 4 | // 5 | // Created by Uri Baghin on 20/07/2013. 6 | // Copyright (c) 2013 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import "UISlider+RACSignalSupport.h" 10 | #import "RACEXTKeyPathCoding.h" 11 | #import "UIControl+RACSignalSupportPrivate.h" 12 | 13 | @implementation UISlider (RACSignalSupport) 14 | 15 | - (RACChannelTerminal *)rac_newValueChannelWithNilValue:(NSNumber *)nilValue { 16 | return [self rac_channelForControlEvents:UIControlEventValueChanged key:@keypath(self.value) nilValue:nilValue]; 17 | } 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/UIStepper+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIStepper+RACSignalSupport.h 3 | // ReactiveCocoa 4 | // 5 | // Created by Uri Baghin on 20/07/2013. 6 | // Copyright (c) 2013 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class RACChannelTerminal; 12 | 13 | @interface UIStepper (RACSignalSupport) 14 | 15 | /// Creates a new RACChannel-based binding to the receiver. 16 | /// 17 | /// nilValue - The value to set when the terminal receives `nil`. 18 | /// 19 | /// Returns a RACChannelTerminal that sends the receiver's value whenever the 20 | /// UIControlEventValueChanged control event is fired, and sets the value to the 21 | /// values it receives. 22 | - (RACChannelTerminal *)rac_newValueChannelWithNilValue:(NSNumber *)nilValue; 23 | 24 | @end 25 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/UIStepper+RACSignalSupport.m: -------------------------------------------------------------------------------- 1 | // 2 | // UIStepper+RACSignalSupport.m 3 | // ReactiveCocoa 4 | // 5 | // Created by Uri Baghin on 20/07/2013. 6 | // Copyright (c) 2013 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import "UIStepper+RACSignalSupport.h" 10 | #import "RACEXTKeyPathCoding.h" 11 | #import "UIControl+RACSignalSupportPrivate.h" 12 | 13 | @implementation UIStepper (RACSignalSupport) 14 | 15 | - (RACChannelTerminal *)rac_newValueChannelWithNilValue:(NSNumber *)nilValue { 16 | return [self rac_channelForControlEvents:UIControlEventValueChanged key:@keypath(self.value) nilValue:nilValue]; 17 | } 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/UISwitch+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | // 2 | // UISwitch+RACSignalSupport.h 3 | // ReactiveCocoa 4 | // 5 | // Created by Uri Baghin on 20/07/2013. 6 | // Copyright (c) 2013 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class RACChannelTerminal; 12 | 13 | @interface UISwitch (RACSignalSupport) 14 | 15 | /// Creates a new RACChannel-based binding to the receiver. 16 | /// 17 | /// Returns a RACChannelTerminal that sends whether the receiver is on whenever 18 | /// the UIControlEventValueChanged control event is fired, and sets it on or off 19 | /// when it receives @YES or @NO respectively. 20 | - (RACChannelTerminal *)rac_newOnChannel; 21 | 22 | @end 23 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/UISwitch+RACSignalSupport.m: -------------------------------------------------------------------------------- 1 | // 2 | // UISwitch+RACSignalSupport.m 3 | // ReactiveCocoa 4 | // 5 | // Created by Uri Baghin on 20/07/2013. 6 | // Copyright (c) 2013 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import "UISwitch+RACSignalSupport.h" 10 | #import "RACEXTKeyPathCoding.h" 11 | #import "UIControl+RACSignalSupportPrivate.h" 12 | 13 | @implementation UISwitch (RACSignalSupport) 14 | 15 | - (RACChannelTerminal *)rac_newOnChannel { 16 | return [self rac_channelForControlEvents:UIControlEventValueChanged key:@keypath(self.on) nilValue:@NO]; 17 | } 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/UITableViewCell+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | // 2 | // UITableViewCell+RACSignalSupport.h 3 | // ReactiveCocoa 4 | // 5 | // Created by Justin Spahr-Summers on 2013-07-22. 6 | // Copyright (c) 2013 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class RACSignal; 12 | 13 | @interface UITableViewCell (RACSignalSupport) 14 | 15 | /// A signal which will send a RACUnit whenever -prepareForReuse is invoked upon 16 | /// the receiver. 17 | /// 18 | /// Examples 19 | /// 20 | /// [[[self.cancelButton 21 | /// rac_signalForControlEvents:UIControlEventTouchUpInside] 22 | /// takeUntil:self.rac_prepareForReuseSignal] 23 | /// subscribeNext:^(UIButton *x) { 24 | /// // do other things 25 | /// }]; 26 | @property (nonatomic, strong, readonly) RACSignal *rac_prepareForReuseSignal; 27 | 28 | @end 29 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/UITableViewCell+RACSignalSupport.m: -------------------------------------------------------------------------------- 1 | // 2 | // UITableViewCell+RACSignalSupport.m 3 | // ReactiveCocoa 4 | // 5 | // Created by Justin Spahr-Summers on 2013-07-22. 6 | // Copyright (c) 2013 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import "UITableViewCell+RACSignalSupport.h" 10 | #import "NSObject+RACDescription.h" 11 | #import "NSObject+RACSelectorSignal.h" 12 | #import "RACSignal+Operations.h" 13 | #import "RACUnit.h" 14 | #import 15 | 16 | @implementation UITableViewCell (RACSignalSupport) 17 | 18 | - (RACSignal *)rac_prepareForReuseSignal { 19 | RACSignal *signal = objc_getAssociatedObject(self, _cmd); 20 | if (signal != nil) return signal; 21 | 22 | signal = [[[self 23 | rac_signalForSelector:@selector(prepareForReuse)] 24 | mapReplace:RACUnit.defaultUnit] 25 | setNameWithFormat:@"%@ -rac_prepareForReuseSignal", self.rac_description]; 26 | 27 | objc_setAssociatedObject(self, _cmd, signal, OBJC_ASSOCIATION_RETAIN_NONATOMIC); 28 | return signal; 29 | } 30 | 31 | @end 32 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/UITableViewHeaderFooterView+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | // 2 | // UITableViewHeaderFooterView+RACSignalSupport.h 3 | // ReactiveCocoa 4 | // 5 | // Created by Syo Ikeda on 12/30/13. 6 | // Copyright (c) 2013 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class RACSignal; 12 | 13 | // This category is only applicable to iOS >= 6.0. 14 | @interface UITableViewHeaderFooterView (RACSignalSupport) 15 | 16 | /// A signal which will send a RACUnit whenever -prepareForReuse is invoked upon 17 | /// the receiver. 18 | /// 19 | /// Examples 20 | /// 21 | /// [[[self.cancelButton 22 | /// rac_signalForControlEvents:UIControlEventTouchUpInside] 23 | /// takeUntil:self.rac_prepareForReuseSignal] 24 | /// subscribeNext:^(UIButton *x) { 25 | /// // do other things 26 | /// }]; 27 | @property (nonatomic, strong, readonly) RACSignal *rac_prepareForReuseSignal; 28 | 29 | @end 30 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/UITableViewHeaderFooterView+RACSignalSupport.m: -------------------------------------------------------------------------------- 1 | // 2 | // UITableViewHeaderFooterView+RACSignalSupport.m 3 | // ReactiveCocoa 4 | // 5 | // Created by Syo Ikeda on 12/30/13. 6 | // Copyright (c) 2013 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import "UITableViewHeaderFooterView+RACSignalSupport.h" 10 | #import "NSObject+RACDescription.h" 11 | #import "NSObject+RACSelectorSignal.h" 12 | #import "RACSignal+Operations.h" 13 | #import "RACUnit.h" 14 | #import 15 | 16 | @implementation UITableViewHeaderFooterView (RACSignalSupport) 17 | 18 | - (RACSignal *)rac_prepareForReuseSignal { 19 | RACSignal *signal = objc_getAssociatedObject(self, _cmd); 20 | if (signal != nil) return signal; 21 | 22 | signal = [[[self 23 | rac_signalForSelector:@selector(prepareForReuse)] 24 | mapReplace:RACUnit.defaultUnit] 25 | setNameWithFormat:@"%@ -rac_prepareForReuseSignal", self.rac_description]; 26 | 27 | objc_setAssociatedObject(self, _cmd, signal, OBJC_ASSOCIATION_RETAIN_NONATOMIC); 28 | return signal; 29 | } 30 | 31 | @end 32 | -------------------------------------------------------------------------------- /Pods/ReactiveCocoa/ReactiveCocoa/UITextField+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | // 2 | // UITextField+RACSignalSupport.h 3 | // ReactiveCocoa 4 | // 5 | // Created by Josh Abernathy on 4/17/12. 6 | // Copyright (c) 2012 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class RACChannelTerminal; 12 | @class RACSignal; 13 | 14 | @interface UITextField (RACSignalSupport) 15 | 16 | /// Creates and returns a signal for the text of the field. It always starts with 17 | /// the current text. The signal sends next when the UIControlEventAllEditingEvents 18 | /// control event is fired on the control. 19 | - (RACSignal *)rac_textSignal; 20 | 21 | /// Creates a new RACChannel-based binding to the receiver. 22 | /// 23 | /// Returns a RACChannelTerminal that sends the receiver's text whenever the 24 | /// UIControlEventAllEditingEvents control event is fired, and sets the text 25 | /// to the values it receives. 26 | - (RACChannelTerminal *)rac_newTextChannel; 27 | 28 | @end 29 | -------------------------------------------------------------------------------- /Pods/Target Support Files/MBProgressHUD/MBProgressHUD-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_MBProgressHUD : NSObject 3 | @end 4 | @implementation PodsDummy_MBProgressHUD 5 | @end 6 | -------------------------------------------------------------------------------- /Pods/Target Support Files/MBProgressHUD/MBProgressHUD-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 | -------------------------------------------------------------------------------- /Pods/Target Support Files/MBProgressHUD/MBProgressHUD.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/MBProgressHUD 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/MBProgressHUD" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/MBProgressHUD" "${PODS_ROOT}/Headers/Public/MJRefresh" "${PODS_ROOT}/Headers/Public/Masonry" "${PODS_ROOT}/Headers/Public/ReactiveCocoa" "${PODS_ROOT}/Headers/Public/Toast" 4 | OTHER_LDFLAGS = -framework "CoreGraphics" 5 | PODS_BUILD_DIR = $BUILD_DIR 6 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT} 8 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/MBProgressHUD 9 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 10 | SKIP_INSTALL = YES 11 | -------------------------------------------------------------------------------- /Pods/Target Support Files/MJRefresh/MJRefresh-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_MJRefresh : NSObject 3 | @end 4 | @implementation PodsDummy_MJRefresh 5 | @end 6 | -------------------------------------------------------------------------------- /Pods/Target Support Files/MJRefresh/MJRefresh-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 | -------------------------------------------------------------------------------- /Pods/Target Support Files/MJRefresh/MJRefresh.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/MJRefresh 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/MJRefresh" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/MBProgressHUD" "${PODS_ROOT}/Headers/Public/MJRefresh" "${PODS_ROOT}/Headers/Public/Masonry" "${PODS_ROOT}/Headers/Public/ReactiveCocoa" "${PODS_ROOT}/Headers/Public/Toast" 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}/MJRefresh 8 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 9 | SKIP_INSTALL = YES 10 | -------------------------------------------------------------------------------- /Pods/Target Support Files/Masonry/Masonry-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Masonry : NSObject 3 | @end 4 | @implementation PodsDummy_Masonry 5 | @end 6 | -------------------------------------------------------------------------------- /Pods/Target Support Files/Masonry/Masonry-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 | -------------------------------------------------------------------------------- /Pods/Target Support Files/Masonry/Masonry.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/Masonry 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/Masonry" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/MBProgressHUD" "${PODS_ROOT}/Headers/Public/MJRefresh" "${PODS_ROOT}/Headers/Public/Masonry" "${PODS_ROOT}/Headers/Public/ReactiveCocoa" "${PODS_ROOT}/Headers/Public/Toast" 4 | OTHER_LDFLAGS = -framework "Foundation" -framework "UIKit" 5 | PODS_BUILD_DIR = $BUILD_DIR 6 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT} 8 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/Masonry 9 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 10 | SKIP_INSTALL = YES 11 | -------------------------------------------------------------------------------- /Pods/Target Support Files/Pods-MVC/Pods-MVC-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_MVC : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_MVC 5 | @end 6 | -------------------------------------------------------------------------------- /Pods/Target Support Files/ReactiveCocoa/ReactiveCocoa-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_ReactiveCocoa : NSObject 3 | @end 4 | @implementation PodsDummy_ReactiveCocoa 5 | @end 6 | -------------------------------------------------------------------------------- /Pods/Target Support Files/ReactiveCocoa/ReactiveCocoa-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 | -------------------------------------------------------------------------------- /Pods/Target Support Files/ReactiveCocoa/ReactiveCocoa.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/ReactiveCocoa 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/ReactiveCocoa" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/MBProgressHUD" "${PODS_ROOT}/Headers/Public/MJRefresh" "${PODS_ROOT}/Headers/Public/Masonry" "${PODS_ROOT}/Headers/Public/ReactiveCocoa" "${PODS_ROOT}/Headers/Public/Toast" 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}/ReactiveCocoa 8 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 9 | SKIP_INSTALL = YES 10 | -------------------------------------------------------------------------------- /Pods/Target Support Files/Toast/Toast-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Toast : NSObject 3 | @end 4 | @implementation PodsDummy_Toast 5 | @end 6 | -------------------------------------------------------------------------------- /Pods/Target Support Files/Toast/Toast-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 | -------------------------------------------------------------------------------- /Pods/Target Support Files/Toast/Toast.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/Toast 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/Toast" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/MBProgressHUD" "${PODS_ROOT}/Headers/Public/MJRefresh" "${PODS_ROOT}/Headers/Public/Masonry" "${PODS_ROOT}/Headers/Public/ReactiveCocoa" "${PODS_ROOT}/Headers/Public/Toast" 4 | OTHER_LDFLAGS = -framework "QuartzCore" 5 | PODS_BUILD_DIR = $BUILD_DIR 6 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT} 8 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/Toast 9 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 10 | SKIP_INSTALL = YES 11 | -------------------------------------------------------------------------------- /Pods/Toast/license: -------------------------------------------------------------------------------- 1 | Copyright (c) 2011-2015 Charles Scalesse. 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a 4 | copy of this software and associated documentation files (the 5 | "Software"), to deal in the Software without restriction, including 6 | without limitation the rights to use, copy, modify, merge, publish, 7 | distribute, sublicense, and/or sell copies of the Software, and to 8 | permit persons to whom the Software is furnished to do so, subject to 9 | the following conditions: 10 | 11 | The above copyright notice and this permission notice shall be included 12 | in all copies or substantial portions of the Software. 13 | 14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 15 | OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 16 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 17 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 18 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 19 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 20 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. --------------------------------------------------------------------------------