A iOS Wrapper to connect with tapatalk api.
Tapatalk API : https://tapatalk.com/api.php
! IMPORTANT : this project not optimal for using connect with Tapatalk API. You should be use this project like referenced.
- Build Settings :
- Add -ObjC to Other linker Falgs
- Add /usr/include/libxml2 to Header Search Paths
- Build Phases : add libxml2.dylib to Link Binary With Libraries
-
(BOOL)application:(UIApp* lication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
[LNTapatalkSDK startWithFormUrl:@"http://domain.com/forum"];
Connect with tapatalk will like this : http://domain.com/forum/mobiquo/mobiquo.php
-
(void)applicationDidBecomeActive:(UIApplication *)application
[LNTapatalkSDK didBecomeActive];
After call [LNTapatalkSDK didBecomeActive] success. You can get forum structure:
[ModelForum rootForum]
To login and manager logged User, using LNAccountManager
Using LNForumPaging for get topics in a forum and LNTopicPaging for get get posts in a topic.
Read more TatalkAPI.h to see more function connect with tapatalk API.
Copyright (c) 2014 Phuoc Hai [email protected]
PHTapatalkSDK is licensed under MIT License Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software