Last active
December 23, 2020 10:03
-
-
Save floriangbh/aaa703c097faef708ed71c2bfb845821 to your computer and use it in GitHub Desktop.
p3exemple.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Layout { | |
enum Kind { | |
case layout1 | |
case layout2 | |
case layout3 | |
} | |
var kind: Kind = .layout1 | |
var images: [UIImage?] = [nil, nil, nil, nil] | |
var imageGrid: [[UIImage] { | |
// reorder images in a two-dimensions grid here to be used in UIViewController for dynamically create image grid rendering | |
return [] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment