Re: trackingAreas can be snuck up on without triggering?

2012-05-21 Thread mlist0...@gmail.com
with the tracking rects. - Original Message - From: mlist0...@gmail.com To: Lee Ann Rucker lruc...@vmware.com Cc: Cocoa Dev cocoa-dev@lists.apple.com Sent: Sunday, May 20, 2012 11:11:51 AM Subject: Re: trackingAreas can be snuck up on without triggering? On May 20, 2012, at 10:45 AM, Lee Ann

Re: trackingAreas can be snuck up on without triggering?

2012-05-20 Thread mlist0...@gmail.com
19, 2012, at 22:10 , mlist0...@gmail.com wrote: If I whip the mouse into the window's content area, my cursorUpdate method is called and I see the correct cursor. If I slowly sneak the mouse into my window's content area, I see the window resize cursor for a moment as I cross

Re: trackingAreas can be snuck up on without triggering?

2012-05-20 Thread mlist0...@gmail.com
On May 20, 2012, at 8:04 AM, Kyle Sluder wrote: Have you implemented -updateTrackingAreas? Implementing it did not help. Not a surprise since my view doesn't change geometry. _murat ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do

Re: trackingAreas can be snuck up on without triggering?

2012-05-20 Thread mlist0...@gmail.com
On May 20, 2012, at 9:02 AM, Ken Thomases wrote: On May 20, 2012, at 10:04 AM, Kyle Sluder wrote: Have you implemented -updateTrackingAreas? Or you can try specifying NSTrackingInVisibleRect to take care of much tedium for you. Nope, didn't help either. _murat

Re: trackingAreas can be snuck up on without triggering?

2012-05-20 Thread mlist0...@gmail.com
Belt *and* suspenders? ;) _murat On May 20, 2012, at 7:43 AM, Quincey Morris wrote: On May 20, 2012, at 02:21 , mlist0...@gmail.com wrote: Your alternate approach is essentially to give up on tracking areas, no? The tracking area approach has an attractive simplicity, especially once my

Re: trackingAreas can be snuck up on without triggering?

2012-05-20 Thread mlist0...@gmail.com
On May 20, 2012, at 10:45 AM, Lee Ann Rucker wrote: But if you're only updating the cursor, why not try addCursorRect:cursor: ? Presumably that's smart enough to know about the grow zone. The docs note that -addCursorRect:cursor: is legacy api, supplanted in Leopard by... tracking rects! Not

trackingAreas can be snuck up on without triggering?

2012-05-19 Thread mlist0...@gmail.com
I have a view for which I am adding a tracking area so that I can update the cursor. The view entirely fills my window and is the only view in the window's content view. The tracking area is being registered thusly: - (void) awakeFromNib { NSTrackingArea* trackingArea = [[NSTrackingArea

_updateTrackingAreas really slow

2012-05-17 Thread mlist0...@gmail.com
I have an NSCollectionView with really simple (i.e. no tracking areas) item views. In a test case of about 1500 items, scrolling gets unacceptably choppy. I've tracked this down to calls to a private method, -[NSView _updateTrackingAreas]. While scrolling, _updateTrackingAreas is called

Re: multi-window document best practices?

2012-05-13 Thread mlist0...@gmail.com
On May 13, 2012, at 3:07 PM, Willeke wrote: How to Subclass NSWindowController: The NSWindowController subclass instance should be the File’s Owner for the nib... Thank you. I missed this, probably because I'm not actually subclassing NSWindowController. But it settles it as far as I'm

multi-window document best practices?

2012-05-12 Thread mlist0...@gmail.com
I've have come across some surprising behavior when trying to implement a document with two windows, each loaded from its own nib. In my NSDocument subclass, I have - (void) makeWindowControllers { NSWindowController* wc1 = [[[NSWindowController alloc] initWithWindowNibName:@MNKDocument

Re: multi-window document best practices?

2012-05-12 Thread mlist0...@gmail.com
On May 12, 2012, at 4:45 PM, Kyle Sluder wrote: Document-as-File's-Owner only makes sense if you aren't overriding -makeWindowControllers. I don't think that's the case. Certainly nothing in the docs suggest it. Went for a drive and reflected on this a bit. I think the fact that there's a

Re: multi-window document best practices?

2012-05-12 Thread mlist0...@gmail.com
On May 12, 2012, at 5:55 PM, Kyle Sluder wrote: You are correct that nothing in the docs prohibits passing the document as the file's owner argument for window controllers you construct yourself. And in the case of a single window controller, it might work—though this is not guaranteed.

Re: Minimal document-based app

2012-05-01 Thread mlist0...@gmail.com
@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 Subscription: https://lists.apple.com/mailman/options/cocoa-dev/mlist0987%40gmail.com This email sent to mlist0...@gmail.com

Cocoa Touch: Accessory view never calls up outside action?

2011-07-10 Thread mlist0...@gmail.com
I'm using a UIButton subclass as an accessory view in a table cell. I create the button in my cell's initWithStyle:reuseIdentifier: method, as shown below. Here's the problem: I touch inside my button, but even when I drag my finger out of the button and lift up, it's my up inside action that

