测试已测试 | ✗ |
语言语言 | Obj-CObjective C |
许可 | 自定义 |
发布最新发布 | 2017年10月 |
Maintained by Guillaume Bonnin, Bill350.
在iOS上简化社交网络管理。
2.X版本是用Objective-C编写的(但完全兼容Swift)。我们目前正在开发一个全Swift分支,预计会在3.0版本中提供。
SNSSocial 允许您使用类似的方法使用不同的社交网络(登录、分享)。
该库与Facebook和Twitter兼容。每个社交网络都是独立的。
查看GitHub Wiki以查看所有功能或只需查看完全注释的头部文件。
对于Facebook SDK,只需添加FacebookAppID
和FacebookDisplayName
键
对于Twitter SDK,只需添加TwitterAPIKey
、TwitterAPISecret
和TwitterCallBackScheme
键
[SNSFacebookInteractions postLink:@"https://github.com/smartnsoft/SNSSocial"
withTitle:@"SNSSocial"
description:@"Discover SNSSocial, an iOS library to interact with social networks in your app!"
pictureUrl:nil
parentController:self
completion:^(id result, NSError * error)
{
if (error == nil)
{
// Do something
}
else
{
// Display error
}
}];
[SNSTwitter postTweetWithMessage:@"Sample tweet with SNSSocial #iosdev"
fromParentViewController:self
completion:^(id result, NSError * error)
{
if (error == nil)
{
// Do something
}
else
{
// Display error
}
}];
SNSSocial是Smart&Soft库之一,专门用于iOS开发。
它由法国一家前沿的移动代理Smart&Soft开发和维护。
变更日志可在专门的文件中查看。
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 3 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.