Why Apple make things so complicated
Steps to create a button in .Net and in XCode/interface Builder.
Visual Studio:
1. Drag a button onto the window
2. Double click the button
3. Write code
Xcode/Interface Builder:
1. In Xcode, go to your window controller header file, add two lines for your outlet and action
2. Switch to Interface Builder
3. Drag a button onto the window
4. Change tab to the class browser
5. Find your window controller and re-read the file to get your updates
6. Change back to the object browser
7. Apple-drag from the window controller instance to the button
8. Select the outlet you defined before and click 'Connect'
9. Apple-drag the button onto the window controller instance
10. Select the action you defined before and click 'Connect'
11. Switch back to Xcode and into your window controller code file
12. Add the action method definition and write code
Steps to create a button in .Net and in XCode/interface Builder.
Visual Studio:
1. Drag a button onto the window
2. Double click the button
3. Write code
Xcode/Interface Builder:
1. In Xcode, go to your window controller header file, add two lines for your outlet and action
2. Switch to Interface Builder
3. Drag a button onto the window
4. Change tab to the class browser
5. Find your window controller and re-read the file to get your updates
6. Change back to the object browser
7. Apple-drag from the window controller instance to the button
8. Select the outlet you defined before and click 'Connect'
9. Apple-drag the button onto the window controller instance
10. Select the action you defined before and click 'Connect'
11. Switch back to Xcode and into your window controller code file
12. Add the action method definition and write code