├── LICENSE ├── Qi_ObjcMsgHook ├── Podfile ├── Podfile.lock ├── Pods │ ├── FMDB │ │ ├── LICENSE.txt │ │ ├── README.markdown │ │ └── src │ │ │ └── fmdb │ │ │ ├── FMDB.h │ │ │ ├── FMDatabase.h │ │ │ ├── FMDatabase.m │ │ │ ├── FMDatabaseAdditions.h │ │ │ ├── FMDatabaseAdditions.m │ │ │ ├── FMDatabasePool.h │ │ │ ├── FMDatabasePool.m │ │ │ ├── FMDatabaseQueue.h │ │ │ ├── FMDatabaseQueue.m │ │ │ ├── FMResultSet.h │ │ │ └── FMResultSet.m │ ├── Headers │ │ ├── Private │ │ │ ├── FMDB │ │ │ │ ├── FMDB.h │ │ │ │ ├── FMDatabase.h │ │ │ │ ├── FMDatabaseAdditions.h │ │ │ │ ├── FMDatabasePool.h │ │ │ │ ├── FMDatabaseQueue.h │ │ │ │ └── FMResultSet.h │ │ │ └── ReactiveCocoa │ │ │ │ ├── RACObjCRuntime.h │ │ │ │ └── ReactiveCocoa │ │ │ │ ├── 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 │ │ │ │ ├── RACBacktrace.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 │ │ │ │ ├── RACKVOTrampoline.h │ │ │ │ ├── RACMulticastConnection+Private.h │ │ │ │ ├── RACMulticastConnection.h │ │ │ │ ├── RACPassthroughSubscriber.h │ │ │ │ ├── RACQueueScheduler+Subclass.h │ │ │ │ ├── RACQueueScheduler.h │ │ │ │ ├── RACReplaySubject.h │ │ │ │ ├── RACReturnSignal.h │ │ │ │ ├── RACScheduler+Private.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 │ │ │ │ ├── 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 │ │ └── Public │ │ │ ├── FMDB │ │ │ ├── FMDB.h │ │ │ ├── FMDatabase.h │ │ │ ├── FMDatabaseAdditions.h │ │ │ ├── FMDatabasePool.h │ │ │ ├── FMDatabaseQueue.h │ │ │ └── FMResultSet.h │ │ │ └── ReactiveCocoa │ │ │ ├── RACObjCRuntime.h │ │ │ └── ReactiveCocoa │ │ │ ├── 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 │ │ │ ├── RACBacktrace.h │ │ │ ├── RACBehaviorSubject.h │ │ │ ├── RACBlockTrampoline.h │ │ │ ├── RACChannel.h │ │ │ ├── RACCommand.h │ │ │ ├── RACCompoundDisposable.h │ │ │ ├── RACDelegateProxy.h │ │ │ ├── RACDisposable.h │ │ │ ├── RACDynamicSequence.h │ │ │ ├── RACDynamicSignal.h │ │ │ ├── RACEXTKeyPathCoding.h │ │ │ ├── RACEXTScope.h │ │ │ ├── RACEagerSequence.h │ │ │ ├── RACEmptySequence.h │ │ │ ├── RACEmptySignal.h │ │ │ ├── RACErrorSignal.h │ │ │ ├── RACEvent.h │ │ │ ├── RACGroupedSignal.h │ │ │ ├── RACImmediateScheduler.h │ │ │ ├── RACIndexSetSequence.h │ │ │ ├── RACKVOChannel.h │ │ │ ├── RACKVOTrampoline.h │ │ │ ├── RACMulticastConnection.h │ │ │ ├── RACPassthroughSubscriber.h │ │ │ ├── RACQueueScheduler+Subclass.h │ │ │ ├── RACQueueScheduler.h │ │ │ ├── RACReplaySubject.h │ │ │ ├── RACReturnSignal.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 │ │ │ ├── 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 │ ├── Manifest.lock │ ├── Pods.xcodeproj │ │ ├── project.pbxproj │ │ └── xcuserdata │ │ │ └── liusiqi.xcuserdatad │ │ │ └── xcschemes │ │ │ ├── FMDB.xcscheme │ │ │ ├── Pods-Qi_ObjcMsgHook.xcscheme │ │ │ ├── ReactiveCocoa.xcscheme │ │ │ └── xcschememanagement.plist │ ├── ReactiveCocoa │ │ ├── LICENSE.md │ │ ├── README.md │ │ └── ReactiveCocoaFramework │ │ │ └── ReactiveCocoa │ │ │ ├── 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 │ │ │ ├── RACBacktrace.h │ │ │ ├── RACBacktrace.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 │ │ │ ├── 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.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 │ │ │ ├── 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 │ │ ├── FMDB │ │ ├── FMDB-dummy.m │ │ ├── FMDB-prefix.pch │ │ └── FMDB.xcconfig │ │ ├── Pods-Qi_ObjcMsgHook │ │ ├── Pods-Qi_ObjcMsgHook-acknowledgements.markdown │ │ ├── Pods-Qi_ObjcMsgHook-acknowledgements.plist │ │ ├── Pods-Qi_ObjcMsgHook-dummy.m │ │ ├── Pods-Qi_ObjcMsgHook.debug.xcconfig │ │ └── Pods-Qi_ObjcMsgHook.release.xcconfig │ │ └── ReactiveCocoa │ │ ├── ReactiveCocoa-dummy.m │ │ ├── ReactiveCocoa-prefix.pch │ │ └── ReactiveCocoa.xcconfig ├── Qi_ObjcMsgHook.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ ├── xcshareddata │ │ │ └── IDEWorkspaceChecks.plist │ │ └── xcuserdata │ │ │ └── liusiqi.xcuserdatad │ │ │ └── UserInterfaceState.xcuserstate │ └── xcuserdata │ │ └── liusiqi.xcuserdatad │ │ └── xcschemes │ │ └── xcschememanagement.plist ├── Qi_ObjcMsgHook.xcworkspace │ ├── contents.xcworkspacedata │ ├── xcshareddata │ │ └── IDEWorkspaceChecks.plist │ └── xcuserdata │ │ └── liusiqi.xcuserdatad │ │ ├── UserInterfaceState.xcuserstate │ │ └── xcdebugger │ │ └── Breakpoints_v2.xcbkptlist └── Qi_ObjcMsgHook │ ├── AppDelegate.h │ ├── AppDelegate.m │ ├── Assets.xcassets │ ├── AppIcon.appiconset │ │ └── Contents.json │ └── Contents.json │ ├── Base.lproj │ └── LaunchScreen.storyboard │ ├── Info.plist │ ├── QiLagMonitor │ ├── QiCPUMonitor.h │ ├── QiCPUMonitor.m │ ├── QiCallLib.h │ ├── QiCallStack.h │ ├── QiCallStack.m │ ├── QiCallStackModel.h │ ├── QiCallStackModel.m │ ├── QiCallTrace.h │ ├── QiCallTrace.m │ ├── QiCallTraceCore.c │ ├── QiCallTraceCore.h │ ├── QiCallTraceTimeCostModel.h │ ├── QiCallTraceTimeCostModel.m │ ├── QiLagDB.h │ ├── QiLagDB.m │ ├── QiLagMonitor.h │ └── QiLagMonitor.m │ ├── QiRootViewController.h │ ├── QiRootViewController.m │ ├── SceneDelegate.h │ ├── SceneDelegate.m │ └── main.m └── README.md /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2019 iOS及周边技术文章分享平台。 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Podfile: -------------------------------------------------------------------------------- 1 | # Uncomment the next line to define a global platform for your project 2 | # platform :ios, '9.0' 3 | 4 | target 'Qi_ObjcMsgHook' do 5 | 6 | pod 'FMDB' 7 | pod 'ReactiveCocoa', '=2.3' 8 | 9 | end 10 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - FMDB (2.7.5): 3 | - FMDB/standard (= 2.7.5) 4 | - FMDB/standard (2.7.5) 5 | - ReactiveCocoa (2.3): 6 | - ReactiveCocoa/UI (= 2.3) 7 | - ReactiveCocoa/Core (2.3): 8 | - ReactiveCocoa/no-arc 9 | - ReactiveCocoa/no-arc (2.3) 10 | - ReactiveCocoa/UI (2.3): 11 | - ReactiveCocoa/Core 12 | 13 | DEPENDENCIES: 14 | - FMDB 15 | - ReactiveCocoa (= 2.3) 16 | 17 | SPEC REPOS: 18 | https://github.com/cocoapods/specs.git: 19 | - FMDB 20 | - ReactiveCocoa 21 | 22 | SPEC CHECKSUMS: 23 | FMDB: 2ce00b547f966261cd18927a3ddb07cb6f3db82a 24 | ReactiveCocoa: 81ee2fb7df2dfc6bd52b5d70473662195e20ca7d 25 | 26 | PODFILE CHECKSUM: a2f460905a9ea80b9cb9e4a095359f2383fc54d2 27 | 28 | COCOAPODS: 1.7.4 29 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/FMDB/LICENSE.txt: -------------------------------------------------------------------------------- 1 | If you are using FMDB in your project, I'd love to hear about it. Let Gus know 2 | by sending an email to gus@flyingmeat.com. 3 | 4 | And if you happen to come across either Gus Mueller or Rob Ryan in a bar, you 5 | might consider purchasing a drink of their choosing if FMDB has been useful to 6 | you. 7 | 8 | Finally, and shortly, this is the MIT License. 9 | 10 | Copyright (c) 2008-2014 Flying Meat Inc. 11 | 12 | Permission is hereby granted, free of charge, to any person obtaining a copy 13 | of this software and associated documentation files (the "Software"), to deal 14 | in the Software without restriction, including without limitation the rights 15 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 16 | copies of the Software, and to permit persons to whom the Software is 17 | furnished to do so, subject to the following conditions: 18 | 19 | The above copyright notice and this permission notice shall be included in 20 | all copies or substantial portions of the Software. 21 | 22 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 23 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 24 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 25 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 26 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 27 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 28 | THE SOFTWARE. -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/FMDB/src/fmdb/FMDB.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | FOUNDATION_EXPORT double FMDBVersionNumber; 4 | FOUNDATION_EXPORT const unsigned char FMDBVersionString[]; 5 | 6 | #import "FMDatabase.h" 7 | #import "FMResultSet.h" 8 | #import "FMDatabaseAdditions.h" 9 | #import "FMDatabaseQueue.h" 10 | #import "FMDatabasePool.h" 11 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/FMDB/FMDB.h: -------------------------------------------------------------------------------- 1 | ../../../FMDB/src/fmdb/FMDB.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/FMDB/FMDatabase.h: -------------------------------------------------------------------------------- 1 | ../../../FMDB/src/fmdb/FMDatabase.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/FMDB/FMDatabaseAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../FMDB/src/fmdb/FMDatabaseAdditions.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/FMDB/FMDatabasePool.h: -------------------------------------------------------------------------------- 1 | ../../../FMDB/src/fmdb/FMDatabasePool.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/FMDB/FMDatabaseQueue.h: -------------------------------------------------------------------------------- 1 | ../../../FMDB/src/fmdb/FMDatabaseQueue.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/FMDB/FMResultSet.h: -------------------------------------------------------------------------------- 1 | ../../../FMDB/src/fmdb/FMResultSet.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/RACObjCRuntime.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACObjCRuntime.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/NSArray+RACSequenceAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSArray+RACSequenceAdditions.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/NSData+RACSupport.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSData+RACSupport.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/NSDictionary+RACSequenceAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSDictionary+RACSequenceAdditions.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/NSEnumerator+RACSequenceAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSEnumerator+RACSequenceAdditions.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/NSFileHandle+RACSupport.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSFileHandle+RACSupport.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/NSIndexSet+RACSequenceAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSIndexSet+RACSequenceAdditions.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/NSInvocation+RACTypeParsing.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSInvocation+RACTypeParsing.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/NSNotificationCenter+RACSupport.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSNotificationCenter+RACSupport.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/NSObject+RACDeallocating.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACDeallocating.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/NSObject+RACDescription.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACDescription.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/NSObject+RACKVOWrapper.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACKVOWrapper.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/NSObject+RACLifting.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACLifting.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/NSObject+RACPropertySubscribing.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACPropertySubscribing.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/NSObject+RACSelectorSignal.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACSelectorSignal.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/NSOrderedSet+RACSequenceAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSOrderedSet+RACSequenceAdditions.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/NSSet+RACSequenceAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSSet+RACSequenceAdditions.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/NSString+RACKeyPathUtilities.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSString+RACKeyPathUtilities.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/NSString+RACSequenceAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSString+RACSequenceAdditions.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/NSString+RACSupport.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSString+RACSupport.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/NSURLConnection+RACSupport.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSURLConnection+RACSupport.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/NSUserDefaults+RACSupport.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSUserDefaults+RACSupport.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/RACArraySequence.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACArraySequence.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/RACBacktrace.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACBacktrace.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/RACBehaviorSubject.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACBehaviorSubject.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/RACBlockTrampoline.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACBlockTrampoline.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/RACChannel.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACChannel.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/RACCommand.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACCommand.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/RACCompoundDisposable.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACCompoundDisposable.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/RACDelegateProxy.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/RACDisposable.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDisposable.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/RACDynamicSequence.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDynamicSequence.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/RACDynamicSignal.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDynamicSignal.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/RACEXTKeyPathCoding.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/extobjc/RACEXTKeyPathCoding.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/RACEXTRuntimeExtensions.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/extobjc/RACEXTRuntimeExtensions.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/RACEXTScope.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/extobjc/RACEXTScope.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/RACEagerSequence.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACEagerSequence.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/RACEmptySequence.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACEmptySequence.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/RACEmptySignal.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACEmptySignal.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/RACErrorSignal.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACErrorSignal.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/RACEvent.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACEvent.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/RACGroupedSignal.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACGroupedSignal.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/RACImmediateScheduler.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACImmediateScheduler.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/RACIndexSetSequence.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACIndexSetSequence.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/RACKVOChannel.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACKVOChannel.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/RACKVOTrampoline.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACKVOTrampoline.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/RACMulticastConnection+Private.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACMulticastConnection+Private.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/RACMulticastConnection.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACMulticastConnection.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/RACPassthroughSubscriber.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACPassthroughSubscriber.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/RACQueueScheduler+Subclass.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACQueueScheduler+Subclass.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/RACQueueScheduler.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACQueueScheduler.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/RACReplaySubject.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACReplaySubject.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/RACReturnSignal.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACReturnSignal.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/RACScheduler+Private.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACScheduler+Private.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/RACScheduler.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACScheduler.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/RACScopedDisposable.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACScopedDisposable.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/RACSequence.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACSequence.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/RACSerialDisposable.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACSerialDisposable.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/RACSignal+Operations.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACSignal+Operations.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/RACSignal.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACSignal.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/RACSignalSequence.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACSignalSequence.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/RACStream+Private.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACStream+Private.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/RACStream.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACStream.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/RACStringSequence.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACStringSequence.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/RACSubject.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACSubject.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/RACSubscriber+Private.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACSubscriber+Private.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/RACSubscriber.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACSubscriber.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/RACSubscriptingAssignmentTrampoline.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACSubscriptingAssignmentTrampoline.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/RACSubscriptionScheduler.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACSubscriptionScheduler.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/RACTargetQueueScheduler.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACTargetQueueScheduler.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/RACTestScheduler.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACTestScheduler.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/RACTuple.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACTuple.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/RACTupleSequence.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACTupleSequence.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/RACUnarySequence.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACUnarySequence.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/RACUnit.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACUnit.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/RACValueTransformer.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACValueTransformer.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/RACmetamacros.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/extobjc/RACmetamacros.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/ReactiveCocoa.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/ReactiveCocoa.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/UIActionSheet+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/UIActionSheet+RACSignalSupport.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/UIAlertView+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/UIAlertView+RACSignalSupport.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/UIBarButtonItem+RACCommandSupport.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/UIBarButtonItem+RACCommandSupport.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/UIButton+RACCommandSupport.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/UIButton+RACCommandSupport.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/UICollectionReusableView+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/UICollectionReusableView+RACSignalSupport.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/UIControl+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/UIControl+RACSignalSupport.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/UIControl+RACSignalSupportPrivate.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/UIControl+RACSignalSupportPrivate.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/UIDatePicker+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/UIDatePicker+RACSignalSupport.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/UIGestureRecognizer+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/UIGestureRecognizer+RACSignalSupport.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/UIRefreshControl+RACCommandSupport.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/UIRefreshControl+RACCommandSupport.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/UISegmentedControl+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/UISegmentedControl+RACSignalSupport.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/UISlider+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/UISlider+RACSignalSupport.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/UIStepper+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/UIStepper+RACSignalSupport.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/UISwitch+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/UISwitch+RACSignalSupport.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/UITableViewCell+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/UITableViewCell+RACSignalSupport.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/UITableViewHeaderFooterView+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/UITableViewHeaderFooterView+RACSignalSupport.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/UITextField+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/UITextField+RACSignalSupport.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Private/ReactiveCocoa/ReactiveCocoa/UITextView+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/UITextView+RACSignalSupport.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/FMDB/FMDB.h: -------------------------------------------------------------------------------- 1 | ../../../FMDB/src/fmdb/FMDB.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/FMDB/FMDatabase.h: -------------------------------------------------------------------------------- 1 | ../../../FMDB/src/fmdb/FMDatabase.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/FMDB/FMDatabaseAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../FMDB/src/fmdb/FMDatabaseAdditions.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/FMDB/FMDatabasePool.h: -------------------------------------------------------------------------------- 1 | ../../../FMDB/src/fmdb/FMDatabasePool.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/FMDB/FMDatabaseQueue.h: -------------------------------------------------------------------------------- 1 | ../../../FMDB/src/fmdb/FMDatabaseQueue.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/FMDB/FMResultSet.h: -------------------------------------------------------------------------------- 1 | ../../../FMDB/src/fmdb/FMResultSet.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/RACObjCRuntime.h: -------------------------------------------------------------------------------- 1 | ../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACObjCRuntime.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/NSArray+RACSequenceAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSArray+RACSequenceAdditions.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/NSData+RACSupport.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSData+RACSupport.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/NSDictionary+RACSequenceAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSDictionary+RACSequenceAdditions.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/NSEnumerator+RACSequenceAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSEnumerator+RACSequenceAdditions.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/NSFileHandle+RACSupport.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSFileHandle+RACSupport.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/NSIndexSet+RACSequenceAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSIndexSet+RACSequenceAdditions.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/NSInvocation+RACTypeParsing.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSInvocation+RACTypeParsing.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/NSNotificationCenter+RACSupport.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSNotificationCenter+RACSupport.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/NSObject+RACDeallocating.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACDeallocating.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/NSObject+RACDescription.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACDescription.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/NSObject+RACKVOWrapper.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACKVOWrapper.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/NSObject+RACLifting.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACLifting.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/NSObject+RACPropertySubscribing.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACPropertySubscribing.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/NSObject+RACSelectorSignal.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACSelectorSignal.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/NSOrderedSet+RACSequenceAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSOrderedSet+RACSequenceAdditions.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/NSSet+RACSequenceAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSSet+RACSequenceAdditions.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/NSString+RACKeyPathUtilities.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSString+RACKeyPathUtilities.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/NSString+RACSequenceAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSString+RACSequenceAdditions.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/NSString+RACSupport.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSString+RACSupport.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/NSURLConnection+RACSupport.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSURLConnection+RACSupport.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/NSUserDefaults+RACSupport.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSUserDefaults+RACSupport.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/RACArraySequence.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACArraySequence.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/RACBacktrace.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACBacktrace.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/RACBehaviorSubject.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACBehaviorSubject.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/RACBlockTrampoline.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACBlockTrampoline.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/RACChannel.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACChannel.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/RACCommand.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACCommand.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/RACCompoundDisposable.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACCompoundDisposable.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/RACDelegateProxy.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/RACDisposable.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDisposable.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/RACDynamicSequence.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDynamicSequence.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/RACDynamicSignal.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACDynamicSignal.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/RACEXTKeyPathCoding.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/extobjc/RACEXTKeyPathCoding.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/RACEXTScope.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/extobjc/RACEXTScope.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/RACEagerSequence.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACEagerSequence.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/RACEmptySequence.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACEmptySequence.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/RACEmptySignal.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACEmptySignal.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/RACErrorSignal.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACErrorSignal.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/RACEvent.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACEvent.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/RACGroupedSignal.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACGroupedSignal.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/RACImmediateScheduler.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACImmediateScheduler.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/RACIndexSetSequence.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACIndexSetSequence.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/RACKVOChannel.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACKVOChannel.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/RACKVOTrampoline.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACKVOTrampoline.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/RACMulticastConnection.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACMulticastConnection.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/RACPassthroughSubscriber.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACPassthroughSubscriber.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/RACQueueScheduler+Subclass.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACQueueScheduler+Subclass.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/RACQueueScheduler.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACQueueScheduler.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/RACReplaySubject.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACReplaySubject.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/RACReturnSignal.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACReturnSignal.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/RACScheduler.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACScheduler.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/RACScopedDisposable.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACScopedDisposable.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/RACSequence.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACSequence.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/RACSerialDisposable.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACSerialDisposable.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/RACSignal+Operations.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACSignal+Operations.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/RACSignal.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACSignal.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/RACSignalSequence.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACSignalSequence.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/RACStream.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACStream.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/RACStringSequence.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACStringSequence.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/RACSubject.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACSubject.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/RACSubscriber.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACSubscriber.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/RACSubscriptingAssignmentTrampoline.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACSubscriptingAssignmentTrampoline.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/RACSubscriptionScheduler.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACSubscriptionScheduler.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/RACTargetQueueScheduler.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACTargetQueueScheduler.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/RACTestScheduler.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACTestScheduler.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/RACTuple.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACTuple.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/RACTupleSequence.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACTupleSequence.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/RACUnarySequence.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACUnarySequence.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/RACUnit.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACUnit.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/RACValueTransformer.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACValueTransformer.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/RACmetamacros.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/extobjc/RACmetamacros.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/ReactiveCocoa.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/ReactiveCocoa.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/UIActionSheet+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/UIActionSheet+RACSignalSupport.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/UIAlertView+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/UIAlertView+RACSignalSupport.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/UIBarButtonItem+RACCommandSupport.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/UIBarButtonItem+RACCommandSupport.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/UIButton+RACCommandSupport.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/UIButton+RACCommandSupport.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/UICollectionReusableView+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/UICollectionReusableView+RACSignalSupport.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/UIControl+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/UIControl+RACSignalSupport.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/UIControl+RACSignalSupportPrivate.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/UIControl+RACSignalSupportPrivate.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/UIDatePicker+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/UIDatePicker+RACSignalSupport.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/UIGestureRecognizer+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/UIGestureRecognizer+RACSignalSupport.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/UIRefreshControl+RACCommandSupport.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/UIRefreshControl+RACCommandSupport.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/UISegmentedControl+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/UISegmentedControl+RACSignalSupport.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/UISlider+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/UISlider+RACSignalSupport.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/UIStepper+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/UIStepper+RACSignalSupport.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/UISwitch+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/UISwitch+RACSignalSupport.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/UITableViewCell+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/UITableViewCell+RACSignalSupport.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/UITableViewHeaderFooterView+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/UITableViewHeaderFooterView+RACSignalSupport.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/UITextField+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/UITextField+RACSignalSupport.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Headers/Public/ReactiveCocoa/ReactiveCocoa/UITextView+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | ../../../../ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/UITextView+RACSignalSupport.h -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - FMDB (2.7.5): 3 | - FMDB/standard (= 2.7.5) 4 | - FMDB/standard (2.7.5) 5 | - ReactiveCocoa (2.3): 6 | - ReactiveCocoa/UI (= 2.3) 7 | - ReactiveCocoa/Core (2.3): 8 | - ReactiveCocoa/no-arc 9 | - ReactiveCocoa/no-arc (2.3) 10 | - ReactiveCocoa/UI (2.3): 11 | - ReactiveCocoa/Core 12 | 13 | DEPENDENCIES: 14 | - FMDB 15 | - ReactiveCocoa (= 2.3) 16 | 17 | SPEC REPOS: 18 | https://github.com/cocoapods/specs.git: 19 | - FMDB 20 | - ReactiveCocoa 21 | 22 | SPEC CHECKSUMS: 23 | FMDB: 2ce00b547f966261cd18927a3ddb07cb6f3db82a 24 | ReactiveCocoa: 81ee2fb7df2dfc6bd52b5d70473662195e20ca7d 25 | 26 | PODFILE CHECKSUM: a2f460905a9ea80b9cb9e4a095359f2383fc54d2 27 | 28 | COCOAPODS: 1.7.4 29 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Pods.xcodeproj/xcuserdata/liusiqi.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | FMDB.xcscheme 8 | 9 | isShown 10 | 11 | orderHint 12 | 0 13 | 14 | Pods-Qi_ObjcMsgHook.xcscheme 15 | 16 | isShown 17 | 18 | orderHint 19 | 1 20 | 21 | ReactiveCocoa.xcscheme 22 | 23 | isShown 24 | 25 | orderHint 26 | 2 27 | 28 | 29 | SuppressBuildableAutocreation 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/LICENSE.md: -------------------------------------------------------------------------------- 1 | **Copyright (c) 2012 - 2014, 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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 RACSignal; 12 | @class RACScheduler; 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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSDictionary+RACSequenceAdditions.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSDictionary+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 NSDictionary (RACSequenceAdditions) 14 | 15 | /// Creates and returns a sequence of RACTuple key/value pairs. The key will be 16 | /// the first element in the tuple, and the value will be the second. 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 | /// Creates and returns a sequence corresponding to the keys in the receiver. 22 | /// 23 | /// Mutating the receiver will not affect the sequence after it's been created. 24 | @property (nonatomic, copy, readonly) RACSequence *rac_keySequence; 25 | 26 | /// Creates and returns a sequence corresponding to the values in the receiver. 27 | /// 28 | /// Mutating the receiver will not affect the sequence after it's been created. 29 | @property (nonatomic, copy, readonly) RACSequence *rac_valueSequence; 30 | 31 | @end 32 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 [RACTuple tupleWithObjects:key, value, nil]; 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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSFileHandle+RACSupport.m: -------------------------------------------------------------------------------- 1 | // 2 | // NSFileHandle+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 "NSFileHandle+RACSupport.h" 10 | #import "NSNotificationCenter+RACSupport.h" 11 | #import "RACReplaySubject.h" 12 | #import "RACDisposable.h" 13 | 14 | @implementation NSFileHandle (RACSupport) 15 | 16 | - (RACSignal *)rac_readInBackground { 17 | RACReplaySubject *subject = [RACReplaySubject subject]; 18 | [subject setNameWithFormat:@"%@ -rac_readInBackground", self]; 19 | 20 | RACSignal *dataNotification = [[[NSNotificationCenter defaultCenter] rac_addObserverForName:NSFileHandleReadCompletionNotification object:self] map:^(NSNotification *note) { 21 | return [note.userInfo objectForKey:NSFileHandleNotificationDataItem]; 22 | }]; 23 | 24 | __block RACDisposable *subscription = [dataNotification subscribeNext:^(NSData *data) { 25 | if(data.length > 0) { 26 | [subject sendNext:data]; 27 | [self readInBackgroundAndNotify]; 28 | } else { 29 | [subject sendCompleted]; 30 | [subscription dispose]; 31 | } 32 | }]; 33 | 34 | [self readInBackgroundAndNotify]; 35 | 36 | return subject; 37 | } 38 | 39 | @end 40 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | #import "RACSequence.h" 11 | 12 | @interface NSIndexSet (RACSequenceAdditions) 13 | 14 | /// Creates and returns a sequence of indexes (as `NSNumber`s) corresponding to 15 | /// 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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSObject+RACDeallocating.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSObject+RACDeallocating.h 3 | // ReactiveCocoa 4 | // 5 | // Created by Kazuo Koga on 2013/03/15. 6 | // Copyright (c) 2013 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class RACCompoundDisposable; 12 | @class RACDisposable; 13 | @class RACSignal; 14 | 15 | @interface NSObject (RACDeallocating) 16 | 17 | /// The compound disposable which will be disposed of when the receiver is 18 | /// deallocated. 19 | @property (atomic, readonly, strong) RACCompoundDisposable *rac_deallocDisposable; 20 | 21 | /// Returns a signal that will complete immediately before the receiver is fully 22 | /// deallocated. If already deallocated when the signal is subscribed to, 23 | /// a `completed` event will be sent immediately. 24 | - (RACSignal *)rac_willDeallocSignal; 25 | 26 | @end 27 | 28 | @interface NSObject (RACDeallocatingDeprecated) 29 | 30 | - (RACSignal *)rac_didDeallocSignal __attribute__((deprecated("Use -rac_willDeallocSignal"))); 31 | 32 | - (void)rac_addDeallocDisposable:(RACDisposable *)disposable __attribute__((deprecated("Add disposables to -rac_deallocDisposable instead"))); 33 | 34 | @end 35 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | return self.allObjects.description; 44 | } 45 | 46 | @end 47 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 RACSignal; 12 | @class RACScheduler; 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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSURLConnection+RACSupport.m: -------------------------------------------------------------------------------- 1 | // 2 | // NSURLConnection+RACSupport.m 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 "NSURLConnection+RACSupport.h" 10 | #import "RACDisposable.h" 11 | #import "RACSignal.h" 12 | #import "RACSignal+Operations.h" 13 | #import "RACSubscriber.h" 14 | #import "RACTuple.h" 15 | 16 | @implementation NSURLConnection (RACSupport) 17 | 18 | + (RACSignal *)rac_sendAsynchronousRequest:(NSURLRequest *)request { 19 | NSCParameterAssert(request != nil); 20 | 21 | return [[RACSignal 22 | createSignal:^ RACDisposable * (id subscriber) { 23 | NSOperationQueue *queue = [[NSOperationQueue alloc] init]; 24 | queue.name = @"com.github.ReactiveCocoa.NSURLConnectionRACSupport"; 25 | 26 | [NSURLConnection sendAsynchronousRequest:request queue:queue completionHandler:^(NSURLResponse *response, NSData *data, NSError *error) { 27 | // The docs say that `nil` data means an error occurred, but 28 | // `nil` responses can also occur in practice (circumstances 29 | // unknown). Consider either to be an error. 30 | // 31 | // Note that _empty_ data is not necessarily erroneous, as there 32 | // may be headers but no HTTP body. 33 | if (response == nil || data == nil) { 34 | [subscriber sendError:error]; 35 | } else { 36 | [subscriber sendNext:RACTuplePack(response, data)]; 37 | [subscriber sendCompleted]; 38 | } 39 | }]; 40 | 41 | return [RACDisposable disposableWithBlock:^{ 42 | // It's not clear if this will actually cancel the connection, 43 | // but we can at least prevent _some_ unnecessary work -- 44 | // without writing all the code for a proper delegate, which 45 | // doesn't really belong in RAC. 46 | queue.suspended = YES; 47 | [queue cancelAllOperations]; 48 | }]; 49 | }] 50 | setNameWithFormat:@"+rac_sendAsynchronousRequest: %@", request]; 51 | } 52 | 53 | @end 54 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/NSUserDefaults+RACSupport.m: -------------------------------------------------------------------------------- 1 | // 2 | // NSUserDefaults+RACSupport.m 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 "NSUserDefaults+RACSupport.h" 10 | 11 | #import "RACEXTScope.h" 12 | #import "RACChannel.h" 13 | #import "RACScheduler.h" 14 | #import "RACSignal+Operations.h" 15 | #import "NSNotificationCenter+RACSupport.h" 16 | #import "NSObject+RACDeallocating.h" 17 | #import "NSObject+RACLifting.h" 18 | 19 | @implementation NSUserDefaults (RACSupport) 20 | 21 | - (RACChannelTerminal *)rac_channelTerminalForKey:(NSString *)key { 22 | RACChannel *channel = [RACChannel new]; 23 | 24 | RACScheduler *scheduler = [RACScheduler scheduler]; 25 | __block BOOL ignoreNextValue = NO; 26 | 27 | @weakify(self); 28 | [[[[[[[NSNotificationCenter.defaultCenter 29 | rac_addObserverForName:NSUserDefaultsDidChangeNotification object:self] 30 | map:^(id _) { 31 | @strongify(self); 32 | return [self objectForKey:key]; 33 | }] 34 | startWith:[self objectForKey:key]] 35 | // Don't send values that were set on the other side of the terminal. 36 | filter:^ BOOL (id _) { 37 | if (RACScheduler.currentScheduler == scheduler && ignoreNextValue) { 38 | ignoreNextValue = NO; 39 | return NO; 40 | } 41 | return YES; 42 | }] 43 | distinctUntilChanged] 44 | takeUntil:self.rac_willDeallocSignal] 45 | subscribe:channel.leadingTerminal]; 46 | 47 | [[channel.leadingTerminal 48 | deliverOn:scheduler] 49 | subscribeNext:^(id value) { 50 | @strongify(self); 51 | ignoreNextValue = YES; 52 | [self setObject:value forKey:key]; 53 | }]; 54 | 55 | return channel.followingTerminal; 56 | } 57 | 58 | @end 59 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | 12 | /// A behavior subject sends the last value it received when it is subscribed to. 13 | @interface RACBehaviorSubject : RACSubject 14 | 15 | /// Creates a new behavior subject with a default value. If it hasn't received 16 | /// any values when it gets subscribed to, it sends the default value. 17 | + (instancetype)behaviorSubjectWithDefaultValue:(id)value; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACBehaviorSubject.m: -------------------------------------------------------------------------------- 1 | // 2 | // RACBehaviorSubject.m 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 "RACBehaviorSubject.h" 10 | #import "RACDisposable.h" 11 | #import "RACScheduler+Private.h" 12 | 13 | @interface RACBehaviorSubject () 14 | 15 | // This property should only be used while synchronized on self. 16 | @property (nonatomic, strong) id currentValue; 17 | 18 | @end 19 | 20 | @implementation RACBehaviorSubject 21 | 22 | #pragma mark Lifecycle 23 | 24 | + (instancetype)behaviorSubjectWithDefaultValue:(id)value { 25 | RACBehaviorSubject *subject = [self subject]; 26 | subject.currentValue = value; 27 | return subject; 28 | } 29 | 30 | #pragma mark RACSignal 31 | 32 | - (RACDisposable *)subscribe:(id)subscriber { 33 | RACDisposable *subscriptionDisposable = [super subscribe:subscriber]; 34 | 35 | RACDisposable *schedulingDisposable = [RACScheduler.subscriptionScheduler schedule:^{ 36 | @synchronized (self) { 37 | [subscriber sendNext:self.currentValue]; 38 | } 39 | }]; 40 | 41 | return [RACDisposable disposableWithBlock:^{ 42 | [subscriptionDisposable dispose]; 43 | [schedulingDisposable dispose]; 44 | }]; 45 | } 46 | 47 | #pragma mark RACSubscriber 48 | 49 | - (void)sendNext:(id)value { 50 | @synchronized (self) { 51 | self.currentValue = value; 52 | [super sendNext:value]; 53 | } 54 | } 55 | 56 | @end 57 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACCompoundDisposable.h: -------------------------------------------------------------------------------- 1 | // 2 | // RACCompoundDisposable.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 "RACDisposable.h" 10 | 11 | /// A disposable of disposables. When it is disposed, it disposes of all its 12 | /// contained disposables. 13 | /// 14 | /// If -addDisposable: is called after the compound disposable has been disposed 15 | /// of, the given disposable is immediately disposed. This allows a compound 16 | /// disposable to act as a stand-in for a disposable that will be delivered 17 | /// asynchronously. 18 | @interface RACCompoundDisposable : RACDisposable 19 | 20 | /// Creates and returns a new compound disposable. 21 | + (instancetype)compoundDisposable; 22 | 23 | /// Creates and returns a new compound disposable containing the given 24 | /// disposables. 25 | + (instancetype)compoundDisposableWithDisposables:(NSArray *)disposables; 26 | 27 | /// Adds the given disposable. If the receiving disposable has already been 28 | /// disposed of, the given disposable is disposed immediately. 29 | /// 30 | /// This method is thread-safe. 31 | /// 32 | /// disposable - The disposable to add. This may be nil, in which case nothing 33 | /// happens. 34 | - (void)addDisposable:(RACDisposable *)disposable; 35 | 36 | /// Removes the specified disposable from the compound disposable (regardless of 37 | /// its disposed status), or does nothing if it's not in the compound disposable. 38 | /// 39 | /// This is mainly useful for limiting the memory usage of the compound 40 | /// disposable for long-running operations. 41 | /// 42 | /// This method is thread-safe. 43 | /// 44 | /// disposable - The disposable to remove. This argument may be nil (to make the 45 | /// use of weak references easier). 46 | - (void)removeDisposable:(RACDisposable *)disposable; 47 | 48 | @end 49 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | 14 | /// A disposable encapsulates the work necessary to tear down and cleanup a 15 | /// subscription. 16 | @interface RACDisposable : NSObject 17 | 18 | /// Whether the receiver has been disposed. 19 | /// 20 | /// Use of this property is discouraged, since it may be set to `YES` 21 | /// concurrently at any time. 22 | /// 23 | /// This property is not KVO-compliant. 24 | @property (atomic, assign, getter = isDisposed, readonly) BOOL disposed; 25 | 26 | + (instancetype)disposableWithBlock:(void (^)(void))block; 27 | 28 | /// Performs the disposal work. Can be called multiple times, though subsequent 29 | /// calls won't do anything. 30 | - (void)dispose; 31 | 32 | /// Returns a new disposable which will dispose of this disposable when it gets 33 | /// dealloc'd. 34 | - (RACScopedDisposable *)asScopedDisposable; 35 | 36 | @end 37 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACEmptySequence.m: -------------------------------------------------------------------------------- 1 | // 2 | // RACEmptySequence.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 "RACEmptySequence.h" 10 | 11 | @implementation RACEmptySequence 12 | 13 | #pragma mark Lifecycle 14 | 15 | + (instancetype)empty { 16 | static id singleton; 17 | static dispatch_once_t pred; 18 | 19 | dispatch_once(&pred, ^{ 20 | singleton = [[self alloc] init]; 21 | }); 22 | 23 | return singleton; 24 | } 25 | 26 | #pragma mark RACSequence 27 | 28 | - (id)head { 29 | return nil; 30 | } 31 | 32 | - (RACSequence *)tail { 33 | return nil; 34 | } 35 | 36 | - (RACSequence *)bind:(RACStreamBindBlock)bindBlock passingThroughValuesFromSequence:(RACSequence *)passthroughSequence { 37 | return passthroughSequence ?: self; 38 | } 39 | 40 | #pragma mark NSCoding 41 | 42 | - (Class)classForCoder { 43 | // Empty sequences should be encoded as themselves, not array sequences. 44 | return self.class; 45 | } 46 | 47 | - (id)initWithCoder:(NSCoder *)coder { 48 | // Return the singleton. 49 | return self.class.empty; 50 | } 51 | 52 | - (void)encodeWithCoder:(NSCoder *)coder { 53 | } 54 | 55 | #pragma mark NSObject 56 | 57 | - (NSString *)description { 58 | return [NSString stringWithFormat:@"<%@: %p>{ name = %@ }", self.class, self, self.name]; 59 | } 60 | 61 | - (NSUInteger)hash { 62 | // This hash isn't ideal, but it's better than -[RACSequence hash], which 63 | // would just be zero because we have no head. 64 | return (NSUInteger)(__bridge void *)self; 65 | } 66 | 67 | - (BOOL)isEqual:(RACSequence *)seq { 68 | return (self == seq); 69 | } 70 | 71 | @end 72 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACEmptySignal.m: -------------------------------------------------------------------------------- 1 | // 2 | // RACEmptySignal.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 "RACEmptySignal.h" 10 | #import "RACScheduler+Private.h" 11 | #import "RACSubscriber.h" 12 | 13 | @implementation RACEmptySignal 14 | 15 | #pragma mark Properties 16 | 17 | // Only allow this signal's name to be customized in DEBUG, since it's 18 | // a singleton in release builds (see +empty). 19 | - (void)setName:(NSString *)name { 20 | #ifdef DEBUG 21 | [super setName:name]; 22 | #endif 23 | } 24 | 25 | - (NSString *)name { 26 | #ifdef DEBUG 27 | return super.name; 28 | #else 29 | return @"+empty"; 30 | #endif 31 | } 32 | 33 | #pragma mark Lifecycle 34 | 35 | + (RACSignal *)empty { 36 | #ifdef DEBUG 37 | // Create multiple instances of this class in DEBUG so users can set custom 38 | // names on each. 39 | return [[[self alloc] init] setNameWithFormat:@"+empty"]; 40 | #else 41 | static id singleton; 42 | static dispatch_once_t pred; 43 | 44 | dispatch_once(&pred, ^{ 45 | singleton = [[self alloc] init]; 46 | }); 47 | 48 | return singleton; 49 | #endif 50 | } 51 | 52 | #pragma mark Subscription 53 | 54 | - (RACDisposable *)subscribe:(id)subscriber { 55 | NSCParameterAssert(subscriber != nil); 56 | 57 | return [RACScheduler.subscriptionScheduler schedule:^{ 58 | [subscriber sendCompleted]; 59 | }]; 60 | } 61 | 62 | @end 63 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACEvent.h: -------------------------------------------------------------------------------- 1 | // 2 | // RACEvent.h 3 | // ReactiveCocoa 4 | // 5 | // Created by Justin Spahr-Summers on 2013-01-07. 6 | // Copyright (c) 2013 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | /// Describes the type of a RACEvent. 12 | /// 13 | /// RACEventTypeCompleted - A `completed` event. 14 | /// RACEventTypeError - An `error` event. 15 | /// RACEventTypeNext - A `next` event. 16 | typedef enum : NSUInteger { 17 | RACEventTypeCompleted, 18 | RACEventTypeError, 19 | RACEventTypeNext 20 | } RACEventType; 21 | 22 | /// Represents an event sent by a RACSignal. 23 | /// 24 | /// This corresponds to the `Notification` class in Rx. 25 | @interface RACEvent : NSObject 26 | 27 | /// Returns a singleton RACEvent representing the `completed` event. 28 | + (instancetype)completedEvent; 29 | 30 | /// Returns a new event of type RACEventTypeError, containing the given error. 31 | + (instancetype)eventWithError:(NSError *)error; 32 | 33 | /// Returns a new event of type RACEventTypeNext, containing the given value. 34 | + (instancetype)eventWithValue:(id)value; 35 | 36 | /// The type of event represented by the receiver. 37 | @property (nonatomic, assign, readonly) RACEventType eventType; 38 | 39 | /// Returns whether the receiver is of type RACEventTypeCompleted or 40 | /// RACEventTypeError. 41 | @property (nonatomic, getter = isFinished, assign, readonly) BOOL finished; 42 | 43 | /// The error associated with an event of type RACEventTypeError. This will be 44 | /// nil for all other event types. 45 | @property (nonatomic, strong, readonly) NSError *error; 46 | 47 | /// The value associated with an event of type RACEventTypeNext. This will be 48 | /// nil for all other event types. 49 | @property (nonatomic, strong, readonly) id value; 50 | 51 | @end 52 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | 12 | /// A grouped signal is used by -[RACSignal groupBy:transform:]. 13 | @interface RACGroupedSignal : RACSubject 14 | 15 | /// The key shared by the group. 16 | @property (nonatomic, readonly, copy) id key; 17 | 18 | + (instancetype)signalWithKey:(id)key; 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACImmediateScheduler.m: -------------------------------------------------------------------------------- 1 | // 2 | // RACImmediateScheduler.m 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 "RACImmediateScheduler.h" 10 | #import "RACScheduler+Private.h" 11 | 12 | @implementation RACImmediateScheduler 13 | 14 | #pragma mark Lifecycle 15 | 16 | - (id)init { 17 | return [super initWithName:@"com.ReactiveCocoa.RACScheduler.immediateScheduler"]; 18 | } 19 | 20 | #pragma mark RACScheduler 21 | 22 | - (RACDisposable *)schedule:(void (^)(void))block { 23 | NSCParameterAssert(block != NULL); 24 | 25 | block(); 26 | return nil; 27 | } 28 | 29 | - (RACDisposable *)after:(NSDate *)date schedule:(void (^)(void))block { 30 | NSCParameterAssert(date != nil); 31 | NSCParameterAssert(block != NULL); 32 | 33 | [NSThread sleepUntilDate:date]; 34 | block(); 35 | 36 | return nil; 37 | } 38 | 39 | - (RACDisposable *)after:(NSDate *)date repeatingEvery:(NSTimeInterval)interval withLeeway:(NSTimeInterval)leeway schedule:(void (^)(void))block { 40 | NSCAssert(NO, @"+[RACScheduler immediateScheduler] does not support %@.", NSStringFromSelector(_cmd)); 41 | return nil; 42 | } 43 | 44 | @end 45 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACKVOTrampoline.h: -------------------------------------------------------------------------------- 1 | // 2 | // RACKVOTrampoline.h 3 | // ReactiveCocoa 4 | // 5 | // Created by Josh Abernathy on 1/15/13. 6 | // Copyright (c) 2013 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "NSObject+RACKVOWrapper.h" 11 | #import "RACDisposable.h" 12 | 13 | // A private trampoline object that represents a KVO observation. 14 | // 15 | // Disposing of the trampoline will stop observation. 16 | @interface RACKVOTrampoline : RACDisposable 17 | 18 | // Initializes the receiver with the given parameters. 19 | // 20 | // target - The object whose key path should be observed. Cannot be nil. 21 | // observer - The object that gets notified when the value at the key path 22 | // changes. Can be nil. 23 | // keyPath - The key path on `target` to observe. Cannot be nil. 24 | // options - Any key value observing options to use in the observation. 25 | // block - The block to call when the value at the observed key path changes. 26 | // Cannot be nil. 27 | // 28 | // Returns the initialized object. 29 | - (id)initWithTarget:(NSObject *)target observer:(NSObject *)observer keyPath:(NSString *)keyPath options:(NSKeyValueObservingOptions)options block:(RACKVOBlock)block; 30 | 31 | @end 32 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACMulticastConnection.h: -------------------------------------------------------------------------------- 1 | // 2 | // RACMulticastConnection.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 | @class RACSignal; 10 | @class RACDisposable; 11 | 12 | /// A multicast connection encapsulates the idea of sharing one subscription to a 13 | /// signal to many subscribers. This is most often needed if the subscription to 14 | /// the underlying signal involves side-effects or shouldn't be called more than 15 | /// once. 16 | /// 17 | /// The multicasted signal is only subscribed to when 18 | /// -[RACMulticastConnection connect] is called. Until that happens, no values 19 | /// will be sent on `signal`. See -[RACMulticastConnection autoconnect] for how 20 | /// -[RACMulticastConnection connect] can be called automatically. 21 | /// 22 | /// Note that you shouldn't create RACMulticastConnection manually. Instead use 23 | /// -[RACSignal publish] or -[RACSignal multicast:]. 24 | @interface RACMulticastConnection : NSObject 25 | 26 | /// The multicasted signal. 27 | @property (nonatomic, strong, readonly) RACSignal *signal; 28 | 29 | /// Connect to the underlying signal by subscribing to it. Calling this multiple 30 | /// times does nothing but return the existing connection's disposable. 31 | /// 32 | /// Returns the disposable for the subscription to the multicasted signal. 33 | - (RACDisposable *)connect; 34 | 35 | /// Connects to the underlying signal when the returned signal is first 36 | /// subscribed to, and disposes of the subscription to the multicasted signal 37 | /// when the returned signal has no subscribers. 38 | /// 39 | /// If new subscribers show up after being disposed, they'll subscribe and then 40 | /// be immediately disposed of. The returned signal will never re-connect to the 41 | /// multicasted signal. 42 | /// 43 | /// Returns the autoconnecting signal. 44 | - (RACSignal *)autoconnect; 45 | 46 | @end 47 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACQueueScheduler+Subclass.h: -------------------------------------------------------------------------------- 1 | // 2 | // RACQueueScheduler+Subclass.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 | /// An interface for use by subclasses. 12 | /// 13 | /// Subclasses should use `-performAsCurrentScheduler:` to do the actual block 14 | /// invocation so that +[RACScheduler currentScheduler] behaves as expected. 15 | /// 16 | /// **Note that RACSchedulers are expected to be serial**. Subclasses must honor 17 | /// that contract. See `RACTargetQueueScheduler` for a queue-based scheduler 18 | /// which will enforce the serialization guarantee. 19 | @interface RACQueueScheduler () 20 | 21 | /// The queue on which blocks are enqueued. 22 | @property (nonatomic, readonly) dispatch_queue_t queue; 23 | 24 | /// Initializes the receiver with the name of the scheduler and the queue which 25 | /// the scheduler should use. 26 | /// 27 | /// name - The name of the scheduler. If nil, a default name will be used. 28 | /// queue - The queue upon which the receiver should enqueue scheduled blocks. 29 | /// This argument must not be NULL. 30 | /// 31 | /// Returns the initialized object. 32 | - (id)initWithName:(NSString *)name queue:(dispatch_queue_t)queue; 33 | 34 | /// Performs the given block with the receiver as the current scheduler for 35 | /// `queue`. This should only be called by subclasses to perform scheduled blocks 36 | /// on their queue. 37 | /// 38 | /// block - The block to execute. Cannot be NULL. 39 | - (void)performAsCurrentScheduler:(void (^)(void))block; 40 | 41 | /// Converts a date into a GCD time using dispatch_walltime(). 42 | /// 43 | /// date - The date to convert. This must not be nil. 44 | + (dispatch_time_t)wallTimeWithDate:(NSDate *)date; 45 | 46 | @end 47 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | 14 | /// A replay subject saves the values it is sent (up to its defined capacity) 15 | /// and resends those to new subscribers. It will also replay an error or 16 | /// completion. 17 | @interface RACReplaySubject : RACSubject 18 | 19 | /// Creates a new replay subject with the given capacity. A capacity of 20 | /// RACReplaySubjectUnlimitedCapacity means values are never trimmed. 21 | + (instancetype)replaySubjectWithCapacity:(NSUInteger)capacity; 22 | 23 | @end 24 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACScheduler+Private.h: -------------------------------------------------------------------------------- 1 | // 2 | // RACScheduler+Private.h 3 | // ReactiveCocoa 4 | // 5 | // Created by Josh Abernathy on 11/29/12. 6 | // Copyright (c) 2012 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import "RACScheduler.h" 10 | 11 | // The thread-specific current scheduler key. 12 | extern NSString * const RACSchedulerCurrentSchedulerKey; 13 | 14 | // A private interface for internal RAC use only. 15 | @interface RACScheduler () 16 | 17 | // A dedicated scheduler that fills two requirements: 18 | // 19 | // 1. By the time subscription happens, we need a valid +currentScheduler. 20 | // 2. Subscription should happen as soon as possible. 21 | // 22 | // To fulfill those two, if we already have a valid +currentScheduler, it 23 | // immediately executes scheduled blocks. If we don't, it will execute scheduled 24 | // blocks with a private background scheduler. 25 | + (instancetype)subscriptionScheduler; 26 | 27 | // Initializes the receiver with the given name. 28 | // 29 | // name - The name of the scheduler. If nil, a default name will be used. 30 | // 31 | // Returns the initialized object. 32 | - (id)initWithName:(NSString *)name; 33 | 34 | @end 35 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | 12 | /// A disposable that calls its own -dispose when it is dealloc'd. 13 | @interface RACScopedDisposable : RACDisposable 14 | 15 | /// Creates a new scoped disposable that will also dispose of the given 16 | /// disposable when it is dealloc'd. 17 | + (instancetype)scopedDisposableWithDisposable:(RACDisposable *)disposable; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACSerialDisposable.h: -------------------------------------------------------------------------------- 1 | // 2 | // RACSerialDisposable.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 "RACDisposable.h" 10 | 11 | /// A disposable that contains exactly one other disposable and allows it to be 12 | /// swapped out atomically. 13 | @interface RACSerialDisposable : RACDisposable 14 | 15 | /// The inner disposable managed by the serial disposable. 16 | /// 17 | /// This property is thread-safe for reading and writing. However, if you want to 18 | /// read the current value _and_ write a new one atomically, use 19 | /// -swapInDisposable: instead. 20 | /// 21 | /// Disposing of the receiver will also dispose of the current disposable set for 22 | /// this property, then set the property to nil. If any new disposable is set 23 | /// after the receiver is disposed, it will be disposed immediately and this 24 | /// property will remain set to nil. 25 | @property (atomic, strong) RACDisposable *disposable; 26 | 27 | /// Creates a serial disposable which will wrap the given disposable. 28 | /// 29 | /// disposable - The value to set for `disposable`. This may be nil. 30 | /// 31 | /// Returns a RACSerialDisposable, or nil if an error occurs. 32 | + (instancetype)serialDisposableWithDisposable:(RACDisposable *)disposable; 33 | 34 | /// Atomically swaps the receiver's `disposable` for `newDisposable`. 35 | /// 36 | /// newDisposable - The new value for `disposable`. If the receiver has already 37 | /// been disposed, this disposable will be too, and `disposable` 38 | /// will remain set to nil. This argument may be nil. 39 | /// 40 | /// Returns the previous value for the `disposable` property. 41 | - (RACDisposable *)swapInDisposable:(RACDisposable *)newDisposable; 42 | 43 | @end 44 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACSubscriber.h: -------------------------------------------------------------------------------- 1 | // 2 | // RACSubscriber.h 3 | // ReactiveCocoa 4 | // 5 | // Created by Josh Abernathy on 3/1/12. 6 | // Copyright (c) 2012 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class RACCompoundDisposable; 12 | 13 | /// Represents any object which can directly receive values from a RACSignal. 14 | /// 15 | /// You generally shouldn't need to implement this protocol. +[RACSignal 16 | /// createSignal:], RACSignal's subscription methods, or RACSubject should work 17 | /// for most uses. 18 | /// 19 | /// Implementors of this protocol may receive messages and values from multiple 20 | /// threads simultaneously, and so should be thread-safe. Subscribers will also 21 | /// be weakly referenced so implementations must allow that. 22 | @protocol RACSubscriber 23 | @required 24 | 25 | /// Send the next value to subscribers. 26 | /// 27 | /// value - The value to send. This can be `nil`. 28 | - (void)sendNext:(id)value; 29 | 30 | /// Send the error to subscribers. 31 | /// 32 | /// error - The error to send. This can be `nil`. 33 | /// 34 | /// This terminates the subscription, and invalidates the subscriber (such that 35 | /// it cannot subscribe to anything else in the future). 36 | - (void)sendError:(NSError *)error; 37 | 38 | /// Send completed to subscribers. 39 | /// 40 | /// This terminates the subscription, and invalidates the subscriber (such that 41 | /// it cannot subscribe to anything else in the future). 42 | - (void)sendCompleted; 43 | 44 | /// Sends the subscriber a disposable that represents one of its subscriptions. 45 | /// 46 | /// A subscriber may receive multiple disposables if it gets subscribed to 47 | /// multiple signals; however, any error or completed events must terminate _all_ 48 | /// subscriptions. 49 | - (void)didSubscribeWithDisposable:(RACCompoundDisposable *)disposable; 50 | 51 | @end 52 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACSubscriptingAssignmentTrampoline.m: -------------------------------------------------------------------------------- 1 | // 2 | // RACSubscriptingAssignmentTrampoline.m 3 | // iOSDemo 4 | // 5 | // Created by Josh Abernathy on 9/24/12. 6 | // Copyright (c) 2012 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import "RACSubscriptingAssignmentTrampoline.h" 10 | #import "RACSignal+Operations.h" 11 | 12 | @interface RACSubscriptingAssignmentTrampoline () 13 | 14 | // The object to bind to. 15 | @property (nonatomic, strong, readonly) id target; 16 | 17 | // A value to use when `nil` is sent on the bound signal. 18 | @property (nonatomic, strong, readonly) id nilValue; 19 | 20 | @end 21 | 22 | @implementation RACSubscriptingAssignmentTrampoline 23 | 24 | - (id)initWithTarget:(id)target nilValue:(id)nilValue { 25 | // This is often a programmer error, but this prevents crashes if the target 26 | // object has unexpectedly deallocated. 27 | if (target == nil) return nil; 28 | 29 | self = [super init]; 30 | if (self == nil) return nil; 31 | 32 | _target = target; 33 | _nilValue = nilValue; 34 | 35 | return self; 36 | } 37 | 38 | - (void)setObject:(RACSignal *)signal forKeyedSubscript:(NSString *)keyPath { 39 | [signal setKeyPath:keyPath onObject:self.target nilValue:self.nilValue]; 40 | } 41 | 42 | @end 43 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACSubscriptionScheduler.m: -------------------------------------------------------------------------------- 1 | // 2 | // RACSubscriptionScheduler.m 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 "RACSubscriptionScheduler.h" 10 | #import "RACScheduler+Private.h" 11 | 12 | @interface RACSubscriptionScheduler () 13 | 14 | // A private background scheduler on which to subscribe if the +currentScheduler 15 | // is unknown. 16 | @property (nonatomic, strong, readonly) RACScheduler *backgroundScheduler; 17 | 18 | @end 19 | 20 | @implementation RACSubscriptionScheduler 21 | 22 | #pragma mark Lifecycle 23 | 24 | - (id)init { 25 | self = [super initWithName:@"com.ReactiveCocoa.RACScheduler.subscriptionScheduler"]; 26 | if (self == nil) return nil; 27 | 28 | _backgroundScheduler = [RACScheduler scheduler]; 29 | 30 | return self; 31 | } 32 | 33 | #pragma mark RACScheduler 34 | 35 | - (RACDisposable *)schedule:(void (^)(void))block { 36 | NSCParameterAssert(block != NULL); 37 | 38 | if (RACScheduler.currentScheduler == nil) return [self.backgroundScheduler schedule:block]; 39 | 40 | block(); 41 | return nil; 42 | } 43 | 44 | - (RACDisposable *)after:(NSDate *)date schedule:(void (^)(void))block { 45 | RACScheduler *scheduler = RACScheduler.currentScheduler ?: self.backgroundScheduler; 46 | return [scheduler after:date schedule:block]; 47 | } 48 | 49 | - (RACDisposable *)after:(NSDate *)date repeatingEvery:(NSTimeInterval)interval withLeeway:(NSTimeInterval)leeway schedule:(void (^)(void))block { 50 | RACScheduler *scheduler = RACScheduler.currentScheduler ?: self.backgroundScheduler; 51 | return [scheduler after:date repeatingEvery:interval withLeeway:leeway schedule:block]; 52 | } 53 | 54 | @end 55 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 "RACBacktrace.h" 11 | #import "RACQueueScheduler+Subclass.h" 12 | 13 | @implementation RACTargetQueueScheduler 14 | 15 | #pragma mark Lifecycle 16 | 17 | - (id)initWithName:(NSString *)name targetQueue:(dispatch_queue_t)targetQueue { 18 | NSCParameterAssert(targetQueue != NULL); 19 | 20 | if (name == nil) { 21 | name = [NSString stringWithFormat:@"com.ReactiveCocoa.RACTargetQueueScheduler(%s)", dispatch_queue_get_label(targetQueue)]; 22 | } 23 | 24 | dispatch_queue_t queue = dispatch_queue_create(name.UTF8String, DISPATCH_QUEUE_SERIAL); 25 | if (queue == NULL) return nil; 26 | 27 | dispatch_set_target_queue(queue, targetQueue); 28 | 29 | self = [super initWithName:name queue:queue]; 30 | if (self == nil) return nil; 31 | 32 | dispatch_release(queue); 33 | 34 | return self; 35 | } 36 | 37 | @end 38 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/RACTestScheduler.h: -------------------------------------------------------------------------------- 1 | // 2 | // RACTestScheduler.h 3 | // ReactiveCocoa 4 | // 5 | // Created by Justin Spahr-Summers on 2013-07-06. 6 | // Copyright (c) 2013 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import "RACScheduler.h" 10 | 11 | /// A special kind of scheduler that steps through virtualized time. 12 | /// 13 | /// This scheduler class can be used in unit tests to verify asynchronous 14 | /// behaviors without spending significant time waiting. 15 | /// 16 | /// This class can be used from multiple threads, but only one thread can `step` 17 | /// through the enqueued actions at a time. Other threads will wait while the 18 | /// scheduled blocks are being executed. 19 | @interface RACTestScheduler : RACScheduler 20 | 21 | /// Initializes a new test scheduler. 22 | - (instancetype)init; 23 | 24 | /// Executes the next scheduled block, if any. 25 | /// 26 | /// This method will block until the scheduled action has completed. 27 | - (void)step; 28 | 29 | /// Executes up to the next `ticks` scheduled blocks. 30 | /// 31 | /// This method will block until the scheduled actions have completed. 32 | /// 33 | /// ticks - The number of scheduled blocks to execute. If there aren't this many 34 | /// blocks enqueued, all scheduled blocks are executed. 35 | - (void)step:(NSUInteger)ticks; 36 | 37 | /// Executes all of the scheduled blocks on the receiver. 38 | /// 39 | /// This method will block until the scheduled actions have completed. 40 | - (void)stepAll; 41 | 42 | @end 43 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | 12 | /// A unit represents an empty value. 13 | /// 14 | /// It should never be necessary to create a unit yourself. Just use +defaultUnit. 15 | @interface RACUnit : NSObject 16 | 17 | /// A singleton instance. 18 | + (RACUnit *)defaultUnit; 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | 12 | @implementation RACUnit 13 | 14 | 15 | #pragma mark API 16 | 17 | + (RACUnit *)defaultUnit { 18 | static dispatch_once_t onceToken; 19 | static RACUnit *defaultUnit = nil; 20 | dispatch_once(&onceToken, ^{ 21 | defaultUnit = [[self alloc] init]; 22 | }); 23 | 24 | return defaultUnit; 25 | } 26 | 27 | @end 28 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/UIActionSheet+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIActionSheet+RACSignalSupport.h 3 | // ReactiveCocoa 4 | // 5 | // Created by Dave Lee on 2013-06-22. 6 | // Copyright (c) 2013 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class RACDelegateProxy; 12 | @class RACSignal; 13 | 14 | @interface UIActionSheet (RACSignalSupport) 15 | 16 | /// A delegate proxy which will be set as the receiver's delegate when any of the 17 | /// methods in this category are used. 18 | @property (nonatomic, strong, readonly) RACDelegateProxy *rac_delegateProxy; 19 | 20 | /// Creates a signal for button clicks on the receiver. 21 | /// 22 | /// When this method is invoked, the `rac_delegateProxy` will become the 23 | /// receiver's delegate. Any previous delegate will become the -[RACDelegateProxy 24 | /// rac_proxiedDelegate], so that it receives any messages that the proxy doesn't 25 | /// know how to handle. Setting the receiver's `delegate` afterward is 26 | /// considered undefined behavior. 27 | /// 28 | /// Returns a signal which will send the index of the specific button clicked. 29 | /// The signal will complete when the receiver is deallocated. 30 | - (RACSignal *)rac_buttonClickedSignal; 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/UIActionSheet+RACSignalSupport.m: -------------------------------------------------------------------------------- 1 | // 2 | // UIActionSheet+RACSignalSupport.m 3 | // ReactiveCocoa 4 | // 5 | // Created by Dave Lee on 2013-06-22. 6 | // Copyright (c) 2013 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import "UIActionSheet+RACSignalSupport.h" 10 | #import "RACDelegateProxy.h" 11 | #import "RACSignal+Operations.h" 12 | #import "NSObject+RACDeallocating.h" 13 | #import "RACTuple.h" 14 | #import "NSObject+RACDescription.h" 15 | #import 16 | 17 | @implementation UIActionSheet (RACSignalSupport) 18 | 19 | static void RACUseDelegateProxy(UIActionSheet *self) { 20 | if (self.delegate == self.rac_delegateProxy) return; 21 | 22 | self.rac_delegateProxy.rac_proxiedDelegate = self.delegate; 23 | self.delegate = (id)self.rac_delegateProxy; 24 | } 25 | 26 | - (RACDelegateProxy *)rac_delegateProxy { 27 | RACDelegateProxy *proxy = objc_getAssociatedObject(self, _cmd); 28 | if (proxy == nil) { 29 | proxy = [[RACDelegateProxy alloc] initWithProtocol:@protocol(UIActionSheetDelegate)]; 30 | objc_setAssociatedObject(self, _cmd, proxy, OBJC_ASSOCIATION_RETAIN_NONATOMIC); 31 | } 32 | 33 | return proxy; 34 | } 35 | 36 | - (RACSignal *)rac_buttonClickedSignal { 37 | RACSignal *signal = [[[[self.rac_delegateProxy 38 | signalForSelector:@selector(actionSheet:clickedButtonAtIndex:)] 39 | reduceEach:^(UIActionSheet *actionSheet, NSNumber *buttonIndex) { 40 | return buttonIndex; 41 | }] 42 | takeUntil:self.rac_willDeallocSignal] 43 | setNameWithFormat:@"%@ -rac_buttonClickedSignal", [self rac_description]]; 44 | 45 | RACUseDelegateProxy(self); 46 | 47 | return signal; 48 | } 49 | 50 | @end 51 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/UIAlertView+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIAlertView+RACSignalSupport.h 3 | // ReactiveCocoa 4 | // 5 | // Created by Henrik Hodne on 6/16/13. 6 | // Copyright (c) 2013 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class RACDelegateProxy; 12 | @class RACSignal; 13 | 14 | @interface UIAlertView (RACSignalSupport) 15 | 16 | /// A delegate proxy which will be set as the receiver's delegate when any of the 17 | /// methods in this category are used. 18 | @property (nonatomic, strong, readonly) RACDelegateProxy *rac_delegateProxy; 19 | 20 | /// Creates a signal for button clicks on the receiver. 21 | /// 22 | /// When this method is invoked, the `rac_delegateProxy` will become the 23 | /// receiver's delegate. Any previous delegate will become the -[RACDelegateProxy 24 | /// rac_proxiedDelegate], so that it receives any messages that the proxy doesn't 25 | /// know how to handle. Setting the receiver's `delegate` afterward is considered 26 | /// undefined behavior. 27 | /// 28 | /// Returns a signal which will send the index of the specific button clicked. 29 | /// The signal will complete itself when the receiver is deallocated. 30 | - (RACSignal *)rac_buttonClickedSignal; 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/UIAlertView+RACSignalSupport.m: -------------------------------------------------------------------------------- 1 | // 2 | // UIAlertView+RACSignalSupport.m 3 | // ReactiveCocoa 4 | // 5 | // Created by Henrik Hodne on 6/16/13. 6 | // Copyright (c) 2013 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import "UIAlertView+RACSignalSupport.h" 10 | #import "RACDelegateProxy.h" 11 | #import "RACSignal+Operations.h" 12 | #import "NSObject+RACDeallocating.h" 13 | #import "NSObject+RACDescription.h" 14 | #import "RACTuple.h" 15 | #import 16 | 17 | @implementation UIAlertView (RACSignalSupport) 18 | 19 | static void RACUseDelegateProxy(UIAlertView *self) { 20 | if (self.delegate == self.rac_delegateProxy) return; 21 | 22 | self.rac_delegateProxy.rac_proxiedDelegate = self.delegate; 23 | self.delegate = (id)self.rac_delegateProxy; 24 | } 25 | 26 | - (RACDelegateProxy *)rac_delegateProxy { 27 | RACDelegateProxy *proxy = objc_getAssociatedObject(self, _cmd); 28 | if (proxy == nil) { 29 | proxy = [[RACDelegateProxy alloc] initWithProtocol:@protocol(UIAlertViewDelegate)]; 30 | objc_setAssociatedObject(self, _cmd, proxy, OBJC_ASSOCIATION_RETAIN_NONATOMIC); 31 | } 32 | 33 | return proxy; 34 | } 35 | 36 | - (RACSignal *)rac_buttonClickedSignal { 37 | RACSignal *signal = [[[[self.rac_delegateProxy 38 | signalForSelector:@selector(alertView:clickedButtonAtIndex:)] 39 | reduceEach:^(UIAlertView *alertView, NSNumber *buttonIndex) { 40 | return buttonIndex; 41 | }] 42 | takeUntil:self.rac_willDeallocSignal] 43 | setNameWithFormat:@"%@ -rac_buttonClickedSignal", [self rac_description]]; 44 | 45 | RACUseDelegateProxy(self); 46 | 47 | return signal; 48 | } 49 | 50 | @end 51 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/UIBarButtonItem+RACCommandSupport.m: -------------------------------------------------------------------------------- 1 | // 2 | // UIBarButtonItem+RACCommandSupport.m 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 "UIBarButtonItem+RACCommandSupport.h" 10 | #import "RACEXTKeyPathCoding.h" 11 | #import "NSObject+RACPropertySubscribing.h" 12 | #import "RACCommand.h" 13 | #import "RACDisposable.h" 14 | #import "RACSignal+Operations.h" 15 | #import 16 | 17 | static void *UIControlRACCommandKey = &UIControlRACCommandKey; 18 | static void *UIControlEnabledDisposableKey = &UIControlEnabledDisposableKey; 19 | 20 | @implementation UIBarButtonItem (RACCommandSupport) 21 | 22 | - (RACCommand *)rac_command { 23 | return objc_getAssociatedObject(self, UIControlRACCommandKey); 24 | } 25 | 26 | - (void)setRac_command:(RACCommand *)command { 27 | objc_setAssociatedObject(self, UIControlRACCommandKey, command, OBJC_ASSOCIATION_RETAIN_NONATOMIC); 28 | 29 | // Check for stored signal in order to remove it and add a new one 30 | RACDisposable *disposable = objc_getAssociatedObject(self, UIControlEnabledDisposableKey); 31 | [disposable dispose]; 32 | 33 | if (command == nil) return; 34 | 35 | disposable = [command.enabled setKeyPath:@keypath(self.enabled) onObject:self]; 36 | objc_setAssociatedObject(self, UIControlEnabledDisposableKey, disposable, OBJC_ASSOCIATION_RETAIN_NONATOMIC); 37 | 38 | [self rac_hijackActionAndTargetIfNeeded]; 39 | } 40 | 41 | - (void)rac_hijackActionAndTargetIfNeeded { 42 | SEL hijackSelector = @selector(rac_commandPerformAction:); 43 | if (self.target == self && self.action == hijackSelector) return; 44 | 45 | if (self.target != nil) NSLog(@"WARNING: UIBarButtonItem.rac_command hijacks the control's existing target and action."); 46 | 47 | self.target = self; 48 | self.action = hijackSelector; 49 | } 50 | 51 | - (void)rac_commandPerformAction:(id)sender { 52 | [self.rac_command execute:sender]; 53 | } 54 | 55 | @end 56 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/UIButton+RACCommandSupport.m: -------------------------------------------------------------------------------- 1 | // 2 | // UIButton+RACCommandSupport.m 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 "UIButton+RACCommandSupport.h" 10 | #import "RACEXTKeyPathCoding.h" 11 | #import "NSObject+RACPropertySubscribing.h" 12 | #import "RACCommand.h" 13 | #import "RACDisposable.h" 14 | #import "RACSignal+Operations.h" 15 | #import 16 | 17 | static void *UIButtonRACCommandKey = &UIButtonRACCommandKey; 18 | static void *UIButtonEnabledDisposableKey = &UIButtonEnabledDisposableKey; 19 | 20 | @implementation UIButton (RACCommandSupport) 21 | 22 | - (RACCommand *)rac_command { 23 | return objc_getAssociatedObject(self, UIButtonRACCommandKey); 24 | } 25 | 26 | - (void)setRac_command:(RACCommand *)command { 27 | objc_setAssociatedObject(self, UIButtonRACCommandKey, command, OBJC_ASSOCIATION_RETAIN_NONATOMIC); 28 | 29 | // Check for stored signal in order to remove it and add a new one 30 | RACDisposable *disposable = objc_getAssociatedObject(self, UIButtonEnabledDisposableKey); 31 | [disposable dispose]; 32 | 33 | if (command == nil) return; 34 | 35 | disposable = [command.enabled setKeyPath:@keypath(self.enabled) onObject:self]; 36 | objc_setAssociatedObject(self, UIButtonEnabledDisposableKey, disposable, OBJC_ASSOCIATION_RETAIN_NONATOMIC); 37 | 38 | [self rac_hijackActionAndTargetIfNeeded]; 39 | } 40 | 41 | - (void)rac_hijackActionAndTargetIfNeeded { 42 | SEL hijackSelector = @selector(rac_commandPerformAction:); 43 | 44 | for (NSString *selector in [self actionsForTarget:self forControlEvent:UIControlEventTouchUpInside]) { 45 | if (hijackSelector == NSSelectorFromString(selector)) { 46 | return; 47 | } 48 | } 49 | 50 | [self addTarget:self action:hijackSelector forControlEvents:UIControlEventTouchUpInside]; 51 | } 52 | 53 | - (void)rac_commandPerformAction:(id)sender { 54 | [self.rac_command execute:sender]; 55 | } 56 | 57 | @end 58 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/UIControl+RACSignalSupport.m: -------------------------------------------------------------------------------- 1 | // 2 | // UIControl+RACSignalSupport.m 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 "UIControl+RACSignalSupport.h" 10 | #import "RACEXTScope.h" 11 | #import "RACCompoundDisposable.h" 12 | #import "RACDisposable.h" 13 | #import "RACSignal.h" 14 | #import "RACSignal+Operations.h" 15 | #import "RACSubscriber+Private.h" 16 | #import "NSObject+RACDeallocating.h" 17 | #import "NSObject+RACDescription.h" 18 | 19 | @implementation UIControl (RACSignalSupport) 20 | 21 | - (RACSignal *)rac_signalForControlEvents:(UIControlEvents)controlEvents { 22 | @weakify(self); 23 | 24 | return [[RACSignal 25 | createSignal:^(id subscriber) { 26 | @strongify(self); 27 | 28 | [self addTarget:subscriber action:@selector(sendNext:) forControlEvents:controlEvents]; 29 | [self.rac_deallocDisposable addDisposable:[RACDisposable disposableWithBlock:^{ 30 | [subscriber sendCompleted]; 31 | }]]; 32 | 33 | return [RACDisposable disposableWithBlock:^{ 34 | @strongify(self); 35 | [self removeTarget:subscriber action:@selector(sendNext:) forControlEvents:controlEvents]; 36 | }]; 37 | }] 38 | setNameWithFormat:@"%@ -rac_signalForControlEvents: %lx", [self rac_description], (unsigned long)controlEvents]; 39 | } 40 | 41 | @end 42 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/UIControl+RACSignalSupportPrivate.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIControl+RACSignalSupportPrivate.h 3 | // ReactiveCocoa 4 | // 5 | // Created by Uri Baghin on 06/08/2013. 6 | // Copyright (c) 2013 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class RACChannelTerminal; 12 | 13 | @interface UIControl (RACSignalSupportPrivate) 14 | 15 | // Adds a RACChannel-based interface to the receiver for the given 16 | // UIControlEvents and exposes it. 17 | // 18 | // controlEvents - A mask of UIControlEvents on which to send new values. 19 | // key - The key whose value should be read and set when a control 20 | // event fires and when a value is sent to the 21 | // RACChannelTerminal respectively. 22 | // nilValue - The value to be assigned to the key when `nil` is sent to the 23 | // RACChannelTerminal. 24 | // 25 | // Returns a RACChannelTerminal which will send future values from the receiver, 26 | // and update the receiver when values are sent to the terminal. 27 | - (RACChannelTerminal *)rac_channelForControlEvents:(UIControlEvents)controlEvents key:(NSString *)key nilValue:(id)nilValue; 28 | 29 | @end 30 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/UIControl+RACSignalSupportPrivate.m: -------------------------------------------------------------------------------- 1 | // 2 | // UIControl+RACSignalSupportPrivate.m 3 | // ReactiveCocoa 4 | // 5 | // Created by Uri Baghin on 06/08/2013. 6 | // Copyright (c) 2013 GitHub, Inc. All rights reserved. 7 | // 8 | 9 | #import "UIControl+RACSignalSupportPrivate.h" 10 | #import "RACEXTScope.h" 11 | #import "NSInvocation+RACTypeParsing.h" 12 | #import "NSObject+RACDeallocating.h" 13 | #import "NSObject+RACLifting.h" 14 | #import "RACChannel.h" 15 | #import "RACCompoundDisposable.h" 16 | #import "RACDisposable.h" 17 | #import "RACSignal+Operations.h" 18 | #import "UIControl+RACSignalSupport.h" 19 | 20 | @implementation UIControl (RACSignalSupportPrivate) 21 | 22 | - (RACChannelTerminal *)rac_channelForControlEvents:(UIControlEvents)controlEvents key:(NSString *)key nilValue:(id)nilValue { 23 | NSCParameterAssert(key.length > 0); 24 | key = [key copy]; 25 | RACChannel *channel = [[RACChannel alloc] init]; 26 | 27 | [self.rac_deallocDisposable addDisposable:[RACDisposable disposableWithBlock:^{ 28 | [channel.followingTerminal sendCompleted]; 29 | }]]; 30 | 31 | RACSignal *eventSignal = [[[self 32 | rac_signalForControlEvents:controlEvents] 33 | mapReplace:key] 34 | takeUntil:[[channel.followingTerminal 35 | ignoreValues] 36 | catchTo:RACSignal.empty]]; 37 | [[self 38 | rac_liftSelector:@selector(valueForKey:) withSignals:eventSignal, nil] 39 | subscribe:channel.followingTerminal]; 40 | 41 | RACSignal *valuesSignal = [channel.followingTerminal 42 | map:^(id value) { 43 | return value ?: nilValue; 44 | }]; 45 | [self rac_liftSelector:@selector(setValue:forKey:) withSignals:valuesSignal, [RACSignal return:key], nil]; 46 | 47 | return channel.leadingTerminal; 48 | } 49 | 50 | @end 51 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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+RACSignalSupport.h" 12 | #import "UIControl+RACSignalSupportPrivate.h" 13 | 14 | @implementation UIDatePicker (RACSignalSupport) 15 | 16 | - (RACChannelTerminal *)rac_newDateChannelWithNilValue:(NSDate *)nilValue { 17 | return [self rac_channelForControlEvents:UIControlEventValueChanged key:@keypath(self.date) nilValue:nilValue]; 18 | } 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/UIGestureRecognizer+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIGestureRecognizer+RACSignalSupport.h 3 | // Talks 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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/UIGestureRecognizer+RACSignalSupport.m: -------------------------------------------------------------------------------- 1 | // 2 | // UIGestureRecognizer+RACSignalSupport.m 3 | // Talks 4 | // 5 | // Created by Josh Vera on 5/5/13. 6 | // Copyright (c) 2013 GitHub. All rights reserved. 7 | // 8 | 9 | #import "UIGestureRecognizer+RACSignalSupport.h" 10 | #import "RACEXTScope.h" 11 | #import "NSObject+RACDeallocating.h" 12 | #import "RACCompoundDisposable.h" 13 | #import "RACDisposable.h" 14 | #import "RACSignal.h" 15 | #import "RACSubscriber.h" 16 | #import "NSObject+RACDescription.h" 17 | 18 | @implementation UIGestureRecognizer (RACSignalSupport) 19 | 20 | - (RACSignal *)rac_gestureSignal { 21 | @weakify(self); 22 | 23 | return [[RACSignal 24 | createSignal:^(id subscriber) { 25 | @strongify(self); 26 | 27 | [self addTarget:subscriber action:@selector(sendNext:)]; 28 | [self.rac_deallocDisposable addDisposable:[RACDisposable disposableWithBlock:^{ 29 | [subscriber sendCompleted]; 30 | }]]; 31 | 32 | return [RACDisposable disposableWithBlock:^{ 33 | @strongify(self); 34 | [self removeTarget:subscriber action:@selector(sendNext:)]; 35 | }]; 36 | }] 37 | setNameWithFormat:@"%@ -rac_gestureSignal", [self rac_description]]; 38 | } 39 | 40 | @end 41 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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+RACSignalSupport.h" 12 | #import "UIControl+RACSignalSupportPrivate.h" 13 | 14 | @implementation UISegmentedControl (RACSignalSupport) 15 | 16 | - (RACChannelTerminal *)rac_newSelectedSegmentIndexChannelWithNilValue:(NSNumber *)nilValue { 17 | return [self rac_channelForControlEvents:UIControlEventValueChanged key:@keypath(self.selectedSegmentIndex) nilValue:nilValue]; 18 | } 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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+RACSignalSupport.h" 12 | #import "UIControl+RACSignalSupportPrivate.h" 13 | 14 | @implementation UISlider (RACSignalSupport) 15 | 16 | - (RACChannelTerminal *)rac_newValueChannelWithNilValue:(NSNumber *)nilValue { 17 | return [self rac_channelForControlEvents:UIControlEventValueChanged key:@keypath(self.value) nilValue:nilValue]; 18 | } 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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+RACSignalSupport.h" 12 | #import "UIControl+RACSignalSupportPrivate.h" 13 | 14 | @implementation UIStepper (RACSignalSupport) 15 | 16 | - (RACChannelTerminal *)rac_newValueChannelWithNilValue:(NSNumber *)nilValue { 17 | return [self rac_channelForControlEvents:UIControlEventValueChanged key:@keypath(self.value) nilValue:nilValue]; 18 | } 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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+RACSignalSupport.h" 12 | #import "UIControl+RACSignalSupportPrivate.h" 13 | 14 | @implementation UISwitch (RACSignalSupport) 15 | 16 | - (RACChannelTerminal *)rac_newOnChannel { 17 | return [self rac_channelForControlEvents:UIControlEventValueChanged key:@keypath(self.on) nilValue:@NO]; 18 | } 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/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 RACSignal, RACChannelTerminal; 12 | 13 | @interface UITextField (RACSignalSupport) 14 | 15 | /// Creates and returns a signal for the text of the field. It always starts with 16 | /// the current text. The signal sends next when the UIControlEventEditingChanged 17 | /// or UIControlEventEditingDidBegin control event is fired on the control. 18 | - (RACSignal *)rac_textSignal; 19 | 20 | /// Creates a new RACChannel-based binding to the receiver. 21 | /// 22 | /// Returns a RACChannelTerminal that sends the receiver's text whenever the 23 | /// UIControlEventEditingChanged or UIControlEventEditingDidBegin control event 24 | /// is fired, and sets the text to the values it receives. 25 | - (RACChannelTerminal *)rac_newTextChannel; 26 | 27 | @end 28 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/UITextField+RACSignalSupport.m: -------------------------------------------------------------------------------- 1 | // 2 | // UITextField+RACSignalSupport.m 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 "UITextField+RACSignalSupport.h" 10 | #import "RACEXTKeyPathCoding.h" 11 | #import "RACEXTScope.h" 12 | #import "NSObject+RACDeallocating.h" 13 | #import "NSObject+RACDescription.h" 14 | #import "RACSignal+Operations.h" 15 | #import "UIControl+RACSignalSupport.h" 16 | #import "UIControl+RACSignalSupportPrivate.h" 17 | 18 | @implementation UITextField (RACSignalSupport) 19 | 20 | - (RACSignal *)rac_textSignal { 21 | @weakify(self); 22 | return [[[[[RACSignal 23 | defer:^{ 24 | @strongify(self); 25 | return [RACSignal return:self]; 26 | }] 27 | concat:[self rac_signalForControlEvents:UIControlEventEditingChanged | UIControlEventEditingDidBegin]] 28 | map:^(UITextField *x) { 29 | return x.text; 30 | }] 31 | takeUntil:self.rac_willDeallocSignal] 32 | setNameWithFormat:@"%@ -rac_textSignal", [self rac_description]]; 33 | } 34 | 35 | - (RACChannelTerminal *)rac_newTextChannel { 36 | return [self rac_channelForControlEvents:UIControlEventEditingChanged | UIControlEventEditingDidBegin key:@keypath(self.text) nilValue:@""]; 37 | } 38 | 39 | @end 40 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/UITextView+RACSignalSupport.h: -------------------------------------------------------------------------------- 1 | // 2 | // UITextView+RACSignalSupport.h 3 | // ReactiveCocoa 4 | // 5 | // Created by Cody Krieger on 5/18/12. 6 | // Copyright (c) 2012 Cody Krieger. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class RACDelegateProxy; 12 | @class RACSignal; 13 | 14 | @interface UITextView (RACSignalSupport) 15 | 16 | /// A delegate proxy which will be set as the receiver's delegate when any of the 17 | /// methods in this category are used. 18 | @property (nonatomic, strong, readonly) RACDelegateProxy *rac_delegateProxy; 19 | 20 | /// Creates a signal for the text of the receiver. 21 | /// 22 | /// When this method is invoked, the `rac_delegateProxy` will become the 23 | /// receiver's delegate. Any previous delegate will become the -[RACDelegateProxy 24 | /// rac_proxiedDelegate], so that it receives any messages that the proxy doesn't 25 | /// know how to handle. Setting the receiver's `delegate` afterward is 26 | /// considered undefined behavior. 27 | /// 28 | /// Returns a signal which will send the current text upon subscription, then 29 | /// again whenever the receiver's text is changed. The signal will complete when 30 | /// the receiver is deallocated. 31 | - (RACSignal *)rac_textSignal; 32 | 33 | @end 34 | 35 | @interface UITextView (RACSignalSupportUnavailable) 36 | 37 | - (RACSignal *)rac_signalForDelegateMethod:(SEL)method __attribute__((unavailable("Use -rac_signalForSelector:fromProtocol: instead"))); 38 | 39 | @end 40 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/ReactiveCocoa/ReactiveCocoaFramework/ReactiveCocoa/UITextView+RACSignalSupport.m: -------------------------------------------------------------------------------- 1 | // 2 | // UITextView+RACSignalSupport.m 3 | // ReactiveCocoa 4 | // 5 | // Created by Cody Krieger on 5/18/12. 6 | // Copyright (c) 2012 Cody Krieger. All rights reserved. 7 | // 8 | 9 | #import "UITextView+RACSignalSupport.h" 10 | #import "RACEXTScope.h" 11 | #import "NSObject+RACDeallocating.h" 12 | #import "RACDelegateProxy.h" 13 | #import "RACSignal+Operations.h" 14 | #import "RACTuple.h" 15 | #import "NSObject+RACDescription.h" 16 | #import 17 | 18 | @implementation UITextView (RACSignalSupport) 19 | 20 | static void RACUseDelegateProxy(UITextView *self) { 21 | if (self.delegate == self.rac_delegateProxy) return; 22 | 23 | self.rac_delegateProxy.rac_proxiedDelegate = self.delegate; 24 | self.delegate = (id)self.rac_delegateProxy; 25 | } 26 | 27 | - (RACDelegateProxy *)rac_delegateProxy { 28 | RACDelegateProxy *proxy = objc_getAssociatedObject(self, _cmd); 29 | if (proxy == nil) { 30 | proxy = [[RACDelegateProxy alloc] initWithProtocol:@protocol(UITextViewDelegate)]; 31 | objc_setAssociatedObject(self, _cmd, proxy, OBJC_ASSOCIATION_RETAIN_NONATOMIC); 32 | } 33 | 34 | return proxy; 35 | } 36 | 37 | - (RACSignal *)rac_textSignal { 38 | @weakify(self); 39 | RACSignal *signal = [[[[[RACSignal 40 | defer:^{ 41 | @strongify(self); 42 | return [RACSignal return:RACTuplePack(self)]; 43 | }] 44 | concat:[self.rac_delegateProxy signalForSelector:@selector(textViewDidChange:)]] 45 | reduceEach:^(UITextView *x) { 46 | return x.text; 47 | }] 48 | takeUntil:self.rac_willDeallocSignal] 49 | setNameWithFormat:@"%@ -rac_textSignal", [self rac_description]]; 50 | 51 | RACUseDelegateProxy(self); 52 | 53 | return signal; 54 | } 55 | 56 | @end 57 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Target Support Files/FMDB/FMDB-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_FMDB : NSObject 3 | @end 4 | @implementation PodsDummy_FMDB 5 | @end 6 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Target Support Files/FMDB/FMDB-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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Target Support Files/FMDB/FMDB.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/FMDB 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/FMDB" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/FMDB" 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}/FMDB 8 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 9 | SKIP_INSTALL = YES 10 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Target Support Files/Pods-Qi_ObjcMsgHook/Pods-Qi_ObjcMsgHook-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_Qi_ObjcMsgHook : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_Qi_ObjcMsgHook 5 | @end 6 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Target Support Files/Pods-Qi_ObjcMsgHook/Pods-Qi_ObjcMsgHook.debug.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/FMDB" "${PODS_ROOT}/Headers/Public/ReactiveCocoa" 3 | LIBRARY_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/FMDB" "${PODS_CONFIGURATION_BUILD_DIR}/ReactiveCocoa" 4 | OTHER_LDFLAGS = $(inherited) -ObjC -l"FMDB" -l"ReactiveCocoa" -l"sqlite3" 5 | PODS_BUILD_DIR = ${BUILD_DIR} 6 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 8 | PODS_ROOT = ${SRCROOT}/Pods 9 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Target Support Files/Pods-Qi_ObjcMsgHook/Pods-Qi_ObjcMsgHook.release.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/FMDB" "${PODS_ROOT}/Headers/Public/ReactiveCocoa" 3 | LIBRARY_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/FMDB" "${PODS_CONFIGURATION_BUILD_DIR}/ReactiveCocoa" 4 | OTHER_LDFLAGS = $(inherited) -ObjC -l"FMDB" -l"ReactiveCocoa" -l"sqlite3" 5 | PODS_BUILD_DIR = ${BUILD_DIR} 6 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 8 | PODS_ROOT = ${SRCROOT}/Pods 9 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Pods/Target Support Files/ReactiveCocoa/ReactiveCocoa-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_ReactiveCocoa : NSObject 3 | @end 4 | @implementation PodsDummy_ReactiveCocoa 5 | @end 6 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/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 = $(inherited) "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/ReactiveCocoa" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/ReactiveCocoa" 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 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Qi_ObjcMsgHook.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Qi_ObjcMsgHook.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Qi_ObjcMsgHook.xcodeproj/project.xcworkspace/xcuserdata/liusiqi.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/QiShare/Qi_ObjcMsgHook/e0bb14aa0ce50021db19128122862f7ee1f24741/Qi_ObjcMsgHook/Qi_ObjcMsgHook.xcodeproj/project.xcworkspace/xcuserdata/liusiqi.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Qi_ObjcMsgHook.xcodeproj/xcuserdata/liusiqi.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | Qi_ObjcMsgHook.xcscheme_^#shared#^_ 8 | 9 | orderHint 10 | 3 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Qi_ObjcMsgHook.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Qi_ObjcMsgHook.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Qi_ObjcMsgHook.xcworkspace/xcuserdata/liusiqi.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/QiShare/Qi_ObjcMsgHook/e0bb14aa0ce50021db19128122862f7ee1f24741/Qi_ObjcMsgHook/Qi_ObjcMsgHook.xcworkspace/xcuserdata/liusiqi.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Qi_ObjcMsgHook.xcworkspace/xcuserdata/liusiqi.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Qi_ObjcMsgHook/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.h 3 | // Qi_ObjcMsgHook 4 | // 5 | // Created by liusiqi on 2019/11/20. 6 | // Copyright © 2019 QiShare. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface AppDelegate : UIResponder 12 | 13 | 14 | @end 15 | 16 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Qi_ObjcMsgHook/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Qi_ObjcMsgHook/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Qi_ObjcMsgHook/QiLagMonitor/QiCPUMonitor.h: -------------------------------------------------------------------------------- 1 | // 2 | // QiCPUMonitor.h 3 | // Qi_ObjcMsgHook 4 | // 5 | // Created by liusiqi on 2019/11/20. 6 | // Copyright © 2019 QiShare. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | NS_ASSUME_NONNULL_BEGIN 12 | 13 | @interface QiCPUMonitor : NSObject 14 | 15 | + (void)updateCPU; 16 | 17 | @end 18 | 19 | NS_ASSUME_NONNULL_END 20 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Qi_ObjcMsgHook/QiLagMonitor/QiCallLib.h: -------------------------------------------------------------------------------- 1 | // 2 | // QiCallLib.h 3 | // Qi_ObjcMsgHook 4 | // 5 | // Created by liusiqi on 2019/11/20. 6 | // Copyright © 2019 QiShare. All rights reserved. 7 | // 8 | 9 | #import 10 | #include 11 | #include 12 | #include 13 | #include 14 | #include 15 | #include 16 | 17 | #include 18 | #include 19 | #include 20 | #include 21 | #include 22 | 23 | #include 24 | #include 25 | #include 26 | #include 27 | #include 28 | #include 29 | #include 30 | #include 31 | #include 32 | #include 33 | #include 34 | #include 35 | 36 | // __LP64__ __arm64__ 这样的宏定义是在编译器里定义的。https://github.com/llvm-mirror/clang/blob/0e261f7c4df17c1432f9cc031ae12e3cf5a19347/lib/Frontend/InitPreprocessor.cpp 37 | 38 | #ifdef __LP64__ 39 | typedef struct mach_header_64 machHeaderByCPU; 40 | typedef struct segment_command_64 segmentComandByCPU; 41 | typedef struct section_64 sectionByCPU; 42 | typedef struct nlist_64 nlistByCPU; 43 | #define LC_SEGMENT_ARCH_DEPENDENT LC_SEGMENT_64 44 | 45 | #else 46 | typedef struct mach_header machHeaderByCPU; 47 | typedef struct segment_command segmentComandByCPU; 48 | typedef struct section sectionByCPU; 49 | typedef struct nlist nlistByCPU; 50 | #define LC_SEGMENT_ARCH_DEPENDENT LC_SEGMENT 51 | #endif 52 | 53 | #ifndef SEG_DATA_CONST 54 | #define SEG_DATA_CONST "__DATA_CONST" 55 | #endif 56 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Qi_ObjcMsgHook/QiLagMonitor/QiCallStack.h: -------------------------------------------------------------------------------- 1 | // 2 | // QiCallStack.h 3 | // Qi_ObjcMsgHook 4 | // 5 | // Created by liusiqi on 2019/11/20. 6 | // Copyright © 2019 QiShare. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "QiCallLib.h" 11 | 12 | NS_ASSUME_NONNULL_BEGIN 13 | 14 | typedef NS_ENUM(NSUInteger, QiCallStackType) { 15 | QiCallStackTypeAll, //全部线程 16 | QiCallStackTypeMain, //主线程 17 | QiCallStackTypeCurrent //当前线程 18 | }; 19 | 20 | 21 | @interface QiCallStack : NSObject 22 | 23 | + (NSString *)callStackWithType:(QiCallStackType)type; 24 | 25 | extern NSString *qiStackOfThread(thread_t thread); 26 | 27 | @end 28 | 29 | NS_ASSUME_NONNULL_END 30 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Qi_ObjcMsgHook/QiLagMonitor/QiCallStackModel.h: -------------------------------------------------------------------------------- 1 | // 2 | // QiCallStackModel.h 3 | // Qi_ObjcMsgHook 4 | // 5 | // Created by liusiqi on 2019/11/20. 6 | // Copyright © 2019 QiShare. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | NS_ASSUME_NONNULL_BEGIN 12 | 13 | @interface QiCallStackModel : NSObject 14 | 15 | @property (nonatomic, copy) NSString *stackStr; //完整堆栈信息 16 | @property (nonatomic) BOOL isStuck; //是否被卡住 17 | @property (nonatomic, assign) NSTimeInterval dateString; //可展示信息 18 | 19 | @end 20 | 21 | NS_ASSUME_NONNULL_END 22 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Qi_ObjcMsgHook/QiLagMonitor/QiCallStackModel.m: -------------------------------------------------------------------------------- 1 | // 2 | // QiCallStackModel.m 3 | // Qi_ObjcMsgHook 4 | // 5 | // Created by liusiqi on 2019/11/20. 6 | // Copyright © 2019 QiShare. All rights reserved. 7 | // 8 | 9 | #import "QiCallStackModel.h" 10 | 11 | @implementation QiCallStackModel 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Qi_ObjcMsgHook/QiLagMonitor/QiCallTrace.h: -------------------------------------------------------------------------------- 1 | // 2 | // QiCallTrace.h 3 | // Qi_ObjcMsgHook 4 | // 5 | // Created by liusiqi on 2019/11/20. 6 | // Copyright © 2019 QiShare. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "QiCallTraceCore.h" 11 | 12 | NS_ASSUME_NONNULL_BEGIN 13 | 14 | @interface QiCallTrace : NSObject 15 | 16 | + (void)start; //开始记录 17 | + (void)startWithMaxDepth:(int)depth; 18 | + (void)startWithMinCost:(double)ms; 19 | + (void)startWithMaxDepth:(int)depth minCost:(double)ms; 20 | + (void)stop; //停止记录 21 | + (void)save; //保存和打印记录,如果不是短时间 stop 的话使用 saveAndClean 22 | + (void)stopSaveAndClean; //停止保存打印并进行内存清理 23 | 24 | @end 25 | 26 | NS_ASSUME_NONNULL_END 27 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Qi_ObjcMsgHook/QiLagMonitor/QiCallTraceCore.h: -------------------------------------------------------------------------------- 1 | // 2 | // QiCallTraceCore.h 3 | // Qi_ObjcMsgHook 4 | // 5 | // Created by liusiqi on 2019/11/20. 6 | // Copyright © 2019 QiShare. All rights reserved. 7 | // 8 | 9 | #ifndef QiCallTraceCore_h 10 | #define QiCallTraceCore_h 11 | 12 | #include 13 | #include 14 | 15 | typedef struct { 16 | __unsafe_unretained Class cls; 17 | SEL sel; 18 | uint64_t time; // us (1/1000 ms) 19 | int depth; 20 | } qiCallRecord; 21 | 22 | extern void qiCallTraceStart(void); 23 | extern void qiCallTraceStop(void); 24 | 25 | extern void qiCallConfigMinTime(uint64_t us); //default 1000 26 | extern void qiCallConfigMaxDepth(int depth); //default 3 27 | 28 | extern qiCallRecord *qiGetCallRecords(int *num); 29 | extern void qiClearCallRecords(void); 30 | 31 | #endif /* QiCallTraceCore_h */ 32 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Qi_ObjcMsgHook/QiLagMonitor/QiCallTraceTimeCostModel.h: -------------------------------------------------------------------------------- 1 | // 2 | // QiCallTraceTimeCostModel.h 3 | // Qi_ObjcMsgHook 4 | // 5 | // Created by liusiqi on 2019/11/20. 6 | // Copyright © 2019 QiShare. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | NS_ASSUME_NONNULL_BEGIN 12 | 13 | @interface QiCallTraceTimeCostModel : NSObject 14 | 15 | @property (nonatomic, strong) NSString *className; //类名 16 | @property (nonatomic, strong) NSString *methodName; //方法名 17 | @property (nonatomic, assign) BOOL isClassMethod; //是否是类方法 18 | @property (nonatomic, assign) NSTimeInterval timeCost; //时间消耗 19 | @property (nonatomic, assign) NSUInteger callDepth; //Call 层级 20 | @property (nonatomic, copy) NSString *path; //路径 21 | @property (nonatomic, assign) BOOL lastCall; //是否是最后一个 Call 22 | @property (nonatomic, assign) NSUInteger frequency; //访问频次 23 | @property (nonatomic, strong) NSArray *subCosts; 24 | 25 | - (NSString *)des; 26 | 27 | @end 28 | 29 | NS_ASSUME_NONNULL_END 30 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Qi_ObjcMsgHook/QiLagMonitor/QiCallTraceTimeCostModel.m: -------------------------------------------------------------------------------- 1 | // 2 | // QiCallTraceTimeCostModel.m 3 | // Qi_ObjcMsgHook 4 | // 5 | // Created by liusiqi on 2019/11/20. 6 | // Copyright © 2019 QiShare. All rights reserved. 7 | // 8 | 9 | #import "QiCallTraceTimeCostModel.h" 10 | 11 | @implementation QiCallTraceTimeCostModel 12 | 13 | - (NSString *)des { 14 | NSMutableString *str = [NSMutableString new]; 15 | [str appendFormat:@"%2d| ",(int)_callDepth]; 16 | [str appendFormat:@"%6.2f|",_timeCost * 1000.0]; 17 | for (NSUInteger i = 0; i < _callDepth; i++) { 18 | [str appendString:@" "]; 19 | } 20 | [str appendFormat:@"%s[%@ %@]", (_isClassMethod ? "+" : "-"), _className, _methodName]; 21 | return str; 22 | } 23 | 24 | @end 25 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Qi_ObjcMsgHook/QiLagMonitor/QiLagDB.h: -------------------------------------------------------------------------------- 1 | // 2 | // QiLagDB.h 3 | // Qi_ObjcMsgHook 4 | // 5 | // Created by liusiqi on 2019/11/20. 6 | // Copyright © 2019 QiShare. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | #import 12 | #import 13 | #import "QiCallTraceTimeCostModel.h" 14 | #import "QiCallStackModel.h" 15 | 16 | NS_ASSUME_NONNULL_BEGIN 17 | 18 | #define PATH_OF_APP_HOME NSHomeDirectory() 19 | #define PATH_OF_TEMP NSTemporaryDirectory() 20 | #define PATH_OF_DOCUMENT [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) objectAtIndex:0] 21 | 22 | #define CPUMONITORRATE 80 23 | #define STUCKMONITORRATE 88 24 | 25 | @interface QiLagDB : NSObject 26 | 27 | + (QiLagDB *)shareInstance; 28 | /*------------卡顿和CPU超标堆栈---------------*/ 29 | - (RACSignal *)increaseWithStackModel:(QiCallStackModel *)model; 30 | - (RACSignal *)selectStackWithPage:(NSUInteger)page; 31 | - (void)clearStackData; 32 | /*------------ClsCall方法调用频次-------------*/ 33 | //添加记录s 34 | - (void)addWithClsCallModel:(QiCallTraceTimeCostModel *)model; 35 | //分页查询 36 | - (RACSignal *)selectClsCallWithPage:(NSUInteger)page; 37 | //清除数据 38 | - (void)clearClsCallData; 39 | 40 | @end 41 | 42 | NS_ASSUME_NONNULL_END 43 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Qi_ObjcMsgHook/QiLagMonitor/QiLagMonitor.h: -------------------------------------------------------------------------------- 1 | // 2 | // QiLagMonitor.h 3 | // Qi_ObjcMsgHook 4 | // 5 | // Created by liusiqi on 2019/11/20. 6 | // Copyright © 2019 QiShare. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | NS_ASSUME_NONNULL_BEGIN 12 | 13 | @interface QiLagMonitor : NSObject 14 | 15 | + (instancetype)shareInstance; 16 | 17 | @property (nonatomic) BOOL isMonitoring; 18 | 19 | - (void)beginMonitor; //开始监视卡顿 20 | - (void)endMonitor; //停止监视卡顿 21 | 22 | @end 23 | 24 | NS_ASSUME_NONNULL_END 25 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Qi_ObjcMsgHook/QiRootViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // QiRootViewController.h 3 | // Qi_ObjcMsgHook 4 | // 5 | // Created by liusiqi on 2019/11/20. 6 | // Copyright © 2019 QiShare. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | NS_ASSUME_NONNULL_BEGIN 12 | 13 | @interface QiRootViewController : UIViewController 14 | 15 | @end 16 | 17 | NS_ASSUME_NONNULL_END 18 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Qi_ObjcMsgHook/QiRootViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // QiRootViewController.m 3 | // Qi_ObjcMsgHook 4 | // 5 | // Created by liusiqi on 2019/11/20. 6 | // Copyright © 2019 QiShare. All rights reserved. 7 | // 8 | 9 | #import "QiRootViewController.h" 10 | 11 | @interface QiRootViewController () 12 | 13 | @end 14 | 15 | @implementation QiRootViewController 16 | 17 | - (void)viewDidLoad { 18 | [super viewDidLoad]; 19 | 20 | self.view.backgroundColor = UIColor.whiteColor; 21 | 22 | } 23 | 24 | /* 25 | #pragma mark - Navigation 26 | 27 | // In a storyboard-based application, you will often want to do a little preparation before navigation 28 | - (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender { 29 | // Get the new view controller using [segue destinationViewController]. 30 | // Pass the selected object to the new view controller. 31 | } 32 | */ 33 | 34 | @end 35 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Qi_ObjcMsgHook/SceneDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // SceneDelegate.h 3 | // Qi_ObjcMsgHook 4 | // 5 | // Created by liusiqi on 2019/11/20. 6 | // Copyright © 2019 QiShare. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface SceneDelegate : UIResponder 12 | 13 | @property (strong, nonatomic) UIWindow * window; 14 | 15 | @end 16 | 17 | -------------------------------------------------------------------------------- /Qi_ObjcMsgHook/Qi_ObjcMsgHook/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // Qi_ObjcMsgHook 4 | // 5 | // Created by liusiqi on 2019/11/20. 6 | // Copyright © 2019 QiShare. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "AppDelegate.h" 11 | 12 | int main(int argc, char * argv[]) { 13 | NSString * appDelegateClassName; 14 | @autoreleasepool { 15 | // Setup code that might create autoreleased objects goes here. 16 | appDelegateClassName = NSStringFromClass([AppDelegate class]); 17 | } 18 | return UIApplicationMain(argc, argv, nil, appDelegateClassName); 19 | } 20 | --------------------------------------------------------------------------------