swift - Side menu controller -


hello working on youtube project , problem want add side menu , know how that. however, when press cell don't want load new view. instead want update table view because don't want 20 different views same thing , load different videos. idea how can achieve goal?

i thinking of using side menu: https://github.com/john-lluch/swrevealviewcontroller

coding in swift

you create custom class tableview initialization baseclass , make childclass different menus. instead of:

class menu1: uitableviewcontroller { }  class menu2: uitableviewcontroller { } 

use this:

class basetableviewcontroller: uitableviewcontroller { }  class menu1: basetableviewcontroller { }  class menu2: basetableviewcontroller { } 

reuse class , make fetch function content cell customizable input parameters. refer letsbuildthatapp youtube tutorial series reference. has letsbuildyoutube app series.


Comments

Popular posts from this blog

What is happening when Matlab is starting a "parallel pool"? -

angular - DownloadURL return null in below code -

php - Cannot override Laravel Spark authentication with own implementation -