Supacode
Blogs GitHub

Explore Supa Libs

  • Supa ProtoProxy protocol · Go / Android / iOS
  • Terminal UICross-platform component library

Download

  • Supa Proto releases

Source

  • supa-proto
  • terminal-ui

Explore Supa Apps

  • Supa CudyOpenWrt firmware for the Cudy TR3000
  • Supa LiveDesktop live-stream recorder

Download

  • Supa Cudy firmware
  • Supa Live

Guides

  • Flashing the TR3000
  • supa-cudy
  • supa-live
Blogs GitHub↗

Explore Supa Libs

Supa ProtoProxy protocol · Go / Android / iOS Terminal UICross-platform component library

Download

Supa Proto releases

Source

supa-proto terminal-ui

Explore Supa Apps

Supa CudyOpenWrt firmware for the Cudy TR3000 Supa LiveDesktop live-stream recorder

Download

Supa Cudy firmware Supa Live

Guides

Flashing the TR3000 supa-cudy supa-live

Blog / Category

Programming

All 23 Programming 8 Netizen 7 OS & System 6 Life 1

Programming 2026.11.14

侧滑返回卡死:手势结束早于 startInteractiveTransition

快速轻扫一下侧滑返回,整个页面就卡死了。原因是 UIKit 的交互转场不会马上开始,而手势可以在它开始之前就结束。记录一次排查:先猜错了,然后让日志说话。

7 min read→

Programming 2025.11.01

iOS 18 PhotoKit fetchAssetCollections Compatibility

With the release of iOS 18 SDK, many developers have noticed that the same code no longer returns the expected albums on the new system.

2 min read→

Programming 2024.09.07

UIScrollViewDelegate的几种特殊情况

常见的一些UIScrollViewDelegate代理回调可以参考https://www.cnblogs.com/cchHers/p/12423838.html,下面列出的主要是一些特殊情况。 1. scrollViewWillBeginDecelerating和scrollViewDidEndDe

1 min read→

Programming 2024.07.15

Xcode报错“Failed to load plug-in”解决方案

错误描述 升级了Xcode 16 beta3后无法正常启动,报错显示 Failed to load plug-in. 通过命令行启动可以发现错误信息 Last login: Sun Jul 14 22:51:58 on console /Users/xxx/.zprofile:8: no such

1 min read→

Programming 2023.04.18

使用Environment、EnvironmentObject遇到的问题

问题和解决 最近开始学习Swift的一些高阶知识,遂计划在写了一半的小项目中使用@EnvironmentObject来代替@Binding。 在替换的过程中,大部分的View都work perfectly fine,然而每当点开某个View时就会引发崩溃,并且报错: A view is missin

1 min read→

Programming 2022.11.17

How to Make a Game Joystick, Using SwiftUI

Just a few days ago, I received an assignment that required me to design a controller for a mobile game. In this assignment, I am implementing a knock

2 min read→

Programming

Programming 2022.11.01

Swift Foundational Addons I: Variables and Constants

Defining We can declare multiple constants or multiple variables on a single line, separated by commas. var a = 1, b = 2.9, c = "string" //euals to va

2 min read→

Programming

Programming 2021.09.08

CET成绩批量查询(python)

使用python进行爬虫。需要修改一些参数。 原始数据存放在Excel表格中。 # -*- coding: utf-8 -*- import urllib.request import urllib.error import http.cookiejar from PIL import ImageT

1 min read→

Supacode
Home Blog Archive RSS GitHub

© 2026 Supacode · Weirui Kong