Created
July 7, 2022 12:35
-
-
Save choco0908/08cb4171d2f1c9bddab7906157d2b526 to your computer and use it in GitHub Desktop.
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
// | |
// TestClass.swift | |
// TestProject | |
// | |
// Created by hgkwon on 2022/07/07. | |
// | |
import Foundation | |
/** | |
# TestClass 작성하기 | |
You can apply *italic*, **bold**, or `code` inline styles. | |
## Unordered Lists | |
- Sub-list formatting... | |
## Ordered Lists | |
1. Ordered lists, too, | |
*/ | |
class TestClass: NSObject { | |
var name:String? | |
var age:Int? | |
override init() { | |
name = "Test" | |
age = 20 | |
} | |
/** | |
내 이름 출력하는 함수 | |
- Parameter name: 문자열 이름 | |
*/ | |
func printName(_ name:String) { | |
print("my name is \(name)") | |
} | |
private func privateFucntion() { | |
print("I'm private") | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment