This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// CCSpriteHole.m | |
// RunArena | |
// | |
// Created by macbook on 05/08/11. | |
// | |
// Redistribution and use in source and binary forms, with or without modification, are permitted provided that the | |
// following conditions are met: | |
// | |
// Redistributions of source code must retain the above copyright notice, this list of conditions and the following |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <Foundation/Foundation.h> | |
#import "cocos2d.h" | |
@interface TGScoreLabel : CCLabelTTF { | |
double curScore_; // the current score value of the label | |
BOOL updating_; // if we currently have an update running | |
double interval_; // how long we wait between updates | |
int score; // the target score | |
NSString * formatString; // the string that we format |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (void)fillProfile | |
{ | |
RevMobAds *revmob = [RevMobAds session]; | |
[[FBRequest requestForGraphPath:@"me?fields=id,gender,age_range,birthday"] startWithCompletionHandler:^(FBRequestConnection *connection, id result, NSError *error) { | |
if (error == nil) { | |
NSString *gender = [result objectForKey:@"gender"]; | |
if (gender != nil) | |
revmob.userGender = [gender isEqualToString:@"male"] ? RevMobUserGenderMale : RevMobUserGenderFemale; | |
NSNumber *minAge = [[result objectForKey:@"age_range"] objectForKey:@"min"]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nic 1 | |
prompt TARGET "BulletinBoard Provider Display Identifier" "com.apple.mobilesafari" | |
dir BulletinBoard | |
dir layout | |
dir layout/Library | |
dir layout/Library/WeeLoader | |
dir layout/Library/WeeLoader/BulletinBoardPlugins | |
dir layout/Library/WeeLoader/BulletinBoardPlugins/@@PROJECTNAME@@.bundle | |
file 366 BulletinBoard/BulletinBoard.h | |
#import <Foundation/Foundation.h> |
NewerOlder