• 博客园Logo
  • 首页
  • 新闻
  • 博问
  • 会员
  • 闪存
  • 班级
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 简洁模式 ... 退出登录
    注册 登录
ArgenBarbie
博客园    首页    新随笔    联系   管理    订阅  订阅
2020年10月11日
Xcode - No architectures to compile for ...
摘要: Error: No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=x86_64, VALID_ARCHS=arm64 arm64e, EXCLUDED_ARCHS=( arm64)). Solution: Remove 阅读全文
posted @ 2020-10-11 22:56 ArgenBarbie 阅读(187) 评论(0) 推荐(0) 编辑
2020年7月15日
初始化git repo到远程
摘要: 1. local git initgit add .git commit -m "init project" 2. remote New repository 3. local git remote add origin git@github.com:USER_NAME/PROJECT_NAME.g 阅读全文
posted @ 2020-07-15 10:51 ArgenBarbie 阅读(160) 评论(0) 推荐(0) 编辑
2020年3月17日
点击任意位置隐藏键盘
摘要: 给view加一个点击事件,点击时收起键盘: override func viewDidLoad() { super.viewDidLoad() let tap = UITapGestureRecognizer(target: self, action: #selector(self.dismissK 阅读全文
posted @ 2020-03-17 21:51 ArgenBarbie 阅读(188) 评论(0) 推荐(0) 编辑
2019年12月2日
UIButton设置按钮点击范围大于可视范围
摘要: 自定义按钮类型CustomButton,继承UIButton,重写pointInside函数改变点击响应范围。 例如,按钮点击范围比实际高度上下增加6。 CustomButton.h CustomButton.m 阅读全文
posted @ 2019-12-02 13:36 ArgenBarbie 阅读(341) 评论(0) 推荐(0) 编辑
2019年11月24日
Unknown class xxx in Interface Builder file. / NSUnknownKeyException
摘要: Error: 2019-11-24 22:16:01.047997+0800 SingleViewDemo[22576:34699748] Unknown class FeedbackCell in Interface Builder file. 2019-11-24 22:16:01.058953 阅读全文
posted @ 2019-11-24 22:20 ArgenBarbie 阅读(175) 评论(0) 推荐(0) 编辑
2019年11月1日
可滚动UIStackView 竖向居中 / 横向右对齐
摘要: 重点: 在scroll view和stack view之间加一个UIView。 竖向居中Tutorial: https://stackoverflow.com/questions/50766400/center-uiview-vertically-in-scroll-view-when-its-dy 阅读全文
posted @ 2019-11-01 11:37 ArgenBarbie 阅读(1219) 评论(0) 推荐(0) 编辑
2019年10月25日
横向滚动的UIStackView
摘要: https://medium.com/@mufakkharulislamnayem/scrolling-in-a-horizontal-uistackview-with-storyboard-e02a9aab555b 阅读全文
posted @ 2019-10-25 14:46 ArgenBarbie 阅读(300) 评论(0) 推荐(0) 编辑
2019年2月28日
Objective-C基础教程 笔记
摘要: 一、对C的扩展 1. #import VS #include C语言使用#include语句通知编译器应在头文件中查询定义。 OC中也可以使用#include,但几乎不这么用,而是使用#import。 #import <Foundation/Foundation.h> (查看Foundation框架 阅读全文
posted @ 2019-02-28 13:48 ArgenBarbie 阅读(140) 评论(0) 推荐(0) 编辑
2019年1月24日
C# 今天时间 今天结束时间
摘要: var startTime = DateTime.UtcNow.ToString(timeFormat); var endTime = DateTime.Today.AddDays(1).AddSeconds(-1).ToUniversalTime().ToString(timeFormat); 阅读全文
posted @ 2019-01-24 17:33 ArgenBarbie 阅读(948) 评论(0) 推荐(0) 编辑
2018年12月21日
C# List<string> to string
摘要: List<string> names = new List<string>() { "John", "Anna", "Monica" }; var result = String.Join(", ", names.ToArray()); 阅读全文
posted @ 2018-12-21 20:17 ArgenBarbie 阅读(1604) 评论(0) 推荐(0) 编辑
下一页
Copyright © 2023 ArgenBarbie
Powered by .NET 7.0 on Kubernetes