Skip to content

Instantly share code, notes, and snippets.

@laevandus
Last active November 3, 2018 08:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save laevandus/1bd68615b8044474870958c9822a448f to your computer and use it in GitHub Desktop.
Save laevandus/1bd68615b8044474870958c9822a448f to your computer and use it in GitHub Desktop.
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