So it is. I didn't notice that. Thanks Kiel
I need to target both Tiger and Leopard so I think I'll just write a
category that does the same thing and hides the carbon calls .
On May 26, 2009, at 1:08 AM, Kiel Gillard wrote:
+ eventWithEventRef is Mac OS X 10.5 Leopard only API. It is
una
+ eventWithEventRef is Mac OS X 10.5 Leopard only API. It is
unavailable on Mac OS X 10.4 Tiger.
If you want to write from Leopard only, set the base SDK of your
target to the 10.5 SDK.
Kiel
On 26/05/2009, at 2:52 PM, Ken Tozier wrote:
Hi
I'm getting a warning when calling NSEvent's eve
Hi
I'm getting a warning when calling NSEvent's eventWithEventRef
NSEvent *event = [NSEvent eventWithEventRef: ref];
I include Appkit and Carbon in the file where this warning appears
#import
#import
And the documentation doesn't say this is an obsolete method
http://developer.apple.com/d
Chris Gardner wrote:
When transferring data, I stop it using
CFReadStreamUnscheduleFromRunLoop()
and CFReadStreamClose().
When I am resuming to connect the same file in FTP servers, I
always get
the same problem which show error code 530 that meams user not
logged in.
When you say "resu
> To: cocoa-dev@lists.apple.com
> From: glgue...@amug.org
> Date: Mon, 25 May 2009 10:46:40 -0700
> Subject: Re: How to safely break read stream?
>
> Chris Gardner wrote:
>
> > I create a read stream with CFReadStreamOpen(),
> > but I don't know how to safely break it.
> > Eagerly waiting for yo
Actually. That makes it alot simpler. There is some selection and
addition logic but that should be simple enough.. Like i said i am
just over thinking it.
Scott Andrew
On May 25, 2009, at 8:42 PM, Steve Steinitz wrote:
Hi Scott
On 25/5/09, cocoa-dev-requ...@lists.apple.com wrote:
I am w
Hi Scott
On 25/5/09, cocoa-dev-requ...@lists.apple.com wrote:
I am working on a CoreData project but want some advice on
using an Outline View. My relationships are setup like so.
They don't have a parent/child entry. The entries more match
the read data.
Project
...
Tragets
Sources
I want to hold my heirarchy... And references.. So i don't want to
change. I am working on a node wrapper.
Scott
On May 25, 2009, at 11:28 AM, Shlok Datye wrote:
I recently came across some nice sample code on how to use
NSTreeController with Core Data. Here it is:
http://espresso-served-
Hi Kyle,
On 26/05/2009, at 8:04 AM, Kyle Sluder wrote:
That's what I'm doing, by emulating the Carbon control. I think
this is a
deficiency in Cocoa, I don't see how it's possible implement the
bevel
button with a popup menu as shown in the HIG, where the button
represents
the menu title a
On Mon, May 25, 2009 at 7:12 PM, Gwynne Raskind wrote:
> On May 25, 2009, at 6:52 PM, Michael Ash wrote:
>>
>> The authentication stuff is pertinent, because the AEWP is an example
>> of an API which works by having an unprivileged user process
>> communicate with a privileged process that does th
I had the same problem and ended up displaying the menu
programmatically in my control's action method. I hope someone can
provide a better solution...
NSPoint point = [segmentedControl convertPoint:[segmentedControl
frame].origin fromView:nil];
NSEvent *event = [NSEvent mouseEventWithType:NSLeftM
> It does? Last I checked, AEWP() used a temp file on disk to pass its
> AuthorizationRef to the child process. Pipes, anyone?
Hah. I wonder what temp directory it uses?
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin re
On May 25, 2009, at 6:52 PM, Michael Ash wrote:
The authentication stuff is pertinent, because the AEWP is an example
of an API which works by having an unprivileged user process
communicate with a privileged process that does the work. A technique
which allows you to compromise a process which u
On Mon, May 25, 2009 at 10:15 AM, Thomas Engelmeier
wrote:
> My op polls isCancelled, returns from main and nothing more happens.
Please post your code, it's the only real way to investigate the issue
(especially since you're using operations/multithreading, where the
errors can be extremely subt
On Mon, May 25, 2009 at 6:18 PM, Kyle Sluder wrote:
> On Mon, May 25, 2009 at 3:08 PM, Michael Ash wrote:
>> Not at all. It doesn't change my point one whit. If A can command the
>> privileged process to do something nasty, then C can do it too.
>> (Possibly by breaking into A by one of the many
On Mon, May 25, 2009 at 3:08 PM, Michael Ash wrote:
> Not at all. It doesn't change my point one whit. If A can command the
> privileged process to do something nasty, then C can do it too.
> (Possibly by breaking into A by one of the many mechanisms available
> and forcing it to make an evil requ
On Mon, May 25, 2009 at 3:50 PM, Jeremy Pereira wrote:
>
> On 25 May 2009, at 20:23, Michael Ash wrote:
>
>> On Sun, May 24, 2009 at 7:57 PM, Greg Guerin wrote:
>>>
>>> Michael Ash wrote:
>>>
Malevolent process C fails.
>>>
>>> Or maybe malevolent process C works because it's running with th
Thanks for your suggestion.
I did subclass NSNumberFormatter and initially I overrode
getObjectValue:forString:range:error:, because I would like to have a
recovery suggestion included in the message, but it turns out that
according to the call stack NSCell's isEntryAcceptable (a deprecated
On Mon, May 25, 2009 at 2:42 AM, Jo Meder wrote:
> I can go with that, although it has been a choice to have the menu on the
> right with the arrow bottom right facing right for a long time on Carbon.
> It's been the option I've used most, but I'm happy to go the other way now
> it seems to be the
There is an IBAction attached to the segment control that processes
the other segment clicks and does nothing for the menu segment. If I
completely disconnect the IBAction, the menu pops up instantly.
However, if I connect it to an IBAction (even to an empty routine),
the delay returns.
The delay
On 25 May 2009, at 20:23, Michael Ash wrote:
On Sun, May 24, 2009 at 7:57 PM, Greg Guerin
wrote:
Michael Ash wrote:
Malevolent process C fails.
Or maybe malevolent process C works because it's running with the
same uid
as unprivileged process A. The sticky-bit on a directory only
pr
> Right now, there is about about a 1-second delay after a click on a
> segment before its menu will appear.
>
> Is there a way to remove this delay in bringing up a menu attached to a
> segment?
This isn't typical - if you create a new project and just drop a NSSC
in a window, you'll see there's
On Sun, May 24, 2009 at 7:57 PM, Greg Guerin wrote:
> Michael Ash wrote:
>
>> Malevolent process C fails.
>
> Or maybe malevolent process C works because it's running with the same uid
> as unprivileged process A. The sticky-bit on a directory only prevents one
> uid from interfering with another
Right now, there is about about a 1-second delay after a click on a
segment before its menu will appear.
Is there a way to remove this delay in bringing up a menu attached to a segment?
Thanks.
--
Mark Munz
unmarked software
http://www.unmarked.com/
___
Just found a solution!
I added action to my NSPopUpButton:
- (IBAction) onUnitsChanged: (id) sender
{
NSView *v = [[self window] contentView];
[v setNeedsDisplay:YES];
}
this seems to update all controls and refresh bound values exactly as I need.
Feel free to suggest solutions without th
I'm trying to create something similar to a piano where there are keys next
to each other that should respond when a touch is dragged across them.
I have it working with an outter controller that does a hittest on all it's
children to find the key that is hit, but I'm trying to see if I can avoid
With NSTabView I can set the font of the NSTabViewItem label. Is there a way
to make it underlined? I have always done this with the NSAttributeString in
the past. However I do not see how I can get access to the attribute string
for the NSTabViewItem label.
thank for the help
-dave
___
Hello list,
I have a document that has a dimension parameter (NSSize). I bound
this size to some text field using formatter. The formatter allows to
show size both in millimeters and inches. User may switch units by
NSPopupButton that is bound to shared user defaults controller. My
formatter reads
Chris Gardner wrote:
I create a read stream with CFReadStreamOpen(),
but I don't know how to safely break it.
Eagerly waiting for your reply.
Eagerly waiting for your explanation of what you mean by "break".
Do you mean "to interrupt normal reading"?
Do you mean "to separate into sections"?
I am working on a CoreData project but want some advice on using an
Outline View.
My relationships are setup like so. They don't have a parent/child
entry. The entries more match the read data.
Project
// just a simple group node will say (targets/sources) in localized
languges.
Hi,
I'm running into some trouble with NSOperation / NSOperationQueue.
In order to tear down everything gracefully, I use something like
[queue cancelAllOperations];
[queue waitUntilAllOperationsAreFinished];
My NSOperation subclasses just have a straightforward -(void) main
On May 25, 2009, at 11:45 AM, Kelvin Chung wrote:
I'm not sure what is the best way to write a simple DB application.
Suppose I have something like an SQLite database. What I want to do
is basically to write a Cocoa frontend for it. This frontend only
needs to read from it - not write to
Am 25.05.2009 um 16:58 schrieb Sean McBride:
On 5/25/09 4:21 PM, Georg Seifert said:
I have a QuickLook Plugin for a file format without a defined UTI,
but
has a defined fileType - the program is very carbonish. The developer
promised to export the UTI in the next version but this will take
I'm not sure what is the best way to write a simple DB application.
Suppose I have something like an SQLite database. What I want to do
is basically to write a Cocoa frontend for it. This frontend only
needs to read from it - not write to it.
I don't see any database functionality in Coc
On 5/25/09 4:21 PM, Georg Seifert said:
>I have a QuickLook Plugin for a file format without a defined UTI, but
>has a defined fileType - the program is very carbonish. The developer
>promised to export the UTI in the next version but this will take
>another year or so).
>
>For now I use the dynam
Peter,
Thanks for your response (I was hoping you would notice my post :-).
My interpretation of your response is as follows:
1- Cocoa bindings are not supported for popup views that are used in a
NSPredicateRowtemplate, even if I am careful to make sure that the
view is re-bound (via copyWi
Because the nib has gotten crowded, I'm taking your second option.
Things are working well so far, with a few exceptions. The table's
vertical scrollbar remains the same size and moves to the left,
still. Secondly, when I resize the window, I'm having issues with
things going back to nor
Hi,
I have a QuickLook Plugin for a file format without a defined UTI, but
has a defined fileType – the program is very carbonish. The developer
promised to export the UTI in the next version but this will take
another year or so).
For now I use the dynamic UTI. This works so far. How sav
Hi Kyle,
On 25/05/2009, at 8:52 PM, Kyle Sluder wrote:
On Mon, May 25, 2009 at 1:43 AM, Jo Meder wrote:
- The arrow used by the Cocoa control is really big and it doesn't
seem like
it can be placed in the same way, for example bottom right, facing
right.
Shouldn't this be bottom-right, f
On Mon, May 25, 2009 at 1:43 AM, Jo Meder wrote:
> - The arrow used by the Cocoa control is really big and it doesn't seem like
> it can be placed in the same way, for example bottom right, facing right.
Shouldn't this be bottom-right, facing down as per the HIG?
> - The control seems to want to
Hi,
On 25/05/2009, at 7:15 PM, listsapple wrote:
Don't know if supported in 10.4 but how about a popup button with
attributes:
Type: Pull Down
Style: Square
Thanks, but that's what I've tried already and found unsuitable.
There are two main problems with it:
- The arrow used by the Coc
Thanks Gwynne and Mike, that clears it up. I didn’t think about the
missing -string method. When I remove the getter from my custom class
it behaves the same and that was what I wanted to see.
On 25.05.2009, at 00:21, Michael Ash wrote:
And neither should you. Your use of the dot syntax h
42 matches
Mail list logo