[내용 추가] Naming convention for the delegates and the data sources methods
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 38/100
- Issue type
- Documentation
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- swift
- Domain
- documentation
Research direction
No file or test is named in the issue. Start by locating the delegate and data source naming guidance in the style guide, then compare the existing conventions with the examples in the issue. Done means the guide clearly documents the relevant noun- and verb-based naming rules with representative Swift examples.
Written by the indexing model from the issue text.
Description
이슈 중복 확인
확인했습니다
카테고리
델리게이트
protocol UserTableViewDelegate {
func tableView(
_ tableView: UITableView,
willDisplayCell cell: Cell,
cellForRowAt indexPath: IndexPath)
)
func tableView(
_ tableView: UITableView,
numberOfRowsInSection section: Int) -> Int
)
}
delegate 역할, dataSource 역할에 따른 네이밍 규칙을 명시해주면 좋을 것 같습니다.
e.g., When naming the data source method, please make sure that the second parameter name ends in a noun form. For example, when the data source method returns the number of rows in the specific section, you should name it like tableView(_:numberOfRowsInSection:) -> This allows you to infer what value the method returns.
e.g., When naming the data source method, please make sure that the second parameter name ends in a verb form. For example, myTableView(_:didTapCell:forRowAt:), myTableView(_:willDisplayCell:forRowAt:)
- Dominant language
- No language data
- Stars
- 273
- Forks
- 42
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from DeveloperAcademy-POSTECH/swift-style-guide
-
[내용 추가 및 수정] <SwiftUI 스타일 가이드>May be free again @KhoraLee claimed this 214 days ago, and no pull request is open. Open
DeveloperAcademy-POSTECH/swift-style-guide#81 · 1 assignee ·
-
[오탈자 신고] 클로져-후행 클로저 축약-Bad 경우의 예제코드 오류Possibly taken @KhoraLee claimed this 214 days ago. Open
DeveloperAcademy-POSTECH/swift-style-guide#78 · 1 assignee ·
-
기본 리뷰어를 수정 해야합니다Open
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
-
[내용 추가] <네이밍-약어>Open
Difficulty 3/5 1-2 days Newbie friendliness 25/100
DeveloperAcademy-POSTECH/swift-style-guide#63 · 2 comments ·
-
[오탈자 신고] <네이밍-열거형>Possibly taken @KhoraLee claimed this 214 days ago. Open
Difficulty 1/5 Under an hour Newbie friendliness 55/100
All issues in DeveloperAcademy-POSTECH/swift-style-guide
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 65/100
MicrosoftLearning/MS-721T00-Collaboration-Communications-Systems-Engineer#134 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 68/100
soxoj/awesome-osint-mcp-servers#227 ·
Maintainers usually reply within 2 days
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 75/100
nucleus-ffm/foss_warn#337 ·
-
intake mcp-intake needs-human-review priority:high type:bug
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Ikalus1988/MisakaNet#6137 · 2 comments ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 75/100
valkey-io/valkey-large-object#222 ·
Maintainers usually reply within 1 day