I forked the repo and fixed applied the fix here:
http://github.com/isaac/phare/commit/b6d78dd4d60b61ea5d7532fc6e43f7e72fdfa894
On Tue, Apr 21, 2009 at 7:25 AM, Matt Aimonetti wrote:
> I made some modifications and I probably broke some stuff. Sorry about
> that. Rich and I worked on a new super
Hi Laurent,
Thanks for the help. Did you mean to set the context ivar on the
observer or on the subject? Wouldn't setting it on the observer
result in the last registration 'winning' if the observer is watching
more than one subject?
Ed
On Apr 20, 2009, at 4:28 PM, Laurent Sansonetti w
On Apr 20, 2009, at Apr 20, 5:51 PM, Laurent Sansonetti wrote:
That is actually a pretty good idea, the default rb_main.rb could
require an extra file if it exists in the resource directory, and
the target would generate it.
If anyone wants to contribute a patch I would commit it :-)
Cool
That is actually a pretty good idea, the default rb_main.rb could
require an extra file if it exists in the resource directory, and the
target would generate it.
If anyone wants to contribute a patch I would commit it :-)
Laurent
Sent from my iPhone
On Apr 20, 2009, at 4:37 PM, Alex Vollme
Thanks for the reply Laurent. Yes I did generate a BridgeSupport file
and included it in my build. I did try to call the method and pass in
a pointer for the item reference (using Pointer.new_for_type('@')) but
the object that was assigned after the call was some weird NSCFType
object which, when
On Apr 20, 2009, at Apr 20, 1:32 PM, Laurent Sansonetti wrote:
This is the right way to do it. The "Embed MacRuby" target
configures the linking settings of your app but you still need to
hack the load path in rb_main.rb to point it to the MacRuby stdlib.
Here is another way:
$:.map! { |x|
Me:
>> I relaunched Demo.app with a doubleclick, but instead of the
>> Demo.app launching, HotConsole launched.
>>
>> I quit, trashed the Demo.app, ran the rakefile again, but Demo.app
>> continues to launch as HotConsole.
Laurent:
> I wasn't able to reproduce this strange issue... if you can sti
Hi Karl,
On Apr 19, 2009, at 8:17 PM, Karl Varga wrote:
Hi there,
I am having a strange problem that other people don't seem to be
having because I can't find any references to in google searches. I
am using MacRuby 0.4 installed from the binary available on the
macruby binary releases page (
Hi Frisco,
On Apr 20, 2009, at 2:24 AM, Frisco Del Rosario wrote:
I used macrake to build Demo.app in Developers/Examples/Ruby/MacRuby/
HotCocoa/demo. After a while, the beachball (it's not a "beachball"
anymore; what do people call the spinning thing that says your app
is hung?) spun, and
Hi Alex,
On Apr 19, 2009, at 9:53 PM, Alex Vollmer wrote:
I have a bit of code that uses the Ruby base64 library and I would
like to package the MacRuby framework into my application. I've
added the "Embed MacRuby" target to my build and the MacRuby
framework shows up properly in my applic
Hi Edward,
Context arguments in Objective-C are generally void pointers, which
makes them hard to use in Ruby. Also, since we run in Objective-C GC
mode, objects could potentially be collected since contexts do not set
up AFAIK write barriers.
I would recommend to set up an instance varia
I made some modifications and I probably broke some stuff. Sorry about that.
Rich and I worked on a new super cool HotCocoa app's structure.
It's not fully done yet but we'll work on it in 2 weeks at RailsConf.
- Matt
On Mon, Apr 20, 2009 at 8:39 AM, Emil Tin wrote:
> cool!
> i cloned the git
cool!
i cloned the git repo, but when i do 'macrake' in the dir, it fails.
~/phare$ macrake
(in /Users/emiltin/phare)
2009-04-17 09:29:21.313 Phare[12075:613] registering AccountSetupView
2009-04-17 09:29:21.440 Phare[12075:613] registering
ProjectSelectionView
2009-04-17 09:29:22.707 Phare[
I'd like to use contexts when registering some observers, but have
been unable to retrieve them, getting a "can't convert C/Objective-C
value `0x2822731' of type `v' to Ruby object" instead. The following
code, for example, will trigger the error
class Subject
attr_accessor :abc
end
cla
Many thanks John and Laurent.
After reading your messages I came back to XCode and discovered I had
made a typo in the ObjC part of the code (which, curiously, compiled)
and that's why my ruby code didn't find my selector.
As for calling ruby code from the obj-c side, I agree it's a bit
convolu
I used macrake to build Demo.app in Developers/Examples/Ruby/MacRuby/
HotCocoa/demo. After a while, the beachball (it's not a "beachball"
anymore; what do people call the spinning thing that says your app is
hung?) spun, and I Force Quit the demo.
I relaunched Demo.app with a doubleclick, bu
16 matches
Mail list logo