Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.Start your free trial
Carl ReyesCourses Plus Student 7,225 Points
Graphics libraries - coming from JS land
I think I've gotten a decent handle on Swift, although the "Apple way" of doing things still kinda drives me nuts but I don't think that's ever going away.
Anyway, my goal is to build a visual inventory system. I have a top-down map of a building with different rooms. You click on a room and a modal appears and you enter data into the modal, it saves and you go about your business, free to check on them whenever.
Michael Hulet47,908 Points
If you're just looking for a modal view controller, then UIKit has a function for that. You'd call it like this:
let modalViewController = YourUIViewControllerSubclassForEditing() presentViewController(modalViewController, animated: true, completion: nil)