Re: How to add the cells(views) in a columnwise instead of Rowwise in PXListView?

2013-01-21 Thread Muthulingam Ammaiappan
i am modifying the PXListView as per my requirement...(please refer the ThumbnailListView.png) the main problem is PXListView having one column and cells are added in a new row. but what i needed is i need a One Row and cells should be added in the columns). can anyone please help me how i can

Printing a view + landscape printing

2013-01-21 Thread Jean Suisse
Dear All, I have a non-document based application to which I would like to add printing support. The main window (the one in the .xib created by default by Xcode) contains a split view. Currently, when printing, I get only the left pane of the split view (at best) or the control that has the

Re: How to add the cells(views) in a columnwise instead of Rowwise in PXListView?

2013-01-21 Thread jonat...@mugginsoft.com
On 21 Jan 2013, at 09:41, Muthulingam Ammaiappan muthulinga...@gmail.com wrote: i am modifying the PXListView as per my requirement...(please refer the ThumbnailListView.png) the main problem is PXListView having one column and cells are added in a new row. but what i needed is i need a

Re: Printing a view + landscape printing

2013-01-21 Thread Jean Suisse
Answering a part of my question: The menu item for printing needs to be re-wired to target the app delegate rather than the first responder. Now, I need to fix the page orientation and determine the size in points for the rendering. Any ideas ? On 21 janv. 2013, at 16:17, Jean Suisse

Re: Printing a view + landscape printing

2013-01-21 Thread Keary Suska
On Jan 21, 2013, at 8:17 AM, Jean Suisse wrote: I have a non-document based application to which I would like to add printing support. The main window (the one in the .xib created by default by Xcode) contains a split view. Currently, when printing, I get only the left pane of the split

How to avoid warning?

2013-01-21 Thread Dave
Hi All, I have the following code: if (class_RespondsToSelector(myClass,@selector(initWithManager:) == NO) myObj = [[myClass alloc] init]; else myObj = [[myClass alloc] initWithManager:sel]]; I get a warning on the initWithManager: statement (Obviously), how to avoid the

Re: How to avoid warning?

2013-01-21 Thread David Duncan
On Jan 21, 2013, at 10:14 AM, Dave d...@looktowindward.com wrote: Hi All, I have the following code: if (class_RespondsToSelector(myClass,@selector(initWithManager:) == NO) myObj = [[myClass alloc] init]; else myObj = [[myClass alloc] initWithManager:sel]]; I get a

Re: How to avoid warning?

2013-01-21 Thread Tom Davie
On 21 Jan 2013, at 18:14, Dave d...@looktowindward.com wrote: Hi All, I have the following code: if (class_RespondsToSelector(myClass,@selector(initWithManager:) == NO) myObj = [[myClass alloc] init]; else myObj = [[myClass alloc] initWithManager:sel]]; I get a warning

Re: How to avoid warning?

2013-01-21 Thread Robert Martin
myObj = [[myClass alloc] initWithManager:sel]]; Is sel meant to be self? On Jan 21, 2013, at 1:14 PM, Dave d...@looktowindward.com wrote: Hi All, I have the following code: if (class_RespondsToSelector(myClass,@selector(initWithManager:) == NO) myObj = [[myClass alloc] init];

Re: How to avoid warning?

2013-01-21 Thread Quincey Morris
On Jan 21, 2013, at 10:14 , Dave d...@looktowindward.com wrote: myObj = [[myClass alloc] initWithManager:sel]]; I get a warning on the initWithManager: statement (Obviously), how to avoid the warning or otherwise fix it? You need to #import a header file with an @interface

Re: How to avoid warning?

2013-01-21 Thread Steve Sisak
At 6:14 PM + 1/21/13, Dave wrote: if (class_RespondsToSelector(myClass,@selector(initWithManager:) == NO) myObj = [[myClass alloc] init]; else myObj = [[myClass alloc] initWithManager:sel]]; I get a warning on the initWithManager: statement (Obviously), how to avoid the

[ANN] v 0.3 of MPWDrawingContext, a pleasant Objective-C drawing context updated with blocks

2013-01-21 Thread Marcel Weiher
Hi folks, just a heads-up that I just pushed v 0.3 of MPWDrawingContext to github: https://github.com/mpw/MPWDrawingContext The major enhancements have to do with using blocks for bracketing operations ( save/restore graphics state, shadow on/off, transparency layer begin/end) and

How can I get rid of this warning message?

2013-01-21 Thread Rick Aurbach
I am attempting to use the RTPTimer wrapper that Gordon Apple contributed to this list. (Thanks, Gordon!) It appears to work great, but I find that the class's executeSelector: method generates a warning message. - (void) executeSelector:(NSTimer*)timer { if(self.target != nil) {

RE: How can I get rid of this warning message?

2013-01-21 Thread Julius Oklamcak
Ok, I agree that the selector is unknown, but we know from the previous line that the target responds to it. So I'd like to prevent this particular warning. I'm sure I ought to know how do do this, but how do I go about removing this warning message? Ideally, I'd like to do this on a file (or

Re: How can I get rid of this warning message?

2013-01-21 Thread Charles Srstka
On Jan 21, 2013, at 2:20 PM, Rick Aurbach r...@aurbach.com wrote: I am attempting to use the RTPTimer wrapper that Gordon Apple contributed to this list. (Thanks, Gordon!) It appears to work great, but I find that the class's executeSelector: method generates a warning message. -

Re: How can I get rid of this warning message?

2013-01-21 Thread Greg Parker
On Jan 21, 2013, at 12:20 PM, Rick Aurbach r...@aurbach.com wrote: It appears to work great, but I find that the class's executeSelector: method generates a warning message. - (void) executeSelector:(NSTimer*)timer { if(self.target != nil) { if([self.target

Re: How to avoid warning?

2013-01-21 Thread Jens Alfke
On Jan 21, 2013, at 10:14 AM, Dave d...@looktowindward.com wrote: if (class_RespondsToSelector(myClass,@selector(initWithManager:) == NO) Off-topic: instead of using the Obj-C runtime’s C API, you can express this as if ([myClass instancesRespondToSelector: @selector(initWithManager:)]

Coordinate conversions in CALayer

2013-01-21 Thread Graham Cox
Hi all, Recently I built an (experimental) app around CALayer and friends which implements a vector schematic editor. I found that CALayer isn't, not too surprisingly, really a good base for vector graphics - CAShapeLayer is nice enough but there's nothing for text and I rapidly ran into

Re: Coordinate conversions in CALayer

2013-01-21 Thread Andy Lee
On Jan 21, 2013, at 5:12 PM, Graham Cox graham@bigpond.com wrote: My question is, is there a way to directly convert coordinates between two unrelated layers in a tree, or are these methods implemented by recursion up to a common parent node and then back down to the target layer? If I

Excluding a XIB from project depending on configuration

2013-01-21 Thread Oleg Krupnov
I have a XIB file with some debugging tweaking window which is only needed in the Debug configuration of my project. I can exclude the debug code with some #ifdefs, but I would like also to exclude the XIB from the release build. Is there a way in Xcode to achieve this? Thanks!

Re: Excluding a XIB from project depending on configuration

2013-01-21 Thread Quincey Morris
On Jan 21, 2013, at 22:15 , Oleg Krupnov oleg.krup...@gmail.com wrote: I have a XIB file with some debugging tweaking window which is only needed in the Debug configuration of my project. I can exclude the debug code with some #ifdefs, but I would like also to exclude the XIB from the