Need help finding condition to trigger a call in Xcode!

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • (When I say call I mean method) Sorry!

    Hey everyone, I've taken three or four classes in Java and C++ so I have a decent idea of what I'm doing. However, Objective-c is different.

    I've decided to use revmobs in my iOS apps and I got them to work fairly easily using the sdk except I need the ads to popup whenever layer 1 is visible. Right now they only popup when you load up the ad. Does anyone know how to do this? I just need to find the class where an if statement or something of the sort could be found so that when that condition is met I could execute the code to popup an ad. I know how to execute the code. I just don't know where to find the class nor the code where that condition would be met.

    My game uses the layers object and when layer 1 is visible It means you just died and restarted the game. This is the condition I need to find in Xcode!:O

  • I understand what you mean, i think it would be a great idea to have something like a dummy extension with different combinations of strings, numbers etc. Also for conditions if possible. And a quick tutorial on how to use it.
    What you could do is mess further with my messed version of the chartboost extension: Please login to see this link.!

    Download my modified chartboost .ext file here: Please login to see this link.
    Put it in the folder \Data\Runtime\iPhone

    Just use the "show interestitial" action on the chartboost object when you want to show ad (leave "" or whatever as string)

    In xcode implement revmob manually like you managed to do already

    now open classes/extensions/CRunChartBoost.m

    replace
    #import "Chartboost.h"
    with
    #import <RevMobAds/RevMobAds.h>

    on line 118 replace
    [[Chartboost sharedChartboost] showInterstitial:[act getParamExpString:rh withNum:0]];
    with
    [[RevMobAds session] showFullscreen];

    done ;)

    Please login to see this link. =)

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!