Page 1 of 1

Typo? Wrong Xcode version?

PostPosted: Fri Nov 30, 2018 3:11 am
by jason.dour
Eagerly downloaded the SDK! Went to test the demo plugin, and it would not compile. It had three errors.

Lines 811, 819, and 840. Each line defining the image to be used.

Instead of (811 as example):

Code: Select all
        action.image = NSImage(named: NSImage.everyoneName)


It needed to be:

Code: Select all
        action.image = NSImage(named: NSImage.Name.everyone)


Is that a typo in the demo? Or am I on a different version of Xcode?

Super excited about the SDK! Tried out the demo. Can't wait to dig in! :)

Re: Typo? Wrong Xcode version?

PostPosted: Sat Dec 01, 2018 1:11 am
by rsirota
I just download the code and it compiled with no problems. I am using xCode v10.1