• 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: NSBezierPath on iOS?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSBezierPath on iOS?


  • Subject: Re: NSBezierPath on iOS?
  • From: Dave <email@hidden>
  • Date: Mon, 22 May 2017 12:23:49 +0200

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 <email@hidden> 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 (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

_______________________________________________

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: NSBezierPath on iOS?
      • From: email@hidden
References: 
 >NSBezierPath on iOS? (From: Dave <email@hidden>)

  • Prev by Date: NSBezierPath on iOS?
  • Next by Date: Re: NSBezierPath on iOS?
  • Previous by thread: NSBezierPath on iOS?
  • Next by thread: Re: NSBezierPath on iOS?
  • Index(es):
    • Date
    • Thread