Hi, I would like my document based app to be able to send its files as email
attachments. I notice that the Finder has the services option to send a file as
an attachment, and kind of thought that something like that might have been
built in to the document architecture, but apparently not. It d
On May 11, 2012, at 2:09 AM, Gideon King wrote:
> I assumed that if I wanted to try this out, I should be able to do something
> like this in my NSDocument subclass:
>
> + (void)initialize {
>[NSApp registerServicesMenuSendTypes:[NSArray
> arrayWithObjects:NSFilenamesPboardType, NSFileConte
On May 11, 2012, at 4:25 AM, Gregory Weston wrote:
> Absent from this narrative: Any indication that you have reason to believe
> your view has actually *become* the first responder.
The Window contains many views, each with a particular function to the
application.
Now, this may be y ignora
On 11 May 2012, at 8:56 AM, koko wrote:
> Now, if what is being said is that a view cannot participate in this process
> until the user clicks the view, well ok. But what good is the responder chain
> if all views that acceptFirstResponder are not part of it ?
Your understanding that only the f
On May 11, 2012, at 8:28 AM, Fritz Anderson wrote:
> Your understanding that only the focused view (among views) can be first
> responder is correct. This is reflected in "responder" being singular and not
> plural.
koko grok
___
Cocoa-dev mailing
On May 9, 2012, at 7:14 AM, Ph.T wrote:
> . in a pre-emptive OS there should be no freezing;
> given the new concurrency model
> that includes the use of the graphics processor GPU
> to do the system's non-graphics processing,
Well, the GPU can _occasionally_ be used to do some non-graphics work
Thanks Ken, moving it to my window controller got my validRequestorForSendType
called, but the services menu now shows up with just one item: "Notebook
Clipping Setup".
So as it stands, this is my code:
+ (void)initialize {
[NSApp registerServicesMenuSendTypes:[NSArray
arrayWithObject:NSFi
Le 11 mai 2012 à 18:05, Jens Alfke a écrit :
>
> On May 9, 2012, at 7:14 AM, Ph.T wrote:
>
>> . in a pre-emptive OS there should be no freezing;
>> given the new concurrency model
>> that includes the use of the graphics processor GPU
>> to do the system's non-graphics processing,
>
> Well, th
On May 10, 2012, at 2:06 AM, Motti Shneor wrote:
> does anybody know how to regain focus on an NSPopover after it lost user
> focus? (after another window becomes key and main) I could not do it. The
> only way I found was to close/delete the NSPopover and recreate it. Seems bad
> solution to m
On May 11, 2012, at 9:23 AM, Jean-Daniel Dupas wrote:
> While playing with GPU programming, I had a lot of such freeze, and they
> never locked the CPU. I was always able to connect to my machine though SSH.
So a regular user process can permanently lock up the display, requiring a
reboot, jus
Yes, I agree about 25k frames being pretty big. It's possible though, because
the structure being unarchived is pretty complex... I decided to put an
NSLog(@"Unarchiving %p", self) at the line where the crash finally occurs in
initWithCoder of my CbCMNode class. Pasting the output into TextWrang
Le 11 mai 2012 à 19:55, Jens Alfke a écrit :
>
> On May 11, 2012, at 9:23 AM, Jean-Daniel Dupas wrote:
>
>> While playing with GPU programming, I had a lot of such freeze, and they
>> never locked the CPU. I was always able to connect to my machine though SSH.
>
> So a regular user process ca
On May 11, 2012, at 12:55 PM, Jens Alfke wrote:
> So a regular user process can permanently lock up the display, requiring a
> reboot, just by executing some bad GPU code?! That’s kind of a bad privilege
> violation and could be considered a DoS exploit.
On the old 2008 non-unibody MacBook Pro
Hello,
I have a layer hosting custom view which I can't convince to listen to the
alpha value I set on its superview. Other views sitting on the same superview
correctly fade with the alpha value of the superview changing. My view doesn't.
It simply hides when the superview's alpha is less t
Hello,
using NSViewAnimation to animate a window frame, when I set the
animationCurve to NSAnimationEaseOut, the animation is reversed. I
triple-checked and logged the frames and they are set up correctly. The
animation dictionary looks like this:
{
NSViewAnimationEndFrameKey =
>> While playing with GPU programming, I had a lot of such freeze, and they
>> never locked the CPU. I was always able to connect to my machine though SSH.
Sometimes you can, sometimes you can't. It depends on exactly how things fail.
> So a regular user process can permanently lock up the disp
On 11/05/2012, at 11:56 PM, koko wrote:
> But what good is the responder chain if all views that acceptFirstResponder
> are not part of it ?
Because the purpose of the responder chain is to provide a context for the
keyboard and other shared inputs, like the menu bar. While the user can click
Thanks for the courtesy of an edifying reply ... koko now grok more better.
On May 11, 2012, at 4:25 PM, Graham Cox wrote:
>
> On 11/05/2012, at 11:56 PM, koko wrote:
>
>> But what good is the responder chain if all views that acceptFirstResponder
>> are not part of it ?
>
>
> Because the
Why am I getting URLs from a file-drag operation that look like this?
/Users/rmann/Library/Developer/Xcode/DerivedData/DataOverlay-bcjfnacanylbcychqjbfqjytdptq/Build/Products/Debug/file:/localhost/Users/rmann/Desktop/SpaceX_CCDEV2.jpg
They should just be:
/Users/rmann/Desktop/Sp
On May 11, 2012, at 16:58 , Rick Mann wrote:
> NSString* path = [item stringForType:
> @"public.file-url"];
> NSURL* url = [NSURL fileURLWithPath:
> path];
You absolutely can't do this. A URL is not a path, not even whe
On May 11, 2012, at 17:10 , Quincey Morris wrote:
> On May 11, 2012, at 16:58 , Rick Mann wrote:
>
>> NSString* path = [item stringForType:
>> @"public.file-url"];
>> NSURL* url = [NSURL fileURLWithPath:
>> path];
>
> Y
I'd like to act on -mouseDown when it occurs within the bounds of an
NSImageView, which is a subview of a transparent overlay child window. Some of
you may be wondering why I'm trying to do this so I'll try to explain that up
front. There are bugs in Snow Leopard regarding the use of Core Anim
Hi Michael
I have had to do this same thing, and have encountered the same problem.
In my case the main thing I wanted to accomplish was to get the scroll view in
the main window to reflect the scroll position of my overlay window. It was not
working very well, but then in my main window, I tu
23 matches
Mail list logo