> On 14 Dec 2014, at 2:20 am, Navneet Kumar 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
> On Dec 13, 2014, at 3:08 PM, Uli Kusterer
> wrote:
>
>> 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
>>
On 13 Dec 2014, at 16:45, Bill Cheeseman wrote:
>> On Dec 13, 2014, at 10:20 AM, Navneet Kumar 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
> On Dec 13, 2014, at 10:20 AM, Navneet Kumar 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
> re
Hi
After trying out everything, I finally found how to remove that difference in
background color.
I couldn’t find any rationale in this patch effect, so I turned the outline
selection highlight to none (regular, i.e. plain white also works).
So if you take a view-based outline view (or maybe ta
> On 05 Dec 2014, at 13:30, Uli Kusterer wrote:
>
> On 30 Nov 2014, at 18:30, Navneet Kumar wrote:
>> I have a custom view in which I am setting the background using NSRectFill()
>
> What is the current compositing mode set on the current graphics context?
> Have you tried using NSRectFillUsi
On 30 Nov 2014, at 18:30, Navneet Kumar wrote:
> I have a custom view in which I am setting the background using NSRectFill()
What is the current compositing mode set on the current graphics context? Have
you tried using NSRectFillUsingOperation() and passing NSCompositeCopy to make
sure you d
> On 5 Dec 2014, at 1:43 am, Navneet Kumar wrote:
>
> 1. If a view is send the msg -display, is the msg sent to all its subviews
> without exception?
> 2. Could it be that so many views when trying to display (in the main thread
> of course), could block some views from refreshing altogether?
Hi,
The problem is not there if I create a new project and add a text field as
subview to a custom view with a background color. There is no difference in
color in text field and rest of the area.
And also this wasn’t there a couple of months ago, and not using git or
subversion, I am not able
Thanks for the responses.
The problem is still there.
I don’t need to dynamically add or remove views and was following the wrong way
to setup view hierarchy in drawRect:.
I have changed it to the following order: initWithFrame: then
-(void)setupSubViews in all related classes.
So in app deleg
On Nov 30, 2014, at 9:30 AM, Navneet Kumar wrote:
>
> Hi,
>
> I have a custom view in which I am setting the background using NSRectFill()
> in drawRect:.
You’re aware that this function is only really suitable for drawing opaque
colors, yes? If you NSRectFill() with a transparent color, it w
Thank you Steve and Mike.
I'll try it tomorrow and post the result here.
Wishes,
Navneet
Sent from my iPhone
> On 30-Nov-2014, at 11:13 pm, Steve Christensen wrote:
>
> Why aren't you creating the subview in -initWithFrame: or in a
> nib/storyboard? The purpose of -drawRect: is solely to [re-]
Why aren't you creating the subview in -initWithFrame: or in a nib/storyboard?
The purpose of -drawRect: is solely to [re-]draw the contents of one view, not
build a view hierarchy. I expect that modifying the view hierarchy while in the
middle of a drawing cycle is leaving views in an inconsist
> On 30 Nov 2014, at 17:30, Navneet Kumar wrote:
>
> Hi,
>
> I have a custom view in which I am setting the background using NSRectFill()
> in drawRect:. I am also adding a text field as subview in this method.
I suspect there-in you have your problem. -drawRect: is for drawing. Do not
modif
14 matches
Mail list logo