SwiftLinkPreview Versions Save

It makes a preview from an URL, grabbing all the information such as title, relevant texts and images.

2.0.7

6 years ago

Added

2.0.6

6 years ago

Changed

2.0.5

7 years ago

Changed

2.0.4

7 years ago

Changed

2.0.3

7 years ago
  • Renamed the Objective-C compatible wrapper fro the preview method to previewLink. This resolves ambiguous method errors in Swift builds - issue #41.

2.0.2

7 years ago

Added

  • Objective-C init method with no parameters, defaults to the same options as the Swift default parameters.
  • Objective-C init method which allows user to set parameters - passing nil will default the parameters. InMemoryCache is a BOOL parameter to use or not use a cache.
  • Objective-C preview method which returns a dictionary of values on success, and an NSError object on failure which contains a localized error description.

Changed

  • Referenced objects are now derived from NSObject to make them Objective-C compatible.

2.0.1

7 years ago

Changed

  • Local analysis out of threads.
  • iOS8 backport compatibility

Fixed

2.0.0

7 years ago

Changed

  • Fully asynchronous (DispatchQueue).
  • Removed global state
  • Better response dictionary subscription via Enum
  • Configurable via constructor (URLSession, Work Queue, Response Queue)

Added

  • Caching support (InMemoryCache, but can be extended to other types)

API breaking changes

  • Subscriptions via Enum require changes in current code
  • preview method returns a Cancellable object with cancel method. This allows reusing of single configured SLP instance for multiple requests. cancel method removed from SwiftLinkPreview class.

1.0.1

7 years ago

Added

1.0.0

7 years ago

Added