#513: MacRuby gets confused about inheritance under certain conditions
---+
Reporter: matt...@… | Owner: lsansone...@…
Type: defect | Status: new
Prio
Hi Darrin,
I believe this error happens because you do not run within a properly
initialized Cocoa session. In general, it is not possible to use Cocoa
directly from macirb without calling at least
NSApplication.sharedApplication and starting a run loop at the end.
HTH,
Laurent
On Jan 24
Hi,
The following is using a macruby build as of today. I'm not sure, but I seem
to be experiencing a debugger error while attempting to work with a
NSOpenPanel. The second time I create a NSOpenPanel no error is reported.
Thoughts?
Thanks,
-- Darrin
irb(main):001:0> framework 'Coco
OK, I've had a go at writing a very simple description of Pointer. Once the
group has decided where it would like these sort of items I will move it.
Meanwhile, any comment on the contents?
http://jonathan.waddilove.net/macruby_pointers.html
Many thanks, Jonathan
regards, Jonathan
Jonathan
I agree. I understand the issues you highlight. If we can agree where to post
these code snippets and notes then I'm happy to try and pull something
together. I guess if we annotate each entry with the code level we were using
it should be possible to understand if the entry has become stale and
John,
Thanks very much for the help. The "data = CGBitmapContextGetData(context)" had
me confused, I was wondering if the Pointer type need a change, so you view
that it's a bug is very helpful. Yes, I now have IcePhage working.
I'll start trying to collate what has been written about Pointer a
#575: Bug in Cocoa bindings for NSTableViewColumn + NSArrayController
-+--
Reporter: n...@… |Owner: lsansone...@…
Type: defect | Status: closed
Priority: bloc
yes, agreed as far as tutorials are concerned.
Regarding example/sample code i think we have a few issues.
i) Laurent and the core team are too busy to do the mundane task of checking
example code,
ii) because the oficial MacRuby example code is an apple distribution it needs
to be always worki
Hi Jonathan,
yes i discovered that yesterday too.
Changing all of the "i" s to "I"s was not too hard - i do not know if this is a
change in Pointer types or whatever.
The bigger issue is that this call:
data = CGBitmapContextGetData(context)
no longer seems to return the correct data type (typ