04 2023 档案

macOS 开发NSTextField控件别人的总结
摘要:NSTextField用来接收用户文本输入,其可以接收键盘事件。创建NSTextFiled的示例代码如下: - (void)viewDidLoad { [super viewDidLoad]; //创建TextField对象 _textField = [[NSTextField alloc]init 阅读全文

posted @ 2023-04-25 14:51 高彰 阅读(126) 评论(0) 推荐(0) 编辑

macOS开发之NSTableView方法查询大全,搜索就行了!!!
摘要:一、引言 和iOS开发中的UITableView有很大差别,NSTableView并非是一个可滚动的列表视图,其是一个不可滚动、支持多列多行的原始列表视图。若要使NSTableView支持滚动,通常会将其嵌套入NSScrollView控件中。与UITableView类似,NSTableView的数据 阅读全文

posted @ 2023-04-25 14:39 高彰 阅读(159) 评论(0) 推荐(0) 编辑

iOS NSData转int
摘要:+ (int) intFromDataReverse:(NSData *)data { int intSize = sizeof(int);// change it to fixe length unsigned char * buffer = malloc(intSize * sizeof(uns 阅读全文

posted @ 2023-04-25 09:31 高彰 阅读(162) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

导航

统计

点击右上角即可分享
微信分享提示