Skip to content

Instantly share code, notes, and snippets.

@laevandus
Last active Nov 3, 2018
Embed
What would you like to do?
final class Form {
let sections: [FormSection]
init(sections: [FormSection]) {
self.sections = sections
}
}
final class FormSection {
let items: [FormItem]
init(items: [FormItem]) {
self.items = items
}
}
protocol FormItem {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment