All Projects → rjstelling → Host.swift

rjstelling / Host.swift

Licence: other
*Host.swift is no longer maintained*, please use Hostess.swift: https://github.com/rjstelling/Hostess.swift. A Swift implementation of NSHost that works on iOS, OS X and tvOS. Host.swift is safe to use in a framework because it does not require a bridging header.

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to Host.swift

Procedurekit
Advanced Operations in Swift
Stars: ✭ 863 (+939.76%)
Mutual labels:  tvos, watchos
Mothership
iTunes Connect Library inspired by FastLane
Stars: ✭ 72 (-13.25%)
Mutual labels:  tvos, watchos
Swiftui Grid
🚀 SwiftUI Grid layout with custom styles
Stars: ✭ 872 (+950.6%)
Mutual labels:  tvos, watchos
R.swift
Strong typed, autocompleted resources like images, fonts and segues in Swift projects
Stars: ✭ 8,419 (+10043.37%)
Mutual labels:  tvos, watchos
Waterfallgrid
A waterfall grid layout view for SwiftUI.
Stars: ✭ 1,086 (+1208.43%)
Mutual labels:  tvos, watchos
Sdwebimageswiftui
SwiftUI Image loading and Animation framework powered by SDWebImage
Stars: ✭ 844 (+916.87%)
Mutual labels:  tvos, watchos
Xcconfigs
Collection of common Xcode configuration files. 🛠
Stars: ✭ 28 (-66.27%)
Mutual labels:  tvos, watchos
Swiftyrsa
RSA public/private key encryption in Swift
Stars: ✭ 894 (+977.11%)
Mutual labels:  tvos, watchos
Articles
Articles for NSHipster.com
Stars: ✭ 1,166 (+1304.82%)
Mutual labels:  tvos, watchos
Lift
Lift is a Swift library for generating and extracting values into and out of JSON-like data structures.
Stars: ✭ 33 (-60.24%)
Mutual labels:  tvos, watchos
Difference
Simple way to identify what is different between 2 instances of any type. Must have for TDD.
Stars: ✭ 837 (+908.43%)
Mutual labels:  tvos, watchos
Fugen
Command line tool for exporting resources and generating code from your Figma files
Stars: ✭ 41 (-50.6%)
Mutual labels:  tvos, watchos
Apprepositorytemplate
The easiest way to start a new application project without any manual configuration
Stars: ✭ 24 (-71.08%)
Mutual labels:  tvos, watchos
Ios Cmake
A CMake toolchain file for iOS, macOS, watchOS & tvOS C/C++/Obj-C++ development
Stars: ✭ 844 (+916.87%)
Mutual labels:  tvos, watchos
Ratelimit
Simple utility for only executing code every so often.
Stars: ✭ 918 (+1006.02%)
Mutual labels:  tvos, watchos
Life
Conway's Game of Life written in Swift 👾
Stars: ✭ 21 (-74.7%)
Mutual labels:  tvos, watchos
Swiftui
A collaborative list of awesome SwiftUI resources. Feel free to contribute!
Stars: ✭ 774 (+832.53%)
Mutual labels:  tvos, watchos
Flexibleimage
A simple way to play with the image!
Stars: ✭ 798 (+861.45%)
Mutual labels:  tvos, watchos
Queuer
Queuer is a queue manager, built on top of OperationQueue and Dispatch (aka GCD).
Stars: ✭ 964 (+1061.45%)
Mutual labels:  tvos, watchos
Sqlitelib
Easily build a custom SQLite static library for use in macOS and iOS frameworks and apps.
Stars: ✭ 38 (-54.22%)
Mutual labels:  tvos, watchos

#Host.swift is no longer maintained

Please use Hostess.swift: https://github.com/rjstelling/Hostess.swift

Host.swift

Swift ![Platform](https://img.shields.io/badge/Platform-iOS, macOS & tvOS-lightgrey.svg?style=flat) Carthage compatible License

A Swift implementation of NSHost that works on iOS, OS X and tvOS.

Host.swift is safe to use in a framework because it does not require a bridging header.

##Motivation

Host.swift was created because NSHost is unavailable on iOS and CFHost does not offer the full functionality of it OS X counterpart.

In addition, those developers hoping for a pure-Swift solution were out of luck without using a bridging header.

Host.swift does not use a bridging header, so is safe to use in Framework development. It is 100% Swift and tries to maintain as much type safety as the low level networking C API will allow.

Example

let host = Host()
let deviceIP = host.addresses.first
print("IP: \(deviceIP)") // Will print a dot-separated IP address, e.g: 17.24.2.55
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].