Member
Last active 5 years ago
@marco thank that's very helpful
Hi,
I'm sorry if this is obvious, I do appreciate the help you guys are giving.
I need to pass through some JSON in the body of my HTTP Request.
Something like this:
{
"fields": {
"small cup qty": 40
}
}
Its not obvious to me how to post or patch nested values in the request editor as it seems to have just name value pairs and no free text mode?
I've tried updating the request body using something like
Airtable.Update.body= '{
"fields": {
"small cup qty": 40
}
}'
Any help would be appreciated.
Thanks guys
Thank Marco, would you mind updating your earlier example to include one of those options. I'm a bit unclear of the syntax.
Thank you
Hi @andrea, I have the same question.
The issue with airtable's API is that it uses a the url structure to access a record rather than a query.
eg.https://api.airtable.com/v0/app2qdjo13RWolJqT/simple%20consumption/recKCUodTOOlsRtMA \
where recKCUodTOOlsRtMA identifies the record.
Is there a way to dynamically rewrite the request URL ?
Keeping in mind that the method you outlined above would create a URL like
https://api.airtable.com/v0/app2qdjo13RWolJqT/simple%20consumption/?recKCUodTOOlsRtMA \
Note the addition of the "?" in the URL.
Could you use
var host: String Hostname of the HTTP server ?
I cant seem to work out how to populate the list of options within the picker element?
I've tried making it a custom view and binding it to a response but it I cant see where the options are exposed as properties?
Thanks Marco, that really helped. Any update on the next version of the beta?
In terms of the method:
func animate(duration: Float, delay: Float, options: Int, closure: Closure, completion: Closure) Animate changes to one or more views using the specified duration, delay, options and completion handler
I understand duration, delay and I think completion and closure.
What are valid options?
Hi @marco ,
Hope the new release is going well. I have two questions.
1. Is it possible to directly set position .x ,position.y or width or height of an object outside of an animation.
For example to create a progress bar?
2. Can you use a variable in the animation controller. Eg to set scale.x to scale.x * progress
Also when I run an animation it seems to complete and then return to the start state. Is there a way to have it stop on the last frame?
Thanks for your help
@marco thanks for the help
Thanks @andrea , it seems quite fragile. As soon as i change the start page back to my start page I start getting errors again.
Will this be fixed in the next release?
Cheers,
Henry