adding adNetwork SDKs for AdWhirl and AdMob

This commit is contained in:
techdragon.nguyen@gmail.com
2011-12-15 11:18:37 +00:00
parent dc7d52c48c
commit 9c10f47daa
160 changed files with 23482 additions and 0 deletions
@@ -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
@@ -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.";
}
@@ -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.