Browse Source

CHANGE: Rename configureWith(horizontal: ConstraintLoader, portrait: ConstraintLoader) to configure(withHorizontal horizontal: ConstraintLoader, portrait: ConstraintLoader)

xcbosa 3 years ago
parent
commit
0ee3e4b41f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Sources/FastLayout/FLViewState.swift

+ 1 - 1
Sources/FastLayout/FLViewState.swift

@@ -71,7 +71,7 @@ extension FLViewStateManager {
     
     public typealias ConstraintLoader = () -> Void
     
-    public func configureWith(horizontal: ConstraintLoader, portrait: ConstraintLoader) {
+    public func configure(withHorizontal horizontal: ConstraintLoader, portrait: ConstraintLoader) {
         if self.viewStates.count > 0 {
             fatalError("FLViewStateManager.configureWith(horizontal: portrait:) can't called after register(viewState:) called.")
         }