hachyderm.io is one of the many independent Mastodon servers you can use to participate in the fediverse.
Hachyderm is a safe space, LGBTQIA+ and BLM, primarily comprised of tech industry professionals world wide. Note that many non-user account types have restrictions - please see our About page.

Administered by:

Server stats:

8.9K
active users

#nodeswift

0 posts0 participants0 posts today
Steven G. Harris<p>I published a <a href="https://mastodon.social/tags/SwiftLog" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SwiftLog</span></a> backend for <a href="https://mastodon.social/tags/NodeSwift" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>NodeSwift</span></a>. I’ve been working on a VSCode extension using NodeSwift to access my existing <a href="https://mastodon.social/tags/Swift" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Swift</span></a> library. The SwiftLog backend routes, for example, `logger.info(“message”)` to node.js and includes a simple `NodeConsole.log(“message”)` to send messages to the node console. <a href="https://swiftpackageindex.com/stevengharris/NodeSwiftLogging" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">swiftpackageindex.com/stevengh</span><span class="invisible">arris/NodeSwiftLogging</span></a>. For reference: NodeSwift: <a href="https://github.com/kabiroberai/node-swift" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/kabiroberai/node-sw</span><span class="invisible">ift</span></a> and SwiftLog: <a href="https://github.com/apple/swift-log" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">github.com/apple/swift-log</span><span class="invisible"></span></a>.</p>
Steven G. Harris<p>I’ve been working on a <a href="https://mastodon.social/tags/VSCode" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>VSCode</span></a> extension that uses an existing <a href="https://mastodon.social/tags/Swift" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Swift</span></a> project of mine. VSCode uses Node.js for the extension host, so NodeSwift by <span class="h-card" translate="no"><a href="https://mastodon.social/@kabiroberai" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>kabiroberai</span></a></span> seemed like a great fit. I wanted a smooth process so I could work on Swift in Xcode, drop over to VSCode to work on the extension, and make use of the Swift changes immediately. If any of that sounds useful to you, I set up a sample project and code to explain it:</p><p><a href="https://github.com/stevengharris/NSXcode" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/stevengharris/NSXco</span><span class="invisible">de</span></a>. </p><p><a href="https://mastodon.social/tags/NodeSwift" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>NodeSwift</span></a> is at <a href="https://github.com/kabiroberai/node-swift" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/kabiroberai/node-sw</span><span class="invisible">ift</span></a></p>