Unit testing Cocoa Application built with custom frameworks

2013-12-16 Thread Apparao Mulpuri
in layered architecture. I am not getting, how it is working with the static library and not with my framework, though both are static types only. *Regards,* *Apparao Mulpuri* ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post

SecIdentity from Certificate

2010-08-04 Thread Apparao Mulpuri
Hi Friends, In my Cocoa app, I am trying to construct SecIndentity from the certificate with extension .p12 as mentioned in http://developer.apple.com/mac/library/documentation/Security/Conceptual/CertKeyTrustProgGuide/iPhone_Tasks/iPhone_Tasks.html, but unfortunately kSecImportExportPassphrase,

Self sign certificate creation

2010-07-13 Thread Apparao Mulpuri
Hi Folks, I am trying to generate a self sign certificate programmatically in my Cocoa app instead of using KeyChain Access application. I studied Apple provided sample codes and documentation and finally I haven't find any API for Self sign certificate creation.

Document context

2008-09-19 Thread Apparao Mulpuri
Hi, I am little confused with the method + (id)elementWithName:(NSString *)name in NSXMLNode. Is this method will create a new node with in the current document context or outside of any document context?. In the Xcode documentation, apple didn't mention about the document context. - Apparao

Re: KBML Generator/Parser

2008-08-06 Thread Apparao Mulpuri
Sorry, mentioned incorrect url for KBML. Working url for KBML is: http://koala.ilog.fr/kbml/. Any pointers on this would greatly help. Thanks, - Apparao. On Wed, Aug 6, 2008 at 11:16 AM, Apparao Mulpuri [EMAIL PROTECTED] wrote: Hi Guys, In my Cocoa application, i am planning to use KBML

KBML Generator/Parser

2008-08-05 Thread Apparao Mulpuri
Hi Guys, In my Cocoa application, i am planning to use KBML (http://www.inria.fr/koala/kbml/). KBML is pure java application, so i need to port it into Cocoa. I am looking for open source KBML generators/parsers to cut my development time. Is anybody aware of such applications? Thanks In

Re: disable manual resizing of NSWindow

2008-06-18 Thread Apparao Mulpuri
If you are creating Window in IB, then in window inspector Uncheck the reResize checkbox. In programmatic approach, you have to set the Window's style mask. - Apparao. 2008/6/18 Angelo Chen [EMAIL PROTECTED]: Hi, Is there a way to do following: In a NSWindow, I'd like to disable manual

capture modifier key events

2008-06-17 Thread Apparao Mulpuri
Hi, I have a NSTextField, in which i have to update with new string value when ever user presses Cmd, Control or Option keys. I have tried with keyDown and controlDidChange methods. These are working with combination of other keys includes nemuric, character and functional keys. Is there

checking application is document based application or not

2008-06-10 Thread Apparao Mulpuri
Hi List, I have applicaton name, path, pid. I want to find out, whether that application is document based application or not?. Is there any way to do this? Regards, - Apparao. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not

applications list on Multi monitor

2008-06-08 Thread Apparao Mulpuri
Hi List, In my Multi monitor application, i have to list out application names with respect to each monitor. Ex: Lets say Monitor 1(Primary monitor) having iTunes, AddressBook, Calculator and TextEdit(Multi Doc) application windows and Monitor2 having TextEdit and Mail application windows.

Multi Dock

2008-06-05 Thread Apparao Mulpuri
Hi List, I am developing a multi monitor application, in which i need to display Dock on every monitor. Monitor which has System bar is the primary monitor. I didn't find any supporting classes to implement it in Cocoa. Is it implementable in Cocoa?. Please provide some pointers on it.

Moving SplitView Divider Position

2008-05-21 Thread Apparao Mulpuri
Hi, Is there any provision to change the NSSplitView divider position programmatically(with out using mouse). I have two splitViews with two subviews each. While dragging on one divider in one splitView, i have to move the divider in second splitview. Both splitviews dividers are in sync, while

Re: Assertion failure in -[NSNextStepFrame lockFocus]

2008-05-15 Thread Apparao Mulpuri
[EMAIL PROTECTED] wrote: On 14 May '08, at 9:17 PM, Apparao Mulpuri wrote: ** Assertion failure in -[NSNextStepFrame lockFocus], /SourceCache/AppKit/AppKit-949.27/AppKit.subproj/NSView.m:4751 May 14 17:37:39 apparao-power-mac-g5 MyCocoaApp[123]: -[NSNextStepFrame(0x143610) lockFocus] failed

Re: Assertion failure in -[NSNextStepFrame lockFocus]

2008-05-15 Thread Apparao Mulpuri
) -[NSStatusBarWindow sendEvent:] (in AppKit) -[NSApplication sendEvent:] (in AppKit) -[NSApplication run] (in AppKit) NSApplicationMain (in AppKit) _start (in MyCocoaApp) start (in MyCocoaApp) On Thu, May 15, 2008 at 2:54 PM, Apparao Mulpuri [EMAIL PROTECTED] wrote: Here is the Stacktrace: 2008-05

