Re: Nested Views in different *.XIB files

2009-10-24 Thread Graham Cox
On 25/10/2009, at 4:02 PM, Mazen M. Abdel-Rahman wrote: I was wondering if anyone could tell me if this is the best way to go about it - or if there is a better way? Yes. Just don't put everything into separate nibs. Why do it if it makes life harder? Usually everything that ends up in th

Nested Views in different *.XIB files

2009-10-24 Thread Mazen M. Abdel-Rahman
Hi All, My goal is to have a split view with a left side pane containing an outline view - and 3 panes on the right on top of each other. To do this I did the following: 1) created a split view that is split horizontally into 3 parts. 2) I then created another split view that is split ver

Re: IKImageBrowserView Dragging outside

2009-10-24 Thread TFS - Tobias Jordan
Thanks again Thomas and Jonathan. What you've written, Thomas, is indeed working as it should however I can't use it for my project since I am creating special folder structures when copying the files, e.g. Adobe Photoshop Files -> 2008-10-20 -> MyPSFile.psd. Isn't there a way to get the fo

Re: Crash drawing image

2009-10-24 Thread Kyle Sluder
On Sat, Oct 24, 2009 at 3:41 PM, Andrew Farmer wrote: > Try SSHing in from another machine and attaching to the process that way? If you want to do this from within Xcode: http://lists.apple.com/archives/xcode-users/2008/May/msg00226.html --Kyle Sluder __

Re: Crash drawing image

2009-10-24 Thread Andrew Farmer
On 24 Oct 2009, at 10:36, slasktrattena...@gmail.com wrote: And after the crash, gdb is confused and can't get info about the process? Sort of. I think the problem is no app can have keyboard focus as long as the screensaver is running/frontmost. So Xcode is not responding to keyboard events un

Re: UITextField in UITableView covered by keyboard

2009-10-24 Thread Bob Barnes
Glenn, So any thoughts why the UITableViewController isn't setting content inset appropriately in this case? I think it's because the view has a navigation bar and/or tab bar, but I haven't proven that yet. Bob On Oct 24, 2009, at 2:34 PM, glenn andreas wrote: On Oct 24, 2009, at 4:31

Re: Crash drawing image

2009-10-24 Thread Ken Ferry
If you have extracted this to a test project, does that mean you now have a reproducing case whose source you can share? If so, why don't you put it up somewhere. You could also try doing a Build and Analyze in Xcode. It is possible to make memory management mistakes in gc, and the analyzer will c

Re: UITextField in UITableView covered by keyboard

2009-10-24 Thread glenn andreas
On Oct 24, 2009, at 4:31 PM, Henry McGilton (Boulevardier) wrote: On Oct 23, 2009, at 10:29 AM, Bob Barnes wrote: Hi all, I posted this a yesterday, but it never appeared on the list and it's not showing up in the web archive so I thought I'd retry. I have a UITableView that contains s

Re: UITextField in UITableView covered by keyboard

2009-10-24 Thread Henry McGilton (Boulevardier)
On Oct 23, 2009, at 10:29 AM, Bob Barnes wrote: Hi all, I posted this a yesterday, but it never appeared on the list and it's not showing up in the web archive so I thought I'd retry. I have a UITableView that contains some cells with UITextField's embedded in them. When I touch the U

Re: Crash drawing image

2009-10-24 Thread slasktrattena...@gmail.com
Weird... It seems that sourceImage (the generic one only) is being garbage collected in the middle of the drawing. If I disable GC just before doing the drawing, and enable it again afterwards, the process stops crashing. I verified this by making a new project, where I placed the screensaver view

Re: WebView in a layer view hierarchy - not working on Snow Leopard

2009-10-24 Thread Luke Evans
Oh-oh. OK, 'tis as I feared then - I was living on a wing and a prayer with Leopard (which did work perfectly in this regard to my use of WebView in a layer-backed view hierarchy - i.e. at the bottom of the stack). I took a look at WebUIDelegate (as I think I had done a long while back,

Re: UITextField in UITableView covered by keyboard

