![]() ![]() Start by adding the following code directly after the three defined published properties in ContentViewModel.swift: The first thing you’ll need to do is change that! If you open up ContentViewModel.swift, you’ll see that image is a published property, but nothing is assigned to it. While going through the starter project, you might have noticed an ImageView connected to the image property of the ContentViewModel. You might notice that tapping the screen doesn’t do anything right now, but before you can get to the Vision part of this tutorial, you need to display an image on the screen. If you build and run now, you’ll see instructions for tapping the screen and a functional settings icon. ![]() The starter project includes some extensions, model files, and the UI. Sounds like fun, right? Exactly… art should be fun! Getting StartedĬlick the Download Materials button at the top or bottom of this tutorial.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |