Debugging IB 3.2 problem

2009-09-21 Thread Robert Mullen
I have a problem with IB 3.2 in one of my plugins. I get the following error message: ibtool failed with exception: Some objects didn't get the ibBeginArchivingDocument:withContext: callback. A class has probably overriden the method without calling through to super. I don't want a

Re: Throwing NSException in custom linked framework?

2009-08-19 Thread Robert Mullen
Indeed I did. I had not run outside the Xcode environment but it does work as expected when run as a stand alone app. On Aug 18, 2009, at 9:03 PM, Kyle Sluder wrote: Sounds like you're breaking on objc_exception_throw, which is going to happen when the exception is raised—and therefore

Throwing NSException in custom linked framework?

2009-08-18 Thread Robert Mullen
I am building a data access layer in a Cocoa Framework and calling it from a test harness. All is working well until I get to my error trapping. I throw an NSException from a called method in the Framework and the caller has a @t...@catch=@finally block but it is not getting triggered. I

FreeTDS Cocoa Sample?

2009-08-10 Thread Robert Mullen
I have scoured the archives and the web in general looking for a sample XCode project that uses FreeTDS. Does anyone know where one can be found or would anyone be kind enough to share some source code with me? What I have done so far is to compile FreeTDS 0.82 on my system and

Re: List classes in Bundle?

2009-07-23 Thread Robert Mullen
(mClass); } On Jul 22, 2009, at 10:05 AM, glenn andreas wrote: On Jul 22, 2009, at 12:00 PM, Robert Mullen wrote: Is there a way to actually list all the classes in a given bundle? I know I can look one up if I know the name but I would like to actually be able to present a list

List classes in Bundle?

2009-07-22 Thread Robert Mullen
Is there a way to actually list all the classes in a given bundle? I know I can look one up if I know the name but I would like to actually be able to present a list. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin

Example of collapsible disclosure view

2009-04-02 Thread Robert Mullen
I am working on a view and window that needs to collapse/expand with a disclosure triangle and cause the Window containing it to resize as well as the controls that are static to reposition. The effect I am after is much like the disclosure triangle in a print dialog. Is there an example

Re: Garbage collected and non-garbage collected

2009-03-12 Thread Robert Mullen
: On Mar 11, 2009, at 4:31 PM, Robert Mullen wrote: Approach 2 seems appealing but my initial go at it went less than sterling. All access to the struct appears to be incorrect and whereas most of the data contained before seemed to have integrity now it almost immediately bombs with either

Re: Garbage collected and non-garbage collected

2009-03-12 Thread Robert Mullen
on. Thanks to everybody who added a little bit, each piece has helped me to understand the whole better even if the project eventually fails. Can anybody see obvious problems in what I did above? TIA On Mar 11, 2009, at 5:14 PM, Greg Parker wrote: On Mar 11, 2009, at 4:31 PM, Robert Mullen wrote

Re: Garbage collected and non-garbage collected

2009-03-11 Thread Robert Mullen
think the struct itself may be the problem but would like some corroboration. On Mar 10, 2009, at 3:46 PM, Bill Bumgarner wrote: On Mar 10, 2009, at 1:17 PM, Robert Mullen wrote: The framework is open source. It is the SM2DGraphView Framework. I have posted on the Snowmint forum but not getting

Garbage collected and non-garbage collected

2009-03-10 Thread Robert Mullen
I have an app built using garbage collection. I am begin asked to introduce a framework that is non garbage collected but the compiler will not allow this. I have set GC supported on the framework and recompiled which works but the framework causes cryptic errors once compiled in this

Re: Garbage collected and non-garbage collected

2009-03-10 Thread Robert Mullen
Going non-GC is not an option for our main project so my only hope with said framework is to correct it myself. I have been able to do a little debugging but I dead end with a BAD_ACCESS which I guess is to be expected with this sort of thing. I will have to see if I can narrow the problem

Re: Garbage collected and non-garbage collected

