NSBezierPath on iOS?

2017-05-22 Thread Dave
Hi,

I’m converting a Class from Mac to iOS and I’ve got errors on the following 
code:

if (self.pDrawPaneFlag == YES)
{
[self.pPaneColor set];
[NSBezierPath fillRect:myRect];
}

if (self.pDrawFrameFlag == YES)
{
[self.pFrameColor set];
[NSBezierPath setDefaultLineWidth:self.pFrameLineWidth];
[NSBezierPath strokeRect:myRect];
}
}

It seems that NSBezierPath is not available on iOS, is there something I can 
use that is equivalent to the above on iOS?

All the Best
Dave

___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: NSBezierPath on iOS?

2017-05-22 Thread Dave
Sorry I should have said, this class is a Subview of UIView.

I’m also getting an error on:

[self setNeedsDisplay:YES];

I’m so rusty on iOS and I’m finding hard to remember the differences.

All the Best
Dave

> On 22 May 2017, at 12:09, Dave  wrote:
> 
> Hi,
> 
> I’m converting a Class from Mac to iOS and I’ve got errors on the following 
> code:
> 
> if (self.pDrawPaneFlag == YES)
>   {
>   [self.pPaneColor set];
>   [NSBezierPath fillRect:myRect];
>   }
> 
> if (self.pDrawFrameFlag == YES)
>   {
>   [self.pFrameColor set];
>   [NSBezierPath setDefaultLineWidth:self.pFrameLineWidth];
>   [NSBezierPath strokeRect:myRect];
>   }
> }
> 
> It seems that NSBezierPath is not available on iOS, is there something I can 
> use that is equivalent to the above on iOS?
> 
> All the Best
> Dave
> 
> ___
> 
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
> 
> 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:
> https://lists.apple.com/mailman/options/cocoa-dev/dave%40looktowindward.com
> 
> This email sent to d...@looktowindward.com

___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: NSBezierPath on iOS?

2017-05-22 Thread dangerwillrobinsondanger
You want UI not NS BezierPath

Sent from my iPhone

> On May 22, 2017, at 19:23, Dave  wrote:
> 
> Sorry I should have said, this class is a Subview of UIView.
> 
> I’m also getting an error on:
> 
> [self setNeedsDisplay:YES];
> 
> I’m so rusty on iOS and I’m finding hard to remember the differences.
> 
> All the Best
> Dave
> 
>> On 22 May 2017, at 12:09, Dave  wrote:
>> 
>> Hi,
>> 
>> I’m converting a Class from Mac to iOS and I’ve got errors on the following 
>> code:
>> 
>> if (self.pDrawPaneFlag == YES)
>>{
>>[self.pPaneColor set];
>>[NSBezierPath fillRect:myRect];
>>}
>> 
>> if (self.pDrawFrameFlag == YES)
>>{
>>[self.pFrameColor set];
>>[NSBezierPath setDefaultLineWidth:self.pFrameLineWidth];
>>[NSBezierPath strokeRect:myRect];
>>}
>> }
>> 
>> It seems that NSBezierPath is not available on iOS, is there something I can 
>> use that is equivalent to the above on iOS?
>> 
>> All the Best
>> Dave
>> 
>> ___
>> 
>> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
>> 
>> 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:
>> https://lists.apple.com/mailman/options/cocoa-dev/dave%40looktowindward.com
>> 
>> This email sent to d...@looktowindward.com
> 
> ___
> 
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
> 
> 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:
> https://lists.apple.com/mailman/options/cocoa-dev/dangerwillrobinsondanger%40gmail.com
> 
> This email sent to dangerwillrobinsondan...@gmail.com
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Autolayout Problem/Question

2017-05-22 Thread Dave
iOS 

Hi,

I have the following view layout in a Storyboard:

StackView   Vertical
StackView   Horizontal
SquareColorView1
SquareColorView2
SquareColorView3
SquareColorView4
SquareColorView5
SquareColorView6
SquareColorView7
SquareColorView8
SquareColorView9
StackView   Horizontal
SquareColorView1
SquareColorView2
SquareColorView3
SquareColorView4
SquareColorView5
SquareColorView6
SquareColorView7
SquareColorView8
SquareColorView9
StackView   Horizontal
SquareColorView1
SquareColorView2
SquareColorView3
SquareColorView4
SquareColorView5
SquareColorView6
SquareColorView7
SquareColorView8
SquareColorView9
StackView   Horizontal
SquareColorView1
SquareColorView2
SquareColorView3
SquareColorView4
SquareColorView5
SquareColorView6
SquareColorView7
SquareColorView8
SquareColorView9
StackView   Horizontal
SquareColorView1
SquareColorView2
SquareColorView3
SquareColorView4
SquareColorView5
SquareColorView6
SquareColorView7
SquareColorView8
SquareColorView9
StackView   Horizontal
SquareColorView1
SquareColorView2
SquareColorView3
SquareColorView4
SquareColorView5
SquareColorView6
SquareColorView7
SquareColorView8
SquareColorView9
StackView   Horizontal
SquareColorView1
SquareColorView2
SquareColorView3
SquareColorView4
SquareColorView5
SquareColorView6
SquareColorView7
SquareColorView8
SquareColorView9
StackView   Horizontal
SquareColorView1
SquareColorView2
SquareColorView3
SquareColorView4
SquareColorView5
SquareColorView6
SquareColorView7
SquareColorView8
SquareColorView9
StackView   Horizontal
SquareColorView1
SquareColorView2
SquareColorView3
SquareColorView4
SquareColorView5
SquareColorView6
SquareColorView7
SquareColorView8
SquareColorView9


The SquareColourView is a View that displays a coloured Rectangle with a Frame 
around it.

I have designed this in a Storyboard and started on the lowest resolution 
iPhone (4s). On the  4s each Coloured view in the Stack View is Square.  I then 
switch to a iPhone 7s and because there is now more space available, the inner  
SquareColorView’s are stretched horizontally. I want them to grow in size, but 
maintain there “Square” shape, however I can’t seem to figure out how to do 
this with Auto layout. 

Any help or suggestions greatly appreciated.

All the Best
Dave













___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: NSBezierPath on iOS?

2017-05-22 Thread Dave
Thanks a lot!

All the Best
Dave
> On 22 May 2017, at 12:43, dangerwillrobinsondan...@gmail.com wrote:
> 
> You want UI not NS BezierPath
> 
> Sent from my iPhone
> 
>> On May 22, 2017, at 19:23, Dave > > wrote:
>> 
>> Sorry I should have said, this class is a Subview of UIView.
>> 
>> I’m also getting an error on:
>> 
>> [self setNeedsDisplay:YES];
>> 
>> I’m so rusty on iOS and I’m finding hard to remember the differences.
>> 
>> All the Best
>> Dave
>> 
>>> On 22 May 2017, at 12:09, Dave  wrote:
>>> 
>>> Hi,
>>> 
>>> I’m converting a Class from Mac to iOS and I’ve got errors on the following 
>>> code:
>>> 
>>> if (self.pDrawPaneFlag == YES)
>>>   {
>>>   [self.pPaneColor set];
>>>   [NSBezierPath fillRect:myRect];
>>>   }
>>> 
>>> if (self.pDrawFrameFlag == YES)
>>>   {
>>>   [self.pFrameColor set];
>>>   [NSBezierPath setDefaultLineWidth:self.pFrameLineWidth];
>>>   [NSBezierPath strokeRect:myRect];
>>>   }
>>> }
>>> 
>>> It seems that NSBezierPath is not available on iOS, is there something I 
>>> can use that is equivalent to the above on iOS?
>>> 
>>> All the Best
>>> Dave
>>> 
>>> ___
>>> 
>>> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
>>> 
>>> 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:
>>> https://lists.apple.com/mailman/options/cocoa-dev/dave%40looktowindward.com
>>> 
>>> This email sent to d...@looktowindward.com
>> 
>> ___
>> 
>> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
>> 
>> 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:
>> https://lists.apple.com/mailman/options/cocoa-dev/dangerwillrobinsondanger%40gmail.com
>>  
>> 
>> 
>> This email sent to dangerwillrobinsondan...@gmail.com 
>> 
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: NSBezierPath on iOS?

2017-05-22 Thread Dave
Hi,

I changed it to use UIBezierPath but now I get errors on the 3 + methods it 
uses - fillRect, setDefaultLineWidth and strokeRect.

From looking at the documentation, I’m guessing that I need to create a path, 
I’ve added this code:

