• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: wits end with nsview and nsrectfill()
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: wits end with nsview and nsrectfill()


  • Subject: Re: wits end with nsview and nsrectfill()
  • From: Uli Kusterer <email@hidden>
  • Date: Sat, 13 Dec 2014 21:08:22 +0100

On 13 Dec 2014, at 16:45, Bill Cheeseman <email@hidden> wrote:
>> On Dec 13, 2014, at 10:20 AM, Navneet Kumar <email@hidden> wrote:
>>
>> So if you take a view-based outline view (or maybe table view as well) and fill a table column’s view’s background with NSRectFill() or any other and add as sub view a transparent text field, upon refresh the text field and the rest of the background will differ in color as long as selection highlight is set to “Source List”. As if source list color superimposes on the area other than the text field.
>
> I believe the "Source List" setting means that an NSVisualEffectView lies behind the text field. The only documentation I have been able to find about NSVisualEffectView is  (1) in the AppKit release note for Yosemite (which apparently is still only available for Developer Preview 5) and (2) in the NSVisualEffectView reference document. In one of those documents, there is some discussion of what you have to do to avoid unwanted color changes in text fields with NSVisualEffectView in back.

 I think you override -(BOOL) allowsVibrancy to return NO to turn off the NSVisualEffectView’s … err … effect.

Cheers,
-- Uli Kusterer
“The Witnesses of TeachText are everywhere...”
http://zathras.de


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: wits end with nsview and nsrectfill()
      • From: Bill Cheeseman <email@hidden>
References: 
 >Re: wits end with nsview and nsrectfill() (From: Navneet Kumar <email@hidden>)
 >Re: wits end with nsview and nsrectfill() (From: Navneet Kumar <email@hidden>)
 >Re: wits end with nsview and nsrectfill() (From: Bill Cheeseman <email@hidden>)

  • Prev by Date: Re: WTF is happening?
  • Next by Date: Re: wits end with nsview and nsrectfill()
  • Previous by thread: Re: wits end with nsview and nsrectfill()
  • Next by thread: Re: wits end with nsview and nsrectfill()
  • Index(es):
    • Date
    • Thread