Matt Legend Gemmell Modesty is Lying

Mac OS X Cocoa and iPhone Development Services available at Instinctive Code.
Mac OS X Cocoa and iPhone Developer for hire

Other Pages

Categories

Posted
30 July 2003 @ 1pm

Categories
General

Tags

How to be a complete arsehole - part 1

Part 1 in a series of tips on how to be regarded as a complete arsehole. Today’s hint:
answer questions like “publiclook” did below, on the cocoa-dev mailing list. Here’s a
link to the archived message.

 


On Tuesday, July 29, 2003, at 07:47 PM, Danny Swarzman wrote:

> I would like to create a view that is repeated inseveral different
> places in different drawers. It consists of a bunch of buttons and
> labels that always appear in the same places relative to each other.
> Can I create one of those once in IB and somehow duplicate it
> elsewhere. I want to avoid dragging actions and outlets for each of
> the controls.
>
> -Danny
> _______________________________________________
> cocoa-dev mailing list | <EMAIL REMOVED>
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/cocoa-dev
> Do not post admin requests to the list. They will be ignored.
>
>

Yes.

 

A more useful answer would point out that you can create an NSView in
a nib file, and just load that nib file to obtain the view whenever required. The same view
can be set as the contentView of windows, or added as a subview of any other view in your application.

Publiclook’s answer, however, just indicates a tendency towards being an utter tosser. Bonus points are
duly awarded for not using a real name, and for quoting Danny Swarzman’s entire email signature in the
reply.


No Comments Yet


There are no comments yet. You could be the first!

Leave a Comment

Autosave UI Nightmares: Moodstats