Search code examples
iphoneobjective-ciosibactioniboutlet

Difference between IBOutlet and IBAction


Tell me the difference between IBOutlet and IBAction . Can we make IBOutlet as property and shall we need to release the IBOutlet Controller?

Thanks In Advance


Solution

  • Number 1 google response: IBOutlet and IBAction

    Yes, you can make an IBOutlet a property, and you need to release anything that you retain, so if the property is set with 'retain' attribute, then you'll need to release it.