jean-bovet / btrain Goto Github PK
View Code? Open in Web Editor NEWA free and open-source automatic model railway management software for Marklin Central Station 3, written for macOS using Swift and SwiftUI.
License: MIT License
A free and open-source automatic model railway management software for Marklin Central Station 3, written for macOS using Swift and SwiftUI.
License: MIT License
Hi, trying to compile your program and get this error:
kasparstromme@xxxxxx btrain % swiftc btrainapp.swift
btrainapp.swift:15:1: error: 'main' attribute cannot be used in a module that contains top-level code
@main
^
btrainapp.swift:1:1: note: top-level code defined in this source file
// Copyright 2021-22 Jean Bovet
^
btrainapp.swift:22:13: error: cannot find 'LayoutDocument' in scope
LayoutDocument(layout: Layout(uuid: "new-layout"))
^~~~~~~~~~~~~~
btrainapp.swift:22:36: error: cannot find 'Layout' in scope
LayoutDocument(layout: Layout(uuid: "new-layout"))
^~~~~~
btrainapp.swift:24:13: error: cannot find 'DocumentView' in scope
DocumentView(document: configuration.document, layout: configuration.document.layout)
^~~~~~~~~~~~
kasparstromme@xxxxxx btrain %
Any tips? I am not too familiar with coding so maybe I am doing something very wrong also :) But I have a CS 2 and would like to see what I can do with your software. Best Kaspar
Currently, BTrain uses a fixed speed for every locomotive. This needs to be improved to take into account the actual speed of each locomotive.
Once Split View is fully supported in SwiftUI, replace all the fixed-width lists
XCode is not really intended for non-technical Mac users. Also it occupies a vast amount of disk space. I would imagine that many potential BTrain enthusiasts do not have it installed.
Would it be possible to make a binary release ?
This implies the ability to search traversal-first instead of depth-first in RouteResolver
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.