code review
This commit is contained in:
parent
8aae29de40
commit
a5a655c0e7
@ -73,6 +73,7 @@ import Foundation
|
||||
var container = encoder.container(keyedBy: CodingKeys.self)
|
||||
try container.encode(moleculeName, forKey: .moleculeName)
|
||||
try container.encodeIfPresent(headline, forKey: .headline)
|
||||
try container.encodeIfPresent(body, forKey: .body)
|
||||
try container.encodeIfPresent(style, forKey: .style)
|
||||
try container.encodeIfPresent(backgroundColor, forKey: .backgroundColor)
|
||||
}
|
||||
|
||||
@ -18,7 +18,7 @@ public protocol PageBehaviorProtocol: ModelHandlerProtocol {
|
||||
Behavior conforming protocols. Behaviors will conform to one or more of these protocols to receive page lifecycle events that pertain to them.
|
||||
*/
|
||||
|
||||
public protocol PageMoleculeTransformationBehavior {
|
||||
public protocol PageMoleculeTransformationBehavior: PageBehaviorProtocol {
|
||||
|
||||
func onPageNew(rootMolecules: [MoleculeModelProtocol], _ delegateObject: MVMCoreUIDelegateObject)
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user