as workaround i can create the hash via NSMutableDictionary.dictionary or in my
case :
temp = YAML::load( NSString.alloc.initWithData(
fileWrapper.regularFileContents, encoding:NSString.defaultCStringEncoding))
@data = NSMutableDictionary.dictionary
@data.setDictionary(temp)
is a bug or a behav
Hi,
i spent a little time with the problem i had some time ago, in effect there is
a problem with bindings mechanism in MacRuby 0.6 :
- create a new MacRuby Document based project
- MyDocument.nib
create a new ObjectController binded with File's Owner Content, model
key path "dummy"
Hi,
in a little macruby-cocoa app when i try to save a simple hash (attribute of a
model class) inside the fileWrapperOfType method via Marshal.load(
Marshal.dump(@model.data)) #deep copy , i get an error:
`fileWrapperOfType:error:': can't dump anonymous class #
(TypeError)
i discover that th
nch. I recommend to wait for the
> next release if you want to use C extensions, and in the meantime, to use
> something that does not rely on the C API (such as Objective-C frameworks
> like CoreData).
>
> Laurent
>
> On Mar 13, 2010, at 4:13 AM, Wladj wrote:
>
>&g
Can someone help me to get sqlite3 gem working with macruby?
> macirb
irb(main):006:0> require 'rubygems'
=> true
irb(main):007:0> require 'sqlite3'
=> true
irb(main):008:0> db = SQLite3::Database.new("test.db")
Segmentation fault
or suggest me a viable other way or db to have simple db function