V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  henryshen233  ›  全部回复第 77 页 / 共 102 页
回复总数  2023
1 ... 73  74  75  76  77  78  79  80  81  82 ... 102  
2017-05-26 13:02:51 +08:00
回复了 assad 创建的主题 汽车 18-23 万,买个什么车比较好?
@lyh404 我不是推荐的啊
2017-05-25 17:00:53 +08:00
回复了 assad 创建的主题 汽车 18-23 万,买个什么车比较好?
@henryshen233 那个貌似超预算了,我觉得还是不要排斥日系车了,这个价位好多日本车都挺好的,加一万凯美瑞混动应该也能买了,雅阁啊,CR-V,都是很均衡的。德系高尔夫嘉旅也不错。
2017-05-25 16:55:07 +08:00
回复了 assad 创建的主题 汽车 18-23 万,买个什么车比较好?
我喜欢宝马 1 系
2017-05-25 16:54:19 +08:00
回复了 assad 创建的主题 汽车 18-23 万,买个什么车比较好?
我想想,我推荐啥好呢,什么需求都不说
@appppap 啊,啥梗
@freestyle 谢谢你的建议。
@burning 全局快捷键已经实现,修复了一些 BUG,方便的话联系我 [email protected] 索要飞鸽词典的兑换码,谢谢。
@nannanziyu 成功啦,下个版本就加上快捷键功能,非常非常非常感谢朋友!
晚上去试试,先谢了
因为这个方法使用不了 self,所以也不能呼叫在 AppDelegate.h 中的 @property,所以只能够[newWindow showWindow:[[ViewController alloc] init]]; 而不是[newWindow showWindow:self];
在 AppDelegate.h 中已经#import "ViewController.h"了
OSStatus hotKeyHandler(EventHandlerCallRef nextHandler, EventRef anEvent, void *userData) {
EventHotKeyID hotKeyRef;

GetEventParameter(anEvent, kEventParamDirectObject, typeEventHotKeyID, NULL, sizeof(hotKeyRef), NULL, &hotKeyRef);

unsigned int hotKeyId = hotKeyRef.id;

switch (hotKeyId) {
case 1:{
NSLog(@"Hotkey success.");
NSPasteboard * aPasteboard = [NSPasteboard generalPasteboard];
NSString * aString = [aPasteboard stringForType:NSPasteboardTypeString];
NSLog(@"%@", aString);
NSStoryboard * astoryBoard = [NSStoryboard storyboardWithName:@"Main" bundle:nil];
NSWindowController *__strong newWindow = [astoryBoard instantiateInitialController];
[newWindow showWindow:[[ViewController alloc] init]];
[newWindow.window makeKeyAndOrderFront:[[ViewController alloc] init]];

break;
}
case 2:
// do other thing
break;
default:
break;
}

return noErr;
}
2017-05-19 16:47:45 +08:00
回复了 k9982874 创建的主题 程序员 这几天一堆人希望 Java 死,这么大恨?
哈哈,喷子们手肯定贱一些,不然会憋死
2017-05-19 06:32:21 +08:00
回复了 henryshen233 创建的主题 iCode 在这里再发 50 个兑换码吧
@Francost 不好意思发完啦
2017-05-19 03:16:08 +08:00
回复了 henryshen233 创建的主题 iCode 在这里再发 50 个兑换码吧
@nevermlnd 大哥您是 48 楼
2017-05-18 13:31:32 +08:00
回复了 henryshen233 创建的主题 iCode 在这里再发 50 个兑换码吧
@narrowei 不好意思没啦
2017-05-18 10:35:04 +08:00
回复了 henryshen233 创建的主题 iDev 飞鸽词典现已上架 MAS
@inisun 请问你这个邮箱是什么编码啊,看不懂,请发邮件索要,谢谢
2017-05-18 09:51:39 +08:00
回复了 henryshen233 创建的主题 iCode 在这里再发 50 个兑换码吧
@liuweisj 看不懂,你联系我吧
2017-05-18 09:39:14 +08:00
回复了 henryshen233 创建的主题 iCode 在这里再发 50 个兑换码吧
@lwbjing 嗯,,,是这样的,我当前没有其他任何收入来源,所以不是免费的。并且上次问问题——就是那个主线程更新 UI 的帖子——我很感谢某些 V 友,所以想反馈一下😆
2017-05-18 09:36:44 +08:00
回复了 henryshen233 创建的主题 iCode 在这里再发 50 个兑换码吧
@neighbads 好好学习哈哈
1 ... 73  74  75  76  77  78  79  80  81  82 ... 102  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1555 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 30ms · UTC 00:30 · PVG 08:30 · LAX 17:30 · JFK 20:30
Developed with CodeLauncher
♥ Do have faith in what you're doing.