Sent from my iPhone
On Sep 28, 2008, at 21:52, Michael Gardner <[EMAIL PROTECTED]> wrote:
On Sep 28, 2008, at 1:17 PM, David Niemeijer wrote:
Michael,
On 28 sep 2008, at 14:41, Michael Gardner wrote:
Upon further investigation, I may be wrong. I based my assertion
upon Apple's NSString d
On Sep 28, 2008, at 1:17 PM, David Niemeijer wrote:
Michael,
On 28 sep 2008, at 14:41, Michael Gardner wrote:
Upon further investigation, I may be wrong. I based my assertion
upon Apple's NSString documentation ("Returns the number of Unicode
characters in the receiver"), and upon some quic
Hi folks,
I would like to announce the first release of MacCode. MacCode is a
shared source repository, the goal is to get as much sample code and
projects into a single location as possible. Read more about the
MacCodeproject and download the first release here:
http://code.google.com/p
On Sep 26, 2008, at 11:12 PM, Clark Cox wrote:
On Fri, Sep 26, 2008 at 8:57 PM, <[EMAIL PROTECTED]>
wrote:
On Sep 26, 2008, at 11:22 AM, j o a r wrote:
On Sep 25, 2008, at 6:22 AM, Steve Rossi wrote:
I've deduced that he crash seems to be something timing related
which
occurs only at a
On Sep 28, 2008, at 3:05 PM, Peter Edberg wrote:
David,
Check out CFStringGetRangeOfComposedCharactersAtIndex. It finds the
kinds of text boundaries that I think you are interested in. You
would just need to iterate over the string calling this for each
iteration to find the next boundar
I've got two NSTokenFields. One is read-only as a palette for dragging and
dropping to the other. I've implemented a "Token" class to distinguish between
tokens and plain text (NSString). I can pass in arrays of mixed Tokens and
NSStrings, and it all displays correctly in both fields.
However,
On Sep 28, 2008, at 12:02 PM, [EMAIL PROTECTED] wrote:
--
Message: 1
Date: Sun, 28 Sep 2008 20:17:26 +0200
From: David Niemeijer <[EMAIL PROTECTED]>
Subject: Re: How to count composed characters in NSString?
To: Cocoa-Dev List
On Sep 28, 2008, at 3:32 PM, Matt wrote:
I should add that I currently have all the menu items connected, the
only
ones I can't seem to get working are the Find Next, and Find
Previous, and
Use Selection For Find. The standard Edit menu in a new .nib does
not show
any default action for th
Users don't see characters, they see glyphs. If you want your count to
maximally agree with user perception, you need to be counting glyphs,
not characters.
See NSLayoutManager, esp:
- (NSRange)glyphRangeForCharacterRange:(NSRange)charRange
-- and friends.
If you are showing strin
On Sun, Sep 28, 2008 at 2:17 PM, David Niemeijer <[EMAIL PROTECTED]> wrote:
> I need to be able to display the number of characters to the user in a way
> that makes sense to them. If they see 3 I should report 3. I also need it to
> cut-off certain input to the number of "real" characters and shou
Michael,
On 28 sep 2008, at 14:41, Michael Gardner wrote:
Upon further investigation, I may be wrong. I based my assertion
upon Apple's NSString documentation ("Returns the number of Unicode
characters in the receiver"), and upon some quick tests I ran. But
this reply made me look into the
On Sun, Sep 28, 2008 at 11:01 AM, Scott Ribe <[EMAIL PROTECTED]> wrote:
>> Except that in every case I've seen of people getting bit by this, the
>> window was still being implicitly retained by the nib's File's Owner.
>> You should definitely *not* expect a top-level nib object to go away
>> until
On Sat, Sep 27, 2008 at 3:23 PM, David Niemeijer <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have been trying to find this in the documentation and list archives but
> without success so far. What is the best way to count the number of
> characters in an NSString taking account of the fact that some cha
[[NSWorkspace sharedWorkspace] selectFile:path
inFileViewerRootedAtPath:nil];
On Sep 28, 2008, at 8:30 AM, John Cebasek wrote:
Hi All:
I've got a couple of functions that do a "Reveal in Finder" that are
in Carbon land, and sit on top of the "More..." library.
Since quite a few of the
HI,
To set the angle of this transition, set the input parameter for
"inputAngle". As the documentation says, this value may vary between
pi (3.14159-ish) and -pi. the value of pi * 3/4 will get you want...
later,
douglas
On Sep 28, 2008, at 10:14 AM, Brad Peterson wrote:
Hi all,
I'v
Hi All:
I've got a couple of functions that do a "Reveal in Finder" that are
in Carbon land, and sit on top of the "More..." library.
Since quite a few of the functions in the "More" library have been
marked as deprecated, I'm wondering if there is a Cocoa-sentric way of
performing a 'rev
> Except that in every case I've seen of people getting bit by this, the
> window was still being implicitly retained by the nib's File's Owner.
> You should definitely *not* expect a top-level nib object to go away
> until File's Owner releases it.
Sure. The design intent here is that File's Owne
I have a good reason to not be able to do this. InputElements are
cross-platform, but InputViews only exist on one platform. As such,
the frameworks required to build InputViews will not always be
available to the InputElement class.
I could get around it, I suppose, if I put in compiler
Hi all,
I've been through the archives, and done quite a bit of playing around with the
sample code, too, but I can't figure out how to change CIPageCurlTransition's
starting corner.
In all of the stuff I've seen so far, the page curl always starts in the upper
left corner, which seems somehow
I should add that I currently have all the menu items connected, the only
ones I can't seem to get working are the Find Next, and Find Previous, and
Use Selection For Find. The standard Edit menu in a new .nib does not show
any default action for these items. I also tried replacing this submenu wit
On Sep 28, 2008, at 5:53 AM, Gerriet M. Denkmann wrote:
On Sun, 28 Sep 2008 03:27:48 -0500, Michael Gardner <[EMAIL PROTECTED]
> wrote:
On Sep 27, 2008, at 2:23 PM, David Niemeijer wrote:
Hi,
I have been trying to find this in the documentation and list
archives but without success so far
On Sep 27, 2008, at 7:38 PM, Dave DeLong wrote:
My question is, do I need to override the +(Class) class method for
each InputElement subclass, and if so how do I make a Class object?
The only situations I can think of where you might want to do that is
if you're writing some kind of a pro
I apologize that this isn't a direct Cocoa question but I'm in a bit of jam
here and am desperate for any help. My edit menu was removed accidentally
from my app's main nib file. In IB3 I dragged a new Edit menu into the menu
bar, but nothing on it is working. I can make some of the items work by
d
On Sep 27, 2008, at 8:10 PM, Joe Keenan wrote:
On Sep 27, 2008, at 4:25 PM, Chris Hanson wrote:
On Sep 26, 2008, at 3:37 PM, Joe Keenan wrote:
Right now, the app controller object sends a message to the
device controller, requesting the value of a specified variable.
The device contro
On Sun, 28 Sep 2008 03:27:48 -0500, Michael Gardner
<[EMAIL PROTECTED]> wrote:
On Sep 27, 2008, at 2:23 PM, David Niemeijer wrote:
Hi,
I have been trying to find this in the documentation and list
archives but without success so far. What is the best way to count
the number of characters i
On 28 Sep 2008, at 10:02, Dave DeLong wrote:
I'm building an app, and I've got a bunch of interface object
definitions called "InputElements". There are a couple subclasses,
such as InputElementButton and InputElementSlider.
I'm building the interface via an "InputMode" object, that contains a
Hi all,
What is the best approach to do this? I would like the user to be
able to double click on the header cell of a NSTableView and have a
field appear in place that would let them change the heading.
Ive tried just setting [[NSTableColumn headercell setEditable:YES]
when I create the
On Sep 27, 2008, at 2:23 PM, David Niemeijer wrote:
Hi,
I have been trying to find this in the documentation and list
archives but without success so far. What is the best way to count
the number of characters in an NSString taking account of the fact
that some characters may take up mult
2008/9/27 Andrew Farmer <[EMAIL PROTECTED]>:
> NSScreen gives you this functionality, but it's even easier to just have
> [NSWindow center] do the job for
> you.
Just be aware that -center doesn't actually put the window in the
center of the screen. Vertically, the window is placed about 1/3 of
t
29 matches
Mail list logo