- 博客(253)
- 资源 (26)
- 收藏
- 关注
原创 git pull 出现 “Enter passphrase for key ‘/Users/xxx/.ssh/id_rsa‘ ”
Enter passphrase for key ‘/Users/xxx/.ssh/id_rsa‘
2024-03-25 13:42:47 120
原创 m1 rvm install 3.0.0 Error running ‘__rvm_make -j8‘
M1 安装cocopods是遇到的问题
2023-11-16 16:30:47 2064 2
原创 Flutter iOS 与 flutter 相互通信
在混合开发中避免不了使用桥接,简单记录一下,Flutter iOS工程与Flutter 通信操作。
2023-08-07 10:48:14 1026
原创 Flutter InheritedWidget 共享状态管理
InheritedWidget和React中的context功能类似,可以实现跨组件数据的传递。
2023-08-01 09:48:19 500
原创 Kotlin Multiplatform 使用 CocoaPods 创建多平台分发库
Kotlin Multiplatform 支持直接创建Framework 方式和使用CocoaPods 方式创建Framework。
2023-07-31 20:35:35 688
原创 Kotlin Native 数据类型互相转换
使用Kotlin Native开发公共组件时,避免不了原生于Native之间以及 Native之间数据类型相互转换。下面就逐一分开进行转换。
2023-07-27 14:53:27 61
原创 M1打包 xxxx.xcodeproj: error: Provisioning profile “xxx“ doesn‘t include the currentlyselected device
M1 芯片 脚本打包提示不包含本机
2023-07-20 09:45:51 792
原创 关闭window时终止程序
关闭window时候,终止应用程序大概分为两种情况,如下/** 保证当你关闭最后一个window或者关闭应用唯一的一个window时候应用自动退出 */- (BOOL)applicationShouldTerminateAfterLastWindowClosed:(NSApplication *)sender { return YES;}// 监听方法[[NSNotific...
2019-01-17 15:22:15 557
原创 iOS 去掉导航条和tabbar线条
去掉导航条底部线条[self.navigationController.navigationBar setBackgroundImage:[[UIImage alloc] init] forBarMetrics:UIBarMetricsDefault]; [self.navigationController.navigationBar setShadowImage:[[UIImage a...
2018-10-17 08:59:59 1171
转载 TestFlight测试
内部测试:https://www.jianshu.com/p/4be185e4069c外部测试:https://www.jianshu.com/p/c6411fbe5781
2018-09-19 10:37:14 1497
原创 iOS 获取视频图片
/** * 截取指定时间的视频缩略图 * * @param timeBySecond 时间点,单位:s */- (UIImage *)thumbnailImageRequestWithVideoUrl:(NSURL *)videoUrl andTime:(CGFloat)timeBySecond{ AVURLAsset *urlAsset = [AVURLAsset asset...
2018-09-19 10:11:55 756
原创 打开mac系统偏好设置
[[NSWorkspace sharedWorkspace] openFile:@"/System/Library/PreferencePanes/UniversalAccessPref.prefPane"];打开的是偏好设置的万能辅助的界面如果你想打开,其他的界面可以替换后面的UniversalAccessPref.prefPane。想查找其他的pane名字,可以先用[[NSWorksp...
2018-09-19 09:36:02 1747
打开偏好设置
2017-09-08
AirDrop通过UIActivityController分享
2016-10-21
模仿美团商城
2016-09-20
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人