Skip to content

Commit

Permalink
Updates docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Alessio Borraccino committed Apr 14, 2021
1 parent 9f9370e commit a910bdd
Show file tree
Hide file tree
Showing 7 changed files with 32 additions and 24 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

## [0.20.0] - 2021-04-14
### Removed
- Support for iOS 12
- CryptoSwift dependency

## [0.19.0] - 2021-03-17
### Added
- XCFramework support for Cocoapods and Swift PM
Expand Down Expand Up @@ -158,7 +163,8 @@ Adds support down to iOS 12 for ModelsR4 framework
### Added
- FHIR models using Codable protocol

[Unreleased]: https://github.com/d4l-data4life/d4l-fhir-ios/releases/tag/0.19.0...master
[Unreleased]: https://github.com/d4l-data4life/d4l-fhir-ios/releases/tag/0.20.0...master
[0.20.0]: https://github.com/d4l-data4life/d4l-fhir-ios/releases/tag/0.20.0
[0.19.0]: https://github.com/d4l-data4life/d4l-fhir-ios/releases/tag/0.19.0
[0.18.1]: https://github.com/d4l-data4life/d4l-fhir-ios/releases/tag/0.18.1
[0.18.0]: https://github.com/d4l-data4life/d4l-fhir-ios/releases/tag/0.18.0
Expand Down
8 changes: 4 additions & 4 deletions Data4LifeFHIR.podspec
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
Pod::Spec.new do |s|
s.name = "Data4LifeFHIR"
s.version = "0.19.0"
s.version = "0.20.0"
s.summary = "Minimal FHIR standard models and data types for iOS"
s.homepage = "https://github.com/d4l-data4life/d4l-fhir-ios/"
s.license = { :type => 'LICENSE', :file => "LICENSE" }
s.license = { :type => 'LICENSE', :file => "Data4LifeFHIR.xcframework/LICENSE" }
s.author = { "D4L data4life gGmbH" => "contact@data4life.care" }

s.source = { :http => 'https://github.com/d4l-data4life/d4l-fhir-ios/releases/download/' + s.version.to_s + '/XCFrameworks-' + s.version.to_s + '.zip' }
s.swift_version = '5.3'
s.platform = :ios, '12.0'
s.platform = :ios, '13.0'
s.requires_arc = true
s.cocoapods_version = '>= 1.10.0'

s.vendored_frameworks = 'Data4LifeFHIR.xcframework'
s.preserve_paths = 'Data4LifeFHIR.xcframework', 'Data4LifeFHIR.dSYMs/Data4LifeFHIR.framework.ios-arm64.dSYM', 'Data4LifeFHIR.dSYMs/Data4LifeFHIR.framework.ios-arm64_x86_64-simulator.dSYM'
s.dependency 'Data4LifeSDKUtils', '0.4.0'
s.dependency 'Data4LifeSDKUtils', '0.5.0'
end
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"repositoryURL": "git@github.com:d4l-data4life/d4l-utils-ios.git",
"state": {
"branch": null,
"revision": "02206ce8d9644c0731f6487d9330aba715400f6e",
"revision": "d6b031cb237ddb424f66a3b197121afa23fb67c2",
"version": "0.5.0"
}
}
Expand Down
4 changes: 2 additions & 2 deletions ModelsR4.podspec
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
Pod::Spec.new do |s|
s.name = "ModelsR4"
s.version = "0.19.0"
s.version = "0.20.0"
s.summary = "Apple Models for FHIRR4"
s.homepage = "https://github.com/d4l-data4life/d4l-fhir-ios/"
s.license = 'Private License'
s.author = { "D4L data4life gGmbH" => "contact@data4life.care" }

s.source = { :http => 'https://github.com/d4l-data4life/d4l-fhir-ios/releases/download/' + s.version.to_s + '/XCFrameworks-' + s.version.to_s + '.zip' }
s.swift_version = '5.3'
s.platform = :ios, '12.0'
s.platform = :ios, '13.0'
s.requires_arc = true
s.cocoapods_version = '>= 1.10.0'

