andrea

Administrator

Last active 3 weeks ago

  1. 5 weeks ago
    Wed Dec 11 22:02:05 2019
    andrea posted in Gradient Inverted.

    Thank you for reporting the issue, it will be fixed in the next version.

  2. 6 weeks ago
    Fri Dec 6 14:32:08 2019

    @taiheta
    the border property of each view defines the size of the border in each side of the view, but you could achieve your desired appearance by adding a RectShape with appropriate border mask or a LineShape inside your custom view

  3. Fri Dec 6 14:16:00 2019
    andrea posted in HTTP Client redirect URI.

    @taiheta,
    com.creolabs.creo://oauth2Callback is correct but in your screenshot there is an invalid URL with the https:// schema: https://com.creolabs.creo://oauth2Callback.
    URLs with the https schema work with web apps, for iOS apps you need to use callback URLs with a custom schema that open your app.

  4. 8 weeks ago
    Tue Nov 19 22:15:31 2019
    andrea posted in TextView text.color.

    Hi @Joel_Eisenstat , this is a bug, it will be fixed in the next release of Creo.
    Thank you for reporting.

  5. Mon Nov 18 21:29:12 2019
    andrea posted in HTTPRequest.

    Or you can programmatically re-build your path from the queryParameters Map, for example, with the following code:

    request.queryParameters = ["page": 1]
    
    // create the new path string from queryParameters
    var path : String = "?"
    for (var key in request.queryParameters.keys()) {
    	var value = request.queryParameters[key]
    	// add "key=value&" to the path string for each query parameter
    	path += key + "=" + value + "&"
    }
    
    // remove the last "&"
    path = path[0...-2]
    
    // update the request path
    request.path = path
  6. 2 months ago
    Tue Nov 12 21:27:55 2019
    andrea posted in HTTPRequest.

    Hi @ingurgite,
    if you programmatically create an HTTPRequest (or if you programmatically set a custom value for the path property) the queryParameters property is ignored. You should instead set the complete path in the initializer method or in the path property, for example:

    var url : String = "https://yourdomain.com/basepath?page=0"
    var request = HTTPRequest(url)
    request.responseSerializerType = HTTPResponseSerializer.JSON
    request.send()
  7. Wed Nov 6 20:34:04 2019

    Hi @ingurgite,
    the `Journal.open()` invocation tries to open the Journal in the active container, the default window in this case. The default window should open the Journal window as a modal window but it fails if executed in the WillShow event because a window that is not already added to the window's hierarchy cannot open a modal window.

    A safer way to change the default window could be to use the loadContainer() method of the Application object, for example with the following code:

    var screen = "journal"
    
    if (screen == "journal")
    {
    	console.log("HERE: opening journal")
    	App.loadContainer(Journal)
    }

    This command replaces the root window (default window) with the Journal window.

  8. Wed Oct 30 19:44:17 2019
    andrea posted in Tap on Scrollable Text.

    @ingurgite,
    the Tap gesture can not be recognized if an internal gesture recognizer of the native TextView control is recognized before (for example, the tap gesture that put the TextView in the editing state).
    To change this behavior, you can add the code `return true;` in the `ShouldRecognizeSimultaneously(otherGesture: UIGestureRecognizer)` event of your TapGesture; in this way, your gesture can be recognized simultaneously with other gesture recognizers.

  9. Thu Oct 24 14:48:45 2019
    andrea posted in Single vs Double Tap.

    Hi @ingurgite,
    the `requireToFail` is not working correctly in our simulator if used for more than one gesture recognized, this bug will be fixed in the next release. It should work fine on a real iOS device.
    There could be a delay for the action to be invoked depending on the gesture recognizer added as `requireToFail` because the first gesture recognizer must wait for the other gesture to fail before changing to the recognized state.

  10. Wed Oct 23 21:02:20 2019
    andrea posted in Changing Button Image.

    Hi @ingurgite,
    you can programmatically change the image of a button for a specific state, for example:
    ```
    Button1.setImageForState(image1, ControlState.Normal)
    Button1.setImageForState(image2, ControlState.Highlighted)
    ```

    In this way, the `image1` is presented when the button is in the normal state and the `image2` is presented when the button is pressed.

View more