Skip to content
Snippets Groups Projects
Commit 129e2007 authored by cramakri's avatar cramakri
Browse files

Minor code cleanup in BisMac

SVN: 27108
parent 3281a650
No related branches found
No related tags found
No related merge requests found
......@@ -494,7 +494,7 @@
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.7;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = macosx;
SDKROOT = "";
};
name = Debug;
};
......@@ -510,7 +510,7 @@
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.7;
SDKROOT = macosx;
SDKROOT = "";
};
name = Release;
};
......@@ -518,7 +518,6 @@
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
ARCHS = "$(ARCHS_STANDARD_64_BIT)";
COMBINE_HIDPI_IMAGES = YES;
COPY_PHASE_STRIP = NO;
GCC_DYNAMIC_NO_PIC = NO;
......@@ -535,7 +534,6 @@
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
ARCHS = "$(ARCHS_STANDARD_64_BIT)";
COMBINE_HIDPI_IMAGES = YES;
COPY_PHASE_STRIP = YES;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
......
......@@ -43,34 +43,10 @@
return @"BisMacDocument";
}
- (void)testCall
{
CISDOBJsonRpcCall *generalInfoServiceCall = [[CISDOBJsonRpcCall alloc] init];
generalInfoServiceCall.url = [NSURL URLWithString: @"http://www.raboof.com/projects/jayrock/demo.ashx"];
generalInfoServiceCall.method = @"add";
generalInfoServiceCall.params = [NSArray arrayWithObjects: @"1", @"2", nil];
generalInfoServiceCall.timeoutInterval = 10.0;
SuccessBlock success = ^(id result) {
NSLog(@"Call returned result : %@", result);
};
FailBlock fail = ^(NSError *error) {
NSLog(@"Call failed : %@", error);
};
generalInfoServiceCall.success = success;
generalInfoServiceCall.fail = fail;
[generalInfoServiceCall start];
}
- (void)windowControllerDidLoadNib:(NSWindowController *)aController
{
[super windowControllerDidLoadNib:aController];
// Add any code here that needs to be executed once the windowController has loaded the document's window.
[self testCall];
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment