leavesster
leavesster
直接翻译成美语,有点转不过弯来,也有一点别扭。 另外 upper-case 只做大写,有一点点中文数字大写的意味,读起来有一点点不顺。
ios archor now is `#usage-iosmacos` not `#usage-ios`
在空项目中,使用如下代码,设置 ``` # 修改 UIBarButtonItem 样式 [[UIBarButtonItem appearanceWhenContainedInInstancesOfClasses:@[[UINavigationBar class]]] setTitleTextAttributes:@{NSFontAttributeName: [UIFont systemFontOfSize:14], NSForegroundColorAttributeName: [UIColor orangeColor]} forState:UIControlStateNormal]; [[UIBarButtonItem appearanceWhenContainedInInstancesOfClasses:@[[UINavigationBar class]]] setTitleTextAttributes:@{NSFontAttributeName: [UIFont systemFontOfSize:15], NSForegroundColorAttributeName: [UIColor redColor]} forState:UIControlStateHighlighted]; # 设置rightBarButtonItem self.navigationItem.rightBarButtonItem =...
现有参数名称与 C++ 关键字冲突
It seems that` [[NSUserDefaults standardUserDefaults] setObject:@"fr" forKey:@"AppleLanguages"];` does not work. `[[NSUserDefaults standardUserDefaults] setObject:[NSArray arrayWithObjects:@"fr", nil] forKey:@"AppleLanguages"];` works fine.
绕过 web 控制台,海外节点操作失败率太高的问题。
**Reasons for making this change:** git will ignore `node_modules` directory in any nest directories whether we write `node_modules/` or `node_module`. However `npm` only ignore `node_modules` in subdirectories when we write...
according [MDN scrollHeight document](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollHeight#determine_if_an_element_has_been_totally_scrolled) > scrollTop is a non-rounded number, while scrollHeight and clientHeight are rounded — so the only way to determine if the scroll area is scrolled to...
"I found that the output of the changed files includes not only the contents of the pull request but also the contents of the latest commit in the main branch."...
**Description:** Add cache restore key for all package managers. According to github cache document [action/cache npm cache](https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/caching-dependencies-to-speed-up-workflows#input-parameters-for-the-cache-action) npm can use restore key to improve cache restore. And [yarn](https://github.com/actions/cache/blob/main/examples.md#node---yarn) and [yarn2](https://github.com/actions/cache/blob/main/examples.md#node---yarn-2)...