我有一个x86_64,我想选择性地读Skype状况信息。 然而,5年的天空ma框架是32个轨道,如果能够用64个轨道进行汇编,我就没有发现。
我的问题基本上是,我应如何这样做? 我确实需要获得和确定美国地理统计局的插座。
每次都使用 Apple果,“Schouldkype允许这样做”方言。 这种做法非常低效,极右。
建议
我正在考虑撰写一份32幅CLI包裹,但这似乎像高技能。
我有一个x86_64,我想选择性地读Skype状况信息。 然而,5年的天空ma框架是32个轨道,如果能够用64个轨道进行汇编,我就没有发现。
我的问题基本上是,我应如何这样做? 我确实需要获得和确定美国地理统计局的插座。
每次都使用 Apple果,“Schouldkype允许这样做”方言。 这种做法非常低效,极右。
建议
我正在考虑撰写一份32幅CLI包裹,但这似乎像高技能。
这是对前船要求的答复。 我在问这个问题何时回头之后使用了这一法典。 我不需要看Skype AP,因为这项工作只是很细微的,但我想象,自我上次尝试使用这一工具以来,它已经更新。 ......
此处列出我在向天空传送时使用的NSDistributedNotifications:
SKSkypeAPINotation
SKSkypeAttachResponse
SKSkypeBecameAvaable
SKAvaability A. 更新
SKSkypeWill Quit
同任何其他类型的NSDistributedNotification一样,你只是登记和处理结果:
[[NSDistributedNotificationCenter defaultCenter]
addObserver:self selector:@selector(setStatusAfterQuit:)
name:@"SKSkypeWill Quit"
object:nil
suspensionBehavior:NSNotificationSuspensionBehaviorDeliverImmediately];
这些是我与Skype合用的单月:
NSString *applicationName;
NSString *mostRecentStatus;
NSString *mostRecentStatusMessage;
NSString *mostRecentUsername;
int APIClientID;
BOOL isConnected;
BOOL needToSetMessage;
NSString *nextMessage;
NSString *nextStatus;
这里是连接天空的一个实例:
-(void) skypeConnect{
if (!isConnected){
[[NSDistributedNotificationCenter defaultCenter] postNotificationName:@"SKSkypeAPIAvailabilityRequest"
object:nil
userInfo:nil
deliverImmediately:YES];
[[NSDistributedNotificationCenter defaultCenter] postNotificationName:@"SKSkypeAPIAttachRequest"
object:applicationName
userInfo:nil
deliverImmediately:YES];
}
}
这里是获得身份信息的一个例子(在你在Skype登记之后):
-(void) processNotification:(NSNotification *) note{
if ([[note name] isEqualToString:@"SKSkypeAttachResponse"]){
if([[[note userInfo] objectForKey:@"SKYPE_API_ATTACH_RESPONSE"] intValue] == 0){
NSLog(@"Failed to connect to Skype.");
isConnected = NO;
}else {
NSLog(@"Connected to Skype.");
APIClientID = [[[note userInfo] objectForKey:@"SKYPE_API_ATTACH_RESPONSE"] intValue];
isConnected = YES;
[self sendCommand:@"GET PROFILE MOOD_TEXT"];
if (needToSetMessage){
[self sendCommand:[NSString stringWithFormat:@"SET USERSTATUS %@",nextStatus]];
[self sendCommand:[NSString stringWithFormat:@"SET PROFILE MOOD_TEXT %@",nextMessage]];
needToSetMessage = NO;
nextMessage = @"";
nextStatus = @"";
}
}
}
}
我利用通知监测员获悉Skype的APIC只是与NSDistributedNotifications合作。 撤回这些通知就像64比值的药剂一样。
http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/formingBridgeConcepts/Introduction/Introduction.html
如果我记得是正确的,在你允许的情况下,不允许进行方言。
我的“Skype Apple”号成文,我不得不用德国马克来点击。 他们到场。
tell application "Skype" to launch
delay 15
(* this part if the security API window comes up*)
tell application "System Events"
tell application process "Skype"
if exists (radio button "Allow this application to use Skype" of radio group 1 of window "Skype API Security") then
click
delay 0.5
click button "OK" of window "Skype API Security"
end if
end tell
end tell
delay 5
我发现,如果你通过浏览捆包内容来打开“Skype.app”;“框架”你发现有64个轨道和32个轨道天线。
Okay, I ll bite. I ve got really pleasant code/window colors set up in Xcode. Ordinarily, my selection color is very visible. When I am doing a project search and iterating through the results, ...
I m using Xcode on OSX to develop command line C applications. I would also like to use Instruments to profile and find memory leaks. However, I couldn t find a way to display the console when ...
Hi I am new to objective c. I am trying to make an app for iphone. I have a button on my view, and the click on which the function playSound is called. This is working properly. It does plays the ...
I have a number of places where I need to re-use some template code. Many classes need these items In a .h could I do something like: #include <xxx.txt> and place all of this code in the ....
This is a follow-up to my previous question . I succeeded in implementing the algorithm for checking umlauted characters. The next problem comes from iterating over all characters in a string. I do ...
我跑了X条码,试图把我的手套放在我的电话上。 I m 获取错误信息:“正在设计的方案没有运行”。
Is it possible to open the same file in two separate windows in Xcode. I can open a file in one window and the same file in the main Xcode editor window, but I wanted two separate fulltime editor ...
In our environment, we share resources across multiple projects and platforms. When building for iPhone, only a subset of those resources are needed. Since that subset is still considerable, we have ...