-(void) drawRect:(CGRect) theRect
{
CGRect  myRect;
UIBezierPath*   myPath;

myRect = 
CGRectInset(self.bounds,self.pFrameInsetSize.width,self.pFrameInsetSize.height);
if (self.pDrawPaneFlag == YES)
{
myPath = [UIBezierPath bezierPathWithRect:myRect];
[self.pPaneColor set];
[myPath fill];
}

if (self.pDrawFrameFlag == YES)
{
myPath = [UIBezierPath bezierPathWithRect:myRect];

[self.pFrameColor set];
[myPath setLineWidth:self.pFrameLineWidth];
[myPath stroke];
}
}

Does this look right?

Also, I’m guessing it should be setNeedsDisplayInRect instead of 
setNeedsDisplay,

I changed this to:

[self setNeedsDisplayInRect:self.frame];

Is this correct or should it be self.bounds?

Thanks again.

All the Best
Dave

> On 22 May 2017, at 13:02, Dave  wrote:
> 
> Thanks a lot!
> 
> All the Best
> Dave
>> On 22 May 2017, at 12:43, dangerwillrobinsondan...@gmail.com wrote:
>> 
>> You want UI not NS BezierPath
>> 
>> Sent from my iPhone
>> 
>>> On May 22, 2017, at 19:23, Dave >> > wrote:
>>> 
>>> Sorry I should have said, this class is a Subview of UIView.
>>> 
>>> I’m also getting an error on:
>>> 
>>> [self setNeedsDisplay:YES];
>>> 
>>> I’m so rusty on iOS and I’m finding hard to remember the differences.
>>> 
>>> All the Best
>>> Dave
>>> 
 On 22 May 2017, at 12:09, Dave  wrote:
 
 Hi,
 
 I’m converting a Class from Mac to iOS and I’ve got errors on the 
 following code:
 
 if (self.pDrawPaneFlag == YES)
 {
 [self.pPaneColor set];
 [NSBezierPath fillRect:myRect];
 }
 
 if (self.pDrawFrameFlag == YES)
 {
 [self.pFrameColor set];
 [NSBezierPath setDefaultLineWidth:self.pFrameLineWidth];
 [NSBezierPath strokeRect:myRect];
 }
 }
 
 It seems that NSBezierPath is not available on iOS, is there something I 
 can use that is equivalent to the above on iOS?
 
 All the Best
 Dave
 
 ___
 
 Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
 
 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:
 https://lists.apple.com/mailman/options/cocoa-dev/dave%40looktowindward.com
 
 This email sent to d...@looktowindward.com
>>> 
>>> ___
>>> 
>>> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
>>> 
>>> 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:
>>> https://lists.apple.com/mailman/options/cocoa-dev/dangerwillrobinsondanger%40gmail.com
>>>  
>>> 
>>> 
>>> This email sent to dangerwillrobinsondan...@gmail.com 
>>> 
> ___
> 
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
> 
> 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:
> https://lists.apple.com/mailman/options/cocoa-dev/dave%40looktowindward.com
> 
> This email sent to d...@looktowindward.com

___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: NSBezierPath on iOS?

2017-05-22 Thread Steve Mills
On May 22, 2017, at 06:23:32, Dave  wrote:
> 
> I changed it to use UIBezierPath but now I get errors on the 3 + methods it 
> uses - fillRect, setDefaultLineWidth and strokeRect.

It would really help if we knew what the errors were.

>   myPath = [UIBezierPath bezierPathWithRect:myRect];
>   [self.pPaneColor set];
>   [myPath fill];

If you're simply filling a rect, there are simpler ways:

UIRectFill(rect);

> Also, I’m guessing it should be setNeedsDisplayInRect instead of 
> setNeedsDisplay,
> 
> I changed this to:
> 
> [self setNeedsDisplayInRect:self.frame];
> 
> Is this correct or should it be self.bounds?

It totally depends on what you're trying to do, and from where. If you just 
need your entire view to redraw, use setNeedsDisplay. If it's a more localized, 
specific rect you need to redraw, use setNeedsDisplayInRect and give it a rect 
local to the view.

--
Steve Mills
Drummer, Mac geek

___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

View Controllers, Views and Storyboards

2017-05-22 Thread Dave
Hi All,

I have a question about View Controllers in Storyboard’s. 

In the past I have handled Landscape and Portrait Views as two separate 
Hierarchies in XCode/IB. I defined the roots Views inside the View Controller 
but NOT in the main .view. I then hooked these up to the View Controller Class 
as IBOutlets and then adding one or the to the main view in viewWillAppear. E.g.

