Re: Sharing code between screensaver and regular app
Re: Sharing code between screensaver and regular app
- Subject: Re: Sharing code between screensaver and regular app
- From: Dave via Cocoa-dev <email@hidden>
- Date: Mon, 2 Mar 2020 15:03:02 +0100
Hi,
All I can think of that this behaviour has changed on your version of
MacOS/XCode.
You can do the same thing as the template by manually adding the files, e.g
copy your “ViewController” file, rename it and then add it to the new project.
You will need to make sure that the Storyboard/Nibs are the same too. Ether add
the elements needed yourself or copy the existing storyboard/nib(s) rename and
add to the new project.
All the Best
Dave
> On 2 Mar 2020, at 12:36, Gabriel Zachmann <email@hidden> wrote:
>
> Thanks a lot for your response!
>
>>
>> File/New Project - Select MacOS and then “App” (from the New Project Dialog).
>
> That is what I did: see this screen recording:
>
> https://owncloud.informatik.uni-bremen.de/index.php/s/br8rN3HGYfj9w3d
> <https://owncloud.informatik.uni-bremen.de/index.php/s/br8rN3HGYfj9w3d>
>
> Still I get this boilerplate code
>
>
> @interface AppDelegate : NSObject <NSApplicationDelegate>
>
> @end
>
>
> No NSView.
>
>
>
> Best regards, Gabriel
>
_______________________________________________
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