-
Hello @heckj and folks This looks like a fine package, unfortunately I cant seem to get it up and running to play with it I've imported the package into a vanilla SwiftUI app, etc. but whenever I try to call a struct in my default ContentView eg. Lsystem2DView, I cant get past the pre-compile error "Cannot find 'Lsystem2DView' in scope" Any tips? Cheers! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
hi @roboldham, When I set up the package, I separated the core bits that made up the L-systems from the views that can present them. So in addition to doing It's separated out to try and keep the elements you need minimal to the platform and goal you're after. For example, the SwiftUI views might not even be useful if you're fiddling with ARKit. |
Beta Was this translation helpful? Give feedback.
-
Ahh... I shall go and put my dunces cap on for the evening! Thanks, that was simple! Gonna go have some fun now! Thank you |
Beta Was this translation helpful? Give feedback.
hi @roboldham,
When I set up the package, I separated the core bits that made up the L-systems from the views that can present them. So in addition to doing
import Lindenmayer
, if you want to use the views, you'll also need toimport LindenmayerViews
, which is where the swiftUI views for exploring and experimenting are stashed. It's a separate product included in the same swift package.It's separated out to try and keep the elements you need minimal to the platform and goal you're after. For example, the SwiftUI views might not even be useful if you're fiddling with ARKit.