Georges Boumis d4782b8a52 2.6 Update README
2020-07-15 10:54:00 +02:00
2020-07-15 10:54:00 +02:00
2020-07-15 10:54:00 +02:00
2017-09-01 12:29:21 +03:00
2018-05-07 14:06:45 +03:00
2018-09-25 15:42:12 +03:00
2017-09-01 12:29:21 +03:00
2020-07-15 10:54:00 +02:00
2017-09-01 12:18:30 +03:00
2020-07-15 10:54:00 +02:00

ContentKit

Manage content, either audible, visual or textual. ContentKit provides a way to strong type contents like images (Image), audio (Audio) or text (Text) and horizontally decorate them to apply transformations.

ContentKit values immutability and horizontal decoration. Thus all top types are protocols that can be horizontally decorated.

ContentKit is (optionally) dependent on RepresentationKit. It is recommended to include those dependencies. If you do not want to import them then comment out those dependencies in the ContentKit.podspec file.

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

// ceate a cached image to avoid heavy computation
let image = /* UIImage */
let transformed = HeavyComputanionalImage(image)
let cached = Cachedimage(transformed)

Installation

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

pod "ContentKit"

Discussion

ContentKit provides contents:

  • AnyImage and CachedImage
  • AnyText
  • AnyAudio, OnceAudio, VoidAudio & DynamicallyDisablingAudio

Author

Georges Boumis, developer.george.boumis@gmail.com

License

ContentKit is available under the Apache 2.0 license. See the LICENSE file for more info.

Description
Manage content
Readme Apache-2.0 261 KiB
Languages
Swift 96.3%
Ruby 3.7%