Created
May 13, 2020 23:51
-
-
Save aybekckaya/abdca873bcd97a9016125aaaded6c45a to your computer and use it in GitHub Desktop.
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
// MARK: {Extension_Name} | |
extension {Class_Name} { | |
fileprivate func {Func_Name}() { | |
// It may be reachable from other extensions | |
// This function may use other fileprivate functions from other extensions | |
} | |
private func {Private_Func}()->{Returned_Value} { | |
// Do not use any function , but it may use a class variable inside it | |
// Oftenly returns a value | |
} | |
} | |
// MARK: Public Functions | |
extension {Class_Name} { | |
func {Func_Name}() { | |
// Callable function from other classes | |
// This function should be as short as possible. | |
// Oftenly in this function it calls other fileprivate function in this class | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment