腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
首页
学习
活动
专区
工具
TVP
最新优惠活动
返回腾讯云官网
c#开发者
专栏作者
举报
256
文章
302865
阅读量
48
订阅数
订阅专栏
申请加入专栏
全部文章
数据库
其他
.net
asp.net
xml
sql
oracle
网络安全
javascript
github
编程算法
linux
http
https
objective-c
mvc
git
开源
windows
c#
json
面向对象编程
ios
java
html
jquery
网站
silverlight
api
自动化
html5
数据处理
mac os
ajax
jdbc
python
angularjs
android
云数据库 SQL Server
ide
windows server
容器镜像服务
xslt & xpath
sql server
iis
数据分析
系统架构
datagrid
负载均衡
go
node.js
css
硬件开发
web.py
unix
ubuntu
负载均衡缓存
apt-get
神经网络
深度学习
日志服务
访问管理
文字识别
机器翻译
腾讯云测试服务
人工智能
存储
分布式
缓存
asp
tcp/ip
gradle
微信
安全
小程序
mqtt
密钥管理服务
unicode
biztalk
code
easyui
field
filter
google
linq
pip
point
报表
路由器
数据
搜索文章
搜索
搜索
关闭
IOS5开发-http get/post调用mvc4 webapi互操作(图片上传)
ios
objective-c
json
目前最流行的跨平台交互是采用http协议通过JSON对象进行互操作。这种方式最简单,也很高效。webservice+xml的方式似乎已经过时。 下面是我做的一个例子 webapi的代码 View Code public IEnumerable<Product> GetAllProducts() { Console.WriteLine(DateTime.Now.ToLongTimeString() + " : receive request.");
阿新
2018-04-12
1.1K
0
Convert an object into Json using SBJson or other JSON library
json
objective-c
面向对象编程
Using SBJson, to convert a object to JSON string, you have to override the proxyForJson method. Like the following, The .h file, @interface MyCustomObject : NSObject { NSString *receiverFirstName; NSString *receiverMiddleInitial; NSString *rece
阿新
2018-04-12
610
0
一种自动的将自定义类序列化为JSON的方法
objective-c
面向对象编程
最近因为项目需求,需要将一些自定义的类序列化为JSON,网上有很多好用的第三方序列化工具,但都只能自动序列化一些基本类型,如NSNumber,NSString与NSDictionary这种,没有一种第三方工具提供直接将自定义类序列化的方法(至少据我所知:),而对于这种序列化自定义的类的需求,网上能查到的方法只有将自定义的类手动的转存为一个NSDictionary,然后再使用第三方工具来序列化。例如对于一个类Foo,有如下定义: @interface Foo : NSObject { NSStri
阿新
2018-04-12
1K
0
Iphone 视图跳转方法总结
objective-c
面向对象编程
1.AddInfo *control = [[AddInfo alloc] init]; [self presentModalViewController:control animated:YES]; [control release]; 描述:通过事件进行跳转 [self dismissModalViewControllerAnimated:YES]; 描述:通过事件进行返回。 2.[self.navigationController pushViewController:subT
阿新
2018-04-12
626
0
xcode uiscrollview with paging and zoom
objective-c
xml
Here is a simple and sample code that demonstrate the photo slide function with zoom using uiscrollview. image.png this is the first photo image.png sliding image.png zooming in particular photo 1. first drag three photos to your project , size no
阿新
2018-04-12
1.1K
0
Infinite Scrolling in UIScrollView
objective-c
xml
- (void)viewDidLoad { [super viewDidLoad]; [theScrollView setContentSize:CGSizeMake(3 * theScrollView.bounds.size.width, theScrollView.bounds.size.height)]; [theScrollView setPagingEnabled:YES]; CGRect aFrame = theScrollView.bound
阿新
2018-04-12
506
0
IOS5开发-控件位置适应屏幕旋转代码
ios
objective-c
- (void)willRotateToInterfaceOrientation:(UIInterfaceOrientation)toOrientation duration:(NSTimeInterval)duration { if (toOrientation == UIInterfaceOrientationLandscapeLeft || toOrientation == UIInterfaceOrientat
阿新
2018-04-12
1.4K
0
ios5开发-UITableView开启编辑功能
ios
objective-c
该例子添加UITableView编辑功能 具体功能如下 功能很简单但很实用 @implementation AppDelegate @synthesize window = _window; @s
阿新
2018-04-12
776
0
没有更多了
社区活动
腾讯技术创作狂欢月
“码”上创作 21 天,分 10000 元奖品池!
立即发文
Python精品学习库
代码在线跑,知识轻松学
立即查看
博客搬家 | 分享价值百万资源包
自行/邀约他人一键搬运博客,速成社区影响力并领取好礼
立即体验
技术创作特训营·精选知识专栏
往期视频·千货材料·成员作品 最新动态
立即查看
领券
问题归档
专栏文章
快讯文章归档
关键词归档
开发者手册归档
开发者手册 Section 归档