Skip to content

Instantly share code, notes, and snippets.

@floriangbh
Created December 8, 2019 16:39
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 floriangbh/c53f69d36cc9e055c5943b4b91243b1f to your computer and use it in GitHub Desktop.
Save floriangbh/c53f69d36cc9e055c5943b4b91243b1f to your computer and use it in GitHub Desktop.
Layout
class Layout {
enum Type {
case layout1
case layout2
case layout3
}
var type: Type = .layout1
var images: [UIImage?] = [nil, nil, nil, nil]
var imageGrid: [[UIImage] {
return []
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment