Comments in functions
Open
Beginner friendly
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 3.2k
- Forks
- 106
- Avg merge
- 6d 13h
- Merged PRs (30d)
- 1
Description
There's a few methods like onInit() onLaunch() onResume() onDestroy() that are being called for both platforms. It would be very helpful if the code has a comment on each function to know which function is calling them like:
// application(_:didFinishLaunchingWithOptions:)
/* SKIP @bridge */public func onLaunch() {
//logger.debug("onLaunch")
}
/// applicationWillTerminate
/* SKIP @bridge */public func onDestroy() {
logger.debug("onDestroy")
}
Contributor 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.
Research direction
Locate the onInit(), onLaunch(), onResume(), and onDestroy() methods and inspect how each is reached on iOS and Android. Add comments identifying the corresponding platform lifecycle callbacks for each method, then verify that all listed functions are documented consistently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, ios, swift
- Domain
- documentation, mobile-dev
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 72/100