2009-10-24 Thread Bob Barnes
Greg, The sample code is Apple's UICatalog and my view controller IS a subclass of UITableViewController. What's making this so frustrating is that it should just work according to everything I've read, at least in 3.0+. There are some subtle differences between my code and the sample

Re: Crash drawing image

2009-10-24 Thread slasktrattena...@gmail.com
Thanks for your reply. On Sat, Oct 24, 2009 at 6:03 PM, Jens Alfke wrote: > > It would be really good to get a backtrace. Are you launching the process > with gdb, or at least attaching before the crash? Yes. I'm launching with gdb and pass the "debug" argument to Screen Saver Engine. This way t

Re: Crash drawing image

2009-10-24 Thread Jens Alfke
On Oct 24, 2009, at 6:51 AM, slasktrattena...@gmail.com wrote: When the crash happens, I get the spinning beach ball until I terminate the process, so I cannot investigate it any further (I think?). Anyway, this is what I get from the debugger: Program received signal: “EXC_BAD_ACCESS”. Error

Re: NSComboBoxCell in a NSTableView

2009-10-24 Thread Timothy Reaves
On Oct 24, 2009, at 10:32 AM, Stamenkovic Florijan wrote: On Oct 24, 2009, at 10:04, Timothy Reaves wrote: What is the correct way to size this? I have it added, and it's used. But by default, it doesn't size to hold it's content. I can set he width of the table column to a better wid

Re: NSComboBoxCell in a NSTableView

2009-10-24 Thread Stamenkovic Florijan
On Oct 24, 2009, at 10:04, Timothy Reaves wrote: What is the correct way to size this? I have it added, and it's used. But by default, it doesn't size to hold it's content. I can set he width of the table column to a better width, but I can't seem to find how to size the height. Is

Re: Force subviews to stay in place during live resize

2009-10-24 Thread Andy Lee
On Oct 24, 2009, at 9:53 AM, Stamenkovic Florijan wrote: On Oct 24, 2009, at 08:42, Zephyroth Akash wrote: I'm creating a view containing different subviews programmatically. Like this: 1 - NSOutlineView 2 - NSView 3 - NSView This tells almost nothing to the list. Post code. Added accord

NSComboBoxCell in a NSTableView

2009-10-24 Thread Timothy Reaves
What is the correct way to size this? I have it added, and it's used. But by default, it doesn't size to hold it's content. I can set he width of the table column to a better width, but I can't seem to find how to size the height. Is there any way to get the table view - or column - to

Re: Force subviews to stay in place during live resize

2009-10-24 Thread Stamenkovic Florijan
On Oct 24, 2009, at 08:42, Zephyroth Akash wrote: I'm creating a view containing different subviews programmatically. Like this: 1 - NSOutlineView 2 - NSView 3 - NSView This tells almost nothing to the list. Post code. Added according to the choice made in NSOutlineView: 4 - NSView 5 - NS

Crash drawing image

2009-10-24 Thread slasktrattena...@gmail.com
Hello! I'm getting a random “EXC_BAD_ACCESS” on this line: [sourceImage compositeToPoint:NSMakePoint(0, height) operation:NSCompositeCopy]; sourceImage is an iTunes artwork, or a generic artwork icon if the current track has none. The crash ONLY happens with this generic icon (and only at random

Force subviews to stay in place during live resize

2009-10-24 Thread Zephyroth Akash
I'm creating a view containing different subviews programmatically. Like this: 1 - NSOutlineView 2 - NSView 3 - NSView Added according to the choice made in NSOutlineView: 4 - NSView 5 - NSView 6 - NSView The window is only resized in height. The fact is that when 4, 5 and 6 are added and th

Re: WebView in a layer view hierarchy - not working on Snow Leopard

2009-10-24 Thread Mike Abdullah
WebView's don't support being layer-backed. But there is a private WebUIDelegate method that will let you achieve what you want: - (void)webView:(WebView *)sender didDrawRect:(NSRect)rect; On 24 Oct 2009, at 00:53, Luke Evans wrote: I have an app that plain stopped working between Leopard and