Skip to content

Instantly share code, notes, and snippets.

Avatar

Taylor Halliday tayhalla

View GitHub Profile
View paging.md

Inital (read) call to the stateless action APIs:

Initial /invoke call with a read action

POST /api/v4/implementations/invoke/ HTTP/1.1
Host: zapier.com
Content-Type: application/json
Accepts: application/json
Authorization: Bearer SOMEKEY
View gist:7dc8c302dfb320afceb8
{
"retries": 0,
"total_results": 7,
"items_per_page": 25,
"start_index": 0,
"facets": [],
"facet_values": [],
"suggestions": [],
"results": [
{
View gist:70b8e2f1fae112eb44e3
/*
Creates a green btn and sets its position equal to a rect of {50.0f, 50.0f, 200.0f, 300.0f}
*/
UIButton *btn = [[UIButton alloc] init];
btn.backgroundColor = [UIColor greenColor];
[btn setTranslatesAutoresizingMaskIntoConstraints:NO];
[self.view addSubview:btn];
NSLayoutConstraint *widthConstraint = [NSLayoutConstraint constraintWithItem:btn attribute:NSLayoutAttributeWidth relatedBy:NSLayoutRelationEqual toItem:nil attribute:0 multiplier:0.0 constant:200];