Swiftpack.co -  mobilee/Netify as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
mobilee/Netify
Simple networking for iOS
.package(url: "https://github.com/mobilee/Netify.git", from: "1.0.0")

Netify Logo

Swift 5.2 Version Platform Carthage Compatible SPM

Netify

🌎 Simple Network for iOS

Simplify API layer implementation.

Separate API configuration from execution.

Features

  • 📙 Declare network endpoints with ease
  • 🪄 Execute requests with 1 line
  • ⛓ Integration with Alamofire

Example

The example application is the best way to see Netify in action. Simply open the Netify.xcodeproj and run the Example scheme.

Installation

CocoaPods

Netify is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'Netify'

Carthage

Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.

To integrate Netify into your Xcode project using Carthage, specify it in your Cartfile:

github "mobilee/Netify"

Run carthage update to build the framework and drag the built Netify.framework into your Xcode project.

On your application targets’ “Build Phases” settings tab, click the “+” icon and choose “New Run Script Phase” and add the Framework path as mentioned in Carthage Getting started Step 4, 5 and 6

Swift Package Manager

To integrate using Apple's Swift Package Manager, add the following as a dependency to your Package.swift:

dependencies: [
    .package(url: "https://github.com/mobilee/Netify.git", from: "1.0.0")
]

Alternatively navigate to your Xcode project, select Swift Packages and click the + icon to search for Netify.

Manually

If you prefer not to use any of the aforementioned dependency managers, you can integrate Netify into your project manually. Simply drag the Sources Folder into your Xcode project.

Usage

ℹ️ Describe the usage of your Kit

Contributing

Contributions are very welcome 🙌

License

Netify
Copyright (c) 2021 Mobilee szarkowicz@gmail.com

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

GitHub

link
Stars: 0
Last commit: 1 week ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Submit a free job ad (while I'm testing this). The analytics numbers for this website are here.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics