'Multiple Partial Views in 1 View Controller Swift

I would like to know how can I achieve this in Xcode? I've been searching for days and I can't find any tutorials on how to implement it.

When I click balance, another view (1/3 of the whole view) is coming from left side and replaces the current view and vice versa but the bottom part of the page doesn't change.

Thanks in advance!

enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source