2009-03-10 Thread Robert Mullen
situations but mine is basically a pretty face on a database. Anybody want to argue the other direction? I am always willing to learn. On Mar 10, 2009, at 11:39 AM, I. Savant wrote: On Tue, Mar 10, 2009 at 2:16 PM, Robert Mullen robe...@autowc.com wrote: Going non-GC is not an option for our

Re: Garbage collected and non-garbage collected

2009-03-10 Thread Robert Mullen
... On Mar 10, 2009, at 11:57 AM, I. Savant wrote: On Tue, Mar 10, 2009 at 2:47 PM, Robert Mullen robe...@autowc.com wrote: GC systems have become efficient enough in our modern world that I think manual memory management has become pretty specialized and out of place in 80% of desktop

Re: Garbage collected and non-garbage collected

2009-03-10 Thread Robert Mullen
this myself with the help of a few more experienced coders. I do understand the basic tenets of memory management but am also not greatly experienced there. On Mar 10, 2009, at 12:56 PM, Bill Bumgarner wrote: On Mar 10, 2009, at 12:21 PM, I. Savant wrote: On Tue, Mar 10, 2009 at 3:07 PM, Robert

NSApp beginSheet:NSWindow notification of sheet opening?

2008-12-12 Thread Robert Mullen
I have an NSWindow that unfortunately is in the Main nib of my project (to be changed later) and is being shown modally from the default NSWindow using beginSheet:modalForWindow:modalDelegate:didEndSelector:contextInfo:. How can I trap when this modal sheet is displayed from within its

Re: NSApp beginSheet:NSWindow notification of sheet opening?

2008-12-12 Thread Robert Mullen
am doing something fundamentally wrong. Any advice or thoughts from the more experienced? On Dec 12, 2008, at 10:35 AM, Keary Suska wrote: On Dec 12, 2008, at 11:26 AM, Robert Mullen wrote: I have an NSWindow that unfortunately is in the Main nib of my project (to be changed later

Potentially dumb question

2008-11-18 Thread Robert Mullen
My application is not document based but does create certain files as a byproduct and needs to be the default application for these file types as well. If they are clicked or dragged to the dock icon of my application I need to be able to display the contained information in a special

NSButtonCell slowdown in NSTableView

2008-11-17 Thread Robert Mullen
I have seen one other post asking this question so I will throw it out here and see if anyone has experienced: I have an NSTableView with 3 NSButtonCells on it. Two are checkbox style one is bevel style (aping the iTunes arrow link.) The bevel style cell works swimmingly and gives me no

Re: NSButtonCell slowdown in NSTableView

2008-11-17 Thread Robert Mullen
Yup, that did it. Thanks much. On Nov 17, 2008, at 9:07 AM, Corbin Dunn wrote: Le Nov 17, 2008 à 7:33 AM, Robert Mullen a écrit : I have seen one other post asking this question so I will throw it out here and see if anyone has experienced: I have an NSTableView with 3 NSButtonCells

Search field menu resets

2008-11-11 Thread Robert Mullen
I have a controller in which I setup a menu for a search field in a toolbar. The search field is set to return the whole search string. I have a procedure that looks basically like this: -(void)setupSearchMenu { NSMenu *cellMenu = [[[NSMenu alloc] initWithTitle:@Search Menu] autorelease];

NSButtonCell question

2008-11-10 Thread Robert Mullen
I have an NSButtonCell in my NSTableView that has an image set to imitate the arrow link in iTunes with the title showing the display value. Unfortunately the title text is clickable as well as the arrow and both send you off to the linked action. I have searched and seen references to

Notification appropriate

2008-11-05 Thread Robert Mullen
I asked earlier about a couple of views that were going to be alternating in a desktop app I am building and I have a related question. These views are loosely related in a parent child manner (but can operate completely independently as well.) The click of an iTunes arrow style link in an

NSURL, NSURLRequest, and NSURLConnection

2008-10-20 Thread Robert Mullen
When sending a NSURLRequest to an secure website via NSURLConnection will the initial URL be encrypted or only the response? I have looked around at Apple's docs and am unclear. Thanks ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please