[newbie] Nib without UI ?
[newbie] Nib without UI ?
- Subject: [newbie] Nib without UI ?
- From: Joost Rekveld <email@hidden>
- Date: Sun, 20 Apr 2003 23:54:37 +0200
Hi,
I've recently resumed work on my first Cocoa-application, it will be my
first Cocoa testproject, prototype of my application and
supersophisticated tool to make a computer-generated film all in one.
I am not sure how to approach the following:
I have made an interface which is going to enable me to define
animations; my interface controls a few model objects, different
settings for these objects can be put on a sort of timeline, and this
timeline with states constitutes a document.
Another part of my application is a kind of 'render engine' where the
document can be rendered into a quicktime clip of various resolutions.
For this 'render engine' I need to instantiate the same model objects I
had in my interface, but they only need to do the work of producing
moving images, I don't need to control them anymore. Also I know myself
and I want to be able to add things to my interface, change things
around, and still be able to render previously defined 'animations'. To
get this flexibility it seems a good idea if my document should not
only contain the various 'states' of objects, but also information
about the types of objects needed and their connections.
what is an easy way to do this ?
- can I in some way save a Nib-file together with my document, a file
which contains instances of the objects I need in the document and
their connections ? a Nib without windows and the like ? is that crazy ?
- should I define something similar to this myself ? where do I start ?
How do I make my own archiver/unarchiver, is that where I should start
looking ? For some intuitive reason I implemented the NSCoding for all
the model objects I have so far, without knowing what I would use it
for, should I delve in this archiving/unarchiving business or is that
way too complicated for what I want ???
and if I have this flexibility on the rendering side, can I then not
also at some point make my user interface much more flexible, with
palettes and the like ?
any wise advice welcome,
thanks,
Joost.
-------------------------------------------
Joost Rekveld
-----------
http://www.lumen.nu/rekveld
-------------------------------------------
"The mystery of the world is the visible, not the invisible"
(Oscar Wilde)
-------------------------------------------
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.