skiptools / skiptools/skip

Comments in functions

Open Beginner friendly
#711 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.