Re: Discard all drawing in a UIView

2010-07-24 Thread Steve Christensen
I personally wouldn't use exceptions to handle what are basically known coding bugs, e.g., choosing not to add an extra line or two of code to do range checking when you know ahead of time that there are strings that you don't consider valid. And whether or not you continue using your current

Re: Deselect keyboard focus of an NSMatrix cell

2010-07-24 Thread Jochen Moeller
Hi, so it is programmatically still not possible to give the key focus to a view with -makeFirstResponder: when a text field cell is selected in a matrix. Therefore I submitted a bug report with Bug ID# 8231732. My workaround is to replace the matrix by single text field objects. Regards,

NSBrowser and double click

2010-07-24 Thread mark
A problem which is driving me spastic: I have an NSBrowser that allowes multiple selection. When I double click one of the selected items, all other selected items deselect. I have set the doubleaction and action methods and correct target. These are called AFTER the deselection. I have tried

NSControl with CALayer in NSToolbar

2010-07-24 Thread Peter Krajčík
Hello, I creted an IB Palette for control with CALayer I animate. This layer is a sublayer of the [control layer]. Control works normally in the IB, the IB Simulator and also in my test application. When I use this control as a NSToolbarItem item of NSToolbar, drawLayer: in my delegate is never

Re: Deselect keyboard focus of an NSMatrix cell

2010-07-24 Thread Kyle Sluder
On Jul 24, 2010, at 3:03 PM, Jochen Moeller jo.moel...@online.de wrote: Hi, so it is programmatically still not possible to give the key focus to a view with -makeFirstResponder: when a text field cell is selected in a matrix. Therefore I submitted a bug report with Bug ID# 8231732. I

If you were me, how do you build mind map app on cocoa?

2010-07-24 Thread Sumin Kim
I am a new to Cocoa and planning to build an app like mind map. This is my guess on how to build mind map like app on Cocoa. Please check and let me know if you know any more efficient approach or some missing pieces I should consider. First of all, I need consider data model. I think I

iPhone orientation problems

2010-07-24 Thread Eric Giguere
Hi all I've read a lot of articles on the subject but still could not figure out how to solve my issue. I have a multiview iPhone application. One of those views is a Navigation view of course controlled by a Navigation controller. The other view is a full screen image view, which is also the

Re: Nested UIScrollView: horizontal scrolling

2010-07-24 Thread Scott Anguish
On Jul 23, 2010, at 5:47 AM, Pierre de La Morinerie wrote: I'm trying to scroll horizontally through a set of pages, where pages are grouped by two (and can be zoomed both together). So far, my view hierarchy is: • One outter UIScrollView that scrolls horizontally. • Several

Re: Discard all drawing in a UIView

2010-07-24 Thread Graham Cox
On 25/07/2010, at 6:47 AM, Steve Christensen wrote: I am extracting strings from an NSString and I get NSRange exceptions. I could always first check to see if the range is valid, but, figured I would save myself the effort and use the exception handling mechanism. NO, this is misguided.

Re: NSBrowser and double click

2010-07-24 Thread Graham Cox
On 25/07/2010, at 9:00 AM, mark wrote: A problem which is driving me spastic: I have an NSBrowser that allowes multiple selection. When I double click one of the selected items, all other selected items deselect. I have set the doubleaction and action methods and correct target. These are

Re: If you were me, how do you build mind map app on cocoa?

2010-07-24 Thread Graham Cox
On 25/07/2010, at 10:34 AM, Sumin Kim wrote: How do you think? Am I taking the concept right? Or I am heading to wrong direction? I think your question is way too broad. What you've outlined sounds like it would work OK, but could also describe 1001 other apps. So, at this stage the answer