Re: Problem with missing symbol

2009-12-11 Thread Emmanuel Pinault
On Dec 10, 2009, at 2:45 PM, Lee Ann Rucker wrote: > > On Dec 10, 2009, at 1:24 PM, Emmanuel Pinault wrote: > >> >>> >>> Have you tried using [NSStatusItem setView:]? >>> >> >> >> setView is for custom view.. Because if I don

Re: Problem with missing symbol

2009-12-10 Thread Emmanuel Pinault
> > Have you tried using [NSStatusItem setView:]? > setView is for custom view.. Because if I dont do a setView, the view Method return nil so far. And looking at the doc it mentions that it is for custom view. I am looking at something similar called MAAAttachedWindow class made by some

Re: Problem with missing symbol

2009-12-10 Thread Emmanuel Pinault
> I am trying to create a small item in the status bar, which when I click, I > can show at a glance a small calendar... kind of like how Gnome does it. > Really convenient and better than loading the full dashboard at times.. > Anyway I using rubycocoa and this is the code I am trying to have

Re: Problem with missing symbol

2009-12-10 Thread Emmanuel Pinault
On Dec 10, 2009, at 10:24 AM, lbland wrote: > > On Dec 10, 2009, at 1:15 PM, Emmanuel Pinault wrote: > >> How would you suggest I get the Frame information from the window then? > > hi- > > Don't know what you're up to, but this NSWindow method: &g

Re: Problem with missing symbol

2009-12-10 Thread Emmanuel Pinault
On Dec 10, 2009, at 9:53 AM, Kyle Sluder wrote: > On Dec 10, 2009, at 9:46 AM, Emmanuel Pinault wrote: > >> This use to work in 10.5 .. I am using 10.6 and this is not linking due to >> missing symbol. What I do not get, is that the _fWindow is still an >> attrib

Problem with missing symbol

2009-12-10 Thread Emmanuel Pinault
Hi, I am trying for some specific reason to access a private attribute and make it public for my need with the following code in the .h #import @interface NSStatusItem (hack) - (NSRect)hackFrame; @end in the .m import "NSStatusItem+hack.h" @implementation NSStatusItem(hack) - (NSRect)ha

Re: iphone and images issues

2009-02-07 Thread Emmanuel Pinault
x27;t worth the effort (and has the potential to break things). If you're concerned about filename collisions, prefix your filenames. -rob. On Feb 7, 2009, at 8:19 PM, Sherm Pendley wrote: On Feb 7, 2009, at 8:10 PM, Emmanuel Pinault wrote: So I dragged and dropped an image folder into

iphone and images issues

2009-02-07 Thread Emmanuel Pinault
So I dragged and dropped an image folder into my iphone app under the ressources. I specified to copy it. Now when I build the application, it seems that apple underlying just put all the file in a flat structure. So all my files are located in the same place which is kind of messy I believe

Custom view and ViewController

2009-01-23 Thread Emmanuel Pinault
Hi I have a custom view that is doing the rendering logic but how can the view communicate with the Controller owning it? Do I need to create an outlet in the view to be able to communicate with the controller? Thanks Emmanuel ___ Cocoa-dev m

hide a tabBar

2009-01-23 Thread Emmanuel Pinault
hi I am using a TabBarViewController that had inside 2 Navigation Controller that have themselves a UIViewController. I trying hide the tabBar when I am pushing new views using self.hidesBottomBarWhenPushed = YES; To be more specific: I create the TabBarViewController using IB and temp

Re: [XCode] Generating method stubs

2009-01-20 Thread Emmanuel Pinault
Maybe code generation? Look at Manning book about code generation. Easy to write simple one in Ruby and get your stubs :) On Jan 9, 2009, at 4:57 AM, Graham Cox wrote: On 9 Jan 2009, at 11:10 pm, Martijn van Exel wrote: Hi all, Coming from a .NET/Visual Studio environment, I got used to

cocoa and iphone fonts

2008-11-25 Thread Emmanuel Pinault
Hi is it possible to load a custom fonts on the iphone with Cocoa touch? I am trying to load a language font that is not yet supported on the iphone but works on OSX. IS there a way to do it? Even if keyboard is not usable yet at least rendering the font would be helpful for now. Thanks

Re: NSButton ical Like

2008-11-19 Thread Emmanuel Pinault
worth taking a look at: http://code.google.com/p/calendarcontrol/ Andre Masse On Nov 19, 2008, at 14:37, Emmanuel Pinault wrote: How do I make a button like the mini calendar in ical (the one that show the days and when one is selected , it shows the day with a blue gradient)? I looked a

Re: NSButton ical Like

2008-11-19 Thread Emmanuel Pinault
cumentation yet). NSDrawThreePartImage takes end cap images and a center image to be tiled, and NSDrawNinePartImage takes corners, edges to be tiled, and a center piece to be tiled. -Ken On Wed, Nov 19, 2008 at 11:37 AM, Emmanuel Pinault <[EMAIL PROTECTED]> wrote: How do I make a button like

Re: NSButton ical Like

2008-11-19 Thread Emmanuel Pinault
On Nov 19, 2008, at 1:01 PM, Nick Zitzmann wrote: On Nov 19, 2008, at 12:37 PM, Emmanuel Pinault wrote: How do I make a button like the mini calendar in ical (the one that show the days and when one is selected , it shows the day with a blue gradient)? You've got to write one you

NSButton ical Like

2008-11-19 Thread Emmanuel Pinault
How do I make a button like the mini calendar in ical (the one that show the days and when one is selected , it shows the day with a blue gradient)? I looked at the NSButton and NSButtonCell and nothing can set the background directly nor having an image and text on top... My understandin