On Apr 1, 2008, at 12:41 PM, Pierce T. Wetter III wrote:
kvc_accessor is gone...
Ultimately pure Ruby accessors will work in this case.
Don't you have to do the willChangeValueForKey, etc. stuff then?
I think we can avoid that, but otherwise, yes we will do that. I want this to be the most transparent possible for the developer.
Hmmm... Can't find a Framework I copied into Resources?
(i.e. framework 'ILCrashReporter') isn't working.
That's an annoying bug, could you file it in the tracker?
Will do.
Thanks :)
Next up:
Reading defaults #<#<Class:0x1aa2c60>:0x1aa2c50> 2008-04-01 12:37:43.873 Frictionless[58071:813] fetching password www.twitter.com obastard 2008-04-01 12:37:44.043 Frictionless[58071:813] fetchedpassword 2008-04-01 12:37:44.553 Frictionless[58071:813] SyncServices assertion failure (nil != pDefaultManager) in [ISyncManager sharedManager], /SourceCache/SyncServices2/SyncServices2-389.1/ SyncServices/ISyncManager.m:2602 ObjC runtime error: ISyncManager was never initialized /Users/pierce/svnProjects/build/Debug/Frictionless.app/Contents/ Resources/RubyFrictionlessAppDelegate-mr.rb:163:in `sharedManager': NSInvalidArgumentException: [ISyncManager sharedManager]: ObjC runtime error: ISyncManager was never initialized (RuntimeError)
Mini script to reproduce:
rb(main):001:0> framework 'SyncServices' => true irb(main):002:0> print ISyncManager.sharedManager #<ISyncConcreteManager:0x12baed0>=> nil
i.e.:
framework 'SyncServices' print ISyncManager.sharedManager
I'm guessing the framework isn't initializing?
That's weird, I do not reproduce this in my environment (trunk) $ macruby -e "framework 'SyncServices'; p ISyncManager.sharedManager" #<ISyncConcreteManager:0x28a00b0> $ macirb irb(main):001:0> framework 'SyncServices' => true irb(main):002:0> ISyncManager.sharedManager => #<ISyncConcreteManager:0x2aa47b0> irb(main):003:0> ISyncManager.sharedManager.enabled? => true irb(main):004:0> Laurent