Skip to content

ksoftllc/DrawerDemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DrawerDemo

Demo of a bottom drawer that slides in and out.

Unfortunately, doesn't work. But will work if you add this breakpoint.

Screen Shot

Solution The reason it is flaky is explained here: https://stackoverflow.com/a/53717173/1256015. The drawer view is added to the parent view, but the code failed to add the child view controller to the parent as explained by Apple at https://developer.apple.com/library/archive/featuredarticles/ViewControllerPGforiPhoneOS/ImplementingaContainerViewController.html. I had not learned about container views until today.

About

iOS Swift example of drawer view

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages