Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 621042a

Browse files
author
Td Kim
authored
Update comments.md
1 parent de61f78 commit 621042a

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

‎Swift/comments.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#Comments
1+
#Comment
22

33
###주석 달 때
44
```swift
@@ -14,6 +14,27 @@ func funcName(Hello: String, World: String) -> {
1414

1515
```
1616

17+
###MARK
18+
```swift
19+
//MARK: 어쩌고 저쩌고
20+
//MARK:- 어쩌고 저쩌고
21+
22+
23+
// MARK: - TaskEditViewControllerDelegate
24+
```
25+
26+
###Delegate: class
27+
```: class```
28+
```swift
29+
30+
protocol TaskEditViewControllerDelegate: class { //: class 는 참조타입에만 적용된다는 표시
31+
32+
func taskEditViewController(_ taskEditViewController: TaskEditViewController, didAddTask task: Task)
33+
34+
}
35+
36+
```
37+
1738

1839
####Ref
1940
http://useyourloaf.com/blog/swift-documentation-quick-guide/

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /