Game BattleCat

100%銀券

  • 04日19時 
  • 14日22時 
  • 24日19時

道具

  • 星期一 道具「MAX」
  • 星期二 道具「加速」
  • 星期三 道具「XP 1.5倍」
  • 星期四 道具「狙擊手」
  • 星期五 道具「電腦操控」
  • 星期六\星期日 經驗「経験値は蜜の味」

狂亂

  • 03 小貓 got
  • 06 牆貓 got
  • 09 斧貓
  • 12 腿貓
  • 15 牛貓 got
  • 18 鳥貓
  • 21 魚貓
  • 24 龍貓
  • 27 巨人貓

日文攻略

iOS delegete

區塊B中的delegate回傳的數值,傳遞到區塊A的completionHandler

1
2
3
4
5
6
7
8
9
10
11
12
13
14
@property (copy, nonatomic) CBFetchPathResult tempCompletionHandler;

A:
if (.....) {
self.tempCompletionHandler = completionHandler
;

[[WebDAVClient ....]];
}

B:
{
if (self.tempCompletionHandler) {
self.tempCompletionHandler(item, nil)
;

}
}

ref_fb

Push Notification

1
2
3
4
5
6
7
8
9
10
11
12
13
//Set Notification
if ([[[UIDevice currentDevice] systemVersion] floatValue] >= 8.0)
{
[[UIApplication sharedApplication] registerUserNotificationSettings:[UIUserNotificationSettings
settingsForTypes:(UIUserNotificationTypeSound | UIUserNotificationTypeAlert | UIUserNotificationTypeBadge)
categories:nil]];
[[UIApplication sharedApplication] registerForRemoteNotifications];
}
else
{
[[UIApplication sharedApplication] registerForRemoteNotificationTypes:
(UIUserNotificationTypeBadge | UIUserNotificationTypeSound | UIUserNotificationTypeAlert)];
}
1
2
3
4
5
6
7
8
//Check currentUserNotificationSettings
UIRemoteNotificationType types;
if ([[[UIDevice currentDevice] systemVersion] floatValue] >= 8.0)
types = [[UIApplication sharedApplication] currentUserNotificationSettings].types;
else
types = [[UIApplication sharedApplication] enabledRemoteNotificationTypes];

return (types & UIRemoteNotificationTypeAlert);

ref_fb