Re: Why does NSArray count return NSUInteger?

2011-05-30 Thread mlist0...@gmail.com
(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/mlist0987%40gmail.com This email sent to mlist0...@gmail.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin

Re: Why does NSArray count return NSUInteger?

2011-05-29 Thread mlist0...@gmail.com
://lists.apple.com/mailman/options/cocoa-dev/mlist0987%40gmail.com This email sent to mlist0...@gmail.com ___ 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

Re: Trouble with design pattern

2011-02-18 Thread mlist0...@gmail.com
Sorry, the forward declarations go in your .h files. You still have to import your MyDocument.h in your implementation files (ie. your CustomView.m files). What warnings are you getting? As far as your nil document problem, I don't know. I suspect something is not setup correctly. In your

Re: Key equivalents for non-menu items

2011-02-15 Thread mlist0...@gmail.com
On Feb 15, 2011, at 7:36 PM, Randy Widell wrote: I would like to have a keyboard shortcut that tags a location on the waveforms at the location of the mouse cursor. These commands do not make any sense in the main menu...they could go there, but they would be clutter. Why do you think they

Re: Using NSWindow without NIB (XIB) file ?

2011-01-25 Thread mlist0...@gmail.com
This should be a FAQ. The topic of Cocoa without Interface Builder comes up on the list surprisingly frequently, usually from someone who, like you, is trying to understand how Cocoa really works. You may be thinking that graphical UI builders (like Interface Builder) are somehow a crutch and

Re: Help on Cocoa Class references

2011-01-18 Thread mlist0...@gmail.com
On Jan 18, 2011, at 2:46 AM, Leanne Attard wrote: When i click on the title bar… You don't normally handle titlebar clicks yourself. What are you trying to do with click on the titlebar? _murat___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Re: NSFileWrapper serializedRepresentation bloat?

2011-01-09 Thread mlist0...@gmail.com
file a bug please? -Ken Cocoa Frameworks On Sat, Jan 8, 2011 at 5:16 PM, mlist0...@gmail.com mlist0...@gmail.com wrote: I create an NSFileWrapper for a directory hierarchy like this (all items are directories, no files): test-dir/ test-dir/inner-dir-a test-dir/inner-dir-b test-dir

NSFileWrapper serializedRepresentation bloat?

2011-01-08 Thread mlist0...@gmail.com
I create an NSFileWrapper for a directory hierarchy like this (all items are directories, no files): test-dir/ test-dir/inner-dir-a test-dir/inner-dir-b test-dir/inner-dir-c The wrapper's serialized representation weighs in at around an astounding 1mB (1,022,234 bytes)! Seems that the

Re: Set the Cursor Position

2010-08-19 Thread mlist0...@gmail.com
Some audio software does a similar thing for adjusting on screen knobs. I much un-love it. _murat On Aug 19, 2010, at 6:43 PM, Sherm Pendley wrote: One such exception would be 2d or 3d graphics apps, where it's expected to have a tool that allows the user to click and drag to scale or

Re: iPad Programming Tutorial

2010-04-27 Thread mlist0...@gmail.com
On Apr 25, 2010, at 7:01 PM, ML wrote: Does anyone know of a resource that helps understand how to NOT use interface builder for developing applications? Some variant of this question pops up here every now and then. Quoting from a post of my own: Interface Builder is a fundamental part

Re: CoreImage on threads?

2010-03-21 Thread mlist0...@gmail.com
if necessary, but the gist is that we were experiencing CoreImage-related crashes when running off the main thread. Moving to the main thread fixed the crashes. Unfortunately, I'm not aware of any documentation regarding CoreImage thread safety. -Jeff On Mar 20, 2010, at 4:36 PM, mlist0

CoreImage on threads?

2010-03-20 Thread mlist0...@gmail.com
I'm trying to use run multiple CoreImage operations concurrently using NSOperation. Sometimes it works, sometimes it doesn't. Smells like what you'd get when trying to run multiple operations that are not thread safe. Before I dig in much deeper, am I wrong that running multiple concurrent

Workaround [Re: NSTextView refuses to scroll inside of an NSCollectionView]

2010-03-06 Thread mlist0...@gmail.com
For the archives- I ran into the problem where NSScrollviews from an NSCollectionViewItem's template view do not work properly in a collection view. This is a problem that was reported on this list back in 2007, and reported as a bug then, but is still broken in 10.6.2. I couldn't find a

Re: Undo Names in NSPersistentDocument

2009-12-28 Thread mlist0...@gmail.com
On Dec 18, 2009, at 8:39 PM, Graham Cox wrote: (regarding undo action names when using NSPersistentDocument) Unfortunately I haven't used Core Data so I'm not sure what's needed to fit in with that, if the framework hasn't already solved it. As near as I can tell, 5 years after Core Data's

Re: How to get an italic font

2009-12-03 Thread mlist0...@gmail.com
://lists.apple.com/mailman/options/cocoa-dev/mlist0987%40gmail.com This email sent to mlist0...@gmail.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators

Re: Cocoa Sounds

2009-11-10 Thread mlist0...@gmail.com
-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/mlist0987%40gmail.com This email sent to mlist0...@gmail.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do