Skip to content

Commit

Permalink
Small migration guide tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
djbe committed Aug 2, 2020
1 parent b750c92 commit b981d8e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
10 changes: 7 additions & 3 deletions Documentation/MigrationGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,20 @@ The `swiftgen <parser>` commands will be completely removed in SwiftGen 7.0, onl
The command to manage templates (list bundled templates, print their content to generate custom templates, open documentation…) has been renamed `swiftgen template` (singular).

`swiftgen templates` (plural) is thus deprecated and will be removed in SwiftGen 7.0.

## Template changes

With Xcode dropping support for Swift 3, we've decided to remove the corresponding bundled templates. For these and other template changes, read the [templates Migration Guide](templates/MigrationGuide.md#swiftgen-62-migration-guide).

# Migrating to SwiftGen 6.0

<details>
<summary>Migration Guide</summary>

If you're migrating from SwiftGen 5.x to SwiftGen 6.0, there might be some migration steps you'll need to use.

Below is a list of pointers to help you migrate to the new SwiftGen 6.0.

<details>
<summary>Migration Guide</summary>

## `storyboards` command has been renamed

The `storyboards` parser command has been renamed `ib`, for Interface Builder. This renaming was necessary to prepare for an upcoming feature of being able to parse `XIB` files too in a future release of SwiftGen.
Expand Down
4 changes: 2 additions & 2 deletions Documentation/SwiftGenKit Contexts/MigrationGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ The parser will no longer normalize string keys, which can lead to duplicate key

SwiftGenKit will no longer consolidate these into one "abcNews" case. It is up to the user to fix this inconsistent casing in their `strings` files, or to adapt a custom template to take that into consideration.

</details>

## Changes for template writers

### XCAssets

Groups now have an extra attribute `isNamespaced` that reflects the "provides namespace" setting in Xcode.

</details>

# SwiftGenKit 2.0 (SwiftGen 5.0) Migration Guide

<details>
Expand Down

0 comments on commit b981d8e

Please sign in to comment.