"Met it wooden 🪵 and made it brickwalled 🧱" (Casimir the Great)
Complex extension suite for rapid development using the multiplatform Apple Stack (SwiftUI, Combine)
Some of the features:
ModelProtocol
, Randomable
, Selectable
and LocalizedString
.Rx*
, such as WithPrevious
, PreventCompletion
, Single
, On
or Retry
.Publisher
streams using TestScheduler
and TestSequence
.Foundation
, including custom Math
operations like lerp
and also LoremIpsum
s, CURL
or Errors
.Add dependency to the project:
dependencies: [
...
.package(url: "https://github.com/przemek-jablonski/Casimir.git", exact: "latest-tag-here")
]
Enable core library (Casimir
):
.target(
name: "YourLibrary",
dependencies: [
.product(name: "Casimir", package: "Casimir"),
]
),
Enable testing library (Testimir
):
.testTarget(
name: "YourLibraryTests",
dependencies: [
.product(name: "Testimir", package: "Casimir"),
]
),
iOS 14.0 iPadOS 14.0 tvOS 14.0 macOS 11.0 watchOS 7.0
also compliant with Mac Catalyst
.h
),#import <Casimir/Casimir.h>
at the very top,Build Settings
, set tab to All | Combined
,Swift Compiler - General
find entry Objective-C Bridging Header
and add your new Header file (if placed in main project folder, then appname/AppName-BridgingHeader.h
),Debug
and Release
and that Precompile Bridging Header
is set to YES
,link |
Stars: 1 |
Last commit: 2 days ago |
Color+UIKit
extensionsFull Changelog: https://github.com/przemek-jablonski/Casimir/compare/4.3.0...5.0.0
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics