I find it strange that something akin to markdown-style syntax sugar is more user-friendly than a visual designer. Do the tools for developing a UI for iOS this way not include a WYSIWYG editor to set things such as contraints?
Stevia: Human-readable auto-layout in code
21–30 of 60 posts
Re: Stevia: Human-readable auto-layout in code
#22It's not really on-topic, but why do people name their projects with names that are very difficult to find via search engine? I really don't understand this mindset.
Re: Stevia: Human-readable auto-layout in code
#23Re: Stevia: Human-readable auto-layout in code
#24It's not really on-topic, but why do people name their projects with names that are very difficult to find via search engine? I really don't understand this mindset.
I guess they don't understand how search engines work, like that dumb company that created the unsearchable programming language Go.
Re: Stevia: Human-readable auto-layout in code
#25There is also SnapKit which I really like: https://github.com/SnapKit/SnapKit box.snp_makeConstraints { (make) -> Void in make.width.height.equalTo(50) make.center.equalTo(self.view) }
https://github.com/SnapKit/Masonry
[box mas_makeConstraints:^(MASConstraintMaker* make) {
make.width.height.equalTo(50);
make.center.equalTo(self.view);
}];Re: Stevia: Human-readable auto-layout in code
#26I find it strange that something akin to markdown-style syntax sugar is more user-friendly than a visual designer. Do the tools for developing a UI for iOS this way not include a WYSIWYG editor to set things such as contraints?
Re: Stevia: Human-readable auto-layout in code
#27There is also SnapKit which I really like: https://github.com/SnapKit/SnapKit box.snp_makeConstraints { (make) -> Void in make.width.height.equalTo(50) make.center.equalTo(self.view) }
https://github.com/robb/Cartography
constrain(button1, button2) { button1, button2 in
button1.right == button2.left - 12
}Re: Stevia: Human-readable auto-layout in code
#28Re: Stevia: Human-readable auto-layout in code
#29There is also SnapKit which I really like: https://github.com/SnapKit/SnapKit box.snp_makeConstraints { (make) -> Void in make.width.height.equalTo(50) make.center.equalTo(self.view) }
https://github.com/viewfinderco/viewfinder/blob/master/clien...
[self addConstraints:box.anchorWidth == 50];
[self addConstraints:box.anchorHeight == 50];
[self addConstraints:box.anchorCenterX == self.view.anchorCenterX];
[self addConstraints:box.anchorCenterY == self.view.anchorCenterY];Re: Stevia: Human-readable auto-layout in code
#30It's not really on-topic, but why do people name their projects with names that are very difficult to find via search engine? I really don't understand this mindset.
I guess they don't understand how search engines work, like that dumb company that created the unsearchable programming language Go.
If a query comes up with junk I usually replace 'go' with 'golang'.