In IB:

Main “view” - empty.
LandscapeRootView - Hierarchy of Views.
PortraitRootView - Hierarchy of Views.

In the View Controller Class:

@property (nonnull,strong)  IBOutlet UIStackView*   
pPortraitRootStackView;
@property (nonnull,strong)  IBOutlet UIStackView*   
pLandscapeRootStackView;

Then in viewWillAppear:

[self.view removeAllSubviews];
if (Orientation == Portrait)
[self.view addSubview:self. pPortraitRootStackView];
else
[self.view addSubview:self. pLandscapeRootStackView];

However when I come to do this in a Storyboard, I can create the Views OK, but 
it XCode/IB won’t let me hook it up to the Outlets.

I’m using Auto-layout and can’t find a way to make it work with just one view 
hierarchy as the constraints clash.

Any ideas on how to achieve this would be greatly appreciated.

All the Best
Dave

___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Autolayout Problem/Question

2017-05-22 Thread Dave
Hi,

Thanks a lot - That’s what I was looking for! I added a 1:1 Aspect Ratio 
constraint to the Root StackView and it now works ok.

I have another question regarding Auto Layout and XCode.

In XCode/IB I’ve designed these views in Landscape. I started with the iPhone 
4s which is the Smallest I could find in IB and then moved on to iPhone SE, 
iPhone 7 and 7+. These all seem to work ok in Landscape in XCode, but if I 
switch to portrait it stops working.

I want the Root Stack View to be placed to the left of the Screen in Landscape 
and the Top of the Screen in Portrait. Can I do this with one set of 
constraints or is it better to have two separate View Hierarchies and switch 
between them in code?

All the Best
Dave

___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Context leak detected, msgtracer returned -1 ?

2017-05-22 Thread Jonathan Mitchell
Hi

On occasion I see the following in the Xcode console when running my Obj-C app:

Context leak detected, msgtracer returned -1

I have tried setting symbolic breakpoints on NSLog etc but to no avail.

Is the context in question a CGContext?

Thanks

J
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Context leak detected, msgtracer returned -1 ?

2017-05-22 Thread Greg Parker

> On May 22, 2017, at 8:52 AM, Jonathan Mitchell  wrote:
> 
> Hi
> 
> On occasion I see the following in the Xcode console when running my Obj-C 
> app:
> 
> Context leak detected, msgtracer returned -1
> 
> I have tried setting symbolic breakpoints on NSLog etc but to no avail.
> 
> Is the context in question a CGContext?

The context is an IOAccelContext, which itself is deep in the graphics 
machinery. The log complains once for every 512 objects allocated. Try setting 
a breakpoint on IOAccelLogContextLeak or fprintf. 

You should also file a bug report that this log is too vague.


-- 
Greg Parker gpar...@apple.com  Runtime 
Wrangler


___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Context leak detected, msgtracer returned -1 ?

2017-05-22 Thread Jonathan Mitchell

> On 22 May 2017, at 22:24, Greg Parker  wrote:
> 
> 
>> On May 22, 2017, at 8:52 AM, Jonathan Mitchell > > wrote:
>> 
>> Context leak detected, msgtracer returned -1
>> 
> 
> The context is an IOAccelContext, which itself is deep in the graphics 
> machinery. The log complains once for every 512 objects allocated. Try 
> setting a breakpoint on IOAccelLogContextLeak or fprintf. 
> 
> You should also file a bug report that this log is too vague.
> 
> 
> -- 
> Greg Parker gpar...@apple.com  Runtime 
> Wrangler
> 
Thanks for that.

I can now see that an observation is triggering a button redraw.
I am processing a collection at this stage so the button redraw code is 
probably getting hammered.
This is in a tight loop and [NSView displayIfNeeded] is called repeatedly.
Removing this display update request silences the warning.

