> On Nov 30, 2014, at 12:24 AM, Jerry Krinock wrote:
>
> Search for the AppKit Release Notes for OS X 10.10 Yosemite and carefully
> read the section on tab views, wherein Apple has added alot of new stuff,
> which may be stepping on your old stuff.
Changing the subject, but isn't it odd tha
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. The
textfield is non-selectable, non-editable and is not set to draw background.
When the view comes to front, the background is same, but when
> 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
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
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-]
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
I have an array of objects that looks like:
{
NSString* name;
NSDate*date;
NSArray* words;
}
The words array looks like:
{
NSString* id;
NSString* word;
}
I need to build a Predicate Row template to result in a way to search for
names, dates, and words. The first two ar
{
NSString* name;
NSDate*date;
NSArray* words;
}
Objects;
The words array looks like:
{
NSString* id;
NSString* word;
}
Words;
As a follow up:
When I use a left expression of:
@"words.word"
And a modifier of: NSAnyPredicateModifier
My predicate ends up as:
ANY words.word CON
Hi,
I understand that when preparing for segue and sending information to the
ViewController of the PopUp, Sheet, etc. I should make use of the
representedObject of that ViewController.
So far, so good.
What, however, if I want to send information back to my parent view? Is the
proper way to
> On 30 Nov 2014, at 19:17, Mikael Wämundson wrote:
>
> Hi,
>
> I understand that when preparing for segue and sending information to the
> ViewController of the PopUp, Sheet, etc. I should make use of the
> representedObject of that ViewController.
>
> So far, so good.
>
> What, however, i
On Nov 30, 2014, at 9:02 AM, Trygve Inda wrote:
> {
>
> NSString* name;
> NSDate*date;
> NSArray* words;
> }
> Objects;
>
> The words array looks like:
> {
>
> NSString* id;
> NSString* word;
> }
> Words;
>
>
> As a follow up:
>
> When I use a left expression of:
>
> @"words.word"
I create a window in a brand new xib file. I add 3 outline views to the content
view. I join 2 of the outline views in a split view. IB starts giving me
constraint warning that the size should be 0,0 for the clip view. I haven’t
added any constraint yet.
Is this a known bug?
-Laurent.
--
Laur
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
13 matches
Mail list logo