[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-users] Archive questions (OS X crash)



On 2 Dec 2005, at 17:42, stefan kersten wrote:

Archive is just an interface for the global library archive
(write is a class method). but you can write (almost) any
object to a file:

w = SCWindow.new.front;
8.do{|i| Rect(100.rand,100.rand,20,20))};
w.writeArchive("/aSCWindow");
x = "/aSCWindow");
x.view.children;

x.front;
x.alpha_(0.5);

either of the last two lines will crash SC. Cocoa objects can't be archived? I'm curious as to why.
what else can't be archived?

kernel.