Re: Template Images in Table Cells

2011-12-28 Thread Kyle Sluder
On Tue, Dec 27, 2011 at 10:43 PM, Seth Willits sli...@araelium.com wrote: I want to use template images as the icon next to the text for some rows in a table/outline view, as part of the source list look. Normally I'd just use full color images, but now that we're being led into monotony by

Re: Template Images in Table Cells

2011-12-28 Thread Lee Ann Rucker
I'm currently drawing the image in my custom cell using [image drawInRect:], the image is a proper template image (the property is YES etc), but it's still just a grayscale image. You have to let the cell draw the image. [NSImage drawInRect:...] doesn't change the image and whatever

Re: Storyboard SplitViewController example

2011-12-28 Thread Roland King
On Dec 28, 2011, at 1:37 AM, Matt Neuburg wrote: On Mon, 26 Dec 2011 09:07:33 +0800, Roland King r...@rols.org said: I'll put one vote in defence of StoryBoards I'm not saying they're completely bad; I do use them, especially for table view cells. But I think the overall design is just

Re: Text system glitch - lines across text view

2011-12-28 Thread Ross Carter
On Dec 25, 2011, at 4:22 PM, Andrew Hughes wrote: NSTextView NSTextContainer NSTextView NSTextContainer NSTextStorage NSTextView NSTextContainer NSView - NSTextView NSTextContainer NSTextView NSTextContainer

Re: Finder File Size discrepancy..

2011-12-28 Thread John Hawkinson
Conrad Shultz wites: * Will a file fit on a storage medium? * How long will it take a file to download? * What percentage of a file do I already have? * (Implicitly) can I manipulate the contents of the file without slowing my computer down? So: in most cases, I would argue it is better to

MVC Theory Question

2011-12-28 Thread Philip McIntosh
I am just wondering about something with respect to the Model-View-Controller (MVC) design pattern. Should any validation of input or output be done by the model class which is handling and processing the data, or is validation more properly a task to be assigned to a controller

Re: How to add filter to capture video from the camera?

2011-12-28 Thread Nick Zitzmann
On Dec 27, 2011, at 11:16 PM, 吴明 wrote: HI All: I wont capture view from the camera. and add an image to every frame.then save the video to my app. How do this. Use QTCaptureView and implement the delegate method -view:willDisplayImage:. In that method, do what you want to do to the

Re: Storyboard SplitViewController example

2011-12-28 Thread Matt Neuburg
On Dec 28, 2011, at 5:46 AM, Roland King wrote: What you can't do is storyboard the embedded viewcontrollers into it, you have to add them in code on creation. You can however set up those embedded view controllers in the same storyboard as standalone headless unconnected entities and

Re: viewWillAppear not called with UINavigationController containment

2011-12-28 Thread Matt Neuburg
On Wed, 28 Dec 2011 08:05:58 +0800, Roland King r...@rols.org said: I'll go put it back the way it was and see if there's something else I missed. The whole thing is being triggered in a viewdidload method, wonder if that's too early because the container VC doesn't have an on screen view.

Re: UIControllerView demo

2011-12-28 Thread Matt Neuburg
On Wed, 28 Dec 2011 17:17:04 +1100, Brian Bruinewoud br...@darknova.com said: Hi, In the WDC 2011 Session 102 on UIControllerView containment, Bruce Nilo implies that the code in the demo will be available. Does anyone know where this is? He doesn't mention the name of the app, I can't find

Re: MVC Theory Question

2011-12-28 Thread Keary Suska
On Dec 28, 2011, at 10:05 AM, Philip McIntosh wrote: I am just wondering about something with respect to the Model-View-Controller (MVC) design pattern. Should any validation of input or output be done by the model class which is handling and processing the data, or is validation more

Re: Text system glitch - lines across text view

2011-12-28 Thread Andrew Hughes
Ross, Thanks for chiming in. Yeah, I know it's a pretty vague problem and it's hard for me to give enough detail on the implementation. I was just hoping somebody had seen this type of problem before. I did neglect to write in the layout managers in the diagram. Oops. It definitely should have

Re: How to add filter to capture video from the camera?

2011-12-28 Thread 吴明
you know that i want to use this function to my ios app. I know use AVCaptureVideoDataOutputSampleBufferDelegate can get every frame data from capture, but i dont know how to change this data with CVImageBufferRef datatype. 在 2011-12-29 01:32:41,Nick Zitzmann n...@chronosnet.com 写道:

Re: viewWillAppear not called with UINavigationController containment

2011-12-28 Thread Roland King
Yes .. mine! So I found that it's almost impossible NOT to get viewWillAppear and all the other messages in perfect order for every view every single time. As long as you call addChildViewController and didMoveToParent (either bracketing the add of the VC's view or not, depending on whether

Re: How to add filter to capture video from the camera?

2011-12-28 Thread 吴明
you know that i want to use this function to my ios app. I know use AVCaptureVideoDataOutputSampleBufferDelegate can get every frame data from capture, but i dont know how to change this data with CVImageBufferRef datatype. 在 2011-12-29 01:32:41,Nick Zitzmann n...@chronosnet.com 写道: