????????? ????????C??M??????????????????????????“??????”?????????????????????C??????????????M??C??????M???????????????M ?????C??????????????????????????C????????????????????????????????????C???M?????е????飬???????????????????飬?? ???C???????M??????????M?????API???????C???????M??API??????????????????????M?????????????
??????????????????????????????????????C??V????????????????????????????????C??????????V???н??????????????C???V?????? ?????????V???????????????????????????????????????????????C???????????V?????????????????????????????????????C??????? ???????V?????
??????????????????????????????outlet(?????)??outlet??????????C???V?????????C?б????塣outlet????????????? ?????????????C???????????????????V??C??????к???outlet??????????????????????????Ч???V???н?????
??????M??V????????????????????????????????????????????????????????M??V???н?????????????????????????????????й???????????????????V????????????????????????????????????????????????????????C?????V??????M??????V??????????????????????????? ????????C?????V??????????????????????????C?????????????????????????????????????????????M??V???????????????? ???????????????????????????? ??????????????????
??????1????Model??View???????????????????Controller?????
??????2????Controller?????????Model???????д????Model????Model???Notification??KVO??????Controller???????
??????3????Controller?????????View????????outlet????????View??outlet???????View?е?????View???action??Controller????????????(?????Touch????)??Controller??View??????????????????????Controller??Model????ò?????????????Controller??View??????delegate)???????View??Controller??
?????????????????V???????C??????????V??C???????????????????
?????????????????????(target-action)??
???????????????????C????????????“????”??????(target)??????е??????? ??????????????????????????(action??????е??????)??????????????????????(??????????????????)??????????????action ???????????????target??????V?????C?????????????????????£?V??????????action???????target???????????C?е? ???????????????????????target-action??????????????????
?????????????????????(delegate)??
?????????V?????C?????????????????????????????????????????????飬???к?????????????? ??????????????е?delegate?????????????????????????С?????should??did??will??????????????????????? delegate???????should??will??did?????????????????????????should??????????????C?е????????“?????????? ???”???????????????web?????????????????????web??????“????????????????????????????”??????should??????? will??did???will??“?????????????”??did??“??????????????”??C??????????V?????(delegate)??????V??????? ??V????????????????????????????????C????delegate????????????V????????delegate?????C???????????Э?????????? ????????V????????delegate??
???????????????????(datasource)??
????V???????????????????????????????????V?????????????????????????????? ??????????????????????????????????????????????????iphone???????С?????????????????????????????????е?datasource?? ?????delegate?????V????cout??data at?????C???????????
????????????UIView?????????UIViewController?????MVC?е?C????????iOS??????UITableView???????????Controller??UITableViewController??