kemchenj 最近的时间轴更新
kemchenj's repos on GitHub
Swift · 26 人关注
CustomJSONDecoder
Swift · 20 人关注
DeselectRowTheBestWay
tableView deselectRow 的最佳实践
Swift · 1 人关注
arm64-to-sim
Transmogrify native iOS frameworks to run in iOS Simulator on Apple silicon.
Swift · 1 人关注
async-kit
Sugary extensions for the SwiftNIO library
Swift · 1 人关注
BuglyForSPM
Swift · 1 人关注
Charts
Beautiful charts for iOS/tvOS/OSX! The Apple side of the crossplatform MPAndroidChart.
1 人关注
CombineExt
CombineExt provides a collection of operators, publishers and utilities for Combine, that are not provided by Apple themselves, but are common in other Reactive Frameworks and standards.
Swift · 1 人关注
console-kit
💻 APIs for creating interactive CLI tools.
Swift · 1 人关注
ControlRoom
A macOS app to control the Xcode Simulator.
Ruby · 1 人关注
danger
🚫 Stop saying "you forgot to …" in code review (in Ruby)
Ruby · 1 人关注
DynamicEnvironmentURL
Ruby · 1 人关注
GitPathEscapeBug
0 人关注
3DLiveScanner
Swift · 0 人关注
AMScrollingNavbar
Scrollable UINavigationBar that follows the scrolling of a UIScrollView
Ruby · 0 人关注
ChartsDemo
Swift · 0 人关注
CHIPageControl
A set of cool animated page controls written in Swift to replace boring UIPageControl.
Objective-C · 0 人关注
CocoaDebugKit
Debugging made easy. Automatically create QuickLook images of custom objects
Ruby · 0 人关注
cocoapods-disable-podfile-validations
A small CocoaPods plugin that allows disabling individual Podfile validations.
0 人关注
DetectorFreeSfM
Code for "Detector-Free Structure from Motion", CVPR 2024
Swift · 0 人关注
DispatchQueue
JavaScript · 0 人关注
engine
Fast and lightweight JavaScript game engine built on WebGL and glTF
Ruby · 0 人关注
examples
📝 A collection of example fastlane setups
0 人关注
fastlane
🚀 The easiest way to automate building and releasing your iOS and Android apps
Ruby · 0 人关注
Fastlane-BearyChat-Plugin
bearychat lane for upcoming fastlane plugins
Ruby · 0 人关注
fir-cli
fir.im command-line interface
C++ · 0 人关注
FlexLayout
FlexLayout adds a nice Swift interface to the highly optimized facebook/yoga flexbox implementation. Concise, intuitive & chainable syntax.
Swift · 0 人关注
fluent-kit
Swift ORM (queries, models, and relations) for NoSQL and SQL databases
0 人关注
gaussian-splatting
Original reference implementation of "3D Gaussian Splatting for Real-Time Radiance Field Rendering"
0 人关注
GDPerformanceView-Swift
Shows FPS, CPU and memory usage, device model, app and iOS versions above the status bar and report FPS, CPU and memory usage via delegate.
JavaScript · 0 人关注
gh-oauth-server
kemchenj

kemchenj

Hackable Life?
🏢  都干工程师
V2EX 第 141929 号会员,加入于 2015-10-10 10:05:58 +08:00
已读不回
kemchenj 最近回复了
我之前也是这样,后面发现是因为电脑设置里的区域和语言没改,必须改成美国和英语,你可以看看是不是一样的问题
通过 UA 就可以判断了 https://uaparser.dev
IAP 的接口本身就可以指定数量 https://developer.apple.com/documentation/storekit/skmutablepayment/1506170-quantity

不过最多只能指定 10 件,可能也用了你说的第一种方法吧
51 天前
回复了 whoami9426 创建的主题 Swift 请教 SwiftUI 布局的问题
最外层的 ScrollView 可以用 scrollDisabled(:_) 去控制是否禁用滚动手势,在内层的 ScrollView 用 GeometryReader 之类的监控一下 offset ,判断是否需要禁用滚动手势
其它端不清楚,iOS 端其实就是虚拟滚动,列表会维护一个重用池,把不可见的 cell 塞进去,然后需要展示的时候从里面拿 cell 出来显示,如果发现不够就再补充新的进来

iOS 封装得还行,但也免不了各种限制和小毛病,都是需要开发者额外做一些处理去完善体验,例如预先计算每个元素的高度以便把列表撑开之类的...

感兴趣的话可以搜一下“UITableView 重用”
感觉 20QPS 很不合理,改成每分钟 600 次之类的会比较科学一点...
232 天前
回复了 linzhe141 创建的主题 Node.js github action 的 pnpm --filter 和本地执行不一致?
看起来像是 ./packages/* 被 shell 展开了?加了个双引号括住它试试

pnpm run -r --filter "./packages/*" build:src
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   879 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 16ms · UTC 20:21 · PVG 04:21 · LAX 13:21 · JFK 16:21
Developed with CodeLauncher
♥ Do have faith in what you're doing.