Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multilingual support #10

Open
Andy0570 opened this issue Jan 10, 2022 · 0 comments
Open

Multilingual support #10

Andy0570 opened this issue Jan 10, 2022 · 0 comments

Comments

@Andy0570
Copy link

Andy0570 commented Jan 10, 2022

当我在 Xcode 注释中输入中文字符时,格式化功能似乎失效了。


When I type Chinese characters in Xcode comments, the formatting function seems to have failed.

For example:

extension SearchViewController: URLSessionDelegate {
  // 当后台任务执行完成后,捕获这个委托方法提供的完成处理程序。调用完成处理程序告诉操作系统,你的应用程序已经完成了当前会话的所有后台活动的工作。它还会导致操作系统快照你更新的用户界面,以便在应用程序切换器中显示
  func urlSessionDidFinishEvents(forBackgroundURLSession session: URLSession) {
    DispatchQueue.main.async {
      if let appDelegate = UIApplication.shared.delegate as? AppDelegate,
         let completionHandler = appDelegate.backgroundSessionCompletionHandler {
        appDelegate.backgroundSessionCompletionHandler = nil
        completionHandler()
      }
    }
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant