cocoa - Custom NSTextFieldCell for NSOutlineView -
i wondering how draw nstextfieldcell
1 in netnewswire.
i have subclassed nstextfieldcell
group cell , specified in pxsourcelist's
datacellforitem
.
the source list cell based.
i don't know how draw cells.
check out apple sample "sourceview", contains subclass of nstextfieldcell called imageandtextcell want.
https://developer.apple.com/library/mac/#samplecode/sourceview/introduction/intro.html
though if me, i'd change using view based outlineview , use built in nstablecellview supports imageview.
Comments
Post a Comment