{"id":19026179,"url":"https://github.com/kitayoshi/tellmeexrate","last_synced_at":"2026-04-30T20:30:15.940Z","repository":{"id":26093545,"uuid":"29537599","full_name":"kitayoshi/TellMeExRate","owner":"kitayoshi","description":"iOS App for looking up currency exchange rate","archived":false,"fork":false,"pushed_at":"2015-01-28T10:29:14.000Z","size":1596,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-02T02:25:53.314Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kitayoshi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-01-20T15:50:19.000Z","updated_at":"2016-11-16T18:54:50.000Z","dependencies_parsed_at":"2022-08-25T01:30:31.926Z","dependency_job_id":null,"html_url":"https://github.com/kitayoshi/TellMeExRate","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kitayoshi%2FTellMeExRate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kitayoshi%2FTellMeExRate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kitayoshi%2FTellMeExRate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kitayoshi%2FTellMeExRate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kitayoshi","download_url":"https://codeload.github.com/kitayoshi/TellMeExRate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240072097,"owners_count":19743527,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T20:47:55.220Z","updated_at":"2026-04-30T20:30:15.888Z","avatar_url":"https://github.com/kitayoshi.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 汇率速查 APP 文档\n\n## 开发环境\n* Swift on Xcode Version 6.1.1 (6A2008a)\n* iPhone App\n* iOS SDK 8.1\n\n## 界面逻辑\n### 汇率计算屏\n* 上方 Text Field 输入左边显示的基准货币的金额（为空时，placeholder 为 100.00，同时下方对应 100 基准货币的换算金额）\n* 下方 6 个 Table View Cell 分别显示六种货币的换算金额\n* 每两小时，即当前时间与上次获取汇率的时间相差 2 小时以上，则自动获取最新汇率\n* 输入基准货币的金额时，下方的等值货币是实时变化的\n* 弹出数字键盘时，点击数字键盘以外的地方即可撤销键盘\n\n### 设置屏\n* 设置基准货币——返回汇率计算屏时，基准货币改变\n* 查看作者信息、软件信息\n* 查看当前汇率的更新时间\n* 点击立刻获取最新汇率——上方汇率更新时间立刻更新，汇率计算屏的计算用汇率也已经变化\n\n### 作者信息屏\n* 邮件与网址均可点击并跳转\n\n### 软件信息屏\n* 可以查看软件说明，UITextView\n\n### 退出程序后…\n* **退出程序后，当前的基准货币、当时汇率利用 Coredata 持久化**\n\n## 技术要点\n### 稍难：用了较长时间解决，查了资料、走了弯路\n* 获取远端 json 并 parse，设置为程序中的属性（有异步回调）\n* 储存、调用 Coredata 数据。程序内存清空后，还可以调用已保存的汇率与基准货币设定\n* 子类化 Table View，代理 touch 事件，才实现点击 Table View 时隐藏数字键盘\n\n### 中等：用了一段时间解决，查了资料，没怎么走弯路\n* TabView 间数据传递\n\n### 简单：没用什么时间解决，查了资料或者自己摸索都有\n* 界面元素颜色修改\n* 界面元素布局排版、增加国旗与头像图片\n* 增加限制以同时适应 iPhone4/5/6/6P 的屏幕大小\n* Tab Bar Item 定制\n* 启动屏上方的 Status Bar 为白色\n\n## TODO\n* 货币信息数组化、Table View 变为动态生成——便于增加新的货币\n\n## 联系\n* 孙北吉 201208223001\n* midare@utakana.de","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkitayoshi%2Ftellmeexrate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkitayoshi%2Ftellmeexrate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkitayoshi%2Ftellmeexrate/lists"}