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
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,
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
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
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 list
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
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, the GPU can
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 me.
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, just
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
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 can
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
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 display,
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 purpose
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:
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 when
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];
You absolutely
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
22 matches
Mail list logo