RE: Report writer for Cocoa?
RE: Report writer for Cocoa?
- Subject: RE: Report writer for Cocoa?
- From: "Jon C. Munson II" <email@hidden>
- Date: Thu, 15 Jan 2009 10:44:35 -0500
- Organization: JTA Enterprises LLC
Thanks for the answers so far.
Matt: Just making sure I "get" what you are saying, the answer is "Yes"
that IB can be used as a sort of report writer. Do you know of any examples
"out there" where folx have done that sort of thing? I don't mind
experimenting, but there are some things I'd probably want to do that others
may have done that would save me a little time/frustration.
Jim: Do you have, or know of, any examples of doing things that way? Don't
worry, I'm reading through the webkit dox to gain an understanding of
things.
Thanks again!
Peace, Love, and Light,
/s/ Jon C. Munson II
-----Original Message-----
From: Matt Neuburg [mailto:email@hidden]
Sent: Wednesday, January 14, 2009 9:41 PM
To: Jon C. Munson II
Cc: email@hidden
Subject: Re: Report writer for Cocoa?
On Wed, 14 Jan 2009 15:01:02 -0500, "Jon C. Munson II" <email@hidden>
said:
>I've looked at (and read) the printing-relevant Apple dox. I've read the
>relevant chapter in Hillegass' book too. I can see how much work writing
>pretty reports is going to be.
>
>Unless...
>
>I missed a point concerning an NSView - it knows about PDF, etc.
>
>The dox don't really go into this much, so here's a follow-on question to
>the first:
>
>If I take the time to draw out a view in IB with all my fields, etc., will
>that print as-is? This, then, would become the report writer, right?
I would suggest breaking the problem down in to the basic elements of a
page, classifying the "kinds of thing" you'd like to have appear on the
printed page. By default, a view draws itself by asking its subviews to draw
themselves. Thus you can have your own special NSView subclasses that know
how to draw themselves, and combine them within superviews, and now
everything becomes very tight and simple and object-oriented and easily
maintained. If you want to design certain aspects of a view in IB, of course
you can, and you can load a nib multiple times to get multiple copies of it.
m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
One of the 2007 MacTech Top 25: <http://tinyurl.com/2rh4pf>
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden