资源简介
陌陌聊天软件(客户端+服务器端+数据库)源码

代码片段和文件信息
//
// AppRec.m
// MOMO
//
// Created by apple on 12-7-2.
// Copyright (c) 2012年 My Company. All rights reserved.
// QQ:1490724
#import “AppRec.h“
#import “Appxmlparser.h“
@implementation AppRec
@synthesize arrayrequest;
@synthesize tableview;
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
if (self) {
// Custom initialization
}
return self;
}
- (void)didReceiveMemoryWarning
{
// Releases the view if it doesn‘t have a superview.
[super didReceiveMemoryWarning];
// Release any cached data images etc that aren‘t in use.
}
#pragma mark - View lifecycle
-(void)addHUD{
// HUD = [[MBProgressHUD alloc] initWithView:self.navigationController.view];
// [self.navigationController.view addSubview:HUD];
// HUD.dimBackground = YES;
// HUD.delegate = self;
// HUD.labelText = @““;
// [HUD showWhileExecuting:@selector(loadBlackList) onTarget:self withobject:nil animated:YES];
[self loadBlackList];
}
-(void)loadBlackList{
NSURL *url=[NSURL URLWithString:@“http://itunes.apple.com/cn/rss/topfreeapplications/limit=25/xml“];
[self setRequest:[ASIHTTPRequest requestWithURL:url]];
//[request addRequestHeader:@“User-Agent“ value:@“ASIHTTPRequest“];
[request startSynchronous];
if (request) {
if ([request error]) {
NSString *result = [[request error] localizedDescription];
UIAlertView *alertView = [[UIAlertView alloc] initWithtitle:@“温馨提示“ message:result delegate:self cancelButtontitle:@“确定“ otherButtontitles:nil nil];
[alertView show];
[alertView release];
} else if ([request responseData]){
NSData *data=[request responseData];
NSString *result = [[NSString alloc] initWithData:data encoding:NSUTF8StringEncoding];
//NSLog(@“%@“result);
Appxmlparser *appxml=[[Appxmlparser alloc] init];
[appxml parserxmlForString:result];
self.array=appxml.array;
[appxml release];
[result release];
[tableview reloadData];
}
}
}
- (void)viewDidLoad
{
[self addHUD];
[super viewDidLoad];
UIImage *imgHeaderBg = [UIImage imageNamed:@“banner01“];
if([self.navigationController.navigationBar respondsToSelector:@selector(setBackgroundImage:forBarMetrics:)])
{
[self.navigationController.navigationBar setBackgroundImage:imgHeaderBg forBarMetrics:UIBarMetricsDefault];
}
self.title = @“精品APP推荐“;
array=[[NSMutableArray alloc] init];
queue=[[NSOperationQueue alloc] init];
dict=[[NSMutableDictionary alloc] init];
tableview=[[UITableView alloc] initWithframe:self.view.bounds style:UITableViewstylePlain];
tableview.delegate=self;
tableview.dataSource=self;
[self.view addSubview:tableview];
}
-(void)dealloc{
[super dealloc];
[queue release]
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2013-09-08 21:46 陌陌客户端+服务端ios源代码\
目录 0 2013-06-16 22:55 陌陌客户端+服务端ios源代码\仿陌陌的客户端前台\
目录 0 2012-07-18 18:04 陌陌客户端+服务端ios源代码\仿陌陌的客户端前台\Dache-0718\
文件 12292 2012-10-10 09:23 陌陌客户端+服务端ios源代码\仿陌陌的客户端前台\Dache-0718\.DS_Store
目录 0 2012-07-18 18:04 陌陌客户端+服务端ios源代码\仿陌陌的客户端前台\Dache-0718\dache.xcodeproj\
文件 421975 2012-07-18 17:07 陌陌客户端+服务端ios源代码\仿陌陌的客户端前台\Dache-0718\dache.xcodeproj\project.pbxproj
目录 0 2012-07-18 18:04 陌陌客户端+服务端ios源代码\仿陌陌的客户端前台\Dache-0718\dache.xcodeproj\project.xcworkspace\
文件 150 2012-07-04 13:03 陌陌客户端+服务端ios源代码\仿陌陌的客户端前台\Dache-0718\dache.xcodeproj\project.xcworkspace\contents.xcworkspacedata
目录 0 2012-07-10 09:56 陌陌客户端+服务端ios源代码\仿陌陌的客户端前台\Dache-0718\dache.xcodeproj\project.xcworkspace\xcshareddata\
文件 263 2012-07-10 09:56 陌陌客户端+服务端ios源代码\仿陌陌的客户端前台\Dache-0718\dache.xcodeproj\project.xcworkspace\xcshareddata\WorkspaceSettings.xcsettings
目录 0 2012-07-18 18:04 陌陌客户端+服务端ios源代码\仿陌陌的客户端前台\Dache-0718\dache.xcodeproj\project.xcworkspace\xcuserdata\
目录 0 2012-04-06 16:52 陌陌客户端+服务端ios源代码\仿陌陌的客户端前台\Dache-0718\dache.xcodeproj\project.xcworkspace\xcuserdata\cs.xcuserdatad\
文件 31770 2012-04-06 16:52 陌陌客户端+服务端ios源代码\仿陌陌的客户端前台\Dache-0718\dache.xcodeproj\project.xcworkspace\xcuserdata\cs.xcuserdatad\UserInterfaceState.xcuserstate
目录 0 2012-07-18 17:20 陌陌客户端+服务端ios源代码\仿陌陌的客户端前台\Dache-0718\dache.xcodeproj\project.xcworkspace\xcuserdata\Fanshuai.xcuserdatad\
文件 228052 2012-07-18 17:20 陌陌客户端+服务端ios源代码\仿陌陌的客户端前台\Dache-0718\dache.xcodeproj\project.xcworkspace\xcuserdata\Fanshuai.xcuserdatad\UserInterfaceState.xcuserstate
目录 0 2011-11-27 02:28 陌陌客户端+服务端ios源代码\仿陌陌的客户端前台\Dache-0718\dache.xcodeproj\project.xcworkspace\xcuserdata\hanguoxiang.xcuserdatad\
文件 1002546 2011-11-27 02:28 陌陌客户端+服务端ios源代码\仿陌陌的客户端前台\Dache-0718\dache.xcodeproj\project.xcworkspace\xcuserdata\hanguoxiang.xcuserdatad\UserInterfaceState.xcuserstate
目录 0 2012-10-10 09:23 陌陌客户端+服务端ios源代码\仿陌陌的客户端前台\Dache-0718\dache.xcodeproj\project.xcworkspace\xcuserdata\zengchao.xcuserdatad\
文件 1688959 2012-10-10 09:23 陌陌客户端+服务端ios源代码\仿陌陌的客户端前台\Dache-0718\dache.xcodeproj\project.xcworkspace\xcuserdata\zengchao.xcuserdatad\UserInterfaceState.xcuserstate
文件 711 2012-03-05 10:16 陌陌客户端+服务端ios源代码\仿陌陌的客户端前台\Dache-0718\dache.xcodeproj\project.xcworkspace\xcuserdata\zengchao.xcuserdatad\WorkspaceSettings.xcsettings
目录 0 2012-07-10 09:56 陌陌客户端+服务端ios源代码\仿陌陌的客户端前台\Dache-0718\dache.xcodeproj\xcshareddata\
目录 0 2012-07-10 09:56 陌陌客户端+服务端ios源代码\仿陌陌的客户端前台\Dache-0718\dache.xcodeproj\xcshareddata\xcschemes\
目录 0 2012-07-18 18:04 陌陌客户端+服务端ios源代码\仿陌陌的客户端前台\Dache-0718\dache.xcodeproj\xcuserdata\
目录 0 2012-07-18 18:04 陌陌客户端+服务端ios源代码\仿陌陌的客户端前台\Dache-0718\dache.xcodeproj\xcuserdata\cs.xcuserdatad\
目录 0 2012-04-06 09:08 陌陌客户端+服务端ios源代码\仿陌陌的客户端前台\Dache-0718\dache.xcodeproj\xcuserdata\cs.xcuserdatad\xcdebugger\
文件 91 2012-04-06 09:08 陌陌客户端+服务端ios源代码\仿陌陌的客户端前台\Dache-0718\dache.xcodeproj\xcuserdata\cs.xcuserdatad\xcdebugger\Breakpoints.xcbkptlist
目录 0 2012-07-18 18:04 陌陌客户端+服务端ios源代码\仿陌陌的客户端前台\Dache-0718\dache.xcodeproj\xcuserdata\cs.xcuserdatad\xcschemes\
文件 3104 2012-03-31 12:39 陌陌客户端+服务端ios源代码\仿陌陌的客户端前台\Dache-0718\dache.xcodeproj\xcuserdata\cs.xcuserdatad\xcschemes\CMPayClient.xcscheme
文件 483 2012-03-31 12:39 陌陌客户端+服务端ios源代码\仿陌陌的客户端前台\Dache-0718\dache.xcodeproj\xcuserdata\cs.xcuserdatad\xcschemes\xcschememanagement.plist
目录 0 2012-07-18 18:04 陌陌客户端+服务端ios源代码\仿陌陌的客户端前台\Dache-0718\dache.xcodeproj\xcuserdata\Fanshuai.xcuserdatad\
目录 0 2012-07-18 17:20 陌陌客户端+服务端ios源代码\仿陌陌的客户端前台\Dache-0718\dache.xcodeproj\xcuserdata\Fanshuai.xcuserdatad\xcdebugger\
............此处省略2955个文件信息
相关资源
- E4A无障碍跨程序操作类库(带源码、
- 设备管理系统源码
- 安卓wifi直连app源码
- 我的世界源码(易语言版)
- labview编程软件滤波器以及编写程序设
- 我的界面(visual foxpro)源码
- 易语言:一键cf基址源码
- The Secret Path 3D 3D魔方迷宫[源码][scra
- scratch垃圾分类源码(最终版本).sb
- 安卓QQ6.71协议源码易语言,qq协议源码
- 编译原理实验工具及参考源码(lex&
- E盾偷后台工具源码
- UNIX/LINUX编程实践教程的源码
- 十以内加减法练习 powerbuilder源码
- 农场开发项目
- OCR源码
- PLC上位机编程软件
- 用foobar2000听google音乐[更新一下]
- 学生信息管理系统源码
- 用VC 编写的仿QQ聊天室程序源代码
- 毕业论文之温度传感器DS18B20(源码
- 可自定义导航网站源码
- 栅栏填充算法源码(VC)
- msp430F149操作红外接收模块源码
- Qt局域网聊天软件
- [免费]图像识别c 源码
- 周易排盘源码
- RSA算法源码
- 一个人脸识别程序源码
- 编译原理课程设计:词法语法编译器
评论
共有 条评论