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 <d...@looktowindward.com 
>> <mailto:d...@looktowindward.com>> 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 <d...@looktowindward.com> 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
>>  
>> <https://lists.apple.com/mailman/options/cocoa-dev/dangerwillrobinsondanger%40gmail.com>
>> 
>> This email sent to dangerwillrobinsondan...@gmail.com 
>> <mailto: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

Reply via email to