Posts

Post marked as solved
4 Replies
0 Views
Yes they are different classes. For example, HomeMenu/Chat Room/Game Start/Game/Game Finished/Game Leaderboards... all of these will need to load a "Game Header" view that will display username & gold amount (as an example) and will need to be updated with the correct gold amount (if it changes).
Post marked as solved
4 Replies
0 Views
So if I have 50 classes/views that use the same "textField" class. I will need to have the function "notification1Action()" in all 50 classes? I understand the usage of notifications/delegate (and prefer delegates), but I was trying to avoid repeating the same function in every view.