문제

I am very well know about full form of IB but i want to know the exact use of IBoutlet

what is the use of IBoutlet in ios in iPhone apps ?

도움이 되었습니까?

해결책

You need to declare a variable or a property as an IBOutlet to relate it to the objects that you define in your XIB. ....

Think of the view defined in the XIB as a separate routines that are hidden to your code. The objects - UItextfields, UIImageview etc. that are defined in the XIB are created outside your code (.m ) file IBOutlet allows you to refer to them in your code.

다른 팁

IBOutlet is macro that define variables and methods that are related to in Interface Builder.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top