Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

XML-based layout for iOS [closed]

When developing an iOS application (CRUD-like, not a game) one basically has two options:

  • use Interface Builder for layout
  • layout everything in code

Assume that I don't want to use Interface Builder for number of reasons.

Laying out everything in code is fine except less experienced developers tend to hardcode absolute positions and sizes of everything in code. And amount of code required to properly position everything on screen can be frustrating.

Recently I had a look at Android and Windows Phone SDKs and I really like their XML-based layout engines more.

Is there anything like XAML or Android layout for iOS?

I heard about Auto Layout for iOS 6. Unfortunately, I can't use it because most of the time I have to support iOS 5.0 or even iOS 4.3.

like image 535
Bobrovsky Avatar asked Jan 04 '13 12:01

Bobrovsky


1 Answers

You might want to check out WorkflowSchema. Its layout support is very basic at the moment, but it's open-source so you could add what you need.

like image 191
Simon Avatar answered Sep 23 '22 15:09

Simon