Draw gantt chart using UIcollectionviewcontroller?

I have research in forum website and I have found(Using a UICollectionViewController and my own UICollectionViewLayout subclass, I've put together a view that shows a Gannt style time chart. Using that framework to do the bands has been really easy ) So How can I draw gantt chart Using UIcollectionviewController? Give me any idea to I can start draw it?

http://i.stack.imgur.com/7dg6G.png

How can I draw gantt chart Using UIcollectionviewController?

I'm not a UICollectionView expert, so I can't help you directly. I can, however, move your thread over to App Frameworks > Cocoa Touch, where you're more likely to find UIKit gurus.

Share and Enjoy

Quinn "The Eskimo!"
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1@apple.com"

Yes, you can definitely use UICollectionView (and related UICollectionViewController, and UICollectionViewLayout classes) to draw a chart like that. I'd recommend reading the Collection View Programming Guide for iOS to get a good understanding of how the pieces of a collection view fit together. The key design of a collection view is that the layout is separated from the view itself. There are a number of components that go into a collection view, but once you understand all the pieces it's relatively straightforward, and extremely powerful.

At a high level you'd be looking to create a custom layout subclass of UICollectionViewLayout that knew how to layout the various elements of a Gantt chart, and likely a custom UICollectionViewController subclass that would then manage the connection to your Gantt data.


There's an example of a custom collection view controller and layout here: Collection View Transition.

Draw gantt chart using UIcollectionviewcontroller?
 
 
Q