Because Googling for MacRuby issues can still be quite challenging, I decided to start blogging about small things that might be useful to others. My first post is about embedding a custom font into your application and then use it on a text field or somewhere else: http://merbist.com/2009/10/06/macruby-tips-embed-a-custom-font/ Searching the Cocoa doc and converting the result into MacRuby isn't hard. However, I am sure that other developers will also try to embed a custom font into one of their apps, and if a result shows up right away when they google the problem, their experience will be much better. Anyway, I hope this series of tips will be helpful, and if you are learning Cocoa and have a blog, you might also want to share what you've learned/discovered. - Matt
Very cool Matt! Maybe we should move these tips to the macruby.org website (as "recipes") at one point. http://www.macruby.org/documentation.html Laurent On Oct 6, 2009, at 10:50 AM, Matt Aimonetti wrote:
Because Googling for MacRuby issues can still be quite challenging, I decided to start blogging about small things that might be useful to others. My first post is about embedding a custom font into your application and then use it on a text field or somewhere else:
http://merbist.com/2009/10/06/macruby-tips-embed-a-custom-font/
Searching the Cocoa doc and converting the result into MacRuby isn't hard. However, I am sure that other developers will also try to embed a custom font into one of their apps, and if a result shows up right away when they google the problem, their experience will be much better.
Anyway, I hope this series of tips will be helpful, and if you are learning Cocoa and have a blog, you might also want to share what you've learned/discovered.
- Matt _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Sounds good, as soon as I have a nice collection, I'll package them in recipes. By the way, anyone faced a problem they couldn't solve? Or maybe there is a specific topic you would like me/someone else to cover? - Matt On Tue, Oct 6, 2009 at 11:48 AM, Laurent Sansonetti <lsansonetti@apple.com>wrote:
Very cool Matt!
Maybe we should move these tips to the macruby.org website (as "recipes") at one point.
http://www.macruby.org/documentation.html
Laurent
On Oct 6, 2009, at 10:50 AM, Matt Aimonetti wrote:
Because Googling for MacRuby issues can still be quite challenging, I
decided to start blogging about small things that might be useful to others. My first post is about embedding a custom font into your application and then use it on a text field or somewhere else:
http://merbist.com/2009/10/06/macruby-tips-embed-a-custom-font/
Searching the Cocoa doc and converting the result into MacRuby isn't hard. However, I am sure that other developers will also try to embed a custom font into one of their apps, and if a result shows up right away when they google the problem, their experience will be much better.
Anyway, I hope this series of tips will be helpful, and if you are learning Cocoa and have a blog, you might also want to share what you've learned/discovered.
- Matt _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
On Oct 7, 2009, at 12:24 AM, Matt Aimonetti wrote:
By the way, anyone faced a problem they couldn't solve? Or maybe there is a specific topic you would like me/someone else to cover?
Compiling MacRuby was lot harder when last I checked. :-) Specially on 32 bit leopard. Then I give up. Waiting for Binary Release.
That's why we provide you with nightly builds: http://www.macruby.org/downloads.html :) While this is indeed something a bit challenging, most developers shouldn't have to do it and therefore I don't think a recipe is really needed. (you basically just have to follow the readme). Anything else anyone encountered? I'll probably post something about streaming sound and also few tricks I discovered when using xcode for ruby code. - Matt On Tue, Oct 6, 2009 at 11:59 AM, Niket Patel <nexneo@me.com> wrote:
On Oct 7, 2009, at 12:24 AM, Matt Aimonetti wrote:
By the way, anyone faced a problem they couldn't solve? Or maybe there is
a specific topic you would like me/someone else to cover?
Compiling MacRuby was lot harder when last I checked. :-) Specially on 32 bit leopard. Then I give up. Waiting for Binary Release.
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Hey Matt, Something I'm working on is writing a Framework in Xcode, and using MacRuby to test it. I'm running into some issues that I'm trying to chase down (segfaults with bacon when loading frameworks), but there were enough gottchas that I think this would make for a good little recipe. Let me know what you think, and maybe we can put something together. Cheers, Josh On Oct 6, 2009, at 12:25 PM, Matt Aimonetti wrote:
That's why we provide you with nightly builds: http://www.macruby.org/downloads.html :) While this is indeed something a bit challenging, most developers shouldn't have to do it and therefore I don't think a recipe is really needed. (you basically just have to follow the readme).
Anything else anyone encountered?
I'll probably post something about streaming sound and also few tricks I discovered when using xcode for ruby code.
- Matt
On Tue, Oct 6, 2009 at 11:59 AM, Niket Patel <nexneo@me.com> wrote:
On Oct 7, 2009, at 12:24 AM, Matt Aimonetti wrote:
By the way, anyone faced a problem they couldn't solve? Or maybe there is a specific topic you would like me/someone else to cover?
Compiling MacRuby was lot harder when last I checked. :-) Specially on 32 bit leopard. Then I give up. Waiting for Binary Release.
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Josh, that's a great idea! Testing Cocoa using MacRuby is something that I'm sure a lot of CocoaHeads will love to do. I'd be glad to help you out. Did you see my recipe on writing your own framework/bundle for macruby? http://www.macruby.org/recipes/create-an-objective-c-bundle.html - Matt On Tue, Oct 6, 2009 at 12:33 PM, Josh Ballanco <joshua.ballanco@apple.com>wrote:
Hey Matt, Something I'm working on is writing a Framework in Xcode, and using MacRuby to test it. I'm running into some issues that I'm trying to chase down (segfaults with bacon when loading frameworks), but there were enough gottchas that I think this would make for a good little recipe. Let me know what you think, and maybe we can put something together.
Cheers,
Josh
On Oct 6, 2009, at 12:25 PM, Matt Aimonetti wrote:
That's why we provide you with nightly builds: http://www.macruby.org/downloads.html :) While this is indeed something a bit challenging, most developers shouldn't have to do it and therefore I don't think a recipe is really needed. (you basically just have to follow the readme).
Anything else anyone encountered?
I'll probably post something about streaming sound and also few tricks I discovered when using xcode for ruby code.
- Matt
On Tue, Oct 6, 2009 at 11:59 AM, Niket Patel <nexneo@me.com> wrote:
On Oct 7, 2009, at 12:24 AM, Matt Aimonetti wrote:
By the way, anyone faced a problem they couldn't solve? Or maybe there is
a specific topic you would like me/someone else to cover?
Compiling MacRuby was lot harder when last I checked. :-) Specially on 32 bit leopard. Then I give up. Waiting for Binary Release.
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Thanks, But build for snow leopard only. I'm still on Leopard. I'm not saying recipe is needed for this topic, just mentioning it is really hard and unpredictable on 32 bit system. Mainly because most developers working on 64 bit snow leopard. Btw, Blogging on small stuffs that can help to understand tricky areas is really great. On Oct 7, 2009, at 12:55 AM, Matt Aimonetti wrote:
That's why we provide you with nightly builds: http://www.macruby.org/downloads.html :) While this is indeed something a bit challenging, most developers shouldn't have to do it and therefore I don't think a recipe is really needed. (you basically just have to follow the readme).
On Tue, Oct 6, 2009 at 11:59 AM, Niket Patel <nexneo@me.com> wrote:
Compiling MacRuby was lot harder when last I checked. :-) Specially on 32 bit leopard. Then I give up.
Very good point about Leopard. Maybe Vincent can shine in since he's still on Leopard. My guess is that the beta/rc1 will be built for leopard/snow leopard. What kind of problems did you have while trying to build from trunk? FYI, Instead if doing a LLVM svn update, It turned out easier to just checkout a new version of the repo. - Matt Sent from my iPhone On Oct 6, 2009, at 12:42, Niket Patel <nexneo@me.com> wrote:
Thanks, But build for snow leopard only. I'm still on Leopard. I'm not saying recipe is needed for this topic, just mentioning it is really hard and unpredictable on 32 bit system. Mainly because most developers working on 64 bit snow leopard.
Btw, Blogging on small stuffs that can help to understand tricky areas is really great.
On Oct 7, 2009, at 12:55 AM, Matt Aimonetti wrote:
That's why we provide you with nightly builds: http://www.macruby.org/downloads.html :) While this is indeed something a bit challenging, most developers shouldn't have to do it and therefore I don't think a recipe is really needed. (you basically just have to follow the readme).
On Tue, Oct 6, 2009 at 11:59 AM, Niket Patel <nexneo@me.com> wrote:
Compiling MacRuby was lot harder when last I checked. :-) Specially on 32 bit leopard. Then I give up.
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
participants (4)
-
Josh Ballanco
-
Laurent Sansonetti
-
Matt Aimonetti
-
Niket Patel