3rd party framework crashes with invalid code sign

2015-08-18 Thread NavaCarmon
We have a weird problem after upgrading to Yosamite: We use a 3rd party framework and codesign it on copying in Build Phases. When we run the application (which is LSUIElement - agent application) sometimes after it crashes with the following crash report and the user cannot run it again anymo

Re: Problem posting to this list?

2014-05-12 Thread Nava Carmon
Safari 7.0.2 Date: May 12, 2014 at 7:41:56 PM GMT+3 To: "cocoa-dev@lists.apple.com List" Whom should I notify about it? Best Regards, Nava Carmon, Moshiach Times Ltd., e-mail: ncar...@mac.com Skype: navacarmon Phone: +972.52.8157770 On May 12, 2014, at 7:30 PM, Alex Zavatone wrote

NPAPI plugin get NPP_Destroy right NPAPI_New in Safari 7.0.2

2014-05-12 Thread Nava Carmon
started with the new version of Safari 7.0.2 on Mavericks 10.9.2. Additional reload of the pages solves the problem and the plugin does its work. Thanks in advance for any clues Thanks in advance, Nava Carmon, Moshiach Times Ltd., e-mail: ncar...@mac.com Skype: navacarmon Phone

NPAPI plugin get NPP_Destroy right NPAPI_New in Safari 7.0.2

2014-05-12 Thread Nava Carmon
started with the new version of Safari 7.0.2 on Mavericks 10.9.2. Additional reload of the pages solves the problem and the plugin does its work. Thanks in advance for any clues Thanks in advance, Nava Carmon ___ Cocoa-dev mailing list (Cocoa

Re: How to calculate NSToolbar height in fullscreen mode

2012-09-26 Thread Nava Carmon
On Sep 25, 2012, at 5:07 AM, Nava Carmon wrote: > >> It's good to know that I'm not alone in this ordeal :), though it doesn't >> solve the problem. >> The height of toolbar (as it returned by the function, that I took from >> Apple's example) before

Re: How to calculate NSToolbar height in fullscreen mode

2012-09-25 Thread Nava Carmon
before sliding down with the menu bar), which I want to prevent. Best Regards, Nava Carmon, Moshiach Times Ltd., e-mail: ncar...@mac.com Skype: navacarmon Phone: +972.52.8157770 On Sep 24, 2012, at 9:07 PM, Lee Ann Rucker wrote: > > On Sep 24, 2012, at 5:50 AM, Nava Carmon wrote:

How to calculate NSToolbar height in fullscreen mode

2012-09-24 Thread Nava Carmon
same as in regular mode (not including title). Thanks Best Regards, Nava Carmon, ___ 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

customize NSOutlineView right-click context menu row selection

2012-07-01 Thread Nava Carmon
Hi, I have a contextual menu appears on right-click in my NSOutlineView. When it appears it selects the table row. I want to customize the selection. It's not a usual selection, rather kind of highlighted frame. How do I override it? Thanks! Nava _

Re: willDisplayOutlineCell of view-based NSOutlineView is not called

2012-06-26 Thread Nava Carmon
the missing call to super. > > > M Larsen > > > > On 25 Jun 2012, at 22:32, Corbin Dunn wrote: > >> You really want to call [super didAddSubview:] in that code snippet. >> >> corbin >> >> On Jun 23, 2012, at 2:29 PM, Nava Carmon

Re: willDisplayOutlineCell of view-based NSOutlineView is not called

2012-06-26 Thread Nava Carmon
Thanks for pointing this out. I added it. Best Regards, Nava Carmon, Moshiach Times Ltd., e-mail: ncar...@mac.com Skype: navacarmon Phone: +972.52.8157770 On Jun 25, 2012, at 11:32 PM, Corbin Dunn wrote: > You really want to call [super didAddSubview:] in that code snippet. > &g

Re: willDisplayOutlineCell of view-based NSOutlineView is not called

2012-06-23 Thread Nava Carmon
Just for those who need to customize their outline view disclosure arrow: Here's the answer from SO, that worked perfectly for me. http://stackoverflow.com/questions/11127764/how-to-customize-disclosure-cell-in-view-based-nsoutlineview Best Regards, Nava Carmon, Moshiach Times Ltd., e

