iphone - Difference between File's Owner and First Responder? -
what main difference between file's owner , first responder , use ? don't know first responder.. ?
files owner:
the file owner object loads nib . ie. object receives message loadnibnamed: or initwithnibname: . if want access objects in nib object after loading , set outlet the file owner .
first responder:
a responder object can respond events , handle them. responder objects instances of classes inherit uiresponder (ios) or nsresponder (os x). these classes declare programmatic interface event handling , define default behavior responders. visible objects of app responders—for example, windows, views, , controls—and app object responder well. in ios, view controllers (uiviewcontroller objects) responder objects.
hope you understand query.
Comments
Post a Comment