Re: [MacRuby-devel] RubyMotion video from RuLu 2012

2012-09-19 Thread Robert Carl Rice
Hi, It's been awhile since I've posted to this board but I'm still using MacRuby! But now I have an app that I want to submit to the Mac App Store and I can't get the build to work correctly from the sketchy instructions that I've found - at least not a compiled version. Are there any detailed

[MacRuby-devel] Problem embedding MacRudy for Mac App Store

2012-09-19 Thread Robert Carl Rice
Hi, I made some progress by creating a new MacRuby Application to get the get the "Deployment" target settings and then I added this target to my older projects. Now I can build a compiled and code signed app for distribution. Great! but I still can't build a compiled and embedded MacRuby appli

[MacRuby-devel] macruby_deploy

2012-09-20 Thread Robert Carl Rice
The silence is defening! Is anyone able to get a compiled and sandboxed MacRuby project accepted to the App Store? If I understand how macruby_deploy works then it seems that it is trying to duplicate a lot of work that Xcode does by post-processing an Xcode application package. It also seems

Re: [MacRuby-devel] macruby_deploy

2012-09-20 Thread Robert Carl Rice
sing the --embed > argument for the Deployment target? > > dw > > On Thu, Sep 20, 2012 at 11:47 AM, Robert Carl Rice > wrote: > The silence is defening! > > Is anyone able to get a compiled and sandboxed MacRuby project accepted to > the App Store? > > If I un

Re: [MacRuby-devel] macruby_deploy

2012-09-21 Thread Robert Carl Rice
framework? Thanks, Bob Rice On Sep 20, 2012, at 3:50 PM, Robert Carl Rice wrote: > Hi Daniel: > > When I use the arguments: > --compile --codesign "3rd Party Mac Developer Application: Robert Rice" > I get an app bundle that runs and passes validation but then is rejected as

[MacRuby-devel] macruby_deploy

2012-09-27 Thread Robert Carl Rice
Hi, Seems that the recent nightly installs don't correctly install the macruby_deploy and other executable tools. I had to back up to the 23rd. Also, it seems that macruby_deploy only deletes the .rb file if the .rbo file didn't already exist in the build directory. If both the .rb file and .rb

Re: [MacRuby-devel] macruby_deploy

2012-09-28 Thread Robert Carl Rice
hub? > > The second issue I can confirm, but that code hasn't changed recently, so I > think that bug has been there for quite some time. In either case it will be > fixed. > > Thanks, > Mark > > > On 2012-09-27, at 11:41 PM, Robert Carl Rice wrote: >

Re: [MacRuby-devel] macruby_deploy

2012-09-29 Thread Robert Carl Rice
c App Store. Thanks, Bob Rice On Sep 21, 2012, at 4:27 AM, Robert Carl Rice wrote: > Hi Daniel, > > I have an update. If I add the --no-stdlib argument along with the --embed, > then my archive passes validation but doesn't run. I only see an "Exited with > code: 1 erro

Re: [MacRuby-devel] macruby_deploy

2012-09-30 Thread Robert Carl Rice
> it's good to see what other people are building with Macruby to motivate more > people to start using it :) > > Rgards, > > Mark. > > -- > Mark Villacampa > Twitter: @MarkVillacampa > > On Saturday, September 29, 2012 at 9:54 PM, Robert Carl Rice wrote:

[MacRuby-devel] Xcode 4.5 not updating MacRuby Outlets

2012-10-01 Thread Robert Carl Rice
Hi, Since updating to Xcode 4.5, my MacRuby outlets are not updating. I don't get the circular busy icon that indicates that Xcode is parsing my source files to find outlets. Is this a code sense problem? I also notice that, although Xcode 4.5 can build and run my project, the Organizer>Projec

Re: [MacRuby-devel] Xcode 4.5 not updating MacRuby Outlets

2012-10-01 Thread Robert Carl Rice
Thanks Jonathan, That did the trick. Is there a reason the MacRuby installer doesn't run this automatically? Perhaps a message could be added to the installer dialog. Bob Rice On Oct 1, 2012, at 12:03 PM, Jonathan Silverman wrote: > /usr/local/bin/macruby_install_xcode_support _

[MacRuby-devel] Quartz 2D Graphics problem

2012-10-17 Thread Robert Carl Rice
Hi, I went back to working on an old project that uses core graphics and I'm having problems getting it to run again. The following code gives me an error with the graphics context: def drawRect( rect ) return unless @controller begin

Re: [MacRuby-devel] Quartz 2D Graphics problem

2012-10-18 Thread Robert Carl Rice
from 2-3 weeks ago. > > Jim > > > On Oct 18, 2012, at 12:30 AM, Robert Carl Rice wrote: > > Hi, > > I went back to working on an old project that uses core graphics and I'm > having problems getting it to run again. > > The following code gives me

Re: [MacRuby-devel] Quartz 2D Graphics problem

2012-10-18 Thread Robert Carl Rice
es Cocoa, > CoreGraphics, and QuartzCore. > > Jim > > > On Oct 18, 2012, at 7:45 PM, Robert Carl Rice wrote: > > Hi Jim, > > What frameworks do you included in your project? > > Thanks, > Bob Rice > > On Oct 18, 2012, at 8:22 AM, Jim Getzen wrote: >

Re: [MacRuby-devel] Basic delayed email method

2012-10-20 Thread Robert Carl Rice
Hi Mark, I use NSTimer a lot in my apps. What is the advantage of using GCD API? There is an excellent tutorial on the web for specifically for setting up ScriptingBridge for Apple Mail but I forget where I saw it. On warning; if you set up ScriptingBridge for Apple Mail don't try to take a sna

Re: [MacRuby-devel] Quartz 2D Graphics problem

2012-10-21 Thread Robert Carl Rice
#x27;t have better news; Objective-C for this segment might be > your only option. :( > > -- > Mark > > > On 2012-10-18, at 12:30 AM, Robert Carl Rice wrote: > >> Hi, >> >> I went back to working on an old project that uses core graphic

Re: [MacRuby-devel] Quartz 2D Graphics problem

2012-10-21 Thread Robert Carl Rice
s a CGContextRef >> >> @end >> >> >> >> // the implementation file, YourClass.m >> >> #import "YourClass.h" >> >> @implementation YourClass >> >> @synthesize context; >> >> - drawRect:(CGRect)rect >

[MacRuby-devel] GC warnings playing sound files

2012-10-21 Thread Robert Carl Rice
Hi, I recently added some NSSound alerts to one of my project. It works but it generates a "GC operation on unregistered thread" warning when I play the sound. Is there a way to avoid this warning? Thanks, Bob Rice ___ MacRuby-devel mailing list

Re: [MacRuby-devel] Quartz 2D Graphics problem

2012-10-24 Thread Robert Carl Rice
om MacRuby. Thanks for the help, Bob Rice On Oct 21, 2012, at 3:28 PM, Colin Thomas-Arnold wrote: > yup, you can't mix and match within one file. > > > @colinta > colinta.com > github.com/colinta > > > > > On Oct 21, 2012, at 1:22 PM, Robert Carl Rice

Re: [MacRuby-devel] Problem with a window controller

2012-12-02 Thread Robert Carl Rice
Hi David, A couple of things I notice offhand in you code: The NSWindowController class defines accessor methods for "window" so you shouldn't redefine it with the Ruby attr_accessor method. Note: similarly NSViewController defines accessor methods for "view". You can configure IB to link the

Re: [MacRuby-devel] Problem with a window controller

2012-12-03 Thread Robert Carl Rice
nitialization . > Thanks, David > On Dec 3, 2012, at 6:24 AM, Robert Carl Rice wrote: > >> Hi David, >> >> A couple of things I notice offhand in you code: >> >> The NSWindowController class defines accessor methods for "window" so you >>

Re: [MacRuby-devel] Problem with a window controller

2012-12-03 Thread Robert Carl Rice
hat , since this reasoning leads to a conclusion that this is > some kind of a bug in Cocoa , but Cocoa exists for a long time and used a lot > , so I am not sure. > Since this is the only problem I faced so far , I decided to move on and be > careful upon relying on these 2 delegates

Re: [MacRuby-devel] Problem with a window controller

2012-12-06 Thread Robert Carl Rice
that initially I will rely less on the IB and more on the code. > Many Thanks, > David. > > On Dec 4, 2012, at 9:19 AM, Robert Carl Rice wrote: > >> Hi David, >> >> AppDelegate doesn't inherit from NSWindowController so you would need a >> MacR

Re: [MacRuby-devel] Problem with a window controller

