Le 24 mai 07 à 17:32, David Chisnall a écrit : > There are a few things in the Étoilé tree that are potentially useful > for more than one app, but aren't big enough to bother making into > Frameworks. Some examples from StepChat are: > > NSData+Base64 (category on NSData for base 64 encoding / decoding) > NSTextView+ClickableLinks (Category on NSTextView for making URLs > clickable automatically) > > It would be nice to keep a collection of these somewhere. Rather > than making a framework for them, would it be interesting to make a > folder full of symbolic links to them in the tree? This will allow > them to be shared within the tree easily, just by copying the links, > and will have less overhead than making lots of frameworks, or some > big frameworks that people only use a bit of. > > Thoughts?
I don't know if it's really simpler to have a folder full of symbolic links rather than just picking the file you need in EtoileFoundation or EtoileUI. You can pick it by creating a symbolic link in your project. Now even this last choice doesn't seem so compelling, if you consider that later we will have a common framework probably called EtoileKit which is going to be linked by all applications in order to make them Étoilé native. This framework will surely provide a common and unified API that makes possible to integrate with project, document orientation, no saving, indexing and searching etc. This framework will link CoreObject, EtoileFoundation and surely EtoileUI. So in the end, everything which is part of these three frameworks will be available in all applications. That's why I think the best choice is to put this code in EtoileFoundation and EtoileUI and link them. We just have to be careful of what we include in those two frameworks to keep API coherent and not too much exhaustive. For Mac OS X compatibility, both frameworks should build fine with Cocoa. Xcode project can also be made different than their GNUmakefile counterpart (just by including the precise file it needs). Cheers, Quentin. _______________________________________________ Etoile-discuss mailing list [email protected] https://mail.gna.org/listinfo/etoile-discuss
