> There is a sample project from apple called CDROMSample, which uses
> CoreFoundation and IOKit frameworks to find CD media and read raw
> sectors.
>
> Can I use this proj and display sector in cocoa.

I see no reason why not.

> If yes, then how to include these frameworks?

Add them to the project.

> Also will I need to create a custom view to display (like hex
> editors) the
> sector in ascii as well as hex?

There's no standard view that does that. If you want one, you'll have
to write it.