高仿百思不得姐(败家姐模块)---cuzySdk IOS demo 已经发布

5 篇文章 0 订阅

Cuzy-iOS-demo

alt tag

iOS demo, that shows the capabilities of Cuzy SDK (淘宝客), that can be found on http://www.cuzy.com

last update: 2013.6.5

===============version 1.0===============

  1. this is a IOS APP SDK for taobaoke (Also has a sdk for android)

  2. you can download the sdk at : http://cuzy.com/index/download_sdk

  3. Something Notable:

    1).Copy the apropriate architecture's .a library and the apropriate resource bundle when you test.

    2).You app's mainWindow's rootViewController should not be nil.

    3).Add -ObjC linker flag to your other link flag.

4.HOW TO USE:

import "CuzyAdSDK.h"

@interface FrontViewController : UIViewController

{

}

  • (void)viewDidLoad { [super viewDidLoad]; [[CuzyAdSDK sharedAdSDK] setDelegate:self]; [[CuzyAdSDK sharedAdSDK] registerAppWithAppKey:@"cuzy key" andAppSecret:@"cuzy secret"]; }

  • (IBAction)showLayout1:(id)sender { [[CuzyAdSDK sharedAdSDK] fetchAppItemWithThemeID:nil orSearchKeywords:@"abcd"]; }

  • (IBAction)showLayout2:(id)sender { [[CuzyAdSDK sharedAdSDK] fetchAppItemWithThemeID:@"8" orSearchKeywords:@"abcde"]; }

  • (IBAction)getRawDataArray:(id)sender { NSArray* rawArray = [[CuzyAdSDK sharedAdSDK] fetchRawItemArraysWithThemeID:@"8" orSearchKeywords:@"adbc" withPageIndex:0];

    NSLog(@"the rawArray size is %d", rawArray.count); for (int i =0;i<[rawArray count]; i++) { CuzyTBKItem* tempItem = [rawArray objectAtIndex:i];

    }

}

QQ:1263572458 QQ群:322622433

意见反馈及技术支持:Email:support@theindex.com,aa@theindex.com

地址:朝阳区西大望路甲3号 蓝堡国际中心1座2303

alt tagalt tag

alt tag

alt tag

alt tag

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值