Re: Assertion failure in -[NSNextStepFrame lockFocus]

2008-05-15 Thread Apparao Mulpuri
Thanks Jens and Kyle Sluder. Actually my application is primarily targeted for Leopard OS, which is not working due to this Exception. I am creating a new window and setting window frame, where exception occurs. Is there any other way for setting the Window frame? - Apparao. On 5/15/08, Kyle

Assertion failure in -[NSNextStepFrame lockFocus]

2008-05-14 Thread Apparao Mulpuri
HI, I have a Cocoa based multi monitor application,which will run on Mac OS X 10.3.9 onwards. It is working as expected in 10.3.9 and Tiger os versions. But, in Leopard 10.5.2, its giving following exception: ** Assertion failure in -[NSNextStepFrame lockFocus],

Re: Assertion failure in -[NSNextStepFrame lockFocus]

2008-05-14 Thread Apparao Mulpuri
Is it a known issue on Leopard. Is there any fix? I am planning to file a bug in apple bugreporter. Is any one filed it already?. - Apparao. On Wed, May 14, 2008 at 7:00 PM, Apparao Mulpuri [EMAIL PROTECTED] wrote: HI, I have a Cocoa based multi monitor application,which will run on Mac

Capture mouse events globally

2008-04-15 Thread Apparao Mulpuri
Is three any way to capture mouse events globally from my background app. - Apparao ___ 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

Re: activate my application while dragging on other application window

2008-04-06 Thread Apparao Mulpuri
. For that, End user will divide the monitor space in to set of different size grids. Based on his requirement, he will move particular application window to a grid. - Apparao. On Fri, Apr 4, 2008 at 9:54 PM, Jens Alfke [EMAIL PROTECTED] wrote: On 3 Apr '08, at 11:03 PM, Apparao Mulpuri wrote

Re: activate my application while dragging on other application window

2008-04-03 Thread Apparao Mulpuri
: On 3 Apr '08, at 1:57 AM, Apparao Mulpuri wrote: Now, if user drags any other application window -- i have to highlight the grid and make the dragging window to transparent. By any other application window, do you mean a window belonging to a _different_ application other than your

Re: Getting other application window reference

2008-03-31 Thread Apparao Mulpuri
has been added to Leopard that I wasn't aware of, this might be your only option. - Brian On Thu, 27 Mar 2008 07:32:47 -0400, Apparao Mulpuri [EMAIL PROTECTED] wrote: Hi, I am developing a Cocoa based application, which will access other application's window and do some resize

Spaces Implementation

2008-03-31 Thread Apparao Mulpuri
Hi List, I am interested to develop a sample application, which will work like Spaces functionality. Any pointers on how it was implemented? Thanks Regards, - Apparao. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post

Getting other application window reference

2008-03-27 Thread Apparao Mulpuri
Hi, I am developing a Cocoa based application, which will access other application's window and do some resize operations. In Cocoa, is there any way to get other applications(includes non-scriptable ) window references? Thanks, - Apparao. ___

GetMonitorFromWindow

2008-03-06 Thread Apparao Mulpuri
Hi List, Presently i am adding DualMonitor support to my application. If user drags application window to more than 50% portion to other monitor, i have to dispaly it fully in second monitor, otherwise undo the drag operation. Is Apple provides any api like GetMonitorFromWindow() in

Re: GetMonitorFromWindow

2008-03-06 Thread Apparao Mulpuri
So you mean --- there is no APIs avialable. - Apparao On 3/7/08, Roy Lovejoy [EMAIL PROTECTED] wrote: On Mar 6, 2008, at 9:01 PM, Apparao Mulpuri wrote: Hi List, Presently i am adding DualMonitor support to my application. If user drags application window to more than 50% portion

Re: GetMonitorFromWindow

2008-03-06 Thread Apparao Mulpuri
PM, Apparao Mulpuri wrote: So you mean --- there is no APIs avialable. There is, but you really shouldn't be doing what you're trying to do unless you have an extremely good reason. It's perfectly OK for a user to have a window straddle two screens. Nick Zitzmann http://www.chronosnet.com

Re: NSButton setStringValue

2008-02-28 Thread Apparao Mulpuri
You can use setAlternativeTitle method - Apparao. On 2/28/08, ali alavi [EMAIL PROTECTED] wrote: I am trying to change the title of a push button after each click (eg: to swap between Play and Pause) I am using this code: if(m_isPlaying) { [myButton setStringValue:@Play];