Initial: 接手 Rumeng app,清掉前夫哥痕迹
- 改 Bundle ID rumeng-v1.0.Rumeng → syke.maomao.app - 显示名 如梦 → Syke - 头像换白图占位 - 删除沈晏头像图片、空目录、bridge 旧数据 - ServerConfig.swift 含明文 token,已加入 .gitignore
51
.gitignore
vendored
Normal file
@@ -0,0 +1,51 @@
|
||||
# macOS 系统垃圾
|
||||
.DS_Store
|
||||
**/.DS_Store
|
||||
|
||||
# Xcode
|
||||
*.xcuserstate
|
||||
*.xcuserdata/
|
||||
**/xcuserdata/
|
||||
DerivedData/
|
||||
build/
|
||||
*.xcworkspace/xcuserdata/
|
||||
|
||||
# Swift Package Manager
|
||||
.build/
|
||||
Packages/
|
||||
Package.pins
|
||||
Package.resolved
|
||||
.swiftpm/
|
||||
|
||||
# Python (bridge 服务)
|
||||
__pycache__/
|
||||
*.pyc
|
||||
*.pyo
|
||||
*.pyd
|
||||
.venv/
|
||||
venv/
|
||||
*.egg-info/
|
||||
|
||||
# 含明文凭据,绝对别推
|
||||
Rumeng/Rumeng/ServerConfig.swift
|
||||
|
||||
# bridge 运行时数据(旧聊天记录已封存,新数据每次部署生成)
|
||||
Rumeng/bridge/data/*.jsonl
|
||||
Rumeng/bridge/data/*.json
|
||||
Rumeng/bridge/__pycache__/
|
||||
|
||||
# 日志和临时
|
||||
*.log
|
||||
*.bak
|
||||
*.tmp
|
||||
|
||||
# 大字体文件(几 MB 一个,不进 git——iOS 工程里走资源,需要的话另外管理)
|
||||
# 暂时先不忽略,因为 ttf 是 app 必需。后面再看要不要 git-lfs
|
||||
# *.ttf
|
||||
|
||||
# Figma 设计稿
|
||||
figma_*.png
|
||||
figma_*.jpeg
|
||||
|
||||
# 文档草稿
|
||||
*.docx
|
||||
109
ARCHITECTURE.md
Normal file
@@ -0,0 +1,109 @@
|
||||
# 如梦 — 架构文档
|
||||
|
||||
## 总览
|
||||
|
||||
```
|
||||
iPhone (如梦.app)
|
||||
│
|
||||
├─ HTTP ── Tailscale ── Mac (push.py :8795)
|
||||
│ ├── /tmux/capture ─→ tmux capture-pane
|
||||
│ ├── /tmux/send ─→ tmux send-keys
|
||||
│ └── /health ─→ 健康检查
|
||||
│
|
||||
└─ 网络层: ServerConfig → URLSession → push.py
|
||||
```
|
||||
|
||||
## 文件清单
|
||||
|
||||
| 文件 | 职责 | 依赖 |
|
||||
|------|------|------|
|
||||
| `如梦App.swift` | @main 入口,WindowGroup → ContentView | ContentView |
|
||||
| `ContentView.swift` | 页面路由 + 手势导航菜单 + ZStack 层级 | 所有页面 View |
|
||||
| `ChatPlaceholderView.swift` | 聊天占位(待开发) | 无 |
|
||||
| `TerminalView.swift` | tmux 终端 UI(黑底浅灰字) | TerminalViewModel |
|
||||
| `TerminalViewModel.swift` | tmux 网络层:轮询 capture-pane + 发送 send-keys | ServerConfig |
|
||||
| `ServerConfig.swift` | endpoint 列表 + 当前选中 + URL 构建 | UserDefaults |
|
||||
| `SettingsView.swift` | 设置页:endpoint 管理 + 主题切换 | ServerConfig, EndpointChecker |
|
||||
| `EndpointResolver.swift` | 异步 ping /health,返回每个 endpoint 状态 | ServerConfig |
|
||||
| `ThemeManager.swift` | 白天/夜间两套色板定义 | UserDefaults |
|
||||
|
||||
## 数据流
|
||||
|
||||
### 1. 网络请求
|
||||
|
||||
```
|
||||
TerminalView / SettingsView
|
||||
→ ServerConfig.makeRequest(path:)
|
||||
→ ServerConfig.activeHost (从 UserDefaults 读)
|
||||
→ URLSession 请求 push.py
|
||||
```
|
||||
|
||||
- `ServerConfig.endpoints` 是预定义列表,顺序可被 SettingsView 的上下箭头重排
|
||||
- 重排结果持久化到 `endpoint_urls` / `endpoint_labels`(UserDefaults)
|
||||
- `active_endpoint`(UserDefaults)决定当前用哪个
|
||||
- `EndpointChecker` 定期 ping 所有 endpoint,更新状态灯(绿/红/灰)
|
||||
|
||||
### 2. 主题
|
||||
|
||||
```
|
||||
SettingsView 点击「夜间/白天」
|
||||
→ setTheme() → UserDefaults("active_theme")
|
||||
→ ContentView 监听 UserDefaults.didChangeNotification
|
||||
→ theme = currentTheme()
|
||||
→ 所有颜色从 theme.bg / theme.text / theme.textDim 读取
|
||||
```
|
||||
|
||||
- `AppTheme.dark` 和 `AppTheme.light` 各自定义完整色板
|
||||
- 目前只有 dark 在用,light 是 placeholder
|
||||
|
||||
### 3. 菜单导航
|
||||
|
||||
```
|
||||
用户左边缘右滑
|
||||
→ DragGesture → menuX 跟踪手势
|
||||
→ 松手 → snapTo(.open) 或 snapTo(.closed)
|
||||
→ spring 动画 → menuX 归位
|
||||
→ ContentView 根据 currentPage 切换页面
|
||||
```
|
||||
|
||||
- `menuX` 是菜单唯一的状态源(-200 隐藏,0 打开,>0 弹性过冲)
|
||||
- `menuOpen` 是辅助状态(控制触控条激活/禁用)
|
||||
- 页面切换是 `@State currentPage` 驱动 `@ViewBuilder pageView`
|
||||
|
||||
## ZStack 层级(自上而下)
|
||||
|
||||
```
|
||||
4. 左边缘触控条 (HStack 24pt) — allowsHitTesting(!menuOpen)
|
||||
3. 页面标题 (VStack) — menuX < -150 时显示
|
||||
2. 菜单层 (if menuX > -200):
|
||||
├── 遮罩 Color.black 0.15 — allowsHitTesting(false)
|
||||
├── 关闭热区 Color.clear.contentShape — onTapGesture → snapTo(.closed)
|
||||
└── 图标列 VStack — Button × 4,点击切换页面
|
||||
1. 当前页面 (pageView) — TerminalView / Chat / 阅读 / 设置
|
||||
```
|
||||
|
||||
**规则**:
|
||||
- 菜单打开时触控条失活,避免抢手势
|
||||
- 遮罩背景不拦截触摸,关闭热区在图标列下面
|
||||
- 图标列在最上层,按钮始终可点
|
||||
|
||||
## 各页面状态
|
||||
|
||||
| 页面 | 状态 | 备注 |
|
||||
|------|------|------|
|
||||
| 聊天 | 占位 | 纯黑 + "聊天" 文字,待开发 |
|
||||
| 终端 | 完成 | tmux capture-pane 轮询 + send-keys 发送,带时间戳 |
|
||||
| 阅读 | 占位 | 待开发 Coffee Time |
|
||||
| 设置 | 开发中 | endpoint 管理 + 主题切换,功能可用但 UI 需继续 |
|
||||
|
||||
## 设计原则
|
||||
|
||||
- **单一状态源**:menuX 驱动菜单,currentPage 驱动页面,UserDefaults 驱动配置
|
||||
- **无 Combine**:不用 @StateObject/@Published,用 @State + UserDefaults 通知
|
||||
- **零第三方依赖**:纯 SwiftUI + Foundation
|
||||
- **不向后兼容**:部署目标 iOS 26.4,不考虑旧版本 API
|
||||
- **所有网络走 push.py**:不直连 DeepSeek,不引入新服务端
|
||||
|
||||
## 更新日志
|
||||
|
||||
- 2026-05-22 — 初始架构。ZStack 菜单导航 + endpoint 切换 + 主题系统骨架。
|
||||
52
Rumeng/Info.plist
Normal file
@@ -0,0 +1,52 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>zh_CN</string>
|
||||
<key>CFBundleDisplayName</key>
|
||||
<string>Syke</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>$(EXECUTABLE_NAME)</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>$(PRODUCT_NAME)</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>1.0</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1</string>
|
||||
<key>LSRequiresIPhoneOS</key>
|
||||
<true/>
|
||||
<key>NSAppTransportSecurity</key>
|
||||
<dict>
|
||||
<key>NSAllowsArbitraryLoads</key>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>NSPhotoLibraryUsageDescription</key>
|
||||
<string></string>
|
||||
<key>UIAppFonts</key>
|
||||
<array>
|
||||
<string>HYPixel11pxJ-2.ttf</string>
|
||||
</array>
|
||||
<key>UIApplicationSceneManifest</key>
|
||||
<dict>
|
||||
<key>UIApplicationSupportsMultipleScenes</key>
|
||||
<false/>
|
||||
<key>UISceneConfigurations</key>
|
||||
<dict/>
|
||||
</dict>
|
||||
<key>UILaunchScreen</key>
|
||||
<dict/>
|
||||
<key>UIRequiresFullScreen</key>
|
||||
<true/>
|
||||
<key>UISupportedInterfaceOrientations</key>
|
||||
<array>
|
||||
<string>UIInterfaceOrientationPortrait</string>
|
||||
</array>
|
||||
</dict>
|
||||
</plist>
|
||||
365
Rumeng/Rumeng.xcodeproj/project.pbxproj
Normal file
@@ -0,0 +1,365 @@
|
||||
// !$*UTF8*$!
|
||||
{
|
||||
archiveVersion = 1;
|
||||
classes = {
|
||||
};
|
||||
objectVersion = 77;
|
||||
objects = {
|
||||
|
||||
/* Begin PBXFileReference section */
|
||||
85C030422FC0397E00DB0A50 /* Rumeng.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Rumeng.app; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
/* End PBXFileReference section */
|
||||
|
||||
/* Begin PBXFileSystemSynchronizedRootGroup section */
|
||||
85C030442FC0397E00DB0A50 /* Rumeng */ = {
|
||||
isa = PBXFileSystemSynchronizedRootGroup;
|
||||
path = Rumeng;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
/* End PBXFileSystemSynchronizedRootGroup section */
|
||||
|
||||
/* Begin PBXFrameworksBuildPhase section */
|
||||
85C0303F2FC0397E00DB0A50 /* Frameworks */ = {
|
||||
isa = PBXFrameworksBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
/* End PBXFrameworksBuildPhase section */
|
||||
|
||||
/* Begin PBXGroup section */
|
||||
85C030392FC0397E00DB0A50 = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
85C030442FC0397E00DB0A50 /* Rumeng */,
|
||||
85C030432FC0397E00DB0A50 /* Products */,
|
||||
);
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
85C030432FC0397E00DB0A50 /* Products */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
85C030422FC0397E00DB0A50 /* Rumeng.app */,
|
||||
);
|
||||
name = Products;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
/* End PBXGroup section */
|
||||
|
||||
/* Begin PBXNativeTarget section */
|
||||
85C030412FC0397E00DB0A50 /* Rumeng */ = {
|
||||
isa = PBXNativeTarget;
|
||||
buildConfigurationList = 85C0304D2FC0397E00DB0A50 /* Build configuration list for PBXNativeTarget "Rumeng" */;
|
||||
buildPhases = (
|
||||
85C0303E2FC0397E00DB0A50 /* Sources */,
|
||||
85C0303F2FC0397E00DB0A50 /* Frameworks */,
|
||||
85C030402FC0397E00DB0A50 /* Resources */,
|
||||
);
|
||||
buildRules = (
|
||||
);
|
||||
dependencies = (
|
||||
);
|
||||
fileSystemSynchronizedGroups = (
|
||||
85C030442FC0397E00DB0A50 /* Rumeng */,
|
||||
);
|
||||
name = Rumeng;
|
||||
packageProductDependencies = (
|
||||
);
|
||||
productName = Rumeng;
|
||||
productReference = 85C030422FC0397E00DB0A50 /* Rumeng.app */;
|
||||
productType = "com.apple.product-type.application";
|
||||
};
|
||||
/* End PBXNativeTarget section */
|
||||
|
||||
/* Begin PBXProject section */
|
||||
85C0303A2FC0397E00DB0A50 /* Project object */ = {
|
||||
isa = PBXProject;
|
||||
attributes = {
|
||||
BuildIndependentTargetsInParallel = 1;
|
||||
LastSwiftUpdateCheck = 2650;
|
||||
LastUpgradeCheck = 2650;
|
||||
TargetAttributes = {
|
||||
85C030412FC0397E00DB0A50 = {
|
||||
CreatedOnToolsVersion = 26.5;
|
||||
SystemCapabilities = {
|
||||
com.apple.Push = {
|
||||
enabled = 1;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
buildConfigurationList = 85C0303D2FC0397E00DB0A50 /* Build configuration list for PBXProject "Rumeng" */;
|
||||
developmentRegion = en;
|
||||
hasScannedForEncodings = 0;
|
||||
knownRegions = (
|
||||
en,
|
||||
Base,
|
||||
);
|
||||
mainGroup = 85C030392FC0397E00DB0A50;
|
||||
minimizedProjectReferenceProxies = 1;
|
||||
preferredProjectObjectVersion = 77;
|
||||
productRefGroup = 85C030432FC0397E00DB0A50 /* Products */;
|
||||
projectDirPath = "";
|
||||
projectRoot = "";
|
||||
targets = (
|
||||
85C030412FC0397E00DB0A50 /* Rumeng */,
|
||||
);
|
||||
};
|
||||
/* End PBXProject section */
|
||||
|
||||
/* Begin PBXResourcesBuildPhase section */
|
||||
85C030402FC0397E00DB0A50 /* Resources */ = {
|
||||
isa = PBXResourcesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
/* End PBXResourcesBuildPhase section */
|
||||
|
||||
/* Begin PBXSourcesBuildPhase section */
|
||||
85C0303E2FC0397E00DB0A50 /* Sources */ = {
|
||||
isa = PBXSourcesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
/* End PBXSourcesBuildPhase section */
|
||||
|
||||
/* Begin XCBuildConfiguration section */
|
||||
85C0304B2FC0397E00DB0A50 /* Debug */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
|
||||
CLANG_ANALYZER_NONNULL = YES;
|
||||
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
|
||||
CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
|
||||
CLANG_ENABLE_MODULES = YES;
|
||||
CLANG_ENABLE_OBJC_ARC = YES;
|
||||
CLANG_ENABLE_OBJC_WEAK = YES;
|
||||
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
|
||||
CLANG_WARN_BOOL_CONVERSION = YES;
|
||||
CLANG_WARN_COMMA = YES;
|
||||
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
||||
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
|
||||
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
|
||||
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
|
||||
CLANG_WARN_EMPTY_BODY = YES;
|
||||
CLANG_WARN_ENUM_CONVERSION = YES;
|
||||
CLANG_WARN_INFINITE_RECURSION = YES;
|
||||
CLANG_WARN_INT_CONVERSION = YES;
|
||||
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
|
||||
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
|
||||
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
|
||||
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
||||
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
|
||||
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
|
||||
CLANG_WARN_STRICT_PROTOTYPES = YES;
|
||||
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
||||
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
|
||||
CLANG_WARN_UNREACHABLE_CODE = YES;
|
||||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
||||
COPY_PHASE_STRIP = NO;
|
||||
DEBUG_INFORMATION_FORMAT = dwarf;
|
||||
DEVELOPMENT_TEAM = ZZMLW32PHH;
|
||||
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
||||
ENABLE_TESTABILITY = YES;
|
||||
ENABLE_USER_SCRIPT_SANDBOXING = YES;
|
||||
GCC_C_LANGUAGE_STANDARD = gnu17;
|
||||
GCC_DYNAMIC_NO_PIC = NO;
|
||||
GCC_NO_COMMON_BLOCKS = YES;
|
||||
GCC_OPTIMIZATION_LEVEL = 0;
|
||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||
"DEBUG=1",
|
||||
"$(inherited)",
|
||||
);
|
||||
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
||||
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
|
||||
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
||||
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
||||
GCC_WARN_UNUSED_FUNCTION = YES;
|
||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
|
||||
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
|
||||
MTL_FAST_MATH = YES;
|
||||
ONLY_ACTIVE_ARCH = YES;
|
||||
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)";
|
||||
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
|
||||
};
|
||||
name = Debug;
|
||||
};
|
||||
85C0304C2FC0397E00DB0A50 /* Release */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
|
||||
CLANG_ANALYZER_NONNULL = YES;
|
||||
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
|
||||
CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
|
||||
CLANG_ENABLE_MODULES = YES;
|
||||
CLANG_ENABLE_OBJC_ARC = YES;
|
||||
CLANG_ENABLE_OBJC_WEAK = YES;
|
||||
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
|
||||
CLANG_WARN_BOOL_CONVERSION = YES;
|
||||
CLANG_WARN_COMMA = YES;
|
||||
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
||||
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
|
||||
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
|
||||
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
|
||||
CLANG_WARN_EMPTY_BODY = YES;
|
||||
CLANG_WARN_ENUM_CONVERSION = YES;
|
||||
CLANG_WARN_INFINITE_RECURSION = YES;
|
||||
CLANG_WARN_INT_CONVERSION = YES;
|
||||
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
|
||||
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
|
||||
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
|
||||
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
||||
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
|
||||
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
|
||||
CLANG_WARN_STRICT_PROTOTYPES = YES;
|
||||
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
||||
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
|
||||
CLANG_WARN_UNREACHABLE_CODE = YES;
|
||||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
||||
COPY_PHASE_STRIP = NO;
|
||||
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
|
||||
DEVELOPMENT_TEAM = ZZMLW32PHH;
|
||||
ENABLE_NS_ASSERTIONS = NO;
|
||||
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
||||
ENABLE_USER_SCRIPT_SANDBOXING = YES;
|
||||
GCC_C_LANGUAGE_STANDARD = gnu17;
|
||||
GCC_NO_COMMON_BLOCKS = YES;
|
||||
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
||||
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
|
||||
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
||||
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
||||
GCC_WARN_UNUSED_FUNCTION = YES;
|
||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
|
||||
MTL_ENABLE_DEBUG_INFO = NO;
|
||||
MTL_FAST_MATH = YES;
|
||||
SWIFT_COMPILATION_MODE = wholemodule;
|
||||
};
|
||||
name = Release;
|
||||
};
|
||||
85C0304E2FC0397E00DB0A50 /* Debug */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
|
||||
CODE_SIGN_ENTITLEMENTS = Rumeng/Rumeng.entitlements;
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
CURRENT_PROJECT_VERSION = 1;
|
||||
DEVELOPMENT_TEAM = ZZMLW32PHH;
|
||||
ENABLE_APP_SANDBOX = YES;
|
||||
ENABLE_HARDENED_RUNTIME = YES;
|
||||
ENABLE_PREVIEWS = YES;
|
||||
ENABLE_USER_SELECTED_FILES = readonly;
|
||||
GENERATE_INFOPLIST_FILE = NO;
|
||||
INFOPLIST_FILE = Info.plist;
|
||||
"INFOPLIST_KEY_UIApplicationSceneManifest_Generation[sdk=iphoneos*]" = YES;
|
||||
"INFOPLIST_KEY_UIApplicationSceneManifest_Generation[sdk=iphonesimulator*]" = YES;
|
||||
"INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents[sdk=iphoneos*]" = YES;
|
||||
"INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents[sdk=iphonesimulator*]" = YES;
|
||||
"INFOPLIST_KEY_UILaunchScreen_Generation[sdk=iphoneos*]" = YES;
|
||||
"INFOPLIST_KEY_UILaunchScreen_Generation[sdk=iphonesimulator*]" = YES;
|
||||
"INFOPLIST_KEY_UIStatusBarStyle[sdk=iphoneos*]" = UIStatusBarStyleDefault;
|
||||
"INFOPLIST_KEY_UIStatusBarStyle[sdk=iphonesimulator*]" = UIStatusBarStyleDefault;
|
||||
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
|
||||
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 26.4;
|
||||
LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks";
|
||||
"LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "@executable_path/../Frameworks";
|
||||
MACOSX_DEPLOYMENT_TARGET = 26.3;
|
||||
MARKETING_VERSION = 1.0;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = "syke.maomao.app";
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
REGISTER_APP_GROUPS = YES;
|
||||
SDKROOT = auto;
|
||||
STRING_CATALOG_GENERATE_SYMBOLS = YES;
|
||||
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator macosx xros xrsimulator";
|
||||
SWIFT_APPROACHABLE_CONCURRENCY = YES;
|
||||
SWIFT_DEFAULT_ACTOR_ISOLATION = MainActor;
|
||||
SWIFT_EMIT_LOC_STRINGS = YES;
|
||||
SWIFT_UPCOMING_FEATURE_MEMBER_IMPORT_VISIBILITY = YES;
|
||||
SWIFT_VERSION = 5.0;
|
||||
TARGETED_DEVICE_FAMILY = "1,2,7";
|
||||
XROS_DEPLOYMENT_TARGET = 26.5;
|
||||
};
|
||||
name = Debug;
|
||||
};
|
||||
85C0304F2FC0397E00DB0A50 /* Release */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
|
||||
CODE_SIGN_ENTITLEMENTS = Rumeng/Rumeng.entitlements;
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
CURRENT_PROJECT_VERSION = 1;
|
||||
DEVELOPMENT_TEAM = ZZMLW32PHH;
|
||||
ENABLE_APP_SANDBOX = YES;
|
||||
ENABLE_HARDENED_RUNTIME = YES;
|
||||
ENABLE_PREVIEWS = YES;
|
||||
ENABLE_USER_SELECTED_FILES = readonly;
|
||||
GENERATE_INFOPLIST_FILE = NO;
|
||||
INFOPLIST_FILE = Info.plist;
|
||||
"INFOPLIST_KEY_UIApplicationSceneManifest_Generation[sdk=iphoneos*]" = YES;
|
||||
"INFOPLIST_KEY_UIApplicationSceneManifest_Generation[sdk=iphonesimulator*]" = YES;
|
||||
"INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents[sdk=iphoneos*]" = YES;
|
||||
"INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents[sdk=iphonesimulator*]" = YES;
|
||||
"INFOPLIST_KEY_UILaunchScreen_Generation[sdk=iphoneos*]" = YES;
|
||||
"INFOPLIST_KEY_UILaunchScreen_Generation[sdk=iphonesimulator*]" = YES;
|
||||
"INFOPLIST_KEY_UIStatusBarStyle[sdk=iphoneos*]" = UIStatusBarStyleDefault;
|
||||
"INFOPLIST_KEY_UIStatusBarStyle[sdk=iphonesimulator*]" = UIStatusBarStyleDefault;
|
||||
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
|
||||
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 26.4;
|
||||
LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks";
|
||||
"LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "@executable_path/../Frameworks";
|
||||
MACOSX_DEPLOYMENT_TARGET = 26.3;
|
||||
MARKETING_VERSION = 1.0;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = "syke.maomao.app";
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
REGISTER_APP_GROUPS = YES;
|
||||
SDKROOT = auto;
|
||||
STRING_CATALOG_GENERATE_SYMBOLS = YES;
|
||||
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator macosx xros xrsimulator";
|
||||
SWIFT_APPROACHABLE_CONCURRENCY = YES;
|
||||
SWIFT_DEFAULT_ACTOR_ISOLATION = MainActor;
|
||||
SWIFT_EMIT_LOC_STRINGS = YES;
|
||||
SWIFT_UPCOMING_FEATURE_MEMBER_IMPORT_VISIBILITY = YES;
|
||||
SWIFT_VERSION = 5.0;
|
||||
TARGETED_DEVICE_FAMILY = "1,2,7";
|
||||
XROS_DEPLOYMENT_TARGET = 26.5;
|
||||
};
|
||||
name = Release;
|
||||
};
|
||||
/* End XCBuildConfiguration section */
|
||||
|
||||
/* Begin XCConfigurationList section */
|
||||
85C0303D2FC0397E00DB0A50 /* Build configuration list for PBXProject "Rumeng" */ = {
|
||||
isa = XCConfigurationList;
|
||||
buildConfigurations = (
|
||||
85C0304B2FC0397E00DB0A50 /* Debug */,
|
||||
85C0304C2FC0397E00DB0A50 /* Release */,
|
||||
);
|
||||
defaultConfigurationIsVisible = 0;
|
||||
defaultConfigurationName = Release;
|
||||
};
|
||||
85C0304D2FC0397E00DB0A50 /* Build configuration list for PBXNativeTarget "Rumeng" */ = {
|
||||
isa = XCConfigurationList;
|
||||
buildConfigurations = (
|
||||
85C0304E2FC0397E00DB0A50 /* Debug */,
|
||||
85C0304F2FC0397E00DB0A50 /* Release */,
|
||||
);
|
||||
defaultConfigurationIsVisible = 0;
|
||||
defaultConfigurationName = Release;
|
||||
};
|
||||
/* End XCConfigurationList section */
|
||||
};
|
||||
rootObject = 85C0303A2FC0397E00DB0A50 /* Project object */;
|
||||
}
|
||||
7
Rumeng/Rumeng.xcodeproj/project.xcworkspace/contents.xcworkspacedata
generated
Normal file
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Workspace
|
||||
version = "1.0">
|
||||
<FileRef
|
||||
location = "self:">
|
||||
</FileRef>
|
||||
</Workspace>
|
||||
BIN
Rumeng/Rumeng/AaGuDianKeBenSongYouMoBan-2.ttf
Normal file
BIN
Rumeng/Rumeng/AaPingPingGuoGuoXiangSuTi-2.ttf
Normal file
BIN
Rumeng/Rumeng/AaXiaoGouGuaiGuaiXiangSuTi-2.ttf
Normal file
87
Rumeng/Rumeng/AppDelegate.swift
Normal file
@@ -0,0 +1,87 @@
|
||||
#if canImport(UIKit)
|
||||
import Foundation
|
||||
import UIKit
|
||||
import UserNotifications
|
||||
|
||||
final class AppDelegate: NSObject, UIApplicationDelegate, UNUserNotificationCenterDelegate {
|
||||
func application(
|
||||
_ application: UIApplication,
|
||||
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? = nil
|
||||
) -> Bool {
|
||||
let center = UNUserNotificationCenter.current()
|
||||
center.delegate = self
|
||||
center.requestAuthorization(options: [.alert, .badge, .sound]) { granted, error in
|
||||
if let error {
|
||||
print("[APNs] authorization error: \(error)")
|
||||
}
|
||||
guard granted else { return }
|
||||
DispatchQueue.main.async {
|
||||
application.registerForRemoteNotifications()
|
||||
}
|
||||
}
|
||||
return true
|
||||
}
|
||||
|
||||
func application(
|
||||
_ application: UIApplication,
|
||||
didRegisterForRemoteNotificationsWithDeviceToken deviceToken: Data
|
||||
) {
|
||||
let token = deviceToken.map { String(format: "%02x", $0) }.joined()
|
||||
postDeviceToken(token)
|
||||
}
|
||||
|
||||
func application(
|
||||
_ application: UIApplication,
|
||||
didFailToRegisterForRemoteNotificationsWithError error: Error
|
||||
) {
|
||||
print("[APNs] registration error: \(error)")
|
||||
}
|
||||
|
||||
func application(
|
||||
_ application: UIApplication,
|
||||
didReceiveRemoteNotification userInfo: [AnyHashable: Any]
|
||||
) {
|
||||
}
|
||||
|
||||
func application(
|
||||
_ application: UIApplication,
|
||||
didReceiveRemoteNotification userInfo: [AnyHashable: Any],
|
||||
fetchCompletionHandler completionHandler: @escaping (UIBackgroundFetchResult) -> Void
|
||||
) {
|
||||
completionHandler(.noData)
|
||||
}
|
||||
|
||||
func userNotificationCenter(
|
||||
_ center: UNUserNotificationCenter,
|
||||
willPresent notification: UNNotification,
|
||||
withCompletionHandler completionHandler: @escaping (UNNotificationPresentationOptions) -> Void
|
||||
) {
|
||||
completionHandler([])
|
||||
}
|
||||
|
||||
private func postDeviceToken(_ token: String) {
|
||||
guard let body = try? JSONSerialization.data(withJSONObject: ["token": token]) else { return }
|
||||
for request in tokenRegistrationRequests(body: body) {
|
||||
URLSession.shared.dataTask(with: request).resume()
|
||||
}
|
||||
}
|
||||
|
||||
private func tokenRegistrationRequests(body: Data) -> [URLRequest] {
|
||||
let urls = [
|
||||
ServerConfig.makeRequest(path: "apns/register").url.map { _ in URL(string: "http://\(ServerConfig.host):\(ServerConfig.port)/apns/register")! },
|
||||
ServerConfig.baseURL.appendingPathComponent("apns/register"),
|
||||
].compactMap { $0 }
|
||||
|
||||
var seen = Set<String>()
|
||||
return urls.compactMap { url in
|
||||
guard seen.insert(url.absoluteString).inserted else { return nil }
|
||||
var request = URLRequest(url: url)
|
||||
request.httpMethod = "POST"
|
||||
request.setValue("application/json", forHTTPHeaderField: "Content-Type")
|
||||
request.setValue(ServerConfig.authToken, forHTTPHeaderField: "X-Auth-Token")
|
||||
request.httpBody = body
|
||||
return request
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"colors" : [
|
||||
{
|
||||
"idiom" : "universal"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 250 B |
|
After Width: | Height: | Size: 367 B |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 5.1 KiB |
|
After Width: | Height: | Size: 367 B |
|
After Width: | Height: | Size: 578 B |
|
After Width: | Height: | Size: 5.1 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 11 KiB |
@@ -0,0 +1,98 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"filename" : "AppIcon-1024.png",
|
||||
"idiom" : "universal",
|
||||
"platform" : "ios",
|
||||
"size" : "1024x1024"
|
||||
},
|
||||
{
|
||||
"appearances" : [
|
||||
{
|
||||
"appearance" : "luminosity",
|
||||
"value" : "dark"
|
||||
}
|
||||
],
|
||||
"filename" : "AppIcon-dark-1024.png",
|
||||
"idiom" : "universal",
|
||||
"platform" : "ios",
|
||||
"size" : "1024x1024"
|
||||
},
|
||||
{
|
||||
"appearances" : [
|
||||
{
|
||||
"appearance" : "luminosity",
|
||||
"value" : "tinted"
|
||||
}
|
||||
],
|
||||
"filename" : "AppIcon-tinted-1024.png",
|
||||
"idiom" : "universal",
|
||||
"platform" : "ios",
|
||||
"size" : "1024x1024"
|
||||
},
|
||||
{
|
||||
"filename" : "AppIcon-mac-16.png",
|
||||
"idiom" : "mac",
|
||||
"scale" : "1x",
|
||||
"size" : "16x16"
|
||||
},
|
||||
{
|
||||
"filename" : "AppIcon-mac-16@2x.png",
|
||||
"idiom" : "mac",
|
||||
"scale" : "2x",
|
||||
"size" : "16x16"
|
||||
},
|
||||
{
|
||||
"filename" : "AppIcon-mac-32.png",
|
||||
"idiom" : "mac",
|
||||
"scale" : "1x",
|
||||
"size" : "32x32"
|
||||
},
|
||||
{
|
||||
"filename" : "AppIcon-mac-32@2x.png",
|
||||
"idiom" : "mac",
|
||||
"scale" : "2x",
|
||||
"size" : "32x32"
|
||||
},
|
||||
{
|
||||
"filename" : "AppIcon-mac-128.png",
|
||||
"idiom" : "mac",
|
||||
"scale" : "1x",
|
||||
"size" : "128x128"
|
||||
},
|
||||
{
|
||||
"filename" : "AppIcon-mac-128@2x.png",
|
||||
"idiom" : "mac",
|
||||
"scale" : "2x",
|
||||
"size" : "128x128"
|
||||
},
|
||||
{
|
||||
"filename" : "AppIcon-mac-256.png",
|
||||
"idiom" : "mac",
|
||||
"scale" : "1x",
|
||||
"size" : "256x256"
|
||||
},
|
||||
{
|
||||
"filename" : "AppIcon-mac-256@2x.png",
|
||||
"idiom" : "mac",
|
||||
"scale" : "2x",
|
||||
"size" : "256x256"
|
||||
},
|
||||
{
|
||||
"filename" : "AppIcon-mac-512.png",
|
||||
"idiom" : "mac",
|
||||
"scale" : "1x",
|
||||
"size" : "512x512"
|
||||
},
|
||||
{
|
||||
"filename" : "AppIcon-mac-512@2x.png",
|
||||
"idiom" : "mac",
|
||||
"scale" : "2x",
|
||||
"size" : "512x512"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
}
|
||||
}
|
||||
6
Rumeng/Rumeng/Assets.xcassets/Contents.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
}
|
||||
}
|
||||
1
Rumeng/Rumeng/Assets.xcassets/avatar_shenyan.imageset/Contents.json
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"images":[{"filename":"avatar_shenyan.png","idiom":"universal"}],"info":{"author":"xcode","version":1}}
|
||||
BIN
Rumeng/Rumeng/Assets.xcassets/avatar_shenyan.imageset/avatar_shenyan.png
vendored
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
12
Rumeng/Rumeng/Assets.xcassets/avatar_shenyan_header.imageset/Contents.json
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"images": [
|
||||
{
|
||||
"idiom": "universal",
|
||||
"filename": "avatar_shenyan_header.png"
|
||||
}
|
||||
],
|
||||
"info": {
|
||||
"author": "xcode",
|
||||
"version": 1
|
||||
}
|
||||
}
|
||||
BIN
Rumeng/Rumeng/Assets.xcassets/avatar_shenyan_header.imageset/avatar_shenyan_header.png
vendored
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
12
Rumeng/Rumeng/Assets.xcassets/bg_dark.imageset/Contents.json
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"filename" : "bg_dark.png",
|
||||
"idiom" : "universal"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
}
|
||||
}
|
||||
BIN
Rumeng/Rumeng/Assets.xcassets/bg_dark.imageset/bg_dark.png
vendored
Normal file
|
After Width: | Height: | Size: 1.2 MiB |
12
Rumeng/Rumeng/Assets.xcassets/bg_light.imageset/Contents.json
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"filename" : "bg_light.png",
|
||||
"idiom" : "universal"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
}
|
||||
}
|
||||
BIN
Rumeng/Rumeng/Assets.xcassets/bg_light.imageset/bg_light.png
vendored
Normal file
|
After Width: | Height: | Size: 3.0 MiB |
12
Rumeng/Rumeng/Assets.xcassets/btn_copy.imageset/Contents.json
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"images": [
|
||||
{
|
||||
"filename": "复制.png",
|
||||
"idiom": "universal"
|
||||
}
|
||||
],
|
||||
"info": {
|
||||
"author": "xcode",
|
||||
"version": 1
|
||||
}
|
||||
}
|
||||
BIN
Rumeng/Rumeng/Assets.xcassets/btn_copy.imageset/复制.png
vendored
Normal file
|
After Width: | Height: | Size: 2.0 KiB |
12
Rumeng/Rumeng/Assets.xcassets/btn_copy_8B8ED8.imageset/Contents.json
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"images": [
|
||||
{
|
||||
"idiom": "universal",
|
||||
"filename": "btn_copy_8B8ED8.png"
|
||||
}
|
||||
],
|
||||
"info": {
|
||||
"author": "xcode",
|
||||
"version": 1
|
||||
}
|
||||
}
|
||||
BIN
Rumeng/Rumeng/Assets.xcassets/btn_copy_8B8ED8.imageset/btn_copy_8B8ED8.png
vendored
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
1
Rumeng/Rumeng/Assets.xcassets/btn_down.imageset/Contents.json
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"images":[{"filename":"btn_down.png","idiom":"universal"}],"info":{"author":"xcode","version":1}}
|
||||
BIN
Rumeng/Rumeng/Assets.xcassets/btn_down.imageset/btn_down.png
vendored
Normal file
|
After Width: | Height: | Size: 6.9 KiB |
12
Rumeng/Rumeng/Assets.xcassets/btn_down_8B8ED8.imageset/Contents.json
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"images": [
|
||||
{
|
||||
"idiom": "universal",
|
||||
"filename": "btn_down_8B8ED8.png"
|
||||
}
|
||||
],
|
||||
"info": {
|
||||
"author": "xcode",
|
||||
"version": 1
|
||||
}
|
||||
}
|
||||
BIN
Rumeng/Rumeng/Assets.xcassets/btn_down_8B8ED8.imageset/btn_down_8B8ED8.png
vendored
Normal file
|
After Width: | Height: | Size: 2.8 KiB |
1
Rumeng/Rumeng/Assets.xcassets/btn_enter.imageset/Contents.json
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"images":[{"filename":"btn_enter.png","idiom":"universal"}],"info":{"author":"xcode","version":1}}
|
||||
BIN
Rumeng/Rumeng/Assets.xcassets/btn_enter.imageset/btn_enter.png
vendored
Normal file
|
After Width: | Height: | Size: 14 KiB |
12
Rumeng/Rumeng/Assets.xcassets/btn_enter_8B8ED8.imageset/Contents.json
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"images": [
|
||||
{
|
||||
"idiom": "universal",
|
||||
"filename": "btn_enter_8B8ED8.png"
|
||||
}
|
||||
],
|
||||
"info": {
|
||||
"author": "xcode",
|
||||
"version": 1
|
||||
}
|
||||
}
|
||||
BIN
Rumeng/Rumeng/Assets.xcassets/btn_enter_8B8ED8.imageset/btn_enter_8B8ED8.png
vendored
Normal file
|
After Width: | Height: | Size: 18 KiB |
1
Rumeng/Rumeng/Assets.xcassets/btn_left.imageset/Contents.json
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"images":[{"filename":"btn_left.png","idiom":"universal"}],"info":{"author":"xcode","version":1}}
|
||||
BIN
Rumeng/Rumeng/Assets.xcassets/btn_left.imageset/btn_left.png
vendored
Normal file
|
After Width: | Height: | Size: 6.9 KiB |
12
Rumeng/Rumeng/Assets.xcassets/btn_left_8B8ED8.imageset/Contents.json
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"images": [
|
||||
{
|
||||
"idiom": "universal",
|
||||
"filename": "btn_left_8B8ED8.png"
|
||||
}
|
||||
],
|
||||
"info": {
|
||||
"author": "xcode",
|
||||
"version": 1
|
||||
}
|
||||
}
|
||||
BIN
Rumeng/Rumeng/Assets.xcassets/btn_left_8B8ED8.imageset/btn_left_8B8ED8.png
vendored
Normal file
|
After Width: | Height: | Size: 2.8 KiB |
1
Rumeng/Rumeng/Assets.xcassets/btn_return.imageset/Contents.json
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"images":[{"filename":"btn_return.png","idiom":"universal"}],"info":{"author":"xcode","version":1}}
|
||||
BIN
Rumeng/Rumeng/Assets.xcassets/btn_return.imageset/btn_return.png
vendored
Normal file
|
After Width: | Height: | Size: 13 KiB |
12
Rumeng/Rumeng/Assets.xcassets/btn_return_8B8ED8.imageset/Contents.json
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"images": [
|
||||
{
|
||||
"idiom": "universal",
|
||||
"filename": "btn_return_8B8ED8.png"
|
||||
}
|
||||
],
|
||||
"info": {
|
||||
"author": "xcode",
|
||||
"version": 1
|
||||
}
|
||||
}
|
||||
BIN
Rumeng/Rumeng/Assets.xcassets/btn_return_8B8ED8.imageset/btn_return_8B8ED8.png
vendored
Normal file
|
After Width: | Height: | Size: 17 KiB |
1
Rumeng/Rumeng/Assets.xcassets/btn_right.imageset/Contents.json
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"images":[{"filename":"btn_right.png","idiom":"universal"}],"info":{"author":"xcode","version":1}}
|
||||
BIN
Rumeng/Rumeng/Assets.xcassets/btn_right.imageset/btn_right.png
vendored
Normal file
|
After Width: | Height: | Size: 6.9 KiB |
12
Rumeng/Rumeng/Assets.xcassets/btn_right_8B8ED8.imageset/Contents.json
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"images": [
|
||||
{
|
||||
"idiom": "universal",
|
||||
"filename": "btn_right_8B8ED8.png"
|
||||
}
|
||||
],
|
||||
"info": {
|
||||
"author": "xcode",
|
||||
"version": 1
|
||||
}
|
||||
}
|
||||
BIN
Rumeng/Rumeng/Assets.xcassets/btn_right_8B8ED8.imageset/btn_right_8B8ED8.png
vendored
Normal file
|
After Width: | Height: | Size: 2.8 KiB |
1
Rumeng/Rumeng/Assets.xcassets/btn_send.imageset/Contents.json
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"images":[{"filename":"btn_send.png","idiom":"universal"}],"info":{"author":"xcode","version":1}}
|
||||
BIN
Rumeng/Rumeng/Assets.xcassets/btn_send.imageset/btn_send.png
vendored
Normal file
|
After Width: | Height: | Size: 6.5 KiB |
12
Rumeng/Rumeng/Assets.xcassets/btn_send_8B8ED8.imageset/Contents.json
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"images": [
|
||||
{
|
||||
"idiom": "universal",
|
||||
"filename": "btn_send_8B8ED8.png"
|
||||
}
|
||||
],
|
||||
"info": {
|
||||
"author": "xcode",
|
||||
"version": 1
|
||||
}
|
||||
}
|
||||
BIN
Rumeng/Rumeng/Assets.xcassets/btn_send_8B8ED8.imageset/btn_send_8B8ED8.png
vendored
Normal file
|
After Width: | Height: | Size: 7.9 KiB |
1
Rumeng/Rumeng/Assets.xcassets/btn_up.imageset/Contents.json
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"images":[{"filename":"btn_up.png","idiom":"universal"}],"info":{"author":"xcode","version":1}}
|
||||
BIN
Rumeng/Rumeng/Assets.xcassets/btn_up.imageset/btn_up.png
vendored
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
12
Rumeng/Rumeng/Assets.xcassets/btn_up_8B8ED8.imageset/Contents.json
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"images": [
|
||||
{
|
||||
"idiom": "universal",
|
||||
"filename": "btn_up_8B8ED8.png"
|
||||
}
|
||||
],
|
||||
"info": {
|
||||
"author": "xcode",
|
||||
"version": 1
|
||||
}
|
||||
}
|
||||
BIN
Rumeng/Rumeng/Assets.xcassets/btn_up_8B8ED8.imageset/btn_up_8B8ED8.png
vendored
Normal file
|
After Width: | Height: | Size: 2.8 KiB |
1
Rumeng/Rumeng/Assets.xcassets/icon_chat_sel.imageset/Contents.json
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"images":[{"filename":"icon_chat_sel.png","idiom":"universal"}],"info":{"author":"xcode","version":1}}
|
||||
BIN
Rumeng/Rumeng/Assets.xcassets/icon_chat_sel.imageset/icon_chat_sel.png
vendored
Normal file
|
After Width: | Height: | Size: 4.8 KiB |
12
Rumeng/Rumeng/Assets.xcassets/icon_chat_sel_8B8ED8.imageset/Contents.json
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"images": [
|
||||
{
|
||||
"idiom": "universal",
|
||||
"filename": "icon_chat_sel_8B8ED8.png"
|
||||
}
|
||||
],
|
||||
"info": {
|
||||
"author": "xcode",
|
||||
"version": 1
|
||||
}
|
||||
}
|
||||
BIN
Rumeng/Rumeng/Assets.xcassets/icon_chat_sel_8B8ED8.imageset/icon_chat_sel_8B8ED8.png
vendored
Normal file
|
After Width: | Height: | Size: 4.8 KiB |
1
Rumeng/Rumeng/Assets.xcassets/icon_chat_unsel.imageset/Contents.json
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"images":[{"filename":"icon_chat_unsel.png","idiom":"universal"}],"info":{"author":"xcode","version":1}}
|
||||
BIN
Rumeng/Rumeng/Assets.xcassets/icon_chat_unsel.imageset/icon_chat_unsel.png
vendored
Normal file
|
After Width: | Height: | Size: 4.8 KiB |
12
Rumeng/Rumeng/Assets.xcassets/icon_chat_unsel_8B8ED8.imageset/Contents.json
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"images": [
|
||||
{
|
||||
"idiom": "universal",
|
||||
"filename": "icon_chat_unsel_8B8ED8.png"
|
||||
}
|
||||
],
|
||||
"info": {
|
||||
"author": "xcode",
|
||||
"version": 1
|
||||
}
|
||||
}
|
||||
BIN
Rumeng/Rumeng/Assets.xcassets/icon_chat_unsel_8B8ED8.imageset/icon_chat_unsel_8B8ED8.png
vendored
Normal file
|
After Width: | Height: | Size: 4.8 KiB |
23
Rumeng/Rumeng/Assets.xcassets/icon_codex_sel.imageset/Contents.json
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"images": [
|
||||
{
|
||||
"idiom": "universal",
|
||||
"scale": "1x",
|
||||
"filename": "icon_codex_sel@1x.png"
|
||||
},
|
||||
{
|
||||
"idiom": "universal",
|
||||
"scale": "2x",
|
||||
"filename": "icon_codex_sel@2x.png"
|
||||
},
|
||||
{
|
||||
"idiom": "universal",
|
||||
"scale": "3x",
|
||||
"filename": "icon_codex_sel@3x.png"
|
||||
}
|
||||
],
|
||||
"info": {
|
||||
"author": "xcode",
|
||||
"version": 1
|
||||
}
|
||||
}
|
||||
BIN
Rumeng/Rumeng/Assets.xcassets/icon_codex_sel.imageset/icon_codex_sel@1x.png
vendored
Normal file
|
After Width: | Height: | Size: 176 B |
BIN
Rumeng/Rumeng/Assets.xcassets/icon_codex_sel.imageset/icon_codex_sel@2x.png
vendored
Normal file
|
After Width: | Height: | Size: 268 B |
BIN
Rumeng/Rumeng/Assets.xcassets/icon_codex_sel.imageset/icon_codex_sel@3x.png
vendored
Normal file
|
After Width: | Height: | Size: 320 B |
23
Rumeng/Rumeng/Assets.xcassets/icon_codex_sel_8B8ED8.imageset/Contents.json
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"images": [
|
||||
{
|
||||
"idiom": "universal",
|
||||
"scale": "1x",
|
||||
"filename": "icon_codex_sel_8B8ED8@1x.png"
|
||||
},
|
||||
{
|
||||
"idiom": "universal",
|
||||
"scale": "2x",
|
||||
"filename": "icon_codex_sel_8B8ED8@2x.png"
|
||||
},
|
||||
{
|
||||
"idiom": "universal",
|
||||
"scale": "3x",
|
||||
"filename": "icon_codex_sel_8B8ED8@3x.png"
|
||||
}
|
||||
],
|
||||
"info": {
|
||||
"author": "xcode",
|
||||
"version": 1
|
||||
}
|
||||
}
|
||||
BIN
Rumeng/Rumeng/Assets.xcassets/icon_codex_sel_8B8ED8.imageset/icon_codex_sel_8B8ED8@1x.png
vendored
Normal file
|
After Width: | Height: | Size: 176 B |
BIN
Rumeng/Rumeng/Assets.xcassets/icon_codex_sel_8B8ED8.imageset/icon_codex_sel_8B8ED8@2x.png
vendored
Normal file
|
After Width: | Height: | Size: 274 B |
BIN
Rumeng/Rumeng/Assets.xcassets/icon_codex_sel_8B8ED8.imageset/icon_codex_sel_8B8ED8@3x.png
vendored
Normal file
|
After Width: | Height: | Size: 329 B |
23
Rumeng/Rumeng/Assets.xcassets/icon_codex_trim_sel.imageset/Contents.json
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"images": [
|
||||
{
|
||||
"idiom": "universal",
|
||||
"scale": "1x",
|
||||
"filename": "icon_codex_trim_sel@1x.png"
|
||||
},
|
||||
{
|
||||
"idiom": "universal",
|
||||
"scale": "2x",
|
||||
"filename": "icon_codex_trim_sel@2x.png"
|
||||
},
|
||||
{
|
||||
"idiom": "universal",
|
||||
"scale": "3x",
|
||||
"filename": "icon_codex_trim_sel@3x.png"
|
||||
}
|
||||
],
|
||||
"info": {
|
||||
"author": "xcode",
|
||||
"version": 1
|
||||
}
|
||||
}
|
||||
BIN
Rumeng/Rumeng/Assets.xcassets/icon_codex_trim_sel.imageset/icon_codex_trim_sel@1x.png
vendored
Normal file
|
After Width: | Height: | Size: 171 B |
BIN
Rumeng/Rumeng/Assets.xcassets/icon_codex_trim_sel.imageset/icon_codex_trim_sel@2x.png
vendored
Normal file
|
After Width: | Height: | Size: 269 B |
BIN
Rumeng/Rumeng/Assets.xcassets/icon_codex_trim_sel.imageset/icon_codex_trim_sel@3x.png
vendored
Normal file
|
After Width: | Height: | Size: 323 B |
23
Rumeng/Rumeng/Assets.xcassets/icon_codex_trim_sel_8B8ED8.imageset/Contents.json
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"images": [
|
||||
{
|
||||
"idiom": "universal",
|
||||
"scale": "1x",
|
||||
"filename": "icon_codex_trim_sel_8B8ED8@1x.png"
|
||||
},
|
||||
{
|
||||
"idiom": "universal",
|
||||
"scale": "2x",
|
||||
"filename": "icon_codex_trim_sel_8B8ED8@2x.png"
|
||||
},
|
||||
{
|
||||
"idiom": "universal",
|
||||
"scale": "3x",
|
||||
"filename": "icon_codex_trim_sel_8B8ED8@3x.png"
|
||||
}
|
||||
],
|
||||
"info": {
|
||||
"author": "xcode",
|
||||
"version": 1
|
||||
}
|
||||
}
|
||||
BIN
Rumeng/Rumeng/Assets.xcassets/icon_codex_trim_sel_8B8ED8.imageset/icon_codex_trim_sel_8B8ED8@1x.png
vendored
Normal file
|
After Width: | Height: | Size: 174 B |
BIN
Rumeng/Rumeng/Assets.xcassets/icon_codex_trim_sel_8B8ED8.imageset/icon_codex_trim_sel_8B8ED8@2x.png
vendored
Normal file
|
After Width: | Height: | Size: 276 B |
BIN
Rumeng/Rumeng/Assets.xcassets/icon_codex_trim_sel_8B8ED8.imageset/icon_codex_trim_sel_8B8ED8@3x.png
vendored
Normal file
|
After Width: | Height: | Size: 332 B |
23
Rumeng/Rumeng/Assets.xcassets/icon_codex_trim_unsel.imageset/Contents.json
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"images": [
|
||||
{
|
||||
"idiom": "universal",
|
||||
"scale": "1x",
|
||||
"filename": "icon_codex_trim_unsel@1x.png"
|
||||
},
|
||||
{
|
||||
"idiom": "universal",
|
||||
"scale": "2x",
|
||||
"filename": "icon_codex_trim_unsel@2x.png"
|
||||
},
|
||||
{
|
||||
"idiom": "universal",
|
||||
"scale": "3x",
|
||||
"filename": "icon_codex_trim_unsel@3x.png"
|
||||
}
|
||||
],
|
||||
"info": {
|
||||
"author": "xcode",
|
||||
"version": 1
|
||||
}
|
||||
}
|
||||
BIN
Rumeng/Rumeng/Assets.xcassets/icon_codex_trim_unsel.imageset/icon_codex_trim_unsel@1x.png
vendored
Normal file
|
After Width: | Height: | Size: 158 B |
BIN
Rumeng/Rumeng/Assets.xcassets/icon_codex_trim_unsel.imageset/icon_codex_trim_unsel@2x.png
vendored
Normal file
|
After Width: | Height: | Size: 254 B |
BIN
Rumeng/Rumeng/Assets.xcassets/icon_codex_trim_unsel.imageset/icon_codex_trim_unsel@3x.png
vendored
Normal file
|
After Width: | Height: | Size: 307 B |
23
Rumeng/Rumeng/Assets.xcassets/icon_codex_trim_unsel_8B8ED8.imageset/Contents.json
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"images": [
|
||||
{
|
||||
"idiom": "universal",
|
||||
"scale": "1x",
|
||||
"filename": "icon_codex_trim_unsel_8B8ED8@1x.png"
|
||||
},
|
||||
{
|
||||
"idiom": "universal",
|
||||
"scale": "2x",
|
||||
"filename": "icon_codex_trim_unsel_8B8ED8@2x.png"
|
||||
},
|
||||
{
|
||||
"idiom": "universal",
|
||||
"scale": "3x",
|
||||
"filename": "icon_codex_trim_unsel_8B8ED8@3x.png"
|
||||
}
|
||||
],
|
||||
"info": {
|
||||
"author": "xcode",
|
||||
"version": 1
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 172 B |
|
After Width: | Height: | Size: 270 B |
|
After Width: | Height: | Size: 325 B |
23
Rumeng/Rumeng/Assets.xcassets/icon_codex_unsel.imageset/Contents.json
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"images": [
|
||||
{
|
||||
"idiom": "universal",
|
||||
"scale": "1x",
|
||||
"filename": "icon_codex_unsel@1x.png"
|
||||
},
|
||||
{
|
||||
"idiom": "universal",
|
||||
"scale": "2x",
|
||||
"filename": "icon_codex_unsel@2x.png"
|
||||
},
|
||||
{
|
||||
"idiom": "universal",
|
||||
"scale": "3x",
|
||||
"filename": "icon_codex_unsel@3x.png"
|
||||
}
|
||||
],
|
||||
"info": {
|
||||
"author": "xcode",
|
||||
"version": 1
|
||||
}
|
||||
}
|
||||
BIN
Rumeng/Rumeng/Assets.xcassets/icon_codex_unsel.imageset/icon_codex_unsel@1x.png
vendored
Normal file
|
After Width: | Height: | Size: 162 B |
BIN
Rumeng/Rumeng/Assets.xcassets/icon_codex_unsel.imageset/icon_codex_unsel@2x.png
vendored
Normal file
|
After Width: | Height: | Size: 260 B |