iOS Dummy Control extension

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.
  • Hi everybody.

    Many people do not want to touch C++ to make the PC version of their objective-C extension for iOS.
    So here is a iOS Dummy Control extension where you simply fill out the JSON and change the icon file.
    Remember to name all the files exactly the same and change the extension identifier in the JSON.

    Please login to see this link.
    You can resize it at edit-time where it will show the extension icon over a transparent grey background.
    It will always be on top to mimic a window control.

    I will try to write up a guide for non-clickers that work on iOS extensions soon.

    Please login to see this picture. Please login to see this link. - Please login to see this picture.

  • What's the correct way to code an extension Action?

    In my iOS extension I have the method:

    Code
    -(void)showAD:(CActExtension*)act
    {
    }


    But how to define it on .json?

    Code
    "ActionMenu": [
            [
                0,
                'ShowAd'
            ],


    Is that enought so the extension knows what is the correct call? How should I also add properties for this method?

    Thanks

  • You give each action/expression/condition a number and the method takes a number as a parameter, you have to execute the appropriate code for the right action number. You should use the method -(void)action:(int)num withActExtension:(CActExtension *)act, then test for the "num" parameter as the same number as your action, for example in your case you want to execute the showad functionality if num == 0. "act" holds the parameters in a CActExtension object, which you can retrieve with [act getParamExpression:rh withNum:0]; where 0 is the number of your parameter.

  • There is a JSON creation guide here:
    Please login to see this link.

    I also started writing a guide for creating extensions (mainly for non-clickers but anyone can use it):
    Please login to see this link.

    Please login to see this picture. Please login to see this link. - Please login to see this picture.

  • There is a JSON creation guide here:
    Please login to see this link.

    I also started writing a guide for creating extensions (mainly for non-clickers but anyone can use it):
    Please login to see this link.

    Hi Anders - nice guide for creating extensions, but still not complete! Any chance you could finish the 'Wrapping a UIView in the extension' or give me some pointers where to look? Thanks!

    Kevin Ayre Please login to see this link.
    My iOS Apps: Please login to see this link., Please login to see this link. and Please login to see this link.

  • Anders - trying the iOS Dummy Control extension and I've noticed that I can't see the parameters in MMF2 when I mouse over an action, e.g. an Active Picture will display something like New Picture: "test.jpg", but my extension using the Dummy extension and JSON file just shows New Picture. Am I doing something wrong or is this just a limitation of the Dummy Control extension?

    Kevin Ayre Please login to see this link.
    My iOS Apps: Please login to see this link., Please login to see this link. and Please login to see this link.

  • Anders - I may be mistaken, but it seems this can't be used for Conditions as it crashes the PC Runtime (unless they require 2 values, like your example) even if they work on a callback (using Triggered: true). Or perhaps I need to leave that condition and add a new one? I think I may have to get my hands dirty and do something on the PC side! Sorry for all the Qs :)

    Kevin Ayre Please login to see this link.
    My iOS Apps: Please login to see this link., Please login to see this link. and Please login to see this link.

Participate now!

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