Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
GMShareSDK
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gengmeiios
GMShareSDK
Commits
2edc6e84
Commit
2edc6e84
authored
Jan 13, 2020
by
jz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
8290cae9
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
28 additions
and
22 deletions
+28
-22
Podfile
Example/Podfile
+5
-0
Podfile.lock
Example/Podfile.lock
+3
-3
GMWeixinShareView.h
Example/Pods/Headers/Private/GMShareSDK/GMWeixinShareView.h
+0
-2
GMWeixinShareView.h
Example/Pods/Headers/Public/GMShareSDK/GMWeixinShareView.h
+0
-2
GMShareSDK.podspec.json
Example/Pods/Local Podspecs/GMShareSDK.podspec.json
+2
-3
Manifest.lock
Example/Pods/Manifest.lock
+3
-3
project.pbxproj
Example/Pods/Pods.xcodeproj/project.pbxproj
+0
-0
GMShareSDK.podspec
GMShareSDK.podspec
+1
-1
ALPlatformView.h
GMShareSDK/Classes/Share/ALShareView/ALPlatformView.h
+1
-1
ALPlatformView.m
GMShareSDK/Classes/Share/ALShareView/ALPlatformView.m
+1
-0
GMShareView.h
GMShareSDK/Classes/Share/GMShareView.h
+0
-1
GMShareSDK.m
GMShareSDK/Classes/ShareSDK/GMShareSDK.m
+1
-0
GMThirdPartyLoginHelper.m
GMShareSDK/Classes/ShareSDK/GMThirdPartyLoginHelper.m
+1
-0
GMThirdPartyOauthManager.h
GMShareSDK/Classes/ShareSDK/GMThirdPartyOauthManager.h
+2
-6
GMThirdPartyOauthManager.m
GMShareSDK/Classes/ShareSDK/GMThirdPartyOauthManager.m
+8
-0
No files found.
Example/Podfile
View file @
2edc6e84
...
...
@@ -17,3 +17,8 @@ target 'GMShareSDK_Example' do
end
end
pre_install
do
|
installer
|
# workaround for https://github.com/CocoaPods/CocoaPods/issues/3289
Pod
::
Installer
::
Xcode
::
TargetValidator
.
send
(
:define_method
,
:verify_no_static_framework_transitive_dependencies
)
{}
end
Example/Podfile.lock
View file @
2edc6e84
...
...
@@ -43,7 +43,7 @@ PODS:
- GMPhobos (1.3.5):
- GMCache
- GMKit
- GMShareSDK (0.1.
5
):
- GMShareSDK (0.1.
7
):
- DouyinOpenSDK
- GMFoundation
- GMJSONModel
...
...
@@ -94,7 +94,7 @@ SPEC CHECKSUMS:
GMJSONModel: 5e81a98de668e9f93cf6ff77869f77b0d1a806be
GMKit: 2573350637f4d4e200c8cf3426b7b96a924af15e
GMPhobos: 1e2d68c456b69bf156276d7242877498107474db
GMShareSDK:
116ca081261a2cc1b2b1fbb9e2acae65dd9ffb46
GMShareSDK:
613edf194beed865a8ecf6addefec8227db24272
Masonry: 678fab65091a9290e40e2832a55e7ab731aad201
MBProgressHUD: e7baa36a220447d8aeb12769bf0585582f3866d9
SDWebImage: 5bf6aec6481ae2a062bdc59f9d6c1d1e552090e0
...
...
@@ -102,6 +102,6 @@ SPEC CHECKSUMS:
WechatOpenSDK: 368ae03b72ee3ea1328c4f11326fbb5d2721d118
WeiboSDK: acb067053668102cf07d01aa7604350162c2e466
PODFILE CHECKSUM:
2ac9940f13453015746009e8a777570546d03d30
PODFILE CHECKSUM:
9e65a97d048be4488b587c55a43ca8a5aefe7417
COCOAPODS: 1.7.4
Example/Pods/Headers/Private/GMShareSDK/GMWeixinShareView.h
deleted
120000 → 0
View file @
8290cae9
..
/
..
/
..
/
..
/
..
/
GMShareSDK
/
Classes
/
Share
/
GMWeixinShareView
.
h
\ No newline at end of file
Example/Pods/Headers/Public/GMShareSDK/GMWeixinShareView.h
deleted
120000 → 0
View file @
8290cae9
..
/
..
/
..
/
..
/
..
/
GMShareSDK
/
Classes
/
Share
/
GMWeixinShareView
.
h
\ No newline at end of file
Example/Pods/Local Podspecs/GMShareSDK.podspec.json
View file @
2edc6e84
{
"name"
:
"GMShareSDK"
,
"version"
:
"0.1.
5
"
,
"version"
:
"0.1.
7
"
,
"summary"
:
"A short description of GMShareSDK."
,
"description"
:
"TODO: Add long description of the pod here."
,
"homepage"
:
"http://git.wanmeizhensuo.com/gengmeiios/GMShareSDK.git"
,
...
...
@@ -13,7 +13,7 @@
},
"source"
:
{
"git"
:
"git@git.wanmeizhensuo.com:gengmeiios/GMShareSDK.git"
,
"tag"
:
"0.1.
5
"
"tag"
:
"0.1.
7
"
},
"platforms"
:
{
"ios"
:
"8.0"
...
...
@@ -52,7 +52,6 @@
"frameworks"
:
[
"Photos"
],
"static_framework"
:
true
,
"xcconfig"
:
{
"VALID_ARCHS"
:
"arm64 x86_64"
}
...
...
Example/Pods/Manifest.lock
View file @
2edc6e84
...
...
@@ -43,7 +43,7 @@ PODS:
- GMPhobos (1.3.5):
- GMCache
- GMKit
- GMShareSDK (0.1.
5
):
- GMShareSDK (0.1.
7
):
- DouyinOpenSDK
- GMFoundation
- GMJSONModel
...
...
@@ -94,7 +94,7 @@ SPEC CHECKSUMS:
GMJSONModel: 5e81a98de668e9f93cf6ff77869f77b0d1a806be
GMKit: 2573350637f4d4e200c8cf3426b7b96a924af15e
GMPhobos: 1e2d68c456b69bf156276d7242877498107474db
GMShareSDK:
116ca081261a2cc1b2b1fbb9e2acae65dd9ffb46
GMShareSDK:
613edf194beed865a8ecf6addefec8227db24272
Masonry: 678fab65091a9290e40e2832a55e7ab731aad201
MBProgressHUD: e7baa36a220447d8aeb12769bf0585582f3866d9
SDWebImage: 5bf6aec6481ae2a062bdc59f9d6c1d1e552090e0
...
...
@@ -102,6 +102,6 @@ SPEC CHECKSUMS:
WechatOpenSDK: 368ae03b72ee3ea1328c4f11326fbb5d2721d118
WeiboSDK: acb067053668102cf07d01aa7604350162c2e466
PODFILE CHECKSUM:
2ac9940f13453015746009e8a777570546d03d30
PODFILE CHECKSUM:
9e65a97d048be4488b587c55a43ca8a5aefe7417
COCOAPODS: 1.7.4
Example/Pods/Pods.xcodeproj/project.pbxproj
View file @
2edc6e84
This source diff could not be displayed because it is too large. You can
view the blob
instead.
GMShareSDK.podspec
View file @
2edc6e84
...
...
@@ -47,7 +47,7 @@ TODO: Add long description of the pod here.
s
.
frameworks
=
[
'Photos'
]
# s.libraries = 'xml2', 'z', 'c++', 'sqlite3'
s
.
static_framework
=
true
#
s.static_framework = true
# s.resource_bundles = {
# 'GMShareSDK' => ['GMShareSDK/Assets/*.png']
# }
...
...
GMShareSDK/Classes/Share/ALShareView/ALPlatformView.h
View file @
2edc6e84
...
...
@@ -5,7 +5,7 @@
// Created by Mikasa on 2019/1/10.
// Copyright © 2019 Gengmei. All rights reserved.
//
#import
<GMThirdPartyDefine.h>
#import
"GMThirdPartyDefine.h"
@interface
ALPlatformView
:
UIView
@property
(
nonatomic
,
copy
)
void
(
^
sharePlatformClick
)(
GMSharePlatform
platform
);
...
...
GMShareSDK/Classes/Share/ALShareView/ALPlatformView.m
View file @
2edc6e84
...
...
@@ -16,6 +16,7 @@
#import <GMKit/GMButton.h>
#import <GMKit/Constant.h>
#import <MBProgressHUD/MBProgressHUD.h>
#import <GMThirdPartyDefine.h>
@interface
ALPlatformView
()
...
...
GMShareSDK/Classes/Share/GMShareView.h
View file @
2edc6e84
...
...
@@ -8,7 +8,6 @@
#import <UIKit/UIKit.h>
#import "GMShareCell.h"
#import <GMThirdPartyDefine.h>
#import "GMShareTopView.h"
#import "WMShareObject.h"
...
...
GMShareSDK/Classes/ShareSDK/GMShareSDK.m
View file @
2edc6e84
...
...
@@ -21,6 +21,7 @@
#import "UIImage+Compress.h"
#import "DouyinOpenSDKApi.h"
#import "UIAlertController+gm.h"
#import <WechatOpenSDK/WXApi.h>
@interface
GMShareSDK
()
#warning TODO 待验证
...
...
GMShareSDK/Classes/ShareSDK/GMThirdPartyLoginHelper.m
View file @
2edc6e84
...
...
@@ -11,6 +11,7 @@
#import <WeiboSDK/WeiboSDK.h>
#import "GMThirdPartyDefine.h"
#import "GMThirdPartyOauthManager.h"
#import <TencentOpenAPI/TencentOAuth.h>
@implementation
GMThirdPartyUser
...
...
GMShareSDK/Classes/ShareSDK/GMThirdPartyOauthManager.h
View file @
2edc6e84
...
...
@@ -7,15 +7,11 @@
//
#import <Foundation/Foundation.h>
#import <WeiboSDK/WeiboSDK.h>
#import <WechatOpenSDK/WXApi.h>
#import "GMThirdPartyLoginHelper.h"
#import <TencentOpenAPI/TencentOAuth.h>
#import "DouyinOpenSDKApi.h"
//这里是接受三方授权的回调
@interface
GMThirdPartyOauthManager
:
NSObject
<
WeiboSDKDelegate
,
WBHttpRequestDelegate
,
TencentSessionDelegate
,
WXApiDelegate
,
DouyinOpenSDKApiDelegate
,
DouyinOpenSDKLogDelegate
>
@class
TencentOAuth
;
@interface
GMThirdPartyOauthManager
:
NSObject
@property
(
nonatomic
,
strong
)
GMThirdPartyUser
*
user
;
@property
(
nonatomic
,
assign
)
GMSharePlatform
currentShareType
;
@property
(
strong
,
nonatomic
)
NSString
*
wbtoken
;
...
...
GMShareSDK/Classes/ShareSDK/GMThirdPartyOauthManager.m
View file @
2edc6e84
...
...
@@ -10,6 +10,14 @@
#import "GMThirdPartyLoginHelper.h"
#import "GMShareSDK.h"
#import <GMFoundation/NSString+GM.h>
#import <TencentOpenAPI/TencentOAuth.h>
#import "DouyinOpenSDKApi.h"
#import <WeiboSDK/WeiboSDK.h>
#import <WechatOpenSDK/WXApi.h>
@interface
GMThirdPartyOauthManager
()
<
WeiboSDKDelegate
,
WBHttpRequestDelegate
,
TencentSessionDelegate
,
WXApiDelegate
,
DouyinOpenSDKApiDelegate
,
DouyinOpenSDKLogDelegate
>
@end
@implementation
GMThirdPartyOauthManager
+
(
instancetype
)
shareInstance
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment