└── Mitchell - NSInvocation
├── README.md
├── Mitchell - NSInvocation.xcodeproj
├── project.xcworkspace
│ ├── contents.xcworkspacedata
│ ├── xcuserdata
│ │ └── mengchen.xcuserdatad
│ │ │ └── UserInterfaceState.xcuserstate
│ └── xcshareddata
│ │ └── Mitchell - NSInvocation.xccheckout
├── xcuserdata
│ └── mengchen.xcuserdatad
│ │ └── xcschemes
│ │ ├── xcschememanagement.plist
│ │ └── Mitchell - NSInvocation.xcscheme
└── project.pbxproj
├── Mitchell - NSInvocation
├── ViewController.h
├── AppDelegate.h
├── NSObject+performSelector.h
├── main.m
├── ViewController.m
├── Images.xcassets
│ └── AppIcon.appiconset
│ │ └── Contents.json
├── Info.plist
├── Base.lproj
│ ├── Main.storyboard
│ └── LaunchScreen.xib
├── AppDelegate.m
└── NSObject+performSelector.m
└── Mitchell - NSInvocationTests
├── Info.plist
└── Mitchell___NSInvocationTests.m
/Mitchell - NSInvocation/README.md:
--------------------------------------------------------------------------------
1 | # iOS---MIthcell-NSInvocation
2 |
--------------------------------------------------------------------------------
/Mitchell - NSInvocation/Mitchell - NSInvocation.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Mitchell - NSInvocation/Mitchell - NSInvocation.xcodeproj/project.xcworkspace/xcuserdata/mengchen.xcuserdatad/UserInterfaceState.xcuserstate:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mitchell-dream/iOS---MIthcell-NSInvocation/HEAD/Mitchell - NSInvocation/Mitchell - NSInvocation.xcodeproj/project.xcworkspace/xcuserdata/mengchen.xcuserdatad/UserInterfaceState.xcuserstate
--------------------------------------------------------------------------------
/Mitchell - NSInvocation/Mitchell - NSInvocation/ViewController.h:
--------------------------------------------------------------------------------
1 | //
2 | // ViewController.h
3 | // Mitchell - NSInvocation
4 | //
5 | // Created by MENGCHEN on 15/9/10.
6 | // Copyright (c) 2015年 Mcking. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface ViewController : UIViewController
12 |
13 |
14 | @end
15 |
16 |
--------------------------------------------------------------------------------
/Mitchell - NSInvocation/Mitchell - NSInvocation/AppDelegate.h:
--------------------------------------------------------------------------------
1 | //
2 | // AppDelegate.h
3 | // Mitchell - NSInvocation
4 | //
5 | // Created by MENGCHEN on 15/9/10.
6 | // Copyright (c) 2015年 Mcking. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface AppDelegate : UIResponder
12 |
13 | @property (strong, nonatomic) UIWindow *window;
14 |
15 |
16 | @end
17 |
18 |
--------------------------------------------------------------------------------
/Mitchell - NSInvocation/Mitchell - NSInvocation/NSObject+performSelector.h:
--------------------------------------------------------------------------------
1 | //
2 | // NSObject+performSelector.h
3 | // NSInvocation
4 | //
5 | // Created by MENGCHEN on 15/9/10.
6 | // Copyright (c) 2015年 Mcking. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface NSObject (performSelector)
12 |
13 |
14 | - (id)performSelector:(SEL)aSelector withObjects:(NSArray*)objects;
15 | @end
16 |
--------------------------------------------------------------------------------
/Mitchell - NSInvocation/Mitchell - NSInvocation/main.m:
--------------------------------------------------------------------------------
1 | //
2 | // main.m
3 | // Mitchell - NSInvocation
4 | //
5 | // Created by MENGCHEN on 15/9/10.
6 | // Copyright (c) 2015年 Mcking. All rights reserved.
7 | //
8 |
9 | #import
10 | #import "AppDelegate.h"
11 |
12 | int main(int argc, char * argv[]) {
13 | @autoreleasepool {
14 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/Mitchell - NSInvocation/Mitchell - NSInvocation/ViewController.m:
--------------------------------------------------------------------------------
1 | //
2 | // ViewController.m
3 | // Mitchell - NSInvocation
4 | //
5 | // Created by MENGCHEN on 15/9/10.
6 | // Copyright (c) 2015年 Mcking. All rights reserved.
7 | //
8 |
9 | #import "ViewController.h"
10 | #import "NSObject+performSelector.h"
11 | @interface ViewController ()
12 |
13 | @end
14 |
15 | @implementation ViewController
16 |
17 | - (void)viewDidLoad {
18 | [super viewDidLoad];
19 |
20 | [self performSelector:@selector(call:) withObjects:@[@"aaa"]];
21 |
22 | }
23 |
24 |
25 |
26 | -(void)call:(NSString*)str{
27 | NSLog(@"%@",str);
28 |
29 | }
30 | @end
31 |
--------------------------------------------------------------------------------
/Mitchell - NSInvocation/Mitchell - NSInvocation.xcodeproj/xcuserdata/mengchen.xcuserdatad/xcschemes/xcschememanagement.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SchemeUserState
6 |
7 | Mitchell - NSInvocation.xcscheme
8 |
9 | orderHint
10 | 0
11 |
12 |
13 | SuppressBuildableAutocreation
14 |
15 | FC0E0C051BA1B34E0089D3D0
16 |
17 | primary
18 |
19 |
20 | FC0E0C1E1BA1B34E0089D3D0
21 |
22 | primary
23 |
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/Mitchell - NSInvocation/Mitchell - NSInvocation/Images.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "iphone",
5 | "size" : "29x29",
6 | "scale" : "2x"
7 | },
8 | {
9 | "idiom" : "iphone",
10 | "size" : "29x29",
11 | "scale" : "3x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "40x40",
16 | "scale" : "2x"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "size" : "40x40",
21 | "scale" : "3x"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "size" : "60x60",
26 | "scale" : "2x"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "size" : "60x60",
31 | "scale" : "3x"
32 | }
33 | ],
34 | "info" : {
35 | "version" : 1,
36 | "author" : "xcode"
37 | }
38 | }
--------------------------------------------------------------------------------
/Mitchell - NSInvocation/Mitchell - NSInvocationTests/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | Mcking.$(PRODUCT_NAME:rfc1034identifier)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | BNDL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 |
24 |
25 |
--------------------------------------------------------------------------------
/Mitchell - NSInvocation/Mitchell - NSInvocationTests/Mitchell___NSInvocationTests.m:
--------------------------------------------------------------------------------
1 | //
2 | // Mitchell___NSInvocationTests.m
3 | // Mitchell - NSInvocationTests
4 | //
5 | // Created by MENGCHEN on 15/9/10.
6 | // Copyright (c) 2015年 Mcking. All rights reserved.
7 | //
8 |
9 | #import
10 | #import
11 |
12 | @interface Mitchell___NSInvocationTests : XCTestCase
13 |
14 | @end
15 |
16 | @implementation Mitchell___NSInvocationTests
17 |
18 | - (void)setUp {
19 | [super setUp];
20 | // Put setup code here. This method is called before the invocation of each test method in the class.
21 | }
22 |
23 | - (void)tearDown {
24 | // Put teardown code here. This method is called after the invocation of each test method in the class.
25 | [super tearDown];
26 | }
27 |
28 | - (void)testExample {
29 | // This is an example of a functional test case.
30 | XCTAssert(YES, @"Pass");
31 | }
32 |
33 | - (void)testPerformanceExample {
34 | // This is an example of a performance test case.
35 | [self measureBlock:^{
36 | // Put the code you want to measure the time of here.
37 | }];
38 | }
39 |
40 | @end
41 |
--------------------------------------------------------------------------------
/Mitchell - NSInvocation/Mitchell - NSInvocation/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | Mcking.$(PRODUCT_NAME:rfc1034identifier)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIMainStoryboardFile
28 | Main
29 | UIRequiredDeviceCapabilities
30 |
31 | armv7
32 |
33 | UISupportedInterfaceOrientations
34 |
35 | UIInterfaceOrientationPortrait
36 | UIInterfaceOrientationLandscapeLeft
37 | UIInterfaceOrientationLandscapeRight
38 |
39 |
40 |
41 |
--------------------------------------------------------------------------------
/Mitchell - NSInvocation/Mitchell - NSInvocation/Base.lproj/Main.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 |
--------------------------------------------------------------------------------
/Mitchell - NSInvocation/Mitchell - NSInvocation.xcodeproj/project.xcworkspace/xcshareddata/Mitchell - NSInvocation.xccheckout:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDESourceControlProjectFavoriteDictionaryKey
6 |
7 | IDESourceControlProjectIdentifier
8 | 6B150D2E-46C9-4D90-8ED4-AA065A636F0D
9 | IDESourceControlProjectName
10 | Mitchell - NSInvocation
11 | IDESourceControlProjectOriginsDictionary
12 |
13 | AEC35ACC533216FDD54260E68A8A000410066971
14 | https://github.com/mcmengchen/iOS---MIthcell-NSInvocation.git
15 |
16 | IDESourceControlProjectPath
17 | Mitchell - NSInvocation/Mitchell - NSInvocation.xcodeproj
18 | IDESourceControlProjectRelativeInstallPathDictionary
19 |
20 | AEC35ACC533216FDD54260E68A8A000410066971
21 | ../../..
22 |
23 | IDESourceControlProjectURL
24 | https://github.com/mcmengchen/iOS---MIthcell-NSInvocation.git
25 | IDESourceControlProjectVersion
26 | 111
27 | IDESourceControlProjectWCCIdentifier
28 | AEC35ACC533216FDD54260E68A8A000410066971
29 | IDESourceControlProjectWCConfigurations
30 |
31 |
32 | IDESourceControlRepositoryExtensionIdentifierKey
33 | public.vcs.git
34 | IDESourceControlWCCIdentifierKey
35 | AEC35ACC533216FDD54260E68A8A000410066971
36 | IDESourceControlWCCName
37 | %E8%87%AA%E5%B7%B1github%E7%9A%84%E5%BA%93
38 |
39 |
40 |
41 |
42 |
--------------------------------------------------------------------------------
/Mitchell - NSInvocation/Mitchell - NSInvocation/AppDelegate.m:
--------------------------------------------------------------------------------
1 | //
2 | // AppDelegate.m
3 | // Mitchell - NSInvocation
4 | //
5 | // Created by MENGCHEN on 15/9/10.
6 | // Copyright (c) 2015年 Mcking. All rights reserved.
7 | //
8 |
9 | #import "AppDelegate.h"
10 |
11 | @interface AppDelegate ()
12 |
13 | @end
14 |
15 | @implementation AppDelegate
16 |
17 |
18 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
19 | // Override point for customization after application launch.
20 | return YES;
21 | }
22 |
23 | - (void)applicationWillResignActive:(UIApplication *)application {
24 | // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
25 | // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game.
26 | }
27 |
28 | - (void)applicationDidEnterBackground:(UIApplication *)application {
29 | // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
30 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
31 | }
32 |
33 | - (void)applicationWillEnterForeground:(UIApplication *)application {
34 | // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.
35 | }
36 |
37 | - (void)applicationDidBecomeActive:(UIApplication *)application {
38 | // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
39 | }
40 |
41 | - (void)applicationWillTerminate:(UIApplication *)application {
42 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
43 | }
44 |
45 | @end
46 |
--------------------------------------------------------------------------------
/Mitchell - NSInvocation/Mitchell - NSInvocation/NSObject+performSelector.m:
--------------------------------------------------------------------------------
1 | //
2 | // NSObject+performSelector.m
3 | // NSInvocation
4 | //
5 | // Created by MENGCHEN on 15/9/10.
6 | // Copyright (c) 2015年 Mcking. All rights reserved.
7 | //
8 |
9 | #import "NSObject+performSelector.h"
10 |
11 | @implementation NSObject (performSelector)
12 | - (id)performSelector:(SEL)aSelector withObjects:(NSArray*)objects{
13 | //1、创建签名对象
14 | NSMethodSignature*signature = [[self class] instanceMethodSignatureForSelector:aSelector];
15 |
16 |
17 | //2、判断传入的方法是否存在
18 | if (signature==nil) {
19 | //传入的方法不存在 就抛异常
20 | NSString*info = [NSString stringWithFormat:@"-[%@ %@]:unrecognized selector sent to instance",[self class],NSStringFromSelector(aSelector)];
21 | @throw [[NSException alloc] initWithName:@"方法没有" reason:info userInfo:nil];
22 | return nil;
23 | }
24 |
25 |
26 | //3、、创建NSInvocation对象
27 | NSInvocation*invocation = [NSInvocation invocationWithMethodSignature:signature];
28 | //4、保存方法所属的对象
29 | invocation.target = self;
30 | invocation.selector = aSelector;
31 |
32 |
33 | //5、设置参数
34 | /*
35 | 当前如果直接遍历参数数组来设置参数
36 | 如果参数数组元素多余参数个数,那么就会报错
37 | */
38 | NSInteger arguments =signature.numberOfArguments-2;
39 | /*
40 | 如果直接遍历参数的个数,会存在问题
41 | 如果参数的个数大于了参数值的个数,那么数组会越界
42 | */
43 | /*
44 | 谁少就遍历谁
45 | */
46 | NSUInteger objectsCount = objects.count;
47 | NSInteger count = MIN(arguments, objectsCount);
48 | for (int i = 0; i
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
20 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
--------------------------------------------------------------------------------
/Mitchell - NSInvocation/Mitchell - NSInvocation.xcodeproj/xcuserdata/mengchen.xcuserdatad/xcschemes/Mitchell - NSInvocation.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
29 |
35 |
36 |
37 |
38 |
39 |
44 |
45 |
47 |
53 |
54 |
55 |
56 |
57 |
63 |
64 |
65 |
66 |
75 |
77 |
83 |
84 |
85 |
86 |
87 |
88 |
94 |
96 |
102 |
103 |
104 |
105 |
107 |
108 |
111 |
112 |
113 |
--------------------------------------------------------------------------------
/Mitchell - NSInvocation/Mitchell - NSInvocation.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 46;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | FC0E0C0C1BA1B34E0089D3D0 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = FC0E0C0B1BA1B34E0089D3D0 /* main.m */; };
11 | FC0E0C0F1BA1B34E0089D3D0 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = FC0E0C0E1BA1B34E0089D3D0 /* AppDelegate.m */; };
12 | FC0E0C121BA1B34E0089D3D0 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = FC0E0C111BA1B34E0089D3D0 /* ViewController.m */; };
13 | FC0E0C151BA1B34E0089D3D0 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = FC0E0C131BA1B34E0089D3D0 /* Main.storyboard */; };
14 | FC0E0C171BA1B34E0089D3D0 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = FC0E0C161BA1B34E0089D3D0 /* Images.xcassets */; };
15 | FC0E0C1A1BA1B34E0089D3D0 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = FC0E0C181BA1B34E0089D3D0 /* LaunchScreen.xib */; };
16 | FC0E0C261BA1B34E0089D3D0 /* Mitchell___NSInvocationTests.m in Sources */ = {isa = PBXBuildFile; fileRef = FC0E0C251BA1B34E0089D3D0 /* Mitchell___NSInvocationTests.m */; };
17 | FC0E0C311BA1B3570089D3D0 /* NSObject+performSelector.m in Sources */ = {isa = PBXBuildFile; fileRef = FC0E0C301BA1B3570089D3D0 /* NSObject+performSelector.m */; };
18 | /* End PBXBuildFile section */
19 |
20 | /* Begin PBXContainerItemProxy section */
21 | FC0E0C201BA1B34E0089D3D0 /* PBXContainerItemProxy */ = {
22 | isa = PBXContainerItemProxy;
23 | containerPortal = FC0E0BFE1BA1B34E0089D3D0 /* Project object */;
24 | proxyType = 1;
25 | remoteGlobalIDString = FC0E0C051BA1B34E0089D3D0;
26 | remoteInfo = "Mitchell - NSInvocation";
27 | };
28 | /* End PBXContainerItemProxy section */
29 |
30 | /* Begin PBXFileReference section */
31 | FC0E0C061BA1B34E0089D3D0 /* Mitchell - NSInvocation.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Mitchell - NSInvocation.app"; sourceTree = BUILT_PRODUCTS_DIR; };
32 | FC0E0C0A1BA1B34E0089D3D0 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
33 | FC0E0C0B1BA1B34E0089D3D0 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; };
34 | FC0E0C0D1BA1B34E0089D3D0 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; };
35 | FC0E0C0E1BA1B34E0089D3D0 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; };
36 | FC0E0C101BA1B34E0089D3D0 /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = ""; };
37 | FC0E0C111BA1B34E0089D3D0 /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = ""; };
38 | FC0E0C141BA1B34E0089D3D0 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
39 | FC0E0C161BA1B34E0089D3D0 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; };
40 | FC0E0C191BA1B34E0089D3D0 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; };
41 | FC0E0C1F1BA1B34E0089D3D0 /* Mitchell - NSInvocationTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "Mitchell - NSInvocationTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
42 | FC0E0C241BA1B34E0089D3D0 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
43 | FC0E0C251BA1B34E0089D3D0 /* Mitchell___NSInvocationTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = "Mitchell___NSInvocationTests.m"; sourceTree = ""; };
44 | FC0E0C2F1BA1B3570089D3D0 /* NSObject+performSelector.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSObject+performSelector.h"; sourceTree = ""; };
45 | FC0E0C301BA1B3570089D3D0 /* NSObject+performSelector.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSObject+performSelector.m"; sourceTree = ""; };
46 | /* End PBXFileReference section */
47 |
48 | /* Begin PBXFrameworksBuildPhase section */
49 | FC0E0C031BA1B34E0089D3D0 /* Frameworks */ = {
50 | isa = PBXFrameworksBuildPhase;
51 | buildActionMask = 2147483647;
52 | files = (
53 | );
54 | runOnlyForDeploymentPostprocessing = 0;
55 | };
56 | FC0E0C1C1BA1B34E0089D3D0 /* Frameworks */ = {
57 | isa = PBXFrameworksBuildPhase;
58 | buildActionMask = 2147483647;
59 | files = (
60 | );
61 | runOnlyForDeploymentPostprocessing = 0;
62 | };
63 | /* End PBXFrameworksBuildPhase section */
64 |
65 | /* Begin PBXGroup section */
66 | FC0E0BFD1BA1B34E0089D3D0 = {
67 | isa = PBXGroup;
68 | children = (
69 | FC0E0C081BA1B34E0089D3D0 /* Mitchell - NSInvocation */,
70 | FC0E0C221BA1B34E0089D3D0 /* Mitchell - NSInvocationTests */,
71 | FC0E0C071BA1B34E0089D3D0 /* Products */,
72 | );
73 | sourceTree = "";
74 | };
75 | FC0E0C071BA1B34E0089D3D0 /* Products */ = {
76 | isa = PBXGroup;
77 | children = (
78 | FC0E0C061BA1B34E0089D3D0 /* Mitchell - NSInvocation.app */,
79 | FC0E0C1F1BA1B34E0089D3D0 /* Mitchell - NSInvocationTests.xctest */,
80 | );
81 | name = Products;
82 | sourceTree = "";
83 | };
84 | FC0E0C081BA1B34E0089D3D0 /* Mitchell - NSInvocation */ = {
85 | isa = PBXGroup;
86 | children = (
87 | FC0E0C0D1BA1B34E0089D3D0 /* AppDelegate.h */,
88 | FC0E0C0E1BA1B34E0089D3D0 /* AppDelegate.m */,
89 | FC0E0C101BA1B34E0089D3D0 /* ViewController.h */,
90 | FC0E0C111BA1B34E0089D3D0 /* ViewController.m */,
91 | FC0E0C2F1BA1B3570089D3D0 /* NSObject+performSelector.h */,
92 | FC0E0C301BA1B3570089D3D0 /* NSObject+performSelector.m */,
93 | FC0E0C131BA1B34E0089D3D0 /* Main.storyboard */,
94 | FC0E0C161BA1B34E0089D3D0 /* Images.xcassets */,
95 | FC0E0C181BA1B34E0089D3D0 /* LaunchScreen.xib */,
96 | FC0E0C091BA1B34E0089D3D0 /* Supporting Files */,
97 | );
98 | path = "Mitchell - NSInvocation";
99 | sourceTree = "";
100 | };
101 | FC0E0C091BA1B34E0089D3D0 /* Supporting Files */ = {
102 | isa = PBXGroup;
103 | children = (
104 | FC0E0C0A1BA1B34E0089D3D0 /* Info.plist */,
105 | FC0E0C0B1BA1B34E0089D3D0 /* main.m */,
106 | );
107 | name = "Supporting Files";
108 | sourceTree = "";
109 | };
110 | FC0E0C221BA1B34E0089D3D0 /* Mitchell - NSInvocationTests */ = {
111 | isa = PBXGroup;
112 | children = (
113 | FC0E0C251BA1B34E0089D3D0 /* Mitchell___NSInvocationTests.m */,
114 | FC0E0C231BA1B34E0089D3D0 /* Supporting Files */,
115 | );
116 | path = "Mitchell - NSInvocationTests";
117 | sourceTree = "";
118 | };
119 | FC0E0C231BA1B34E0089D3D0 /* Supporting Files */ = {
120 | isa = PBXGroup;
121 | children = (
122 | FC0E0C241BA1B34E0089D3D0 /* Info.plist */,
123 | );
124 | name = "Supporting Files";
125 | sourceTree = "";
126 | };
127 | /* End PBXGroup section */
128 |
129 | /* Begin PBXNativeTarget section */
130 | FC0E0C051BA1B34E0089D3D0 /* Mitchell - NSInvocation */ = {
131 | isa = PBXNativeTarget;
132 | buildConfigurationList = FC0E0C291BA1B34E0089D3D0 /* Build configuration list for PBXNativeTarget "Mitchell - NSInvocation" */;
133 | buildPhases = (
134 | FC0E0C021BA1B34E0089D3D0 /* Sources */,
135 | FC0E0C031BA1B34E0089D3D0 /* Frameworks */,
136 | FC0E0C041BA1B34E0089D3D0 /* Resources */,
137 | );
138 | buildRules = (
139 | );
140 | dependencies = (
141 | );
142 | name = "Mitchell - NSInvocation";
143 | productName = "Mitchell - NSInvocation";
144 | productReference = FC0E0C061BA1B34E0089D3D0 /* Mitchell - NSInvocation.app */;
145 | productType = "com.apple.product-type.application";
146 | };
147 | FC0E0C1E1BA1B34E0089D3D0 /* Mitchell - NSInvocationTests */ = {
148 | isa = PBXNativeTarget;
149 | buildConfigurationList = FC0E0C2C1BA1B34E0089D3D0 /* Build configuration list for PBXNativeTarget "Mitchell - NSInvocationTests" */;
150 | buildPhases = (
151 | FC0E0C1B1BA1B34E0089D3D0 /* Sources */,
152 | FC0E0C1C1BA1B34E0089D3D0 /* Frameworks */,
153 | FC0E0C1D1BA1B34E0089D3D0 /* Resources */,
154 | );
155 | buildRules = (
156 | );
157 | dependencies = (
158 | FC0E0C211BA1B34E0089D3D0 /* PBXTargetDependency */,
159 | );
160 | name = "Mitchell - NSInvocationTests";
161 | productName = "Mitchell - NSInvocationTests";
162 | productReference = FC0E0C1F1BA1B34E0089D3D0 /* Mitchell - NSInvocationTests.xctest */;
163 | productType = "com.apple.product-type.bundle.unit-test";
164 | };
165 | /* End PBXNativeTarget section */
166 |
167 | /* Begin PBXProject section */
168 | FC0E0BFE1BA1B34E0089D3D0 /* Project object */ = {
169 | isa = PBXProject;
170 | attributes = {
171 | LastUpgradeCheck = 0630;
172 | ORGANIZATIONNAME = Mcking;
173 | TargetAttributes = {
174 | FC0E0C051BA1B34E0089D3D0 = {
175 | CreatedOnToolsVersion = 6.3.2;
176 | };
177 | FC0E0C1E1BA1B34E0089D3D0 = {
178 | CreatedOnToolsVersion = 6.3.2;
179 | TestTargetID = FC0E0C051BA1B34E0089D3D0;
180 | };
181 | };
182 | };
183 | buildConfigurationList = FC0E0C011BA1B34E0089D3D0 /* Build configuration list for PBXProject "Mitchell - NSInvocation" */;
184 | compatibilityVersion = "Xcode 3.2";
185 | developmentRegion = English;
186 | hasScannedForEncodings = 0;
187 | knownRegions = (
188 | en,
189 | Base,
190 | );
191 | mainGroup = FC0E0BFD1BA1B34E0089D3D0;
192 | productRefGroup = FC0E0C071BA1B34E0089D3D0 /* Products */;
193 | projectDirPath = "";
194 | projectRoot = "";
195 | targets = (
196 | FC0E0C051BA1B34E0089D3D0 /* Mitchell - NSInvocation */,
197 | FC0E0C1E1BA1B34E0089D3D0 /* Mitchell - NSInvocationTests */,
198 | );
199 | };
200 | /* End PBXProject section */
201 |
202 | /* Begin PBXResourcesBuildPhase section */
203 | FC0E0C041BA1B34E0089D3D0 /* Resources */ = {
204 | isa = PBXResourcesBuildPhase;
205 | buildActionMask = 2147483647;
206 | files = (
207 | FC0E0C151BA1B34E0089D3D0 /* Main.storyboard in Resources */,
208 | FC0E0C1A1BA1B34E0089D3D0 /* LaunchScreen.xib in Resources */,
209 | FC0E0C171BA1B34E0089D3D0 /* Images.xcassets in Resources */,
210 | );
211 | runOnlyForDeploymentPostprocessing = 0;
212 | };
213 | FC0E0C1D1BA1B34E0089D3D0 /* Resources */ = {
214 | isa = PBXResourcesBuildPhase;
215 | buildActionMask = 2147483647;
216 | files = (
217 | );
218 | runOnlyForDeploymentPostprocessing = 0;
219 | };
220 | /* End PBXResourcesBuildPhase section */
221 |
222 | /* Begin PBXSourcesBuildPhase section */
223 | FC0E0C021BA1B34E0089D3D0 /* Sources */ = {
224 | isa = PBXSourcesBuildPhase;
225 | buildActionMask = 2147483647;
226 | files = (
227 | FC0E0C311BA1B3570089D3D0 /* NSObject+performSelector.m in Sources */,
228 | FC0E0C121BA1B34E0089D3D0 /* ViewController.m in Sources */,
229 | FC0E0C0F1BA1B34E0089D3D0 /* AppDelegate.m in Sources */,
230 | FC0E0C0C1BA1B34E0089D3D0 /* main.m in Sources */,
231 | );
232 | runOnlyForDeploymentPostprocessing = 0;
233 | };
234 | FC0E0C1B1BA1B34E0089D3D0 /* Sources */ = {
235 | isa = PBXSourcesBuildPhase;
236 | buildActionMask = 2147483647;
237 | files = (
238 | FC0E0C261BA1B34E0089D3D0 /* Mitchell___NSInvocationTests.m in Sources */,
239 | );
240 | runOnlyForDeploymentPostprocessing = 0;
241 | };
242 | /* End PBXSourcesBuildPhase section */
243 |
244 | /* Begin PBXTargetDependency section */
245 | FC0E0C211BA1B34E0089D3D0 /* PBXTargetDependency */ = {
246 | isa = PBXTargetDependency;
247 | target = FC0E0C051BA1B34E0089D3D0 /* Mitchell - NSInvocation */;
248 | targetProxy = FC0E0C201BA1B34E0089D3D0 /* PBXContainerItemProxy */;
249 | };
250 | /* End PBXTargetDependency section */
251 |
252 | /* Begin PBXVariantGroup section */
253 | FC0E0C131BA1B34E0089D3D0 /* Main.storyboard */ = {
254 | isa = PBXVariantGroup;
255 | children = (
256 | FC0E0C141BA1B34E0089D3D0 /* Base */,
257 | );
258 | name = Main.storyboard;
259 | sourceTree = "";
260 | };
261 | FC0E0C181BA1B34E0089D3D0 /* LaunchScreen.xib */ = {
262 | isa = PBXVariantGroup;
263 | children = (
264 | FC0E0C191BA1B34E0089D3D0 /* Base */,
265 | );
266 | name = LaunchScreen.xib;
267 | sourceTree = "";
268 | };
269 | /* End PBXVariantGroup section */
270 |
271 | /* Begin XCBuildConfiguration section */
272 | FC0E0C271BA1B34E0089D3D0 /* Debug */ = {
273 | isa = XCBuildConfiguration;
274 | buildSettings = {
275 | ALWAYS_SEARCH_USER_PATHS = NO;
276 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
277 | CLANG_CXX_LIBRARY = "libc++";
278 | CLANG_ENABLE_MODULES = YES;
279 | CLANG_ENABLE_OBJC_ARC = YES;
280 | CLANG_WARN_BOOL_CONVERSION = YES;
281 | CLANG_WARN_CONSTANT_CONVERSION = YES;
282 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
283 | CLANG_WARN_EMPTY_BODY = YES;
284 | CLANG_WARN_ENUM_CONVERSION = YES;
285 | CLANG_WARN_INT_CONVERSION = YES;
286 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
287 | CLANG_WARN_UNREACHABLE_CODE = YES;
288 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
289 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
290 | COPY_PHASE_STRIP = NO;
291 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
292 | ENABLE_STRICT_OBJC_MSGSEND = YES;
293 | GCC_C_LANGUAGE_STANDARD = gnu99;
294 | GCC_DYNAMIC_NO_PIC = NO;
295 | GCC_NO_COMMON_BLOCKS = YES;
296 | GCC_OPTIMIZATION_LEVEL = 0;
297 | GCC_PREPROCESSOR_DEFINITIONS = (
298 | "DEBUG=1",
299 | "$(inherited)",
300 | );
301 | GCC_SYMBOLS_PRIVATE_EXTERN = NO;
302 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
303 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
304 | GCC_WARN_UNDECLARED_SELECTOR = YES;
305 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
306 | GCC_WARN_UNUSED_FUNCTION = YES;
307 | GCC_WARN_UNUSED_VARIABLE = YES;
308 | IPHONEOS_DEPLOYMENT_TARGET = 8.3;
309 | MTL_ENABLE_DEBUG_INFO = YES;
310 | ONLY_ACTIVE_ARCH = YES;
311 | SDKROOT = iphoneos;
312 | };
313 | name = Debug;
314 | };
315 | FC0E0C281BA1B34E0089D3D0 /* Release */ = {
316 | isa = XCBuildConfiguration;
317 | buildSettings = {
318 | ALWAYS_SEARCH_USER_PATHS = NO;
319 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
320 | CLANG_CXX_LIBRARY = "libc++";
321 | CLANG_ENABLE_MODULES = YES;
322 | CLANG_ENABLE_OBJC_ARC = YES;
323 | CLANG_WARN_BOOL_CONVERSION = YES;
324 | CLANG_WARN_CONSTANT_CONVERSION = YES;
325 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
326 | CLANG_WARN_EMPTY_BODY = YES;
327 | CLANG_WARN_ENUM_CONVERSION = YES;
328 | CLANG_WARN_INT_CONVERSION = YES;
329 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
330 | CLANG_WARN_UNREACHABLE_CODE = YES;
331 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
332 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
333 | COPY_PHASE_STRIP = NO;
334 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
335 | ENABLE_NS_ASSERTIONS = NO;
336 | ENABLE_STRICT_OBJC_MSGSEND = YES;
337 | GCC_C_LANGUAGE_STANDARD = gnu99;
338 | GCC_NO_COMMON_BLOCKS = YES;
339 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
340 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
341 | GCC_WARN_UNDECLARED_SELECTOR = YES;
342 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
343 | GCC_WARN_UNUSED_FUNCTION = YES;
344 | GCC_WARN_UNUSED_VARIABLE = YES;
345 | IPHONEOS_DEPLOYMENT_TARGET = 8.3;
346 | MTL_ENABLE_DEBUG_INFO = NO;
347 | SDKROOT = iphoneos;
348 | VALIDATE_PRODUCT = YES;
349 | };
350 | name = Release;
351 | };
352 | FC0E0C2A1BA1B34E0089D3D0 /* Debug */ = {
353 | isa = XCBuildConfiguration;
354 | buildSettings = {
355 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
356 | INFOPLIST_FILE = "Mitchell - NSInvocation/Info.plist";
357 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
358 | PRODUCT_NAME = "$(TARGET_NAME)";
359 | };
360 | name = Debug;
361 | };
362 | FC0E0C2B1BA1B34E0089D3D0 /* Release */ = {
363 | isa = XCBuildConfiguration;
364 | buildSettings = {
365 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
366 | INFOPLIST_FILE = "Mitchell - NSInvocation/Info.plist";
367 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
368 | PRODUCT_NAME = "$(TARGET_NAME)";
369 | };
370 | name = Release;
371 | };
372 | FC0E0C2D1BA1B34E0089D3D0 /* Debug */ = {
373 | isa = XCBuildConfiguration;
374 | buildSettings = {
375 | BUNDLE_LOADER = "$(TEST_HOST)";
376 | FRAMEWORK_SEARCH_PATHS = (
377 | "$(SDKROOT)/Developer/Library/Frameworks",
378 | "$(inherited)",
379 | );
380 | GCC_PREPROCESSOR_DEFINITIONS = (
381 | "DEBUG=1",
382 | "$(inherited)",
383 | );
384 | INFOPLIST_FILE = "Mitchell - NSInvocationTests/Info.plist";
385 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
386 | PRODUCT_NAME = "$(TARGET_NAME)";
387 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Mitchell - NSInvocation.app/Mitchell - NSInvocation";
388 | };
389 | name = Debug;
390 | };
391 | FC0E0C2E1BA1B34E0089D3D0 /* Release */ = {
392 | isa = XCBuildConfiguration;
393 | buildSettings = {
394 | BUNDLE_LOADER = "$(TEST_HOST)";
395 | FRAMEWORK_SEARCH_PATHS = (
396 | "$(SDKROOT)/Developer/Library/Frameworks",
397 | "$(inherited)",
398 | );
399 | INFOPLIST_FILE = "Mitchell - NSInvocationTests/Info.plist";
400 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
401 | PRODUCT_NAME = "$(TARGET_NAME)";
402 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Mitchell - NSInvocation.app/Mitchell - NSInvocation";
403 | };
404 | name = Release;
405 | };
406 | /* End XCBuildConfiguration section */
407 |
408 | /* Begin XCConfigurationList section */
409 | FC0E0C011BA1B34E0089D3D0 /* Build configuration list for PBXProject "Mitchell - NSInvocation" */ = {
410 | isa = XCConfigurationList;
411 | buildConfigurations = (
412 | FC0E0C271BA1B34E0089D3D0 /* Debug */,
413 | FC0E0C281BA1B34E0089D3D0 /* Release */,
414 | );
415 | defaultConfigurationIsVisible = 0;
416 | defaultConfigurationName = Release;
417 | };
418 | FC0E0C291BA1B34E0089D3D0 /* Build configuration list for PBXNativeTarget "Mitchell - NSInvocation" */ = {
419 | isa = XCConfigurationList;
420 | buildConfigurations = (
421 | FC0E0C2A1BA1B34E0089D3D0 /* Debug */,
422 | FC0E0C2B1BA1B34E0089D3D0 /* Release */,
423 | );
424 | defaultConfigurationIsVisible = 0;
425 | };
426 | FC0E0C2C1BA1B34E0089D3D0 /* Build configuration list for PBXNativeTarget "Mitchell - NSInvocationTests" */ = {
427 | isa = XCConfigurationList;
428 | buildConfigurations = (
429 | FC0E0C2D1BA1B34E0089D3D0 /* Debug */,
430 | FC0E0C2E1BA1B34E0089D3D0 /* Release */,
431 | );
432 | defaultConfigurationIsVisible = 0;
433 | };
434 | /* End XCConfigurationList section */
435 | };
436 | rootObject = FC0E0BFE1BA1B34E0089D3D0 /* Project object */;
437 | }
438 |
--------------------------------------------------------------------------------