Are you using bindings for this field? If so, your action method should send
-commitEditing… to the object controller. Only then actually close the sheet if
you get back YES.
On 9 Apr 2010, at 06:22, Ben Golding wrote:
>
> On 09/04/2010, at 15:08, Jon Pugh wrote:
>
>> At 3:02 PM +1000 4/9/10,
Le 9 avr. 2010 à 08:08, Greg Parker a écrit :
> In this circumstance, mach_msg() will block if the queue is full, and either
> succeed later or time out. Neither of those paths should end up at HALT.
> (mach_msg() may do other things in other circumstances.)
>
> Presumably mach_msg() returned s
At 10:03 PM +0200 4/8/10, vincent habchi wrote:
I was running quite an intensive test on creating/freeing threads
running RunLoops, and I got a rather unexpected crash while
executing CFRunLoopStop ():
At 10:07 PM +0200 4/8/10, vincent habchi wrote:
Well, I forgot to mention that each thread i
On 8 Apr 2010, at 17:19, Jens Alfke wrote:
>
> I'm not aware of anything that does this.
> Are you talking about parsing entire CSS files, or just a single "property:
> value;" rule?
> Even the simple case isn't that simple; CSS can be pretty complex. And most
> of the attributes don't map clea
I get myself into these pickles all the time with bindings and complex KVO.
All is well until you add just one more piece and down it goes.
The only solution IMHO is to disable your KVO observations piecemeal and find
which interaction is kicking off the storm.
I would start by looking at selecti
Steve,
> Pulling these out, it may be time to look at WAYRTTD.
>
> Creating/destroying lots of threads to render tiles seems massively
> inefficient for lots of reasons and Mac OS X has much better mechanisms for
> this.
>
> Depending on what minimum OS requirements you might get much better r
Thanks for that Corbin. That's fine and dandy, except I'm still stuck
in identifying the "link" word. There are multiple "link" words or
phrases in each cell, so I don't know which one has been hit without
some kind of characterIndexForPoint functionality. Or perhaps I can't
see the wood fo
If you read the docs for -[NSWindow endEditingFor:], it explains the correct
way to do this.
On 2010-04-09, at 1:22 AM, Ben Golding wrote:
>
> On 09/04/2010, at 15:08, Jon Pugh wrote:
>
>> At 3:02 PM +1000 4/9/10, Ben Golding wrote:
>>> I can't seem to find a way of ending editing on all the f
Hi folks
Well, I've just spent the last few days, getting to grips with consuming a web
service.
I though I would try things out in an OS X app first, then move to the iPhone,
which is the end target.
So, I decided to use WSMakeStubs on the WSDL - it did a reasonable job, apart
from one or tw
In a Leopard app, I declare an NSPipe with an NSFileHandle attached to it
for writing.
I have found, by trial and error, that I cannot write more than 65,536 bytes
to this pipe which goes to an NSTask. Below that limit works fine.
I thought that the limit was supposed to be the unsigned long max
This is an 'iffy' subject in general. I can tell you that my approach is not
what it appears that most have done.
The first problem for me, most of the WebService is deal with are written in
.NET (C#) and as such the WSMakeStubs doesn't actually work (if you have
parameters).
The second, as
> I have found, by trial and error, that I cannot write more than 65,536 bytes
> to this pipe which goes to an NSTask. Below that limit works fine.
>
> I thought that the limit was supposed to be the unsigned long max. Is this
> not correct?
As long as some process is reading data from the pipe
After re-reading your message, I think I misunderstood your problem.
Nonetheless, a quick test program doesn't run into the mentioned 65k
limit (at least on my machine):
http://pastie.org/911738
Still though, what error are you getting?
___
Cocoa-d
In this particular case, they do not, but you are correct, it should filter /
encode those values. As I said in the mail, it hasn't been reviewed that
heavily yet. It probably leaks like a sieve too :-)
Andy 'Dru' Satori
On Apr 9, 2010, at 12:59 PM, Jens Alfke wrote:
>
> On Apr 9, 2010, at
This may be helpful:
http://code.google.com/p/kernseife/
On Apr 9, 2010, at 11:00 AM, Joanna Carter wrote:
Hi folks
Well, I've just spent the last few days, getting to grips with
consuming a web service.
I though I would try things out in an OS X app first, then move to
the iPhone, whi
I am not getting an error; it just hangs.
*** code ***
@interface Subtask : NSObject {
NSTask *aTask;
NSPipe *inPipe, *outPipe;
NSFileHandle *sendEnd, *readEnd;
NSString *myID;
}
-(void)sendData:(void*)data numBytes:(NSUInteger)sz taskTag:(NSString*)tag;
...
@end
// in implementatio
My application displays a potentially long list of items in an NSTableView. One
of the columns represents files on the user's hard drive. This column is driven
by the new bookmark data from the NSURL class. The bookmark data does not
appear to be able to save effective icon data, however other
On Apr 5, 2010, at 7:02 PM, Sean McBride wrote:
> On Sun, 4 Apr 2010 23:15:16 -0400, Michael A. Crawford said:
>
>> Thus far I've gotten away with using -predicateWithFormat and scalar
>> values. I now need to compare a couple of NSDate instances but am not
>> sure how to code it up with NSPredi
http://MyrandaSporleder6772.co.cc
___
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 Sub
On Fri, 9 Apr 2010 12:52:21 -0500, Ashley Clark said:
>>> Thus far I've gotten away with using -predicateWithFormat and scalar
>>> values. I now need to compare a couple of NSDate instances but am not
>>> sure how to code it up with NSPredicate. Consider me a 'visual' learner.
>>
>> I'm pretty s
> I am not getting an error; it just hangs.
This is the classic sign that the pipe's buffer is full and that your
consuming process isn't reading the available data from the pipe. If
you attach to the producing process, I would expect its stack trace to
look like:
#0 0x95030c7e in write$UNIX2003
I would have bet on #2 as well but everything is typed NSUInteger (same as the
docs) and, when I NSLog the relevant sizes, sending and receiving, they all
come back as 4 bytes.
I do not know how to "attach" to the producing process. When NSFileHandle
writeData takes off, the Xcode debugger goe
I wrote a subclass of NSOutlineView to handle menuForEvent: so that I can
provide my own menu of items that can be performed. It works well but I did
notice that in all other outline or table views, a right-click will highlight
the rows that were right-click with an outline and change the view s
On Apr 9, 2010, at 2:46 PM, Laurent Daudelin wrote:
> I wrote a subclass of NSOutlineView to handle menuForEvent: so that I can
> provide my own menu of items that can be performed. It works well but I did
> notice that in all other outline or table views, a right-click will highlight
> the ro
On Apr 9, 2010, at 14:10, Nick Zitzmann wrote:
>
> On Apr 9, 2010, at 2:46 PM, Laurent Daudelin wrote:
>
>> I wrote a subclass of NSOutlineView to handle menuForEvent: so that I can
>> provide my own menu of items that can be performed. It works well but I did
>> notice that in all other outli
On Apr 9, 2010, at 3:42 PM, Laurent Daudelin wrote:
> However, the selection is the standard highlight, not the outline I see in
> any other table views in other Apple applications.
I think the "drop highlighting" thing a few Apple apps do is accomplished
through a private API. I wouldn't worr
On Apr 9, 2010, at 15:17, Nick Zitzmann wrote:
>
> On Apr 9, 2010, at 3:42 PM, Laurent Daudelin wrote:
>
>> However, the selection is the standard highlight, not the outline I see in
>> any other table views in other Apple applications.
>
> I think the "drop highlighting" thing a few Apple app
I guess I could do this in code but I am wondering why I cannot
connect an action to a NSMatrix in IB?
I have done this before with an NSMAtrix of radio buttons. This is an
NSMatirx of check boxes.
When I drag from the action in the HUD to the NSMAtrix all that cam be
selected are the ch
McLaughlin, Michael P wrote:
aTask = [NSTask new];
...
myID = [NSString stringWithFormat:@"%d ", ident];
inPipe = [NSPipe pipe]; // i.e., input for subtask
outPipe = [NSPipe pipe];
If you aren't concurrently reading the output pipe from the child
process, then you can end up
29 matches
Mail list logo