iphone - Understanding what happens and why you need a delegate and source for table views -


i have been practicing table views , know how create them have better understanding delegate , source when creating table views.

can explain need delegate , source when creating table views?

why need them?

what happening when connect delegate , source file’s owner or viewcontroller , why need connected?

i guess need general explanation delegates , source , happens when connect them file’s owner or viewcontroller?

the delegate , data sources allow tableview conform mvc design pattern, recurring design pattern in cocoa , cocoa touch.

the tableview provides [v]iew part , delegate provides [c]ontroller part while data source provides [m]odel part.

when connect delegate , datasource in nib file creating connection visually; can programmatically.


Comments

Popular posts from this blog

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -