i have developed many app for android now i am learning IOS.I want know that as in android we link a view by id like this

TextView txtView = (TextView) findViewById(R.id.txtView);

How can i do the same in IOS to identify a view.

Thanks.