Latest 1.0.8
Homepage https://github.com/LYajun/LGTalk
License MIT
Platforms ios 8.0, requires ARC
Dependencies Masonry, MJExtension, MJRefresh, SDWebImage, LGAlertHUD, TFHpple, XMLDictionary, AFNetworking
Authors

在线讨论模块方便学生和教师在作业前、中、后期都可就作业相关问题进行互动交流

LGTalkLGTalk

使用方式

1、集成:

pod 'LGTalk'

2、配置


/** 服务器地址(登录的服务器设置地址) */
@property (nonatomic,copy) NSString *apiUrl;
/** 用户ID */
@property (nonatomic,copy) NSString *userID;
/** 用户名 */
@property (nonatomic,copy) NSString *userName;
/** 用户类型 */
@property (nonatomic,assign) NSInteger userType;
/** 用户头像路径 */
@property (nonatomic,copy) NSString *photoPath;
/** 学校ID */
@property (nonatomic,copy) NSString *schoolID;

/** 任务ID */
@property (nonatomic,copy) NSString *assignmentID;
/** 任务名 */
@property (nonatomic,copy) NSString *assignmentName;
/** 资料ID */
@property (nonatomic,copy) NSString *resID;
/** 资料名 */
@property (nonatomic,copy) NSString *resName;
/** 教师ID */
@property (nonatomic,copy) NSString *teacherID;
/** 教师名 */
@property (nonatomic,copy) NSString *teachertName;
/** 学科ID */
@property (nonatomic,copy) NSString *subjectID;
/** 学科名 */
@property (nonatomic,copy) NSString *subjectName;
/** 系统ID */
@property (nonatomic,copy) NSString *systemID;

3、使用


[LGTalkManager defaultManager].apiUrl = @"http://192.168.3.158:10103";    
[LGTalkManager defaultManager].userID = @"zxstu55";
[LGTalkManager defaultManager].userName = @"王玉宁";
[LGTalkManager defaultManager].userType = 2;
[LGTalkManager defaultManager].photoPath = @"http://192.168.129.130:10101/lgftp/UserInfo/Photo/Default/Nopic201.jpg";
[LGTalkManager defaultManager].schoolID = @"S0-0217-1FDC";

[LGTalkManager defaultManager].assignmentID = @"KHZYRW-zengruiyan1-0000000000000000000000000000006-8c569e92-4452-41f6-939c-3cfab41a559c";
[LGTalkManager defaultManager].resID = @"P20190305183838351968";
[LGTalkManager defaultManager].resName = @"测试作业";

[[LGTalkManager defaultManager] presentKnowledgeControllerBy:self];

Latest podspec

{
    "name": "LGTalk",
    "version": "1.0.8",
    "summary": "u5728u7ebfu8ba8u8bba",
    "homepage": "https://github.com/LYajun/LGTalk",
    "license": "MIT",
    "authors": {
        "u5218u4e9au519b": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/LYajun/LGTalk.git",
        "tag": "1.0.8"
    },
    "source_files": [
        "LGTalk/LGTalk.h",
        "LGTalk/Enter/*.{h,m}",
        "LGTalk/Module/**/*.{h,m}",
        "LGTalk/Utils/Network/*.{h,m}",
        "LGTalk/Common/**/*.{h,m}"
    ],
    "resources": "LGTalk/LGTalk.bundle",
    "requires_arc": true,
    "dependencies": {
        "Masonry": [],
        "MJExtension": [],
        "MJRefresh": [],
        "SDWebImage": [],
        "LGAlertHUD": [],
        "TFHpple": [],
        "XMLDictionary": [],
        "AFNetworking": []
    },
    "subspecs": [
        {
            "name": "Category",
            "source_files": "LGTalk/Category/*.{h,m}",
            "dependencies": {
                "LGTalk/Const": [],
                "TFHpple": []
            }
        },
        {
            "name": "Const",
            "source_files": "LGTalk/Const/*.{h,m}"
        },
        {
            "name": "Utils",
            "subspecs": [
                {
                    "name": "ImagePickerController",
                    "source_files": "LGTalk/Utils/ImagePickerController/*.{h,m}"
                },
                {
                    "name": "Photo",
                    "source_files": "LGTalk/Utils/Photo/*.{h,m}",
                    "dependencies": {
                        "LGTalk/Const": [],
                        "LGTalk/Category": [],
                        "SDWebImage": [],
                        "Masonry": []
                    }
                },
                {
                    "name": "ActivityIndicatorView",
                    "source_files": "LGTalk/Utils/ActivityIndicatorView/*.{h,m}"
                },
                {
                    "name": "PresentPushAnimation",
                    "source_files": "LGTalk/Utils/PresentPushAnimation/*.{h,m}"
                }
            ]
        }
    ]
}

Pin It on Pinterest

Share This