There are four buttons in the first picture. Each button will trigger a view, just like the second picture. When any button touched in the second picture, effects are added to the playerView. The playerView is one view. The view below the playerView is functionsView. The functionsView could trigger four detailFunctionViews. The question is where should the effects function code be written. Should they be in the only viewController? Or each detailFunctionView import the viewController, and control the player view in viewController, so the function code is in the detailFunctionView? Or just write 4 objects, just like bridges to control the playerView in viewController?
Aucun commentaire:
Enregistrer un commentaire