-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from SerhanAksut/improvement/example-project
Resolve-SampleProject-Issues
- Loading branch information
Showing
15 changed files
with
87 additions
and
253 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
16 changes: 16 additions & 0 deletions
16
ExampleProject/ExampleProject/FeatureStore+Extensions.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
|
||
import FeatureInterface | ||
import FeatureStore | ||
import FirstFeature | ||
import SecondFeature | ||
|
||
extension FeatureStore { | ||
func registerFeatures() { | ||
FeatureStore.shared.register(FirstFeatureBuilderProtocol.self) { | ||
FirstFeatureBuilder() | ||
} | ||
FeatureStore.shared.register(SecondFeatureBuilderProtocol.self) { | ||
SecondFeatureBuilder() | ||
} | ||
} | ||
} |
66 changes: 0 additions & 66 deletions
66
ExampleProject/Features/.swiftpm/xcode/xcshareddata/xcschemes/FirstFeature.xcscheme
This file was deleted.
Oops, something went wrong.
66 changes: 0 additions & 66 deletions
66
ExampleProject/Features/.swiftpm/xcode/xcshareddata/xcschemes/SecondFeature.xcscheme
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
ExampleProject/Features/Sources/FirstFeature/FirstFeatureBuilder.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
ExampleProject/Features/Sources/SecondFeature/SecondFeatureBuilder.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.