Re: willDisplayOutlineCell of view-based NSOutlineView is not called

2012-06-21 Thread Nava Carmon
21, 2012, at 1:22 AM, Nava Carmon wrote: >> >>> >>> >>> >>> And this is what apple documentation says on this: >>> >>> outlineView:willDisplayOutlineCell:forTableColumn:item: >>> Informs the delegate that an outline vie

Re: willDisplayOutlineCell of view-based NSOutlineView is not called

2012-06-21 Thread Nava Carmon
to alter its display attributes. This method is not invoked when outlineView is about to display a non-expandable cell. So the cell has to be expandable to get this call > > - Original Message - > From: "Nava Carmon" > To: cocoa-dev@lists.appl

willDisplayOutlineCell of view-based NSOutlineView is not called

2012-06-21 Thread Nava Carmon
Hi, I want to customize the disclosure arrow appearance in my view-based NSOutlineView. I overrode the willDisplayOutlineCell delegate method, but it's not called. The willDisplayCell delegate method - is not called either. Is it known issue or I'm missing something? (The isItemExpandable deleg

recalculateKeyViewLoop doesn't work

2012-03-29 Thread Nava Carmon
indow] setAutorecalculatesKeyViewLoop:NO]; [[[self view] window] recalculateKeyViewLoop]; where the nextKeyView for the self.view is set to the first subview I want to appear in key order. Nothing helps and the the key ordering stays default. How to resolve it? Thanks Best Regards, Nava C

Re: Problem with NSAppleScript execution

2011-09-13 Thread Nava Carmon
t method? IMKit > On Sep 13, 2011, at 9:03 AM, Nava Carmon wrote: > >> They want services as an option, not as main workflow. >> What about simulating keyboard events? Should it work better than apple >> script? >> >> On Sep 13, 2011, at 4:48 PM, Jerry Krinock

Re: Problem with NSAppleScript execution

2011-09-13 Thread Nava Carmon
They want services as an option, not as main workflow. What about simulating keyboard events? Should it work better than apple script? On Sep 13, 2011, at 4:48 PM, Jerry Krinock wrote: > > On 2011 Sep 12, at 22:01, Nava Carmon wrote: > >> My application intercepts clicks/key

Re: Problem with NSAppleScript execution

2011-09-12 Thread Nava Carmon
Thanks for answering, Jerry. On Sep 13, 2011, at 3:55 AM, Jerry Krinock wrote: > On 2011 Sep 12, at 08:50, Nava Carmon wrote: > >> I'm trying to run a simple Apple script, that gets the text from the >> frontmost application. > > "Simple" is the wa

Problem with NSAppleScript execution

2011-09-12 Thread Nava Carmon
{ NSLog(@"%@", @"Couldn't process AppleScript"); } } NSLog(@"copied string = %@", returnString); } @catch (NSException * e) { NSLog(@"exception = %@", [e description]); } return returnString; The returnDescriptor isn't

Safari 5.1 update

2011-07-26 Thread Nava Carmon
Hi New Safari 5.1 doesn't run WebKit plugins! I read that it's supposed to happen from 10.7, I'm running 10.6.8. Apple recommends using netscape style plugins. Did somebody bump into this already? Nava Carmon ncar...@mac.com "Think good

Re: NSConnection - both ways

2011-06-16 Thread Nava Carmon
foo]; ... // In the client - (void) foo { NSLog(@"%@", @"foo was called"); } foo wasn't called. On Jun 16, 2011, at 4:20 PM, Ken Thomases wrote: > On Jun 16, 2011, at 7:26 AM, Nava Carmon wrote: > >> I tried to pass my client object as is but it did

Re: NSConnection - both ways

2011-06-16 Thread Nava Carmon
I tried to pass my client object as is but it didn't work for some reason. Should I wrap it somehow? Thanks On Jun 16, 2011, at 3:20 PM, Ken Thomases wrote: > On Jun 16, 2011, at 3:40 AM, Nava Carmon wrote: > >> I'd like to establish connection between two processes. I&#x

NSConnection - both ways

2011-06-16 Thread Nava Carmon
he same other way with another name, but it didn't work for some reason. Thanks Nava Carmon ncar...@mac.com "Think good and it will be good!" ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests o

Hiding/Showing UIAgent application window

