Giter Club home page Giter Club logo

bswfoundation's Introduction

Swift

About

These are collection of types that are use throughout all TheLeftBit's iOS projects and that allow us to write better apps, faster.

This project leverages heavily on Swift's core features, so you have to be very profficient with these in order to understand why this types are so important.

Documentation

Please checkout the documentation generated with DocC and hosted generously by Swift Package Index

bswfoundation's People

Contributors

piercifani avatar michele-theleftbit avatar alegege avatar daiku60 avatar jserranr avatar phelgo avatar jorgemunozhippo avatar marchidalgo5 avatar

Stargazers

Jeff Arese avatar Oscar Gonzalez avatar Alsey Coleman Miller avatar Plamen Andreev avatar Ignasi Busquets avatar  avatar

Watchers

James Cloos avatar Julian Oliver avatar

bswfoundation's Issues

Async Await migration

  • JSONParser
  • LocationFetcher
  • APIClient
  • Figure out how to do recover and fallback using Swift Concurrency

Unable to access to response headers

Hi all,

Due to the version 1 of your library is not compatible with Xcode 10, we are updating our project to use the last stable version of the library.

During that migration we have identified several functionalities that we cannot use on the current version.

Due to our app needs, we need to read response status code and headers. It was possible through the DroskyResponse (which has been removed) on version 1, but it is not possible on the current version, because the new APIClient class does not return this information.

Is there any way to read and process response status codes and http headers on the current version?

Thanks a lot.

Avoid to request geolocation

We are using the version 2.2.1 and we want to upload our app to the Apple Store. Can we disable the geolocation requirements?

Thanks.

Remove Alamofire

With the improvements in URLSession for iOS 11, I think it’s time we remove Alamofire and just use it instead of it

Deprecate ~>

It's very pretty, but you can't set in what queue you want the code to be executed, so it's leading to some weird edge cases that I'd rather remove

Add cancellation of network requests

It should be great to add the possibility of cancelling the current network request (or requests) at any time, e. g., when user navigates back to a previous screen and the network response block tries to access an unexisting view controller or another property

Wait function for all async functions to complete

Example:
extension Array where Element == PostAuthenticationJob { func waitForCompletion() async throws { _ = await withThrowingTaskGroup(of: Void.self) { group in self.map { job in group.addTask { try await job() } } } return } }

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.