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
Post a Comment