Skip to content

Commit fe84f4f

Browse files
authored
Update README to current organisation
1 parent 1b15e5a commit fe84f4f

1 file changed

Lines changed: 17 additions & 17 deletions

File tree

README.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Encoder & Decoder for XML using Swift's `Codable` protocols.
55
[![Version](https://img.shields.io/cocoapods/v/XMLCoder.svg?style=flat)](https://cocoapods.org/pods/XMLCoder)
66
[![License](https://img.shields.io/cocoapods/l/XMLCoder.svg?style=flat)](https://cocoapods.org/pods/XMLCoder)
77
[![Platform](https://img.shields.io/badge/platform-watchos%20%7C%20ios%20%7C%20tvos%20%7C%20macos%20%7C%20linux%20%7C%20windows-lightgrey.svg?style=flat)](https://cocoapods.org/pods/XMLCoder)
8-
[![Coverage](https://img.shields.io/codecov/c/github/MaxDesiatov/XMLCoder/main.svg?style=flat)](https://codecov.io/gh/maxdesiatov/XMLCoder)
8+
[![Coverage](https://img.shields.io/codecov/c/github/CoreOffice/XMLCoder/main.svg?style=flat)](https://codecov.io/gh/maxdesiatov/XMLCoder)
99

1010
This package is a fork of the original
1111
[ShawnMoore/XMLParsing](https://github.com/ShawnMoore/XMLParsing)
@@ -41,7 +41,7 @@ let encodedXML = try! XMLEncoder().encode(note, withRootKey: "note")
4141
## Advanced features
4242

4343
The following features are available in [0.4.0
44-
release](https://github.com/MaxDesiatov/XMLCoder/releases/tag/0.4.0) or later
44+
release](https://github.com/CoreOffice/XMLCoder/releases/tag/0.4.0) or later
4545
(unless stated otherwise):
4646

4747
### Stripping namespace prefix
@@ -159,7 +159,7 @@ works for this XML:
159159
</book>
160160
```
161161

162-
Please refer to PR [\#70](https://github.com/MaxDesiatov/XMLCoder/pull/70) by
162+
Please refer to PR [\#70](https://github.com/CoreOffice/XMLCoder/pull/70) by
163163
[@JoeMatt](https://github.com/JoeMatt) for more details.
164164

165165
### Coding key value intrinsic
@@ -201,13 +201,13 @@ struct Foo: Codable, DynamicNodeEncoding {
201201
```
202202

203203
Thanks to [@JoeMatt](https://github.com/JoeMatt) for implementing this in
204-
in PR [\#73](https://github.com/MaxDesiatov/XMLCoder/pull/73).
204+
in PR [\#73](https://github.com/CoreOffice/XMLCoder/pull/73).
205205

206206
### Preserving whitespaces in element content
207207

208208
By default whitespaces are trimmed in element content during decoding. This
209209
includes string values decoded with [value intrinsic keys](#coding-key-value-intrinsic).
210-
Starting with [version 0.5](https://github.com/MaxDesiatov/XMLCoder/releases/tag/0.5.0)
210+
Starting with [version 0.5](https://github.com/CoreOffice/XMLCoder/releases/tag/0.5.0)
211211
you can now set a property `trimValueWhitespaces` to `false` (the default value is `true`) on
212212
`XMLDecoder` instance to preserve all whitespaces in decoded strings.
213213

@@ -216,13 +216,13 @@ you can now set a property `trimValueWhitespaces` to `false` (the default value
216216
When decoding pretty-printed XML while `trimValueWhitespaces` is set to `false`, it's possible
217217
for whitespace elements to be added as child elements on an instance of `XMLCoderElement`. These
218218
whitespace elements make it impossible to decode data structures that require custom `Decodable` logic.
219-
Starting with [version 0.13.0](https://github.com/MaxDesiatov/XMLCoder/releases/tag/0.13.0) you can
219+
Starting with [version 0.13.0](https://github.com/CoreOffice/XMLCoder/releases/tag/0.13.0) you can
220220
set a property `removeWhitespaceElements` to `true` (the default value is `false`) on
221221
`XMLDecoder` to remove these whitespace elements.
222222

223223
### Choice element coding
224224

225-
Starting with [version 0.8](https://github.com/MaxDesiatov/XMLCoder/releases/tag/0.8.0),
225+
Starting with [version 0.8](https://github.com/CoreOffice/XMLCoder/releases/tag/0.8.0),
226226
you can encode and decode `enum`s with associated values by conforming your
227227
`CodingKey` type additionally to `XMLChoiceCodingKey`. This allows decoding
228228
XML elements similar in structure to this example:
@@ -272,12 +272,12 @@ extension IntOrString: Codable {
272272
}
273273
```
274274

275-
This is described in more details in PR [\#119](https://github.com/MaxDesiatov/XMLCoder/pull/119)
275+
This is described in more details in PR [\#119](https://github.com/CoreOffice/XMLCoder/pull/119)
276276
by [@jsbean](https://github.com/jsbean) and [@bwetherfield](https://github.com/bwetherfield).
277277

278278
### Integrating with [Combine](https://developer.apple.com/documentation/combine)
279279

280-
Starting with XMLCoder [version 0.9](https://github.com/MaxDesiatov/XMLCoder/releases/tag/0.9.0),
280+
Starting with XMLCoder [version 0.9](https://github.com/CoreOffice/XMLCoder/releases/tag/0.9.0),
281281
when Apple's Combine framework is available, `XMLDecoder` conforms to the
282282
`TopLevelDecoder` protocol, which allows it to be used with the
283283
`decode(type:decoder:)` operator:
@@ -295,11 +295,11 @@ func fetchBook(from url: URL) -> AnyPublisher<Book, Error> {
295295
}
296296
```
297297

298-
This was implemented in PR [\#132](https://github.com/MaxDesiatov/XMLCoder/pull/132)
298+
This was implemented in PR [\#132](https://github.com/CoreOffice/XMLCoder/pull/132)
299299
by [@sharplet](https://github.com/sharplet).
300300

301301
Additionally, starting with [XMLCoder
302-
0.11](https://github.com/MaxDesiatov/XMLCoder/releases/tag/0.11.0) `XMLEncoder`
302+
0.11](https://github.com/CoreOffice/XMLCoder/releases/tag/0.11.0) `XMLEncoder`
303303
conforms to the `TopLevelEncoder` protocol:
304304

305305
```swift
@@ -323,7 +323,7 @@ limitation of the `TopLevelEncoder` API.
323323

324324
Sometimes you need to set attributes on the root element, which aren't
325325
directly related to your model type. Starting with [XMLCoder
326-
0.11](https://github.com/MaxDesiatov/XMLCoder/releases/tag/0.11.0) the `encode`
326+
0.11](https://github.com/CoreOffice/XMLCoder/releases/tag/0.11.0) the `encode`
327327
function on `XMLEncoder` accepts a new `rootAttributes` argument to help with
328328
this:
329329

@@ -350,7 +350,7 @@ The resulting XML will look like this:
350350
</policy>
351351
```
352352

353-
This was implemented in PR [\#160](https://github.com/MaxDesiatov/XMLCoder/pull/160)
353+
This was implemented in PR [\#160](https://github.com/CoreOffice/XMLCoder/pull/160)
354354
by [@portellaa](https://github.com/portellaa).
355355

356356
### Property wrappers
@@ -400,7 +400,7 @@ by [@bwetherfield](https://github.com/bwetherfield).
400400
**Apple Platforms**
401401

402402
- Xcode 11.0 or later
403-
- **IMPORTANT**: compiling XMLCoder with Xcode 11.2.0 (11B52) and 11.2.1 (11B500) is not recommended due to crashes with `EXC_BAD_ACCESS` caused by [a compiler bug](https://bugs.swift.org/browse/SR-11564), please use Xcode 11.3 or later instead. Please refer to [\#150](https://github.com/MaxDesiatov/XMLCoder/issues/150) for more details.
403+
- **IMPORTANT**: compiling XMLCoder with Xcode 11.2.0 (11B52) and 11.2.1 (11B500) is not recommended due to crashes with `EXC_BAD_ACCESS` caused by [a compiler bug](https://bugs.swift.org/browse/SR-11564), please use Xcode 11.3 or later instead. Please refer to [\#150](https://github.com/CoreOffice/XMLCoder/issues/150) for more details.
404404
- Swift 5.1 or later
405405
- iOS 9.0 / watchOS 2.0 / tvOS 9.0 / macOS 10.10 or later deployment targets
406406

@@ -425,7 +425,7 @@ easy as adding it to the `dependencies` value of your `Package.swift`.
425425

426426
```swift
427427
dependencies: [
428-
.package(url: "https://github.com/MaxDesiatov/XMLCoder.git", from: "0.14.0")
428+
.package(url: "https://github.com/CoreOffice/XMLCoder.git", from: "0.14.0")
429429
]
430430
```
431431

@@ -489,7 +489,7 @@ $ brew install carthage
489489
Inside of your `Cartfile`, add GitHub path to `XMLCoder`:
490490

491491
```ogdl
492-
github "MaxDesiatov/XMLCoder" ~> 0.14.0
492+
github "CoreOffice/XMLCoder" ~> 0.14.0
493493
```
494494

495495
Then, run the following command to build the framework:
@@ -539,7 +539,7 @@ PRs before merging.
539539
Our goal is to keep XMLCoder stable and to serialize any XML correctly according
540540
to [XML 1.0 standard](https://www.w3.org/TR/2008/REC-xml-20081126/). All of this
541541
can be easily tested automatically and we're slowly improving [test coverage of
542-
XMLCoder](https://codecov.io/gh/MaxDesiatov/XMLCoder) and don't expect it to
542+
XMLCoder](https://codecov.io/gh/CoreOffice/XMLCoder) and don't expect it to
543543
decrease. PRs that decrease the test coverage have a much lower chance of being
544544
merged. If you add any new features, please make sure to add tests, likewise for
545545
changes and any refactoring in existing code.

0 commit comments

Comments
 (0)