Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: ssestak <126681667+ssestak@users.noreply.github.com>
  • Loading branch information
mikolasstuchlik and ssestak authored Aug 26, 2024
1 parent 96163ae commit 490f657
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Sources/FuturedArchitecture/Architecture/ComponentModel.swift
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import Foundation

/// `ComponentModel` is an analogy to `ViewModel`. Each *compoenent model* should have
/// `ComponentModel` is an analogy to `ViewModel`. Each *component model* should have
/// it's own protocol which uses the `ComponentModel` protocol as it's requirement. This allows us
/// to create a Mock implementations of compoenent models and allow for simpler and more scalable
/// to create a Mock implementations of component models and allow for simpler and more scalable
/// SwiftUI Previews.
///
/// As is eluded to by `ComponentModel`, each component model has two main competencies:
Expand Down
2 changes: 1 addition & 1 deletion Sources/FuturedArchitecture/Architecture/DataCache.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import Foundation
/// An Application should contain one shared application-wide cache, but each
/// coordinator may also create a private data cache.
///
/// The data from data chache should be taken as a subscription and modified
/// The data from data cache should be taken as a subscription and modified
/// only via provided `update` methods. As a general rule, value types should
/// be used as a `Model`.
///
Expand Down

0 comments on commit 490f657

Please sign in to comment.