#0  0x7fff8967b5c4 in IOAccelLogContextLeak ()
#1  0x7fff8967c75d in IOAccelCommandQueueCreateWithQoS ()
#2  0x7fff7e1de805 in -[MTLIOAccelCommandQueue 
initWithDevice:descriptor:] ()
#3  0x7fff7b4f4d45 in CIMetalCommandQueueCreate ()
#4  0x7fff7b4e621c in CI::MetalContext::init(void const*) ()
#5  0x7fff7b3e332f in +[CIContext(Internal) 
internalContextWithMTLDevice:options:] ()
#6  0x7fff7b3ddcd8 in -[CIContext initWithOptions:] ()
#7  0x7fff7b3dd9f2 in +[CIContext contextWithOptions:] ()
#8  0x7fff788b96e9 in -[NSCIImageRep 
CGImageForProposedRect:context:hints:] ()
#9  0x7fff785879ff in -[NSImage 
_newSnapshotRepForRep:rect:context:processedHints:] ()
#10 0x7fff785542c2 in -[NSImage 
_snapshotRepForRep:rect:context:processedHints:] ()
#11 0x7fff78a0fcdb in __71-[NSImage 
drawInRect:fromRect:operation:fraction:respectFlipped:hints:]_block_invoke.1352 
()
#12 0x7fff78553543 in -[NSImage 
_usingBestRepresentationForRect:context:hints:body:] ()
#13 0x7fff785907e8 in -[NSImage 
drawInRect:fromRect:operation:fraction:respectFlipped:hints:] ()
#14 0x7fff78587480 in -[NSImage 
_drawMappingAlignmentRectToRect:withState:backgroundStyle:operation:fraction:flip:hints:]
 ()
#15 0x7fff78586d93 in -[NSButtonCell drawImage:withFrame:inView:] ()
#16 0x0001004efc7f in -[BPTimelineButtonCell 
drawImage:withFrame:inView:] at BPTimelineButtonCell.m:77
#17 0x7fff78586650 in -[NSButtonCell 
_configureAndDrawImageWithRect:cellFrame:controlView:] ()
#18 0x7fff78586285 in -[NSButtonCell drawInteriorWithFrame:inView:] ()
#19 0x0001004ef525 in -[BPTimelineButtonCell 
drawInteriorWithFrame:inView:] at BPTimelineButtonCell.m:28
#20 0x7fff7858531a in -[NSButtonCell drawWithFrame:inView:] ()
#21 0x0001004ef42c in -[BPTimelineButtonCell drawWithFrame:inView:] at 
BPTimelineButtonCell.m:19
#22 0x7fff785850d1 in -[NSControl drawRect:] ()
#23 0x7fff7857cf99 in -[NSView _drawRect:clip:] ()
#24 0x7fff785ccf2f in -[NSView 
_recursiveDisplayAllDirtyWithLockFocus:visRect:] ()
#25 0x7fff785cd39a in -[NSView 
_recursiveDisplayAllDirtyWithLockFocus:visRect:] ()
#26 0x7fff785cd39a in -[NSView 
_recursiveDisplayAllDirtyWithLockFocus:visRect:] ()
#27 0x7fff785cd39a in -[NSView 
_recursiveDisplayAllDirtyWithLockFocus:visRect:] ()
#28 0x7fff785cd39a in -[NSView 
_recursiveDisplayAllDirtyWithLockFocus:visRect:] ()
#29 0x7fff785cd39a in -[NSView 
_recursiveDisplayAllDirtyWithLockFocus:visRect:] ()
#30 0x7fff785cd39a in -[NSView 
_recursiveDisplayAllDirtyWithLockFocus:visRect:] ()
#31 0x7fff785cd39a in -[NSView 
_recursiveDisplayAllDirtyWithLockFocus:visRect:] ()
#32 0x7fff7857aad2 in -[NSView 
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
 ()
#33 0x7fff785786d8 in -[NSView 
_displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] ()
#34 0x7fff78573fca in -[NSView displayIfNeeded] ()
#35 0x0001001eb5be in -[BPTimelineButton setButtonHighlight:] at 
BPTimelineButton.m:211
#36 0x0001001eb227 in -[BPTimelineButton highlightForOffState] at 
BPTimelineButton.m:134
#37 0x0001001eb197 in -[BPTimelineButton stateDidChange] at 
BPTimelineButton.m:123
#38 0x0001001eb29e in -[BPTimelineButton setEnabled:] at 
BPTimelineButton.m:147
#39 0x00010005011d in -[BPPayslipTimelineButton setButtonStatus:] at 
BPPayslipTimelineButton.m:145
#40 0x000100051104 in -[BPPayslipTimelineButton 
observeValueForKeyPath:ofObject:change:context:] at 
BPPayslipTimelineButton.m:277

___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archiv