forked from jdisho/Papr
-
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.
dismiss the container in cancel action
- Loading branch information
Showing
5 changed files
with
127 additions
and
9 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 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
40 changes: 40 additions & 0 deletions
40
Papr/Scenes/Add to collection/Cell/PhotoCollectionCellModel.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,40 @@ | ||
// | ||
// PhotoCollectionCellModel.swift | ||
// Papr | ||
// | ||
// Created by Joan Disho on 22.04.18. | ||
// Copyright © 2018 Joan Disho. All rights reserved. | ||
// | ||
|
||
import Foundation | ||
import RxSwift | ||
|
||
protocol PhotoCollectionCellModelInput { | ||
|
||
} | ||
|
||
protocol PhotoCollectionCellModelOutput { | ||
|
||
} | ||
|
||
|
||
protocol PhotoCollectionCellModelType { | ||
var inputs: PhotoCollectionCellModelInput { get } | ||
var outputs: PhotoCollectionCellModelOutput { get } | ||
} | ||
|
||
class PhotoCollectionCellModel: PhotoCollectionCellModelInput, | ||
PhotoCollectionCellModelOutput, | ||
PhotoCollectionCellModelType { | ||
|
||
|
||
// MARK: Inputs & Outputs | ||
var inputs: PhotoCollectionCellModelInput { return self } | ||
var outputs: PhotoCollectionCellModelOutput { return self } | ||
|
||
// MARK: Inputs | ||
|
||
|
||
// MARK: Outputs | ||
|
||
} |