I am retrieving value from NSFontPanel,which changes the font family,style of Text. But I want only Font Style and color separately that I have selected from NSFontPanel.
i am not getting how to get that.
NSFont *font =[fontmanager selectedFont]; string =[font fontName]; st = [font pointSize]; color =[TextEntered textColor];
In string variable I am getting Font family(e.g.Arial) and Font style(e.g. Bold). but I want these values separately.
And in color variable I only get black color.
I am not able to understand where I am wrong in getting color,and what function I used for getting font style..