NSCustomImageRep and NSImage setSize

2013-11-08 Thread Mathew Eis
? Thanks in advance! -Mathew Eis ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your

Re: Cocoa program without xib file

2009-04-16 Thread mathew davis
Hello YongLi, are you writing for osx or iphone? http://ericasadun.com/ has sample code for iphone development, this sample code does not use xib files. On 16/04/2009, at 3:35 PM, YongLi wrote: Hello everyone: I want to build a Cocoa program without xib file. But I can't find any introd

Re: display unicode string one character at a time, actually quite simple after all

2009-02-18 Thread mathew davis
have had a bug earlier today that just wasn't splitting strings at all. thank you very much for taking the time to look at this for me and to write back. I was absolutely convinced that rangeOfComposedCharacterSequenceAtIndex wasn't working the way I wanted. regards Mathew On 18/02/2

Re: display unicode string one character at a time, not at simple as it seems

2009-02-17 Thread mathew davis
a special feature of the language it needs to be preserved to be grammatically correct. At the moment i'm using rangeOfComposedCharacterSequenceAtIndex. And if a sequence is too wide for my tile I scale it down. does that make sense? cheers Mathew ___

sorry everyone for the bcc'ing - was a slip of the mouse

2009-02-17 Thread mathew davis
sorry for tangling your filters ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subs

Re: display unicode string one character at a time, not at simple as it seems

2009-02-17 Thread mathew davis
: rangeOfComposedCharacterSequencesForRange: rangeOfComposedCharacterSequenceAtIndex: will do their job just fine but I wouldn't have figured that out if you hadn't asked me, so thank you. cheers mathew On Tue, Feb 17, 2009 at 2:13 PM, mathew davis > wrote: Hello, I need to break a string down in

display unicode string one character at a time, not at simple as it seems

2009-02-17 Thread mathew davis
Hello, I need to break a string down into individual characters. In English that's pretty easy. But in some languages what a user perceives as a single block is actually a base character plus accents plus vowel markers plus tone markers plus... eg: เก is made of U+0E40 ( เ ) thai

building a file path

2009-01-24 Thread mathew
do it that doesn't involve hard coding the slashes into the filepath? cheers thanks for your help mathew ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Co

Re: Newbie: Simple display with NSView - problem

2008-10-06 Thread Genu Mathew
> I'm pretty sure this isn't what you're > proposing, but it could be one interpretation of your > description! Sorry, I should have phrased it better. I am trying to avoid hardcoding the filenames into the custom views > In the NIB, just use a "custom view", then set > its class to your clas

Re: Newbie: Simple display with NSView - problem

2008-10-03 Thread Genu Mathew
Cc: "Graham Cox" <[EMAIL PROTECTED]>, Cocoa-dev@lists.apple.com > Date: Wednesday, October 1, 2008, 6:47 PM > On Thu, Oct 2, 2008 at 12:42 AM, Graham Cox > <[EMAIL PROTECTED]> wrote: > > > > On 2 Oct 2008, at 5:02 am, Genu Mathew wrote: > > > >> O

Re: Newbie: Simple display with NSView - problem

2008-10-03 Thread Genu Mathew
iew - problem > To: [EMAIL PROTECTED] > Cc: Cocoa-dev@lists.apple.com > Date: Wednesday, October 1, 2008, 6:42 PM > On 2 Oct 2008, at 5:02 am, Genu Mathew wrote: > > > On debugging, I found that when I run the command > [NewWindow > > showWindow:self]

Newbie: Simple display with NSView - problem

2008-10-01 Thread Genu Mathew
HI, I am a new to programming in Cocoa and I am trying to write a program that has a button in the main window (MainWindow.xib) which when pushed opens another window (newWindow.xib) containing an image in it. The new window also has a custom View class called 'OUSubImageView' (subclass of NSVi