Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私はコアプロットで作業しています。CPTTextStyle.colorの値をカスタマイズしようとすると、読み取り専用であることがわかりました。カラープロパティの値を変更するにはどうすればよいですか?
を使用しCPTMutableTextStyleます。Core Plotは、一部のクラスの可変バージョンと不変バージョンの一般的なCocoa規則に従います。線のスタイル、影、およびプロット範囲もこのパターンに従います。
CPTMutableTextStyle