“One of the great advantages of Cocoa is getting a lot of functionality with little code. There are classes in the Cocoa Framework that handle much of the necessary work in creating applications that have multiple documents. NSDocumentController
, NSDocument
and its closely related cohort NSWindowController
combine to give you a powerful starting point when building your own multiple document applications. The best way to illustrate the power that these classes offer is with an example; that’s how HTMLEditor.app was born. HTMLEditor is a basic text editor that has file associations for HTML. No big deal right? Well, over the next month or so, HTMLEditor will be extended to include a number of additional features, forming the basis of a series of articles.” Read the rest of the MacOSX Cocoa/Project Builder step-by-step tutorial at StepWise.
I prefer CDC, at http://www.cocoadevcentral.com/ .
It’s updated far more often and without the “snide” attitude of former NeXTdevotees. I have had occasion to email Scott Anguish and find him to be a troglodyte. That having been said, at least this article starts to help people… 😛
Anyone else miss the Smalltalk-esque code browser in the old school ProjectBuilder? I sure do.
Anyone know of a tutorial specifically on how to use PB effectively, rather than focusing on creating a GUI app with very little code? It seems that most every tutorial on the Cocoa dev tools deals with the snazziness of using PB+IB, drawing a GUI, writing a few lines of code for a simple app, and having it work. That’s fine and dandy, but I must admit, I’m only familiar with the One True IDE (Smalltalk), and haven’t any experience using these goofy C/C++/Java IDEs. It’d be nice if there was a little tutorial on using ProjectBuilder to create a console app, focusing on managing classes in a project and debugging within the PB environment.
I want someone to do a tutorial on how to create a multi-tab Termainl.app… mostly because that is the one thing that I really miss about linux. I can get OSX set up the way I want with vim and colour syntax highlighting… but darn it I miss Powershell!!
When I am in X11, I use PWM… I sure do miss the functionality for ubiqutous tabbed windows. I emulate it in Terminal.app, though- perhaps this could be of help to you.
Most my terminal windows are one of two sizes- 80×24 or one vertical half of the screen. The later I only use occasionally for certain files that need to be seen largely in emacs. (blah, vim)
I layer all of the windows directly on top of one another, usually in two “stacks,” one on the lower left and one of the lower right and sides of my screen. I then switch through them using Cmd-n, where n is the number of the terminal. Exactly like I do in PWM. It’s a shame windows in other apps can’t be controlled in the same way- the Quartz Window Manager should handle the switching of windows across the board… it is, after all, a window manager. Give that a whirl. For me, it’s as good as having real tabs within Terminal.app. Unless you’re a mouse-heavy person, that likes to click on the name of the tab rather than keep track of what is in which terminal in your head, and then switch by the keyboard.
If you’re a mouse intensive person, you could still keep your terms in stacks, and then switch in the Window menu.