Currently now i want to create a round corner NSImageView,i am a newb,how to ?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I don’t know if this will work so please try it and we’ll cross our fingers. On the iPhone you can use the
CALayerof anyUIView(theNSViewcounterpart in iOS) to get rounded corners. Based on the reference docs it appears thatNSViewsupports this but again you’ll have to try it. Please let me know if it works.You can also modify the borderWidth and
borderColorproperties.