Stargate alternatives and similar libraries
Based on the "Network" category.
Alternatively, view Stargate alternatives based on common mentions on social networks and blogs.
-
Perfect
Server-side Swift. The Perfect core toolset and framework for Swift Developers. (For mobile back-end development, website and API development, and moreβ¦) -
SwiftSoup
SwiftSoup: Pure Swift HTML Parser, with best of DOM, CSS, and jquery (Supports Linux, iOS, Mac, tvOS, watchOS) -
Zewo
Lightweight library for web server applications in Swift on macOS and Linux powered by coroutines. -
BlueSocket
Socket framework for Swift using the Swift Package Manager. Works on iOS, macOS, and Linux. -
Connectivity
π Makes Internet connectivity detection more robust by detecting Wi-Fi networks without Internet access. -
WKZombie
WKZombie is a Swift framework for iOS/OSX to navigate within websites and collect data without the need of User Interface or API, also known as Headless browser. It can be used to run automated tests / snapshots and manipulate websites using Javascript. -
PeerKit
An open-source Swift framework for building event-driven, zero-config Multipeer Connectivity apps -
Digger
Digger is a lightweight download framework that requires only one line of code to complete the file download task -
SOAPEngine
This generic SOAP client allows you to access web services using a your iOS app, Mac OS X app and AppleTV app. -
BigBrother
DISCONTINUED. Automatically sets the network activity indicator for any performed request.
InfluxDB - Power Real-Time Data Analytics at Scale
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of Stargate or a related project?
README
Stargate
[](Stargate.gif)
A communication channel from your Mac to your watch.
Providing a convenient wrapper around MMWormhole and PeerKit,
Stargate leverages Multipeer Connectivity and App Groups to communicate between an
OS X application and ο£Ώα΄‘α΄α΄α΄Κ via your iPhone. The communication is bi-directional and
lets you send any object that complies with NSCoding
.
Usage
Simply install it via CocoaPods:
use_frameworks!
pod 'Stargate'
Note: make sure you use version 0.37 or newer. Stargate is written in Swift 1.2, so it requires Xcode 6.3 or newer as well.
On the Mac
Send and receive messages via Multipeer Connectivity:
let stargate = Earth(applicationGroupIdentifier: "group.com.contentful.Stargate")
stargate.listenForMessage(identifier: "stargate2") { (object) -> Void in
println("Received message on Mac: \(object)")
}
stargate.passMessage("YOLO", identifier: "stargate")
On the phone
Bridge messages between Multipeer and Darwin notifications:
let stargate = Abydos(applicationGroupIdentifier: "group.com.contentful.Stargate")
stargate.tunnel()
stargate.tunnelReplies(identifier: "stargate2")
On the watch
Send and receive messages via Darwin notifications:
let stargate = Atlantis(applicationGroupIdentifier: "group.com.contentful.Stargate")
stargate.passMessage("YOLO", identifier:"stargate2")
stargate.listenForMessage(identifier:"stargate") { (object) -> Void in
println("Received message on watch: \(object)")
}
stargate.stopListeningForMessage(identifier:"stargate")
Look at the [example project](Example/) for guidance on how to set up one project for all three platforms. When creating the targets, make sure you don't accidentially select the OS X target as host for the WatchKit extension.
License
Copyright (c) 2015 Contentful GmbH. See [LICENSE](LICENSE) for further details.
*Note that all licence references and agreements mentioned in the Stargate README section above
are relevant to that project's source code only.