2011-06-16 Thread Nava Carmon
Hi, I have an UIAgent application with one window. I want to hide/show it from another application.How do I do it with cocoa? Seems like hide/unhide methods of NSRunningApplication doesn't affect UIAgent processes. Thanks Nava Carmon ncar...@mac.com "Think good and it wi

Re: How to intercepting click on send in Mail.app

2011-05-30 Thread Nava Carmon
Actually the client is supposed to get a text from the mail message when the user clicks send. This client is not a mail client and not is supposed to send mail. Is there some programmatic solution? Thanks On May 30, 2011, at 5:12 PM, Joanna Carter wrote: > Le 30 mai 2011 à 15:02, Nava Car

How to intercepting click on send in Mail.app

2011-05-30 Thread Nava Carmon
Hi, Is it possible to intercept click on Send in Mac OS X Mail application? I'm writing a client that on click on Send in Mail client should perform certain action Thanks ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post ad

Intercepting click on send in Mail.app

2011-05-30 Thread Nava Carmon
Hi, Is it possible to intercept click on Send in Mac OS X Mail application? Thanks Nava Carmon ncar...@mac.com "Think good and it will be good!" ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or

Changing document size of scrollview

2011-05-18 Thread Nava Carmon
Hi, I have a scroll view (NSScrollView) with a document view set as a NSView. This document view is a superview for 2 other views, which are supposed to be resized along with resizing of enclosing document view. >From time to time I add drawing objects to document view. I need to calculate >an

problem with web view scrolling

2010-08-30 Thread Nava Carmon
how to prevent the scrolling of underlying doc? Thanks, Nava Carmon ncar...@mac.com "Think good and it will be good!" ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the lis

How to set focus on NSMenu (make it get key events)?

2010-08-27 Thread Nava Carmon
How can I cause the menu to become a key responder? Thanks, Nava Nava Carmon ncar...@mac.com "Think good and it will be good!" ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments t

Re: invoke menu tracking programmatically

2010-08-26 Thread Nava Carmon
the user will be able to move with arrow keys between menu items. I can catch moveUp and moveDown selectors. How can I cause the menu to become a key responder? Thanks, Nava On Aug 26, 2010, at 5:46 PM, Nava Carmon wrote: > Hi, > > Is it possible to invoke NSMenu tracking programmati

invoke menu tracking programmatically

2010-08-26 Thread Nava Carmon
Hi, Is it possible to invoke NSMenu tracking programmatically? Thanks, Nava Carmon ___ 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

Changing frame and title color of HUD window

2010-08-02 Thread Nava Carmon
Hi, Is there a way to change the color of frame & title of HUD window without drawing them by myself? Thanks Nava Carmon ncar...@mac.com "Think good and it will be good!" ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Plea

Re: How to force NSMenu to redraw its menu items?

2010-07-21 Thread Nava Carmon
Thanks guys for the advice, I'll definitely look into window approach. The "can NOT be updated" is Apple's guideline or real technical limitation? Thanks again, Nava On Jul 22, 2010, at 3:26 AM, Graham Cox wrote: > > On 22/07/2010, at 7:14 AM, Jerry Krinock wrote: > >> NSMenu can NOT be upda

Re: How to force NSMenu to redraw its menu items?

2010-07-21 Thread Nava Carmon
s not being updated. You mean I need to update my menu with new search results in menuNeedsUpdate? I tried this, it didn't work On Jul 21, 2010, at 6:33 PM, Jerry Krinock wrote: > > On 2010 Jul 21, at 05:27, Nava Carmon wrote: > >> I'm implementing a custom status bar m

How to force NSMenu to redraw its menu items?

2010-07-21 Thread Nava Carmon
Hi, I'm implementing a custom status bar menu, which has a custom view with NSSearchField. I'm updating number of menu items according to search results. The number of menu items is changed as user types in the NSSearchField. I've noticed, that if number of results stays the same, items titles

Change size of NSMenuItem (offset from the top of status menu)

2010-07-18 Thread Nava Carmon
ay to cancel this offset? I couldn't find the relevant API. Thanks Nava Carmon ncar...@mac.com "Think good and it will be good!" ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator

Re: setting focus on NSSearchField in status bar menu item

