Giter Site home page Giter Site logo

skedgo / tripkit-ios Goto Github PK

View Code? Open in Web Editor NEW
6.0 16.0 1.0 348.02 MB

SkedGo's TripKit for iOS (and macOS)

Home Page: https://ios.developer.tripgo.com/

License: Apache License 2.0

Swift 97.15% Ruby 0.14% Shell 0.09% HTML 0.48% CSS 1.94% JavaScript 0.21%
trip-planning routing sdk-ios tripgo-api spm swift

tripkit-ios's People

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

karimhm

tripkit-ios's Issues

Trip-kit sdk not parsing near lyft vehicles (realTimeAlternativeVehicles)

Hi guys, @nighthawk, @MarianoTucat I noticed that I can't get segment.realTimeAlternativeVehicles, trip-kit is not parsing the Locations of those vehicles and we need them to show on the map.

I made a quick fix on the sdk but I'm not sure if it's the right solution. The issue I think is that the sdk is only parsing this information for Public Service buses and no for lyft vehicles.

Do you plan to push an update for this? Should I do a PR for my quick fix?

Thanks

Mode Identifier is missing for some services and transport modes with bookingInfo available.

Hi guys, how are you?

I noticed that some segments with "booking" information are not filled with a "ModeInfo", with the proper "identifier" string, making difficult for us to show some data depending the transport mode. This is for segments of type "Collect", found in "Car2Go" or "Denver B-Cycle" for example.

As we need the mode identifier, is it ok to expect that the next segment of a "collect" segment, will hold the correct mode identifier?

Thanks

Trip distance

Is there a property or method to get the trip total distance?

Better Carthage support

  • Declare dependencies in Cartfile
  • Build TripKit, TripKitUI, TripKitBookings and TripKitInterApp as separate frameworks

Class TKQuickBooking don't expose ETA through generated-Swift.h

For some reason, ETA variable on TKQuickBooking is not exported on generated-Swift.h

SWIFT_CLASS("_TtC5la_go14TKQuickBooking")
@interface TKQuickBooking : NSObject

/// Localised identifying this booking option
@property (nonatomic, readonly, copy) NSString * _Nonnull title;

/// Localised description
@property (nonatomic, readonly, copy) NSString * _Nullable subtitle;

/// URL to book this option. If possible, this will book it without further confirmation. These URLs are meant to be used with an instance of BPKBookingViewController.
@property (nonatomic, readonly, strong) NSURL * _Nonnull bookingURL;
@property (nonatomic, readonly, copy) NSString * _Nonnull bookingTitle;

/// URL to fetch updated trip that's using this booking options. Only present if there would be a change to the trip.
@property (nonatomic, readonly, strong) NSURL * _Nullable tripUpdateURL;

/// Optional URL for image identifying this booking option
@property (nonatomic, readonly, strong) NSURL * _Nullable imageURL;

/// Optional price for this option
@property (nonatomic, readonly, strong) TKQuickBookingPrice * _Nullable price;

/// Localised human-friendly string, e.g., "$10"
@property (nonatomic, readonly, copy) NSString * _Nullable priceString;
@end

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.