Skip to content

Commit

Permalink
TUIKitDemo 5.9.1886
Browse files Browse the repository at this point in the history
  • Loading branch information
harvycchen committed Dec 31, 2021
1 parent 466fd63 commit f2cc8fd
Show file tree
Hide file tree
Showing 90 changed files with 3,842 additions and 6,311 deletions.
10 changes: 5 additions & 5 deletions iOS/Demo/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ target 'TUIKitDemo' do
use_modular_headers!

# Pods for Example
pod 'TUIChat', '5.9.1872'
pod 'TUIConversation', '5.9.1872'
pod 'TUIContact', '5.9.1872'
pod 'TUIGroup', '5.9.1872'
pod 'TUISearch', '5.9.1872'
pod 'TUIChat', '5.9.1886'
pod 'TUIConversation', '5.9.1886'
pod 'TUIContact', '5.9.1886'
pod 'TUIGroup', '5.9.1886'
pod 'TUISearch', '5.9.1886'
pod 'TUICalling'
pod 'MJRefresh'
end

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

132 changes: 40 additions & 92 deletions iOS/Demo/TUIKitDemo.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>SchemeUserState</key>
<dict>
<key>TUIKitDemo.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>15</integer>
</dict>
<key>publishToGit.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>16</integer>
</dict>
<key>pushservice.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>17</integer>
</dict>
</dict>
</dict>
</plist>
Binary file not shown.
17 changes: 17 additions & 0 deletions iOS/Demo/TUIKitDemo/AppDelegate+APNS.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
//
// AppDelegate+APNS.h
// TUIKitDemo
//
// Created by harvy on 2021/12/22.
// Copyright © 2021 Tencent. All rights reserved.
//

#import "AppDelegate.h"

NS_ASSUME_NONNULL_BEGIN

@interface AppDelegate (APNS)

@end

NS_ASSUME_NONNULL_END
13 changes: 13 additions & 0 deletions iOS/Demo/TUIKitDemo/AppDelegate+APNS.m
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
//
// AppDelegate+APNS.m
// TUIKitDemo
//
// Created by harvy on 2021/12/22.
// Copyright © 2021 Tencent. All rights reserved.
//

#import "AppDelegate+APNS.h"

@implementation AppDelegate (APNS)

@end
36 changes: 36 additions & 0 deletions iOS/Demo/TUIKitDemo/AppDelegate+Push.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
//
// AppDelegate+Push.h
// TUIKitDemo
//
// Created by harvy on 2021/12/22.
// Copyright © 2021 Tencent. All rights reserved.
//

#import "AppDelegate.h"

NS_ASSUME_NONNULL_BEGIN

//apns
#ifdef DEBUG
#define sdkBusiId 0
#else
#define sdkBusiId 0
#endif

@interface AppDelegate (Push)

- (void)push_registNotification;
- (void)push_onLoginSucc;

- (void)push_applicationDidEnterBackground:(UIApplication *)application;
- (void)push_applicationWillEnterForeground:(UIApplication *)application;

#pragma mark - 未读数相关
// 总的未读数发生了变化
- (void)onTotalUnreadCountChanged:(UInt64)totalUnreadCount;
// 清空所有未读
- (void)clearUnreadMessage;

@end

NS_ASSUME_NONNULL_END
Loading

0 comments on commit f2cc8fd

Please sign in to comment.