2012-12-07 Thread Robert Carl Rice
> "initialize"method called. > I know I still have a lot of practicing on IB. What I find disturbing ,is > that when I do something with IB I cannot see the code created to > accommodate my actions ( maybe because I only work in

[MacRuby-devel] Undefined security bookmark constants

2013-03-06 Thread Robert Carl Rice
Hi, I use application scoped secure bookmarks to automatically reopen documents in one of my iTunes Store MacRuby applications. Recently the NSURL constants NSURLBookmarkCreationWithSecurityScope and NSURLBookmarkResolutionWithSecurityScope became undefined. I updates both to BridgeSupport Pre

Re: [MacRuby-devel] Problem with a window controller

2013-03-06 Thread Robert Carl Rice
Hi David and Jean-Denis, I haven't been following the list for a while so I'm just catching up and see my message about initialization sparked some responses. I haven't observed the behavior that you mention of "awakeFromNib" being called more than once for an object instantiated by NIB file ex

[MacRuby-devel] Change to framework search path

2013-03-06 Thread Robert Carl Rice
After updating to the latest nightly build, I had to change my framework search path to find MacRuby.h. I see that the installer now puts a link to /Library/Frameworks/ in the Xcode "Contents" directory and my app runs if I change my Framework Search Paths to $(inherited) "$(SYSTEM_APPS_DIR)/Xc

Re: [MacRuby-devel] Mavericks and Macruby

2013-11-02 Thread Robert Carl Rice
Hi Rob, I upgraded to Mavericks and soon after reverted my system to 10.8.5 from a Time Machine backup after it was apparent that MacRuby wasn't going to work. I have a MacRuby app on the iTunes Store and another pending review on the store, so I still need to maintain them. Is there a recent

[MacRuby-devel] MacRuby on Mavericks

2013-11-04 Thread Robert Carl Rice
Hi, Nice that I sparked some discussion. One of the reasons that I continued to write MacRuby script even though Xcode was giving me the warning that GC was deprecated is that I suspect that was a mostly a political move to appease the egos of the IOS and ARC guys and also to encourage program

Re: [MacRuby-devel] MacRuby on Mavericks

2013-11-05 Thread Robert Carl Rice
Hey Bob, > > Have you seen the IB gem? It let's you use nibs with Rubymotion with minimal > changes in your MacRuby code. > > https://github.com/yury/ib > > Sent from my iPhone > > On 05/11/2013, at 04:02, Robert Carl Rice wrote: > >> Hi, >> &g

Re: [MacRuby-devel] MacRuby on Mavericks

2013-11-06 Thread Robert Carl Rice
at >> macruby-devel-ow...@lists.macosforge.org >> >> When replying, please edit your Subject line so it is more specific >> than "Re: Contents of MacRuby-devel digest..." >> >>

Re: [MacRuby-devel] MacRuby on Mavericks

2013-11-06 Thread Robert Carl Rice
You can reach the person managing the list at >> macruby-devel-ow...@lists.macosforge.org >> >> When replying, please edit your Subject line so it is more specific >> than "Re: Contents of MacRuby-devel digest..." >>

Re: [MacRuby-devel] Standard Ruby for desktop apps?

2013-11-06 Thread Robert Carl Rice
Hi Kevin, I don't think many app developers would want to publish their source code through the iTunes store. Another developer would quickly "swallow it up" into a larger application. I wouldn't be interested in any solution that doesn't compile the code. Bob Rice On Nov 6, 2013, at 9:51 PM,

Re: [MacRuby-devel] MacRuby on Mavericks

2013-11-06 Thread Robert Carl Rice
Hi Kevin, No, except that when I tried to upgrade to Mavericks I got undefined class object errors from the MacRuby framework as per Rob Ista's message. Hopefully it's just a load order problem. Bob Rice On Nov 6, 2013, at 9:37 PM, Kevin Walzer wrote: > On 11/6/13, 9:00 PM

Re: [MacRuby-devel] MacRuby on Mavericks

2013-11-07 Thread Robert Carl Rice
IRB there . > Has anyone tried it? Do you have a better easier idea ? Is it doable ?? > Thnks, David Kramf > > > On Nov 7, 2013, at 4:00 AM, Robert Carl Rice wrote: > >> Hi Rob, >> >> Thanks for looking into this. >> >> The iTunes Store has notif

Re: [MacRuby-devel] MacRuby on Mavericks

2013-11-09 Thread Robert Carl Rice
On Nov 7, 2013, at 9:07 AM, Joshua Ballanco wrote: > * MacRuby integration with Xcode relies on rb-nibtool, but the Xcode team has > repeatedly signaled (not so subtly) that they are not interested in keeping > this shim working. I assume that rb-nibtool scans rb files to identify possible IB

Re: [MacRuby-devel] MacRuby on Mavericks

2013-11-10 Thread Robert Carl Rice
Thanks Rob, I wasn't familiar with that syntax. I like referencing the Obj-C property from the documentation perspective. It distinguishes my references to IBOutlets from references to ruby class variables. Bob On Nov 10, 2013, at 4:19 AM, rob ista wrote: > Isn’t it enough to have a Class.h

Re: [MacRuby-devel] MacRuby on Mavericks

2013-11-10 Thread Robert Carl Rice
Hi Rob, One other comment on your example. I see that you have subclassed NSWindowController in your AppDelegate. That is good for the window to be restorable. However, NSWindowController will define it's own window property as an IBOutlet so you don't want to override that with your own windo