Once again I'm stumped and looking for help...I know, I'm just full of stupid newbie questions. 
I created a toolbar in Interface Builder by dragging the NSToolbar class into my window following the guide here:
http://developer.apple.com/Mac/libr...Conceptual/Toolbars/Articles/ToolbarInIB.html
I added my NSToolbarItem to the toolbar, removed all the other toolbar items, and even added a graphic for my toolbar item. So far so good. Next I followed the guide and added a method to the class in the @interface file (.h) for my view in Xcode.
-(IBAction) startSort;
I know I know, I should have a separate class for my model but for now I lumped everything into the view thinking since this is just a short program and I'm trying to keep it simple to learn. I saved the change to the .h file and according to the guide the next steps are:
OK, I right clicked on all the classes including File's Owner and my custom view and none of them have "startSort" under "Received Actions".
Any help you could provide me on what I'm doing wrong would be most appreciated.
Thanks and have a happy new year,
John Engstrom
I created a toolbar in Interface Builder by dragging the NSToolbar class into my window following the guide here:
http://developer.apple.com/Mac/libr...Conceptual/Toolbars/Articles/ToolbarInIB.html
I added my NSToolbarItem to the toolbar, removed all the other toolbar items, and even added a graphic for my toolbar item. So far so good. Next I followed the guide and added a method to the class in the @interface file (.h) for my view in Xcode.
-(IBAction) startSort;
I know I know, I should have a separate class for my model but for now I lumped everything into the view thinking since this is just a short program and I'm trying to keep it simple to learn. I saved the change to the .h file and according to the guide the next steps are:
2. Select the object representing this class in the Interface Builder document window (its often Files Owner).
3. Right-click (or Control-click) to display the connections window; locate the action method under Received Actions.
OK, I right clicked on all the classes including File's Owner and my custom view and none of them have "startSort" under "Received Actions".
Any help you could provide me on what I'm doing wrong would be most appreciated.
Thanks and have a happy new year,
John Engstrom