Expand Down
22 changes: 12 additions & 10 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import PackageDescription
let package = Package(
name: "Data4LifeFHIR",
platforms: [
.iOS(.v12),
.iOS(.v13),
],
products: [
.library(
Expand All @@ -19,26 +19,23 @@ let package = Package(
dependencies: [
.package(name: "Data4LifeSDKUtils",
url: "git@github.com:d4l-data4life/d4l-utils-ios.git",
.upToNextMinor(from: "0.4.0"))
.upToNextMinor(from: "0.5.0"))
],
targets: [
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
// Targets can depend on other targets in this package, and on products in packages this package depends on.
.binaryTarget(
name: "Data4LifeFHIR",
url: "https://github.com/d4l-data4life/d4l-fhir-ios/releases/download/0.19.0/Data4LifeFHIR-xcframework-0.19.0.zip",
checksum: "aa3d871f5dc57fb6b1e359fa4275e1e36cd8e1535786f106478d7cfbcc4ced29"
url: "https://github.com/d4l-data4life/d4l-fhir-ios/releases/download/0.20.0/Data4LifeFHIR-xcframework-0.20.0.zip",
checksum: "b3eb7e04981891017aec1050f1551621447d3a745193a40643c368ee60b84e16"
),
.binaryTarget(
name: "ModelsR4",
url: "https://github.com/d4l-data4life/d4l-fhir-ios/releases/download/0.19.0/ModelsR4-xcframework-0.19.0.zip",
checksum: "fd900a118f796175f4c66f5ff3a73ac49552fcb8ec7f9eafba3b524e953eb0cc"
url: "https://github.com/d4l-data4life/d4l-fhir-ios/releases/download/0.20.0/ModelsR4-xcframework-0.20.0.zip",
checksum: "af182810f0e2ab04d2b473f6929a0b1177214a0095630095e297106df09533a5"
),
.target(name: "Data4LifeFhirSPMFrameworks",
dependencies: [
.product(name: "CryptoSwift",
package: "Data4LifeSDKUtils",
condition: .when(platforms: [.iOS])),
.product(name: "Data4LifeSDKUtils",
package: "Data4LifeSDKUtils",
condition: .when(platforms: [.iOS])),
Expand All @@ -49,6 +46,11 @@ let package = Package(
dependencies: ["Data4LifeFhirSPMFrameworks"],
path: "FhirStu3/Tests",
exclude: ["Info.plist"],
resources: [.process("Examples")])
resources: [.process("Examples")]),
.testTarget(name: "ModelsR4Tests",
dependencies: ["ModelsR4"],
path: "FhirR4/Tests",
exclude: ["Info.plist"],
resources: [.process("Resources")])
]
)
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# d4l-fhir-ios
Minimal FHIR standard models and data types for iOS

[![CocoaPods Compatible](https://img.shields.io/badge/pod-v0.19.0-blue.svg)](https://github.com/CocoaPods/CocoaPods)
[![CocoaPods Compatible](https://img.shields.io/badge/pod-v0.20.0-blue.svg)](https://github.com/CocoaPods/CocoaPods)
[![Swift Package Manager compatible](https://img.shields.io/badge/SPM-compatible-brightgreen.svg?style=flat&colorA=28a745&&colorB=4E4E4E)](https://github.com/apple/swift-package-manager)
[![License](https://img.shields.io/badge/license-PRIVATE-blue.svg)](https://github.com/d4l-data4life/d4l-fhir-ios/blob/main/LICENSE)

Expand Down Expand Up @@ -41,8 +41,8 @@ To install with [CocoaPods](https://cocoapods.org/) add the following lines (acc
```ruby
source 'https://github.com/d4l-data4life/d4l-cocoapods-specs.git'

pod 'Data4LifeFHIR', '~> 0.19.0'
pod 'ModelsR4', '~> 0.19.0'
pod 'Data4LifeFHIR', '~> 0.20.0'
pod 'ModelsR4', '~> 0.20.0'
```

**Note**: For more info check [README](https://github.com/d4l-data4life/d4l-cocoapods-specs/blob/master/README.md).
Expand All @@ -52,7 +52,7 @@ pod 'ModelsR4', '~> 0.19.0'
To install with [Swift Package Manager](https://swift.org/package-manager/) add this package as a dependency in `Package.swift`:

```swift
.package(url: "https://github.com/d4l-data4life/d4l-fhir-ios.git", .upToNextMinor(from: "0.19.0"))
.package(url: "https://github.com/d4l-data4life/d4l-fhir-ios.git", .upToNextMinor(from: "0.20.0"))
```

### Building
Expand All @@ -62,15 +62,15 @@ To install with [Swift Package Manager](https://swift.org/package-manager/) add
bundler install
```

### Generating models

#### Install Sourcery

```sh
brew install sourcery
```
*Note*: For other installation methods check [README](https://github.com/krzysztofzablocki/Sourcery).

### Generating models

#### Static files
These directories are not generated and are not meant to be removed from the project. They include FHIR DateTime encoding/tests and helpers/tests for contained resources.
* `FhirStu3/Sources/Helpers`
Expand Down
Empty file removed dummy
Empty file.

0 comments on commit a910bdd

Please sign in to comment.