adding adNetwork SDKs for AdWhirl and AdMob
This commit is contained in:
BIN
Binary file not shown.
+5
@@ -0,0 +1,5 @@
|
||||
{
|
||||
MainTemplateFile = "class.m";
|
||||
CounterpartTemplateFile = "class.h";
|
||||
Description = "An Objective-C class file for AdWhirl development.";
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
/*
|
||||
|
||||
«FILENAME»
|
||||
|
||||
Copyright «YEAR» «ORGANIZATIONNAME»
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
|
||||
*/
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
«OPTIONALHEADERIMPORTLINE»
|
||||
|
||||
@interface «FILEBASENAMEASIDENTIFIER» : NSObject {
|
||||
|
||||
}
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
|
||||
«FILENAME»
|
||||
|
||||
Copyright «YEAR» «ORGANIZATIONNAME»
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
|
||||
*/
|
||||
|
||||
«OPTIONALHEADERIMPORTLINE»
|
||||
|
||||
@implementation «FILEBASENAMEASIDENTIFIER»
|
||||
|
||||
@end
|
||||
BIN
Binary file not shown.
+4
@@ -0,0 +1,4 @@
|
||||
{
|
||||
MainTemplateFile = "class.m";
|
||||
Description = "An Objective-C class containing an OCUnit test case, with an optional header which includes the \"GTMSenTestCase.h\" header.";
|
||||
}
|
||||
+42
@@ -0,0 +1,42 @@
|
||||
/*
|
||||
|
||||
«FILENAME»
|
||||
|
||||
Copyright «YEAR» «ORGANIZATIONNAME»
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
|
||||
*/
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import "GTMSenTestCase.h"
|
||||
«OPTIONALHEADERIMPORTLINE»
|
||||
|
||||
@interface «FILEBASENAMEASIDENTIFIER» : GTMTestCase {
|
||||
}
|
||||
@end
|
||||
|
||||
|
||||
@implementation «FILEBASENAMEASIDENTIFIER»
|
||||
|
||||
-(void)setUp {
|
||||
}
|
||||
|
||||
- (void)tearDown {
|
||||
}
|
||||
|
||||
- (void)testX {
|
||||
STAssertTrue((1+1)==2, @"Compiler isn't feeling well today :-(" );
|
||||
}
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,10 @@
|
||||
These are templates for new AdWhirl files. To use the test case template, link it like so:
|
||||
|
||||
sudo ln -s "<your adwhirl directory>/iphone/FileTemplates/AdWhirlTestCaseClass.pbfiletemplate" \
|
||||
"/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/File Templates/Cocoa Touch Class/"
|
||||
|
||||
Once you link it, you will see "AdWhirlTestCaseClass" in the New File dialog in Coca Touch Class. Make sure the test class file name ends with "Test.m"
|
||||
|
||||
Link Adwhirl class the same way for an empty class template with the standard Apache license.
|
||||
|
||||
If you are seeing __MyCompanyName__ in the generated file, make sure to set the company field for your personal card in Address Book.
|
||||
Reference in New Issue
Block a user