I've got a NSTableView and when I select a row, it is highlighted with
the color specified in the Appearance System Preference panel.
Is there a way to take control over what color gets used to highlight
a row when selected?
I need to be able to set the highlight color used based on what
On Apr 10, 2008, at 6:00 AM, Cathy Shive wrote:
If you're targeting Leopard, there is an NSTableView method you can
override for this (a public one!)
-(void)highlightSelectionInClipRect:(NSRect)theClipRect
You have to actually draw the highlights, it's not simply a matter
of setting the
On Apr 10, 2008, at 8:00 PM, Eric Gorr wrote:
On Apr 10, 2008, at 6:00 AM, Cathy Shive wrote:
If you're targeting Leopard, there is an NSTableView method you can
override for this (a public one!)
-(void)highlightSelectionInClipRect:(NSRect)theClipRect
You have to actually draw
On Apr 11, 2008, at 12:21 AM, Ben Lachman wrote:
I do something like this:
@implementation HilightingTextFieldCell
- (void)drawWithFrame:(NSRect)cellFrame inView:(NSView *)controlView
{
if( [self isHighlighted] ) {
NSColor *oldColor = [self textColor];
On Apr 12, 2008, at 11:26 AM, Eric Gorr wrote:
On Apr 11, 2008, at 11:42 AM, Corbin Dunn wrote:
On Apr 10, 2008, at 5:41 PM, Eric Gorr wrote:
On Apr 10, 2008, at 8:28 PM, Corbin Dunn wrote:
If you're targeting Leopard, there is an NSTableView method you
can override for this (a public
If anyone is interested, with a bit more playing around and putting
various pieces of comments together, I was able to get the
highlighting behavior I wanted.
On Apr 12, 2008, at 1:23 PM, Eric Gorr wrote:
At this point, actually seeing my specific case might be helpful...
I have placed my
Reading things like,
http://developer.apple.com/qa/qa2004/qa1373.html
which discuss CFBundleIdentifier, the example always given for what it
should look like is of the form:
com.mycompany.MyApp
My question is, as different versions, of the same application, are
released, it is a good
On Jul 11, 2008, at 1:01 PM, Douglas Davidson wrote:
Remember that preferences and the like are keyed off of the bundle
identifier, so changing it would give you some work to do in
migrating older settings.
I am focused on your phrase 'and the like'.
Other then preferences, what else is
So, occasionally, I need to clean out my Launch Services Database.
Most of the work can be done by executing:
lsregister -kill -r -domain local -domain system -domain user
However, this leaves behind information such as:
handler id:3160
extension: dtd
options:
On Jul 11, 2008, at 12:58 PM, Gary L. Wade wrote:
It's really up to you and the kinds of changes that you expect to
happen between each version. Having a single ID allows preferences
to be mixed and matched if different versions of the product are
used, but if you want to support the
On Aug 28, 2008, at 4:04 PM, Bob Sabiston wrote:
On Aug 27, 2008, at 8:30 PM, CocoaDev Admins wrote:
I've been given explicit instructions to enforce the non-disclosure
agreement when moderating this list. So that's what I do.
The admins in the discussions groups should be following the
When I use interface builder to create a NSForm and hook up it's
action, I see the action being executed when I tab between the fields
as I am running the application.
However, when I create a NSForm programmatically and hook up it's
action, I only see the action being executed when I
via IB. When I tab
between the fields, the updateContact: selector is called.
On Sep 27, 2008, at 12:29 PM, Eric Gorr wrote:
When I use interface builder to create a NSForm and hook up it's
action, I see the action being executed when I tab between the
fields as I am running
Can one programmatically control the size of the resize indicator on a
NSPanel? If so, how?
Is it possible to programmatically get or compute the frame the resize
indicator occupies on a NSPanel?
thank you.
___
Cocoa-dev mailing list
name = [NSString stringWithString:aString];
is creating an autoreleased string. If you want to keep it around, you
will need to:
[name retain];
and similarly with your height setter. I believe this will solve your
problem.
Can you use or are you using Obj-C 2.0? If so, I would suggest
On Oct 1, 2008, at 11:22 AM, Alexander Griekspoor wrote:
Awesome! Any official policy/point-of-view with regards to this list?
http://developer.apple.com/iphone/program/
This is cool.
Hopefully, they will open up an iphone-dev mailing list very soon.
You can download a complete working and non-working project by grabbing:
http://ericgorr.net/bindings.zip
The first project called bindings was based on a simple Cocoa
Application. I setup all of the bindings and everything works as
expected.
The second project called bindingsdocs was
Is it possible to determine the size of the resize box on a window?
The reason why this is important is that I need to be able to create a
window programmatically and add stuff to it. In order to make sure
that what I am adding does not overlap with the resize box in the
lower right corner
I found this old thread:
http://lists.apple.com/archives/cocoa-dev/2006/Mar/msg01864.html
and I would like to know the same thing. Unfortunately, the old thread
did not conclude with an answer.
While it is possible to obtain the button by doing:
NSButton *miniaturizeButton = [myWindow
On Oct 22, 2008, at 10:53 AM, Michael Ash wrote:
On Wed, Oct 22, 2008 at 10:36 AM, Eric Gorr [EMAIL PROTECTED]
wrote:
I found this old thread:
http://lists.apple.com/archives/cocoa-dev/2006/Mar/msg01864.html
and I would like to know the same thing. Unfortunately, the old
thread did
This strange behavior is easy to reproduce using just the Cocoa
Simulator.
You can grab an example .xib from:
http://ericgorr.net/MyDocument.xib.zip
Load this .xib into interface builder and run the simulator.
Once the window appears, resize the window to the smallest height you
can and
On Oct 23, 2008, at 11:35 AM, Andy Lee wrote:
On Oct 23, 2008, at 11:17 AM, Eric Gorr wrote:
Once the window appears, resize the window to the smallest height
you can and then resize back to the original height.
What you will see happen is the 'Label' disappear.
You have the text field
I've updated the .xib at:
http://ericgorr.net/MyDocument.xib.zip
Run this through the simulator.
Shrink the window to it's smallest height and either keep the width
the same or feel free to make the window wider.
Grow the window again to the height it was before.
The 'Label' text will be
On Oct 23, 2008, at 1:46 PM, Andy Lee wrote:
On Oct 23, 2008, at 12:30 PM, Eric Gorr wrote:
On Oct 23, 2008, at 11:35 AM, Andy Lee wrote:
You have the text field set to grow and shrink in proportion to
its superview. In the Size inspector, note the red double-ended
horizontal arrow
I just entered a bug report: rdar//6314988
___
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
On Oct 24, 2008, at 12:15 PM, Randall Meadows wrote:
It looks like we're legit to discuss now!
http://devforums.apple.com/
I wonder if there will be a corresponding iphone-dev mailing list...?
___
Cocoa-dev mailing list
Back in Carbon, it was easy to use a nice square bevel button and tie
a menu to the button with a little black triangle.
Does the same ability exist in Cocoa? I assume it does because the
common gear menus have the look and functionality I want.
I do also see that a NSButton has a menu
I am familiar with the NSControlTextDidBeginEditingNotification
notification, but this notification is insufficient for my needs
because it is only sent after the user actually changes the text and
not when the user clicks in the field and it actually allowed to
change the text.
The
When launching an application which requires a newer version of the
OS, the OS displays the string:
You cannot use the application XXX with this version of Mac
OS X.
I was just wondering if there was any way to control what appeared
here so it wasn't so curt - it would be nice to
On Feb 4, 2009, at 1:24 PM, Joar Wingfors wrote:
On Feb 4, 2009, at 10:12 AM, Eric Gorr wrote:
When launching an application which requires a newer version of the
OS, the OS displays the string:
You cannot use the application XXX with this version of Mac OS
X.
I was just wondering
On Feb 4, 2009, at 1:24 PM, Joar Wingfors wrote:
On Feb 4, 2009, at 10:12 AM, Eric Gorr wrote:
When launching an application which requires a newer version of the
OS, the OS displays the string:
You cannot use the application XXX with this version of Mac OS
X.
I was just wondering
On Feb 4, 2009, at 1:44 PM, Sean McBride wrote:
On 2/4/09 10:24 AM, Joar Wingfors said:
When launching an application which requires a newer version of the
OS, the OS displays the string:
You cannot use the application XXX with this version of Mac OS
X.
I was just wondering if there was
On Feb 4, 2009, at 1:44 PM, Sean McBride wrote:
On 2/4/09 10:24 AM, Joar Wingfors said:
When launching an application which requires a newer version of the
OS, the OS displays the string:
You cannot use the application XXX with this version of Mac OS
X.
I was just wondering if there was
The documentation at:
http://developer.apple.com/DOCUMENTATION/Cocoa/Conceptual/TextEditing/Tasks/SetFocus.html#/
/apple_ref/doc/uid/2933
seems to indicate that one just needs to do:
[theWindow makeFirstResponder: theTextView];
[theTextView setSelectedRange:NSMakeRange(0,0)];
However,
On Feb 5, 2009, at 10:54 AM, Eric Gorr wrote:
The documentation at:
http://developer.apple.com/DOCUMENTATION/Cocoa/Conceptual/TextEditing/Tasks/SetFocus.html#/
/apple_ref/doc/uid/2933
seems to indicate that one just needs to do:
[theWindow makeFirstResponder: theTextView
On Feb 5, 2009, at 11:23 AM, Andy Lee wrote:
On Feb 5, 2009, at 10:54 AM, Eric Gorr wrote:
For example, NSTextField does not respond to the setSelectedRange
message.
[myTextField selectText:nil];
Thanks. Unfortunately, that is not quite the desired behavior as it
causes all of the text
On Feb 5, 2009, at 12:08 PM, Andy Lee wrote:
--Boundary_(ID_M0oYCC145WUCuhpk/sOO1w)
Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-transfer-encoding: 7BIT
On Feb 5, 2009, at 11:33 AM, Eric Gorr wrote:
[myTextField selectText:nil];
Thanks. Unfortunately
On Feb 5, 2009, at 12:15 PM, Kyle Sluder wrote:
On Thu, Feb 5, 2009 at 11:29 AM, Eric Gorr mail...@ericgorr.net
wrote:
In case it matters and in case someone can suggest something
better, the
reason why I need to do this is because I have a NSView
(ResourceItem) which
contains both
On Feb 5, 2009, at 12:33 PM, Andy Lee wrote:
On Feb 5, 2009, at 12:17 PM, Eric Gorr wrote:
I wasn't sure what _textField2 was supposed to refer to exactly,
Oops, copy-paste error. :)
so I tried this instead:
[[textField currentEditor] setSelectedRange:NSMakeRange(0, 0)];
Bah
On Feb 5, 2009, at 12:39 PM, Eric Gorr wrote:
On Feb 5, 2009, at 12:33 PM, Andy Lee wrote:
On Feb 5, 2009, at 12:17 PM, Eric Gorr wrote:
I wasn't sure what _textField2 was supposed to refer to exactly,
Oops, copy-paste error. :)
so I tried this instead:
[[textField currentEditor
I was wondering if anyone has used this control. I have a situation
which it may be perfect for, but the three things I am not certain it
is capable of is:
1. supporting in-place editing of the labels
2. supporting multi-line labels
3. using a smaller font in the labels
I have tried to
Here is a picture of what I would to do:
http://ericgorr.net/cocoadev/outlinetable/namedparts.png
Anything outside of the green box will be clipped.
Basically, I have a NSTextField inside of a NSView which is being used
as a label for a NSImageView.
I would like to allow the user to edit
On Feb 9, 2009, at 10:51 AM, Erik Buck wrote:
On Feb 9, 2009, at 10:17 AM, Eric Gorr wrote:
Here is a picture of what I would to do:
http://ericgorr.net/cocoadev/outlinetable/namedparts.png
Anything outside of the green box will be clipped.
Basically, I have a NSTextField inside
On Feb 9, 2009, at 8:56 PM, Rob Keniger wrote:
On 10/02/2009, at 3:09 AM, Eric Gorr wrote:
Am I correct in thinking that SKTText is essentially a complete (or
mostly complete) replacement of NSTextField?
Has anyone played around with SKTText enough to comment on what's
it's limitations
On Feb 9, 2009, at 9:07 PM, Luke Evans wrote:
My experiments suggest that simply setting the current document view
in an NSScrollView to a new size results in the unexpected behaviour
(to me) of having all the content of the document view be scaled up
or down to fit the size of the
I have place a sample application which demonstrates the problem at:
http://ericgorr.net/cocoadev/outlinetable/ItemDev.zip
If you edit the label of the item and enter enough characters so that
it starts a third line, the NSTextView mysteriously shifts down a
couple of pixels. It is unclear
On Feb 19, 2009, at 5:12 PM, Carlos Eduardo Mello wrote:
On Feb 19, 2009, at 5:08 PM, Eric Gorr wrote:
If you edit the label of the item and enter enough characters so
that it starts a third line, the NSTextView mysteriously shifts
down a couple of pixels. It is unclear to me why
I manually start an edit session with a NSTextField after the user
clicks in the field by doing the following:
[textField selectText:nil];
NSTextView *currentEditor = (NSTextView*)[textField currentEditor];
NSPoint windowLocation = [theEvent
On Feb 23, 2009, at 10:44 AM, Patrick Mau wrote:
I had the same problem using a set of NSCell objects in one NSView.
You could try:
[[self window] endEditingFor:nil];
Unfortunately, that did not work.
This is described as a last resort to abort editing in the NSWindow
class reference.
On Feb 23, 2009, at 11:01 AM, Patrick Mau wrote:
On 23.02.2009, at 16:50, Eric Gorr wrote:
I am not sure I understand this.
Are you are saying is that you looked for the NSTextView being used
as the field editor for the NSTextField and then removed the
NSTextView from it's superview
Here's a sample application demonstrating the problem:
http://ericgorr.net/cocoadev/label/ItemDevLabel.zip
When I click in the label, I start an editing session. However, the
height of the label can contain two lines of text. When the editing
session begins, I would like just a single line
you change the bounds of something
explicitly, you end up changing the drawing transformation as well
(see under setBounds: and friends).
This has bitten me in the butt before (recently!).
HTH!
On Feb 23, 2009, at 11:52 AM, Eric Gorr wrote:
Here's a sample application demonstrating
I start an edit session of a NSTextField by doing the following:
[textField selectText:nil];
NSTextView *currentEditor = (NSTextView*)[textField currentEditor];
NSPoint windowLocation = [theEvent locationInWindow];
NSPoint screenLocation = [[self window]
I am attempting to get some measurements for the text being displayed
in a NSTextField and am running into trouble.
It looks like all of the measurement methods are related to NSTextView.
I tried asking for a NSTextView for my NSTextField by doing the
following:
NSTextView *fieldEditor =
On Feb 23, 2009, at 11:35 AM, Eric Gorr wrote:
On Feb 23, 2009, at 11:01 AM, Patrick Mau wrote:
On 23.02.2009, at 16:50, Eric Gorr wrote:
I am not sure I understand this.
Are you are saying is that you looked for the NSTextView being
used as the field editor for the NSTextField
On Feb 24, 2009, at 5:47 PM, Eric Gorr wrote:
On Feb 23, 2009, at 11:35 AM, Eric Gorr wrote:
On Feb 23, 2009, at 11:01 AM, Patrick Mau wrote:
On 23.02.2009, at 16:50, Eric Gorr wrote:
I am not sure I understand this.
Are you are saying is that you looked for the NSTextView being
Hello Patrick,
On Feb 25, 2009, at 12:38 AM, Patrick Mau wrote:
I was going through your last messages on this list, because I'm
working on a similar problem.
Reading through the code snippets you showed here, it isn't clear to
me how your controls are being created.
I have a XIB with a
Hi Andy,
On Feb 25, 2009, at 11:14 AM, Andy Lee wrote:
On Feb 24, 2009, at 6:08 PM, Eric Gorr wrote:
*** [[[self view] window] makeFirstResponder:[self view]];
Pressing return will allow the editing session to end, but pressing
the tab key will not
Looks like controlTextDidEndEditing
On Feb 25, 2009, at 12:20 PM, Eric Gorr wrote:
On Feb 25, 2009, at 11:14 AM, Andy Lee wrote:
On Feb 24, 2009, at 6:08 PM, Eric Gorr wrote:
*** [[[self view] window] makeFirstResponder:[self view]];
Pressing return will allow the editing session to end, but
pressing the tab key
Hello Martin,
Martin Wierschin wrote:
Hi Eric,
NSTextView *fieldEditor = (NSTextView*)[[self window]
fieldEditor:YES
forObject:self];
NSRect usedRect = [[fieldEditor layoutManager]
Hello Martin,
Martin Wierschin wrote:
Eric Gorr Wrote:
I'm not really familiar with the particulars of how the field
editor is
configured, so take all this with a grain of salt...
The usedRect empty. I believe the reason why is because the
fieldEditor
that the window has given me
On Feb 26, 2009, at 10:23 AM, Eric Gorr wrote:
Hello Martin,
Martin Wierschin wrote:
Eric Gorr Wrote:
I'm not really familiar with the particulars of how the field
editor is
configured, so take all this with a grain of salt...
The usedRect empty. I believe the reason why is because
Hello Michael,
On Feb 26, 2009, at 11:10 AM, Michael Ash wrote:
On Thu, Feb 26, 2009 at 10:49 AM, Eric Gorr mail...@ericgorr.net
wrote:
Unfortunately, sizeToFit does not work.
It doesn't appear one can constrain the width of a NSTextField and
only have
it's height adjustable. Basically
On Feb 26, 2009, at 12:21 PM, Eric Gorr wrote:
Hello Michael,
On Feb 26, 2009, at 11:10 AM, Michael Ash wrote:
On Thu, Feb 26, 2009 at 10:49 AM, Eric Gorr mail...@ericgorr.net
wrote:
Unfortunately, sizeToFit does not work.
It doesn't appear one can constrain the width of a NSTextField
I have a sample application at:
http://ericgorr.net/cocoadev/label/ThousandsOfNSTextViews.zip
which demonstrates the problem.
Also, this is related to the message and thread:
http://lists.apple.com/archives/cocoa-dev/2009/Feb/msg01892.html
Since it doesn't seem possible to reliably know
On Feb 26, 2009, at 12:58 AM, Kenneth Ramey wrote:
I have a method, written in Objective-C, to parse a string,
extracting several fields from it. Originally, I was pulling out a
couple of float values and some int fields. Other fields in the
string need to be treated as substrings. As
On Feb 26, 2009, at 5:06 PM, Eric Gorr wrote:
Unfortunately, I do not know what else you code might be doing that
=20
would cause the behavior you are seeing.
But, just playing around with dataString a little, I changed it to:
NSString *dataString = [NSString alloc];
and when I
Hi Martin,
Martin Wierschin wrote:
Eric Gorr Wrote:
Martin Wierschin wrote:
Hi Eric,
Sizing the editor may not be the window's responsibility- it
may expect
the control to do so. What happens if you resize the NSTextView
and/or
NSTextContainer yourself as needed
If I check the value of focusRingType for the fieldEditor which is
currently handling the text input, I get a value back of
NSFocusRingTypeDefault. But, even if I set the value to
NSFocusRingTypeExterior, no focus ring is drawn.
Is this focus ring something I need to draw myself or is
On Feb 27, 2009, at 6:29 PM, Graham Cox wrote:
On 28/02/2009, at 7:07 AM, Eric Gorr wrote:
If I check the value of focusRingType for the fieldEditor which is
currently handling the text input, I get a value back of
NSFocusRingTypeDefault. But, even if I set the value
On Mar 2, 2009, at 6:19 PM, Graham Cox wrote:
On 03/03/2009, at 2:30 AM, Eric Gorr wrote:
[self lockFocus];
[NSGraphicsContext saveGraphicsState];
NSRect focusRingBounds = [self bounds];
NSSetFocusRingStyle( NSFocusRingOnly );
NSBezierPath *path = [NSBezierPath
This behavior can be easily seen in the /Developer/Examples/
Accessibility/AXCanvas sample code as well.
Basically, if one starts typing and proceeds to go beyond what the
fieldEditor can display, the fieldEditor does not automatically scroll
to keep the indicator visible.
Is there an
On Mar 3, 2009, at 1:04 PM, Eric Gorr wrote:
This behavior can be easily seen in the /Developer/Examples/
Accessibility/AXCanvas sample code as well.
Basically, if one starts typing and proceeds to go beyond what the
fieldEditor can display, the fieldEditor does not automatically
scroll
On Mar 3, 2009, at 2:42 PM, Eric Gorr wrote:
On Mar 3, 2009, at 1:04 PM, Eric Gorr wrote:
This behavior can be easily seen in the /Developer/Examples/
Accessibility/AXCanvas sample code as well.
Basically, if one starts typing and proceeds to go beyond what the
fieldEditor can display
I have recently experienced some of these same issues.
You can check out the message:
http://lists.apple.com/archives/cocoa-dev/2009/Mar/msg00179.html
for what I was concerned with.
As best I can determine, a NSTextView relies upon a NSScrollView to
handle it's scrolling behavior.
The documentation for NSWindow's makeFirstResponder states:
If responder does not accept first responder status,
the NSWindow object becomes first responder; in this
case, the method returns YES even if responder
refuses first responder status.
In my case, the behavior I would like
On Mar 4, 2009, at 2:37 PM, Luke Evans wrote:
Thanks Eric.
It makes sense, I suppose, that NSTextView wouldn't have an built-in
way to do this - it just acts as a 'sheet' of text over which you
must create a viewport in the form of a scroll view.
Actually, I've _literally_ just bumped
I am drawing a string with a NSLayoutManager by doing:
[layoutManager drawGlyphsForGlyphRange:glyphRange
atPoint:NSMakePoint( [self bounds].origin.x,[self bounds].origin.y )];
What I would like is if the string I am drawing goes beyond the last
visible line, is for the string to draw a
On Mar 4, 2009, at 5:55 PM, Luke Evans wrote:
Flushed with some semblance of success I'm now trying to get
Finder's behaviour with inserting centre ellipses when the text is
too large for its container.
I can get the ellipsis at the tail of the text easily enough
On Mar 4, 2009, at 4:57 PM, Eric Gorr wrote:
I am drawing a string with a NSLayoutManager by doing:
[layoutManager drawGlyphsForGlyphRange:glyphRange
atPoint:NSMakePoint( [self bounds].origin.x,[self bounds].origin.y )];
What I would like is if the string I am drawing goes beyond the last
On Mar 5, 2009, at 10:34 AM, I. Savant wrote:
On Thu, Mar 5, 2009 at 10:15 AM, Anshul jain
anshul.j...@prithvisolutions.com wrote:
Is there any sample code to record in aiff format
http://www.lmgtfy.com/?q=cocoa+record+aiff
Rather then googling everything, I have found:
I have a need to use poseAsClass, but I see that it has been
deprecated in 10.5 and won't be available for 64-bit applications.
So, is there a replacement?
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or
On Mar 5, 2009, at 2:33 PM, Eric Gorr wrote:
I have a need to use poseAsClass, but I see that it has been
deprecated in 10.5 and won't be available for 64-bit applications.
So, is there a replacement?
Well, with a bit of searching I came up with what might be an option:
http
On Mar 5, 2009, at 2:47 PM, Benjamin Stiglitz wrote:
I have a need to use poseAsClass, but I see that it has been
deprecated
in 10.5 and won't be available for 64-bit applications.
So, is there a replacement?
WAYTTD: What are you trying to do? Maybe you don’t need to pose.
Well, sadly,
On Mar 6, 2009, at 12:03 AM, Michael Ash wrote:
On Thu, Mar 5, 2009 at 3:00 PM, Eric Gorr mail...@ericgorr.net
wrote:
On Mar 5, 2009, at 2:47 PM, Benjamin Stiglitz wrote:
I have a need to use poseAsClass, but I see that it has been
deprecated
in 10.5 and won't be available for 64-bit
On Mar 6, 2009, at 2:05 AM, Quincey Morris wrote:
On Mar 5, 2009, at 21:17, John C. Randolph wrote:
On Mar 5, 2009, at 12:00 PM, Eric Gorr wrote:
On Mar 5, 2009, at 2:47 PM, Benjamin Stiglitz wrote:
Although, this bug is not quite confirmed yet, but I suspect I
know what the problem
On Mar 6, 2009, at 12:01 AM, Graham Cox wrote:
On 06/03/2009, at 3:50 PM, Graham Cox wrote:
Implement -applicationShouldOpenUntitledFile: in your app delegate
to
return a flag variable. Make sure that flag starts out as NO until
your EULA is dismissed.
--Kyle Sluder
OK. Then after
I found this old thread:
http://lists.apple.com/archives/cocoa-dev/2004/Sep/msg00161.html
which discusses the same problem I am currently experiencing.
As near as I can tell, interpretKeyEvents: does not call any method to
handle these key presses.
Has something changed that I am unaware
On Mar 5, 2009, at 9:32 AM, Eric Gorr wrote:
On Mar 4, 2009, at 4:57 PM, Eric Gorr wrote:
I am drawing a string with a NSLayoutManager by doing:
[layoutManager drawGlyphsForGlyphRange:glyphRange
atPoint:NSMakePoint( [self bounds].origin.x,[self
bounds].origin.y )];
What I would like
On Mar 6, 2009, at 1:29 PM, Sean McBride wrote:
On 3/6/09 11:46 AM, Eric Gorr said:
I found this old thread:
http://lists.apple.com/archives/cocoa-dev/2004/Sep/msg00161.html
which discusses the same problem I am currently experiencing.
On 10.5=3F I don't know when it started
On Mar 6, 2009, at 2:04 PM, Sean McBride wrote:
On 3/6/09 1:37 PM, Eric Gorr said:
If it is a bug that NSResponder does not have a
scrollToBeginningOfDocument or scrollToEndOfDocument, I can file a
bug
report.
IMNSHO yes. Note that /System/Library/Frameworks/AppKit.framework/
Resources
On Mar 3, 2009, at 11:04 AM, Greg Parker wrote:
NSZombie and Guard Malloc are probably your new best friends.
Information on NSZombie and other cool stuff can be found here:
Technical Note TN2124
Mac OS X Debugging Magic
http://developer.apple.com/technotes/tn2004/tn2124.html
I'm not sure what your problem is, but I wanted to point out that it
appears you could use NSNumber instead of TMIntWrappers to wrap an int
value inside of an NSObject which can be used as a key. Perhaps there
is a bug in TMIntWrappers that is preventing it from being used as a
key...
Have you considered creating a Quicktime movie in code which displays
the words in the way you want?
On Mar 11, 2009, at 6:52 PM, Ariel Rodriguez wrote:
I'm working on a Karaoke-like application. I need to print out to
the screen text lines at a given time, and then, paint each word at
a
It also seems possible that Quartz Composer might be able to help you
out here as well, but I am less familiar with that.
On Mar 12, 2009, at 9:58 AM, Eric Gorr wrote:
Have you considered creating a Quicktime movie in code which
displays the words in the way you want?
On Mar 11, 2009
I have a popup menu whose control size is small.
To a couple of views, I have done the following:
[myView setMenu:[myPopupMenu menu]];
Now, when I control-click on myView, I see the menu that myPopupMenu
will display.
The problem is that if I control-click on myView before I click on
this isn't appropriate?
On Mar 18, 2009, at 5:38 PM, Nate Weaver wrote:
Either set the attributed title of the items, or don't use the same
menu instance for your popup and context menu.
On Mar 18, 2009, at 11:38 AM, Eric Gorr wrote:
I have a popup menu whose control size is small
I found this old thread:
http://lists.apple.com/archives/Cocoa-dev/2007/Jan/msg00181.html
which discusses the same problem I am experiencing. I need an italic
version of Lucida Grande, which is the font currently returned by
labelFontOfSize.
But, of course, I need a generic solution since
On Mar 23, 2009, at 10:34 AM, Eric Gorr wrote:
I found this old thread:
http://lists.apple.com/archives/Cocoa-dev/2007/Jan/msg00181.html
which discusses the same problem I am experiencing. I need an italic
version of Lucida Grande, which is the font currently returned by
labelFontOfSize
Does one have any control over the position of a tooltip assigned to a
NSView with the setToolTip: method?
Is it possible, for example, to have the tooltip follow the cursor
around while it is over the view?
___
Cocoa-dev mailing list
1 - 100 of 366 matches
Mail list logo