Re: filteredArrayUsingPredicate and points

2009-04-16 Thread Alexey Baev
On Apr 15, 2009, at 19:59:39, Kirk Kerekes wrote: Untested suggestion: Try adding a method to MyDot that will accept the NSStringFromPoint representation, and then reference that method in your predicate, supplying a NSStringFromPoint as the object to be searched for. - (BOOL)containsPoi

filteredArrayUsingPredicate and points

2009-04-15 Thread Alexey Baev
yUsingPredicate: predicate]; I would be glad if you helped me. -- Alexey Baev ___ 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)

right-click on a title-bar of borderless-window

2008-10-13 Thread Alexey Baev
Hello! I have the window with the borderless style. (Tiger 10.4) How can I simulate right-click on a title-bar and show pop-up menu with folders of represented filename. -- Thanks, Alex. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Pleas

valueForKey to call function

2008-04-30 Thread Alexey Baev
I have NSView* view. I can write: [view valueForKey: @"isHidden"] to call property: [view isHidden]. Can I write something like [view valueForKey: @"..."] to call this: [view pickPoint: mouseLoc], where mouseLoc is NSPoint. Alex. ___ Cocoa-dev