yoshimkd / swift-code-types-navigator Goto Github PK
View Code? Open in Web Editor NEWAn experimental project that shows the types defined in a Swift code as expandable bubbles on a canvas.
License: MIT License
An experimental project that shows the types defined in a Swift code as expandable bubbles on a canvas.
License: MIT License
After run .build/debug/SwiftDiagramGenerator . ….., some of my swift class will show「Can’t parse file path:XXXXX」and the diagram is not created.
Here is my NG sample class:
class TestUML: NSObject {
@IBOutlet weak private var button: UIButton!
var testVar: String?;
func function1() -> Bool {
return true;
}
}
BUT、if I remove the third line and excute the command line again、diagram will be created without error.
// OK Sample class
class TestUML: NSObject {
@IBOutlet weak private var button: UIButton!
func function1() -> Bool {
return true;
}
}
Hi Team,
I'm getting below error upon running the 'swift build' command from project's root directory
error: terminated(1): /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-build-tool -f /Users/utkagraw/Documents/bbbiOS-swiftTools/swift-code-types-navigator/.build/debug.yaml main
WKMIN7458617:swift-code-types-navigator utkagraw$ .build/debug/SwiftDiagramGenerator . ~/Documents/bbbiOS_swiftTools/bbbiOS
-bash: .build/debug/SwiftDiagramGenerator: No such file or directory
Please advice that what could be issue here.
Thanks!
Hi, I'm trying to get this working for the first time on one of my swift projects, but it crashes when executed. Here's the output:
> .build/debug/SwiftDiagramGenerator "~/Development/iOS/MyProject/Classes"
Fatal error: 'try!' expression unexpectedly raised an error: Error Domain=NSCocoaErrorDomain Code=260 "The file “diagramScriptTemplate” couldn’t be opened because there is no such file." UserInfo={NSFilePath=~/Development/iOS/MyProject/Classes/Visualization/diagramScriptTemplate, NSUnderlyingError=0x7fe62a767e70 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}: file /Users/<me>/Development/iOS/swift-code-types-navigator/Sources/SwiftDiagramGenerator/main.swift, line 20
[1] 2032 illegal hardware instruction .build/debug/SwiftDiagramGenerator "~/Development/iOS/MyProject/Classes
I am executing from the root of the swift-code-types-navigator project.
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.