title: how do i know when to use a datasource or delegate protocol when using a UI object in my project?
body: <p>for example the UIPickerView, in the tutorial that i am learning i had to include the datasource and delegate protocols in my project for the pickerview to work. how would i know on other objects?</p>