2010-07-08 Thread Nava Carmon
Can you point me on this thread please? Thanks a lot! On Jul 9, 2010, at 12:36 AM, Kyle Sluder wrote: > On Thu, Jul 8, 2010 at 2:29 PM, Nava Carmon wrote: >> So what is the best and by-the-book approach? Spotlight does it so smooth... > > As was discussed in the other threa

Re: setting focus on NSSearchField in status bar menu item

2010-07-08 Thread Nava Carmon
So what is the best and by-the-book approach? Spotlight does it so smooth... On Jul 9, 2010, at 12:12 AM, augusto callejas wrote: > not sure how to prevent flickering, this entire approach is hack-ish anyhow :) > > On Jul 8, 2010, at 2:09 PM, Nava Carmon wrote: > >> Tr

Re: setting focus on NSSearchField in status bar menu item

2010-07-08 Thread Nava Carmon
for a sec and unhighlights it. How to get rid of flickering at all? Thank you very much! On Jul 8, 2010, at 11:59 PM, augusto callejas wrote: > [[NSNotificationCenter defaultCenter] addObserver:self > selector:@selector(showPopupMenu:) > name:NSApplicationDidBecomeActiveNotification obje

Re: setting focus on NSSearchField in status bar menu item

2010-07-08 Thread Nava Carmon
> On Jul 8, 2010, at 12:26 PM, Nava Carmon wrote: > >> Can somebody answer this please? >> >> On Jul 8, 2010, at 8:41 AM, Nava Carmon wrote: >> >>> Hi, >>> >>> I added a custom view with a NSSearchField as a first menu item to a status &g

Re: setting focus on NSSearchField in status bar menu item

2010-07-08 Thread Nava Carmon
Can somebody answer this please? On Jul 8, 2010, at 8:41 AM, Nava Carmon wrote: > Hi, > > I added a custom view with a NSSearchField as a first menu item to a status > bar menu. When I run the application from debugger I can click and write in > the NSSearchField. After

setting focus on NSSearchField in status bar menu item

2010-07-07 Thread Nava Carmon
x27;s disabled and can't get focus. The question is how to cause the NSSearchField to get focus each time, the user clicks to show the menu? Thanks, Nava Nava Carmon ncar...@mac.com "Think good and it will be good!" ___ Cocoa-dev mai

How to change color of text in webView

2010-06-02 Thread Nava Carmon
Hi, Is it possible to change the font color in web view? How do I do it? Thanks, Nava Carmon ncar...@mac.com "Think good and it will be good!" ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or

Clicking links in webview does nothing

2010-05-30 Thread Nava Carmon
open them in default browser window. What is the way to do that? Thanks for your help. Nava Carmon ncar...@mac.com "Think good and it will be good!" ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin reques

Re: NSURLConnection weirdiness

2010-05-29 Thread Nava Carmon
On May 29, 2010, at 10:12 PM, Jens Alfke wrote: > > On May 29, 2010, at 11:53 AM, Nava Carmon wrote: > >> When I initialize the NSURLConnection I define a timeout in my >> NSURLMutableRequest in order not to stuck the GUI and let the user to work >> with ap

Re: NSURLConnection weirdiness

2010-05-29 Thread Nava Carmon
o in such cases? Each time I need to get xml file I create another NSURLConnection. I read somewhere that it's not a good practice... Again, thanks for the help. On May 29, 2010, at 5:04 AM, Jerry Krinock wrote: > > On 2010 May 28, at 02:58, Nava Carmon wrote: > >> When I

NSURLConnection weirdiness

2010-05-28 Thread Nava Carmon
ng data. And after another trial I can access the link. What might be the reason for such a weird behavior? How can I improve it? What is the role of cache policy with NSURLConnection? Thanks, Nava Nava Carmon ncar...@mac.com "Think good and it will be good!" __

Logging in ad-hoc builds

2010-05-27 Thread Nava Carmon
Hi, I have a problem with NSURLConnection in my ad-hoc build and I'd like to log the problematic url. In debug version i can just output it to console. The question is how do i track it in ad-hoc? It's not about crashing, so crash logs will not help. Any ideas? Thanks in advan

Re: Custom view as a menu item

2010-05-05 Thread Nava Carmon
On May 5, 2010, at 10:17 AM, Nava Carmon wrote: > >> Anyone? >> >> On May 4, 2010, at 10:18 AM, Nava Carmon wrote: >> >>> Hi, >>> >>> I need to implement a menu that looks and feels like that of spotlight: >>> with a search field

Custom view as a menu item

2010-05-05 Thread Nava Carmon
Anyone? On May 4, 2010, at 10:18 AM, Nava Carmon wrote: > Hi, > > I need to implement a menu that looks and feels like that of spotlight: with > a search field as a first item and other items will be filled from some xml > file on fly. Are there some examples/ideas

custom view as a menu item

2010-05-04 Thread Nava Carmon
Hi, I need to implement a menu that looks and feels like that of spotlight: with a search field as a first item and other items will be filled from some xml file on fly. Are there some examples/ideas on how to do it? Thanks a lot, Nava Carmon ncar...@mac.com "Think good and it will be

Re: Which iPhone Program?

2010-03-23 Thread Nava Carmon
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: > http://lists.apple.com/mailman/options/cocoa-dev/ncarmon%40mac.com > > This email sent to ncar...@mac.com Nava Carmon

Re: Three odd iPhone dev problems

2010-03-23 Thread Nava Carmon
> > 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: > http://lists.apple.com/mailman/options/cocoa-dev/ncarmon%40mac.com

Re: EXC_BAD_ACCESS mystery

2009-11-11 Thread Nava Carmon
for posting here a ruby code, but just in case, may be you can help with it? There is no RubyCocoa list on apple, although RubyCocoa is a part of OS X. Official RubyCocoa forum almost is not alive... Thanks again, Nava On Nov 11, 2009, at 6:05 PM, Corbin Dunn wrote: On Nov 10, 2009, a

Re: EXC_BAD_ACCESS mystery

2009-11-10 Thread Nava Carmon
Thank you Corbin for your great post. How do I track the following issue with instruments: *** attempt to pop an unknown autorelease pool ObjectAllocator with NSZombieEnabled doesn't react on this. I could track the same case you explained in your post, but it doesn't work for pool autorele

Re: Obtaining selected text from the frontmost application

2009-11-10 Thread Nava Carmon
Nava Carmon: Hi, How do I approach to this task? Which technologies to use and whether there are example of something similar. Thanks a lot for the guidance, Nava ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin

autorelease pool crash

2009-11-10 Thread Nava Carmon
My application is RubyCocoa based. Sometimes I'm getting the following message, which precedes the crash: *** attempt to pop an unknown autorelease pool What situation can cause this message? Thanks, Nava ___ Cocoa-dev mailing list (Cocoa-dev@list

Obtaining selected text from the frontmost application

2009-11-10 Thread Nava Carmon
Hi, How do I approach to this task? Which technologies to use and whether there are example of something similar. Thanks a lot for the guidance, Nava ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or mode

Re: objectAtIndex

2009-11-01 Thread Nava Carmon
Thank you, that answers my question, Nava On Nov 1, 2009, at 10:24 PM, Sherm Pendley wrote: On Sun, Nov 1, 2009 at 2:44 PM, Nava Carmon wrote: NSObject *anObject = [anArray objectAtIndex:i]; ... Should I release it? No. You didn't create anObject with +alloc or a method beginning

objectAtIndex

2009-11-01 Thread Nava Carmon
Hi, When I ran Build and Analyze on my code, it has pointed as a possible leak the following statement: NSObject *anObject = [anArray objectAtIndex:i]; anObject wasn't released and here's the question: whether anObject is a copy of actual object, that is a member of anArray or it's the o

API for show event time as free/busy (iCal)

2009-10-31 Thread Nava Carmon
Hi, A new feature was introduced in iCal for Snow Leopard - show time as free/busy. I CANNOT find the according API in CalendarStore framework. DOES anybody know about the existence of such an API? Seems headers weren't updated from 10.5 to 10.6. If there another list, that might know the a

show as free/busy API for iCal

2009-10-29 Thread Nava Carmon
Hi, I need to retrieve the "show as free/busy" property of iCal event. I couldn't find any matching property in CalendarStore.framework headers. This property has became available in iCal only for Snow Leopard. How can i get it in my application? Thanks a lot, Nava. ___