Last active
November 18, 2018 08:49
-
-
Save xiangyu-sun/819ae9217797b2169e1b3b8b73529753 to your computer and use it in GitHub Desktop.
tap-lazy-comp1
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 DataManager { | |
lazy var importer = { | |
return DataImporter() | |
}() | |
var data = [String]() | |
// the DataManager class would provide data management functionality here | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment