Mac InterfaceBuilder integration

Hi,
If I create a mac app and select edit in xcode In Fire, xcode is opened but the designer files classes.* are empty.

The project builds.

LocationMacApp.zip (1.4 MB)

Cheers,
John

I think it might be because I changed it to Island. I created another mac app using Toffee, added a NSButton and that worked fine.

1 Like

Thanks, logged as bugs://85357

Definitely a bug — this should work the same for both.

Should the “Use Toffee v1” setting be exposed in Mac Apps ?

in all projects with mode set of Toffee, yes. The way it works, is it half-upgrades a Toffee project/target to Island; you can’t half-downgrade an Island project to Toffee(V2) :slight_smile:

Confirmed

                <key>UseLegacyToffeeMode</key>
                <dict>
                    <key>Name</key>
                    <string>UseLegacyToffeeMode</string>
                    <key>Type</key>
                    <string>Boolean</string>
                    <key>DisplayName</key>
                    <string>Use Toffee V1</string>
                    <key>Conditions</key>
                    <array>
                        <string>Platform ==[cd] 'Toffee'</string>
                    </array>
                    <key>Advanced</key>
                    <true/>
                </dict>

In the example I posted at the top its not visible.

Yes, coz that’s already an Island project, not a Toffee one:

  <Import Project="$(MSBuildExtensionsPath)\RemObjects Software\Elements\RemObjects.Elements.Island.Darwin.targets" />