Skip to content

Instantly share code, notes, and snippets.

@choco0908
Created July 7, 2022 12:35
Show Gist options
  • Save choco0908/08cb4171d2f1c9bddab7906157d2b526 to your computer and use it in GitHub Desktop.
Save choco0908/08cb4171d2f1c9bddab7906157d2b526 to your computer and use it in GitHub Desktop.
swift 주석 작성 테스트
//
// 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