Hi Graham,
On 08/07/2008, at 10:16 PM, Graham Cox wrote:
A close second best would be a rect that was the worst case bounds
for a given stroke width (it wouldn't need to know the actual path,
just its basic bounds), which thus assumed that all angles were
acute enough to trigger the mitre
How do I programmatically make a text cell in a NSTableView to have focus and
be in edit mode?
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the
How do you determine how many managed objects of a certain entity type
exist in the managed object context?
Apple's sample code gives this example for finding managed objects.
NSManagedObjectContext *moc = [self managedObjectContext];
NSEntityDescription *entityDescription =
Ok - one last time!!
I believe the fully correct answer to calculate the extension is:
(strokeWidth/2)/ sin(angle/2);
Take a stroke width of 20 half of which is 10.
At 90deg the extension is: 10/sin(45) = 14.2
At 45deg the extension is 10/sin(22.5) = 26.1
At the limit of approx. 11deg the
Cool I got it right - finally! Its on page 154 of the spec (174 in PDF
viewer) section 4.3.
Me in another post I believe the fully correct answer to calculate
the extension is: (strokeWidth/2)/ sin(angle/2);
Peter
On 09/07/2008, at 4:02 PM, Chris Suter wrote:
snip
The miter limit
On Jul 8, 2008, at 11:16 PM, Daniel Child wrote:
NSManagedObjectContext *moc = [self managedObjectContext];
NSEntityDescription *entityDescription = [NSEntityDescription
entityForName:@Employee inManagedObjectContext:moc];
NSFetchRequest *request = [[[NSFetchRequest alloc] init]
On 9 Jul 2008, at 4:02 pm, Chris Suter wrote:
so you can get a worst case bounds by ignoring the mitre limit.
No you can't. If the stroke width is 'w' then you can outset the
bounds by w/2 to enclose the path for straight edges and angles = 90
degrees. When there is a more acute angle
Indeed, I think this is the same as m = 2w/sin(a). But for worst case
bounds, the angle itself doesn't need to be measured or known, only
the miter limit.
Thanks for your help!
cheers, Graham
On 9 Jul 2008, at 4:34 pm, Peter Zegelin wrote:
Cool I got it right - finally! Its on page 154
On 9 Jul 2008, at 4:37 pm, Graham Cox wrote:
Thus the angle 'a' of the corner is equal to 2*sin(w/m)
That of course should be 'arcsin', not 'sin'
Graham
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests
Hi Graham,
On 09/07/2008, at 4:37 PM, Graham Cox wrote:
On 9 Jul 2008, at 4:02 pm, Chris Suter wrote:
so you can get a worst case bounds by ignoring the mitre limit.
No you can't. If the stroke width is 'w' then you can outset the
bounds by w/2 to enclose the path for straight edges and
On 9 Jul 2008, at 5:11 pm, Chris Suter wrote:
You could ignore the mitre limit and assume it was always mitre
joint and it would give you a worst case bounds. However, it
wouldn't be sensible to do that since the bounds would stretch out
excessively for very acute angles.
Without
On Jul 8, 2008, at 7:11 PM, Hamish Allan wrote:
I'm seeing connection went invalid while waiting for a reply in a DO
callback. The client passes self in a call to the server; some time
later, the server calls a method on that client (proxy), the program
hangs for a second or so, the connection
On 09/07/2008, at 5:24 PM, Graham Cox wrote:
snip
You will need to also take into account of the line width (as I'm
sure you do) so I think the combined offset would be best expressed
as:
max(w / 2, ml * w / 2)
where ml is the mitre limit.
That's right, and precisely
On 8 Jul 2008, at 20:12, douglas a. welton wrote:
Am I reading correctly that you have two IKImageViews stacked on top
on one another?
Yes. If I understand the Core Animation documentation correctly, a
view can be composited with underlying views using a Compositing
Filter. This seems to
I use DOs on 10.3, 10.4 and 10.5. They work correctly on all versions.
From your description I'm not entirely sure what you are trying to
do. Could you post a code example and I try to help.
Cheers
Mike
On 9 Jul 2008, at 01:11, Hamish Allan wrote:
I'm seeing connection went invalid while
Am 09.07.2008 um 08:09 schrieb Chris Idou:
How do I programmatically make a text cell in a NSTableView to have
focus and be in edit mode?
I believe -[NSTableView editColumn:(NSInteger)columnIndex row:
(NSInteger)rowIndex withEvent:(NSEvent *)theEvent select:(BOOL)flag]
is the method
Hi,
this is more of an open discussion topic than a concrete question but
hopefully someone has a good idea about this:
I got a bug report of a non-crash bug I cannot reproduce and where I
do not even know where to start looking. The only hint is a line in
the console.log:
***
Hi,
Is there any way to subscribe to frontmost application change
notification? For example, via NSDistributedNotificationCenter or some
other facility? I have managed to get process startup and shutdown
notifications, but I cannot get active application change
notification. Maybe it is
On 9 Jul 2008, at 04:21, Jason Bobier wrote:
I also need to determine the user's current mute and volume settings
and restore them after my alert plays, which is the other reason
that I was looking for something other than AppleScript.
Well it's still possible to do that with AppleScript,
On Jul 8, 2008, at 6:43 PM, [EMAIL PROTECTED] wrote:
Hello,
I'm trying to replicate the Finder's behaviour for date fields when
resizing. I found this on the archives which pretty much has the
answer:
http://www.cocoabuilder.com/archive/message/cocoa/2005/8/9/143911
I'm trying to
El 09/07/2008, a las 12:13, Ruotger Skupin escribió:
So an exception got thrown for a pretty obvious reason, but where?
Could be anywhere, even in WebKit (which we use). Is there any
chance to get near the culprit without a stack trace (which I don't
have)?
This question is more
Hi
Which notifications do you want to receive?
Cheers
Mike
On 9 Jul 2008, at 11:22, Александр Даровских wrote:
Hi,
Is there any way to subscribe to frontmost application change
notification? For example, via NSDistributedNotificationCenter or
some other facility? I have managed to get
Is there a way to indent main headings in NSOutlineView as follows: -
Heading 1
Item
Item
Heading 2
Item
Heading 2.1
Item
Item
Heading 3
Item
I tried many ways to indent the
Am 09.07.2008 um 13:09 schrieb Aman Alam:
I am using datasource that contain two types of object.
The first object (Heading) contains a flag. If it is YES then it act
as child of other main heading.
The second object(item) contains value to show which is always child
of main heading.
On Jul 9, 2008, at 5:13 AM, Ruotger Skupin wrote:
this is more of an open discussion topic than a concrete question
but hopefully someone has a good idea about this:
I got a bug report of a non-crash bug I cannot reproduce and where I
do not even know where to start looking. The only hint
Hello,
I am writing a program to detect the status of network.
In my program, I need get the status of network when the connection is
set disable. here it is not by connecting the network to get the
status.
which API or method can work for it?
for example, if my lan cable is unpluged or the
I would rather not try to teach my users gdb...
Ruotger
Am 09.07.2008 um 12:31 schrieb Joan Lluch (casa):
El 09/07/2008, a las 12:13, Ruotger Skupin escribió:
So an exception got thrown for a pretty obvious reason, but where?
Could be anywhere, even in WebKit (which we use). Is there any
I am trying to implement a login UI for a small app. The idea is that after
the MainWindow nib is loaded, in case if no credentials were entered, a
modal window asking for name and password will show up. The app will be
blocked unless the modal window is closed either with Submit or Cancel
Try [NSApp runModalForWindow:window];
Cheers
Mike
On 9 Jul 2008, at 13:59, Ronnie B wrote:
I am trying to implement a login UI for a small app. The idea is
that after
the MainWindow nib is loaded, in case if no credentials were
entered, a
modal window asking for name and password will
Hi
I am trying to us KVC in a way that it allows me to add an accessor
semantic to an object so that it can answer to simple valueForKeyPah
call.
For example I want to be able to write [myObject
valueForKeyPath:@texts.title.en] which would give me the english
version of the title of my
Try the SCNetworkReachability API...
I borrowed the following from one of Apple's examples:
- (BOOL)isDataSourceAvailable
{
static BOOL checkNetwork = YES;
if (checkNetwork) { // Since checking the reachability of a host
can be expensive, cache the result and perform the reachability
On Wed, Jul 9, 2008 at 10:13 PM, Ruotger Skupin [EMAIL PROTECTED] wrote:
*** -[NSCFDictionary initWithObjects:forKeys:count:]: attempt to insert nil
value at objects[0] (key: NSFont)
So an exception got thrown for a pretty obvious reason, but where? Could be
anywhere, even in WebKit (which we
Hello,
I have these question for several days.
1. How to make the modal window become the top most when the modal
window is launched from another application by using NSTask?
2. And I also want to know the types of window in cocoa application.
Is there only modal window in cocoa app when I use
On 9 Jul 2008, at 15:10, xiaobin wrote:
Hello,
I have these question for several days.
1. How to make the modal window become the top most when the modal
window is launched from another application by using NSTask?
2. And I also want to know the types of window in cocoa application.
Is
I have a Network Receiver application which is in my login items section of
an Apple Intel mac mini
computer running the latest version of Leopard. I do not need a keyboard, nor
a mouse directly wired to this computer(or indirectly thru wifi:-)), as these
afferent branches are obviously to be
In BB.app do [NSApp activateIgnoringOtherApps:YES]; before showing the
window.
Cheers
Mike
On 9 Jul 2008, at 15:10, xiaobin wrote:
Hello,
I have these question for several days.
1. How to make the modal window become the top most when the modal
window is launched from another application
Taking this back to the list, as I think it came off by mistake...
On 9 Jul 2008, at 14:56, John C. Daub wrote:
It's difficult to say what the problem IS, but I can suggest a few
things to
look at:
on 7/9/08 1:48 AM, Antonio Nunes at [EMAIL PROTECTED] wrote:
When the script runs, the
Ed VanVliet of VVI will be presenting DAQ Plot and Vvidget. Details
here:
http://www.vvi.com/workshops/2008/0710nyc.html
--Andy
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to
Somehow I thought a predicate was mandatory. Simply setting the entity
works.
Thank you.
On Jul 9, 2008, at 2:34 AM, mmalc crawford wrote:
On Jul 8, 2008, at 11:16 PM, Daniel Child wrote:
NSManagedObjectContext *moc = [self managedObjectContext];
NSEntityDescription *entityDescription =
I'm trying to make sure that this part of my code is good and clean and not
leaking. I believe that I have it right (but still think I have something
wrong).
This code makes a list of file paths, and then copies the files or folders from
their location to the destination the user selected. If
On 9 Jul 2008, at 15:40, Antonio Nunes wrote:
Taking this back to the list, as I think it came off by mistake...
Hmmm, directed it back to the wrong list at that.
Apologies.
António
---
And could you keep your heart in wonder
at the
On 9 Jul '08, at 7:44 AM, Chris Paveglio wrote:
I'm trying to make sure that this part of my code is good and clean
and not leaking. I believe that I have it right (but still think I
have something wrong).
It looks OK to me on quick reading. The main thing I'd change is to
put the path
On 9 Jul '08, at 7:22 AM, em wrote:
I have a Network Receiver application which is in my login items
section of an Apple Intel mac mini
computer running the latest version of Leopard. I do not need a
keyboard, nor a mouse directly wired to this computer(or indirectly
thru wifi:-)), as
On 9 Jul '08, at 5:32 AM, Ruotger Skupin wrote:
I would rather not try to teach my users gdb...
My MYUtilities library includes support for getting exception
backtraces at runtime and reporting them to the user (see
ExceptionUtils.h).
On 9 Jul '08, at 3:22 AM, Александр Даровских wrote:
Hi,
Is there any way to subscribe to frontmost application change
notification? For example, via NSDistributedNotificationCenter or
some other facility? I have managed to get process startup and
shutdown notifications, but I cannot get
You can do this (and a lot of other stuff not covered by NSWorkspace )
with a CarbonEvent handler on kEventClassApplication,
kEventAppFrontSwitched.
Matt
On 9 Jul 2008, at 5:44pm, Jens Alfke wrote:
On 9 Jul '08, at 3:22 AM, Александр Даровских wrote:
Hi,
Is there any way to subscribe to
Is Distributed Objects still the preferred method for communicating
among computers on a local network? It's been hinted that DO may be
deprecated in the not-so-distant future. When I asked about DO
recently, I was pushed in the direction of Jens Alfke's Blip.
Thanks.
On Jul 9, 2008,
On Jul 9, 2008, at 10:53 AM, Brad Gibbs wrote:
Is Distributed Objects still the preferred method for communicating
among computers on a local network? It's been hinted that DO may be
deprecated in the not-so-distant future.
I've seen and heard comments from Apple that Distributed Objects
Hi,
Perhaps this isn't the right place to ask this, but I have a Cocoa
application that uses Growl for notifications. I'm looking for
information about how to create a package so the application is
distributed with Growl for those users who don't already have the
latter installed. Can anyone give
On Wed, Jul 9, 2008 at 10:14 AM, Mike Bellerby [EMAIL PROTECTED] wrote:
I use DOs on 10.3, 10.4 and 10.5. They work correctly on all versions. From
your description I'm not entirely sure what you are trying to do. Could you
post a code example and I try to help.
Thanks, Mike. Will do -- I'll
Hi Ken,
Thanks for your reply. I already had NSZombieEnabled, so no help
there, but the Object Allocations Instrument highlighted that
-[NSConnection invalidate] was being called; a breakpoint on that
revealed the following trace for thread 2:
#0 0x91b1f916 in -[NSConnection invalidate]
#1
On Wed, Jul 9, 2008 at 2:39 PM, Laurent Cerveau [EMAIL PROTECTED] wrote:
Apparently what is happening is that the keyPath is decomposed, each object
is verified to be KVC compliant for the appropriate subPath and here we go :
nothing unexpected if I refer to the doc except that..the part I do
Adium does exactly this and is open source. I imagine a perusal of
their code would be quite handy.
Mike.
On 9 Jul 2008, at 17:27, Matthew Gertner wrote:
Hi,
Perhaps this isn't the right place to ask this, but I have a Cocoa
application that uses Growl for notifications. I'm looking for
On Jul 8, 2008, at 10:53 PM, Rick Mann wrote:
I'm trying to use scaling of the superlayer to implement a zoom
feature in my CAD app. The various elements in the canvas are drawn
by a CALayer subclass I have, which overrides drawInContext:. After
the zoom finishes animating, I want CA to
Hi Hamish
Thanks for the suggestion : I did in fact sit with a collegue and he
also forced me to look at the other side (KVO ) and we kind of found a
way
Basically the order of calling is valueForKey for the first part of
the KV path which goes in valueForUndefinedKey and if this one
Yes, so the bad new is that you have to go Carbon to listen front
switched events, the good new is that this part of Carbon is available
for 64 bits apps (probably because this is the only public way to do
this for now).
Le 9 juil. 08 à 17:49, Matt Gough a écrit :
You can do this (and
Perhaps this isn't the right place to ask this, but I have a Cocoa
application that uses Growl for notifications.
Have a look at the bottom of this page:
http://growl.info/documentation/developer/implementing-growl.php?lang=cocoa
You'll want to use Growl-WithInstaller.framework.
If
Read the growl documentation. There's a chapter explaining how to
bundle a growl installer inside your app.
Sent from my iPhone
On 9 Jul 2008, at 13:27, Matthew Gertner [EMAIL PROTECTED] wrote:
Hi,
Perhaps this isn't the right place to ask this, but I have a Cocoa
application that uses
on 2008-07-09 11:44 AM, Jens Alfke at [EMAIL PROTECTED] wrote:
On 9 Jul '08, at 3:22 AM, Александр Даровских wrote:
Hi,
Is there any way to subscribe to frontmost application change
notification? For example, via NSDistributedNotificationCenter or
some other facility? I have managed to get
Thanks for all the advice. I'll take a look and inquire on the Growl
list if I need more help.
On Wed, Jul 9, 2008 at 7:21 PM, Marcelo Alves
[EMAIL PROTECTED] wrote:
Read the growl documentation. There's a chapter explaining how to bundle a
growl installer inside your app.
Sent from my
on 2008-07-09 1:12 PM, Jean-Daniel Dupas at [EMAIL PROTECTED] wrote:
Yes, so the bad new is that you have to go Carbon to listen front
switched events, the good new is that this part of Carbon is available
for 64 bits apps (probably because this is the only public way to do
this for now).
On 9 Jul 2008, at 18:46, Bill Cheeseman wrote:
on 2008-07-09 11:44 AM, Jens Alfke at [EMAIL PROTECTED] wrote:
On 9 Jul '08, at 3:22 AM, Александр Даровских wrote:
Hi,
Is there any way to subscribe to frontmost application change
notification? For example, via NSDistributedNotificationCenter
On Jul 9, 2008, at 09:56:36, David Duncan wrote:
Your best solution for rendering multi-representational content in
Core Animation is to use a CATiledLayer. It will automatically be
called to update content as you zoom in and out (assuming you
specify that the level of content exists).
On Jul 9, 2008, at 10:44 AM, Chris Paveglio wrote:
I'm trying to make sure that this part of my code is good and clean
and not leaking. I believe that I have it right (but still think I
have something wrong).
This code makes a list of file paths, and then copies the files or
folders from
On Jul 9, 2008, at 11:09 AM, Rick Mann wrote:
My CAD program has a number of parts laid out on the canvas at the
whim of the user. These parts are interconnected by the user with
lines comprised of a series of orthogonal line segments (it's
schematic capture CAD). There is one instance of
I have a similar question. My NSTableView is bound to
NSArrayController and I need to make cell editable immediately after
adding new row. Rows added with default values and I need to allow
user to edit them easy. I have an Add button that fires action like
this:
- (void) onAdd: (id) sender
{
Hello,
I'm trying to work through an exercise in the new Hillegass book and am
encountering difficulties. The app fails to build. The relevant code
snippet is below, with errors noted in the comments:
-(IBAction)getCount:(id)sender
{
NSString *string = [textField
It's this line
[textLabel setStringValue:@\[EMAIL PROTECTED] is %d characters long, string,
stringLength];
The setStringValue function does not take more than one argument. If you
want to format the string like that try
[textlabel setStringValue: [NSString stringWithFormat:@\[EMAIL PROTECTED]
int *stringLength = [string length]; //warning: initialization makes
pointer from integer without a cast
You're declaring an int pointer (int *) instead of an int (int),
then assigning it an int value (the result of asking 'string' for its
-length).
--
I.S.
try this:
NSString *string = [textField stringValue];
int stringLength = [string length];
NSString *msg = [NSString stringWithFormat:@\[EMAIL PROTECTED] is %d
characters
long, string, stringLength]
[textLabel setStringValue:msg];
NSLog(@%@, string);
On Thu, Jul 10, 2008 at 12:12 AM, Kevin
And your line int *stringLength = [string length]; should not have the
* in front of the variable name. Putting the * in front means it is a
pointer to an int, but -[NSString length] returns just an int.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
] On Behalf Of
On Wed, Jul 9, 2008 at 4:12 PM, Kevin Walzer [EMAIL PROTECTED] wrote:
Hello,
I'm trying to work through an exercise in the new Hillegass book and am
encountering difficulties. The app fails to build. The relevant code snippet
is below, with errors noted in the comments:
In addition to what Alex said...
On Jul 9, 2008, at 3:12 PM, Kevin Walzer wrote:
-(IBAction)getCount:(id)sender
{
NSString *string = [textField stringValue];
int *stringLength = [string length]; //warning: initialization
makes pointer from integer without a cast
This
Am 9.7.08 um 22:05 schrieb Vitaly Ovchinnikov:
I have a similar question. My NSTableView is bound to
NSArrayController and I need to make cell editable immediately after
adding new row. Rows added with default values and I need to allow
user to edit them easy. I have an Add button that fires
Same goes for -add: ... You'll need to force the array controller to
-rearrangeObjects before asking the tableView to reload. If you're
using Core Data, you'll probably also need to force a -fetch: before
calling -rearrangeObjects, though I don't know for sure.
This forces the array
Sherm Pendley wrote:
On Wed, Jul 9, 2008 at 4:12 PM, Kevin Walzer [EMAIL PROTECTED] wrote:
Hello,
I'm trying to work through an exercise in the new Hillegass book and am
encountering difficulties. The app fails to build. The relevant code snippet
is below, with errors noted in the comments:
I have a memory management question. I was looking at the QCTV example
on from the quicktime site. It has some code that does the following:
ICMCompressionSessionOptionsRef options;
..
Do some work
..
return (ICMCompressionSessionOptionsRef)[(id)options autorelease];
Can you do this with
On Jul 9, 2008, at 12:59:33, David Duncan wrote:
Given what it sounds like your content is, I might consider putting
the whole canvas on a single or small set of tiled layers (they can
be unbounded in size).
Oh. I had thought making each individual part its own CALayer was most
In my case I just use [grid selectedRow], because NSTableView selects
new row for me. Thanks, will try your method too.
On Thu, Jul 10, 2008 at 12:49 AM, I. Savant [EMAIL PROTECTED] wrote:
Same goes for -add: ... You'll need to force the array controller to
-rearrangeObjects before asking the
On Jul 9, 2008, at 2:08 PM, Rick Mann wrote:
On Jul 9, 2008, at 12:59:33, David Duncan wrote:
Given what it sounds like your content is, I might consider putting
the whole canvas on a single or small set of tiled layers (they can
be unbounded in size).
Oh. I had thought making each
On Jul 9, 2008, at 12:39 AM, Hamish Allan wrote:
On Wed, Jul 9, 2008 at 2:43 AM, Scott Anguish [EMAIL PROTECTED]
wrote:
On Jul 8, 2008, at 11:33 AM, Hamish Allan wrote:
Scott, for what it's worth, I really don't agree with you that Cocoa
Bindings and KVB are the same thing or that there
The SCF documentation specifically says SC routines cannot be used to
test *remote* reachability and should only be used to test whether a
packet can *leave* the host. If this is all you need, then Michael's
example will work. If you need to test remote reachability, you will
need to devise
If I understand correctly your point, it seems that in the first case, you
use the direct to data print operation and in the second case, you use the
direct to file print operation then read back the file in memory and send it
to Quick Look. Both methods use
Hi,
I realize there is no Spaces API, and that there likely won't be, per se.
I have an app that my users want to behave differently based on the space it is
currently accessed from. There is currently no way to find the current 'space',
as I understand it, so that is out of the question (and
Hello.
I'm trying to write codes that searches a given text in an NSTextView.
Currently, a window has an NSSearchField and an NSTextView. Some text
will be loaded into the NSTextView and I expect users type into the
NSSearchField to search some words in the NSTextView.
I connected
Le 9 juil. 08 à 23:54, Julien Jalon a écrit :
If I understand correctly your point, it seems that in the first
case, you
use the direct to data print operation and in the second case, you
use the
direct to file print operation then read back the file in memory and
send it
to Quick Look.
On Wednesday, July 09, 2008, at 03:12PM, Wade Tregaskis [EMAIL PROTECTED]
wrote:
I have a memory management question. I was looking at the QCTV
example on from the quicktime site. It has some code that does the
following:
ICMCompressionSessionOptionsRef options;
..
Do some work
..
Le 10 juil. 08 à 00:20, Jean-Daniel Dupas a écrit :
Le 9 juil. 08 à 23:54, Julien Jalon a écrit :
If I understand correctly your point, it seems that in the first
case, you
use the direct to data print operation and in the second case, you
use the
direct to file print operation then read
The grouping feature of IKImageBrowserView seems to be one of the
least documented but most powerful features I've seen in a while.
The only references I can find to using groups with IKImageBrowserView
all point back to the scant info in the API docs.
Anyway, after getting it working with
Hello.
With the Safari, when users search some text in a HTML document, the
found text is remained highlighted until they click Done button.
I tried using the showFindIndicatorForRage for NSTextView, but the
yellow highlight just disappears after it blinks.
Is there any way to leave it
on 2008-07-09 1:58 PM, James Montgomerie at [EMAIL PROTECTED] wrote:
You can register to observe the accessibility notifications
AXApplicationActivated and AXApplicationDeactivated. These require
you to
register to observe a specific target application. Therefore, in
order to
catch every
On Jul 9, 2008, at 4:07 PM, JongAm Park wrote:
With the Safari, when users search some text in a HTML document, the
found text is remained highlighted until they click Done button.
I tried using the showFindIndicatorForRage for NSTextView, but the
yellow highlight just disappears after it
On Jul 9, 2008, at 4:07 PM, JongAm Park wrote:
With the Safari, when users search some text in a HTML document, the
found text is remained highlighted until they click Done button.
I tried using the showFindIndicatorForRage for NSTextView, but the
yellow highlight just disappears after it
Hi all,
I have a menu of items whose titles are attributed strings. I have specified
custom colours for parts of those strings. The documentation reads:
If you do not set a text color for the attributed string, it is black when
not selected, white when selected, and gray when disabled. Colored
http://www.cocoabuilder.com/archive/message/cocoa/2008/7/5/212046
I wish this were better documented; the Search Kit docs show
autorelease being sent to an SKDocumentRef, also, and that's always
made me nervous (I think I actually sent feedback on that one a long
time ago).
I do
Hi Ian,
On Jul 10, 2008, at 1:07 AM, Ian wrote:
The grouping feature of IKImageBrowserView seems to be one of the
least documented but most powerful features I've seen in a while.
The only references I can find to using groups with
IKImageBrowserView all point back to the scant info in the
On 10 Jul 2008, at 00:49, thomas goossens wrote:
Hi Ian,
On Jul 10, 2008, at 1:07 AM, Ian wrote:
The grouping feature of IKImageBrowserView seems to be one of the
least documented but most powerful features I've seen in a while.
snip
It is possible to add one or more bezel groups inside
On 10/07/2008, at 9:42 AM, Kiel Gillard wrote:
Is there some way to provide a colour for the NSMenuItem's
attributedTitle
when the item is selected or disabled? For example, is there some
key I can
You could draw it yourself -- in 10.5 at least you can call setView on
the NSMenuItem:
On Jul 9, 2008, at 4:42 PM, Kiel Gillard wrote:
Hi all,
I have a menu of items whose titles are attributed strings. I have
specified
custom colours for parts of those strings. The documentation reads:
If you do not set a text color for the attributed string, it is
black when
not
Hi,
I have an NSView subclass. I rotated it with -setFrameCenterRotation, and that
works just fine.
But now I want to scale it down 50%. If I use NSInsetRect() to shrink it, it
flies off in a random direction.
Worse, if I set another view to that view, or use the frame of the rotated view
1 - 100 of 104 matches
Mail list logo