V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  kejinlu  ›  全部回复第 8 页 / 共 12 页
回复总数  235
1  2  3  4  5  6  7  8  9  10 ... 12  
2012-06-24 10:15:42 +08:00
回复了 guangzhen 创建的主题 分享创造 iPad 上看代码利器CodeNavigator
很明显 iPad下的看代码利器是Textastic,在它面前楼主推荐的弱爆了。 http://www.textasticapp.com/
2012-06-15 17:38:27 +08:00
回复了 jobtesting 创建的主题 问与答 找书:JavaScript 语言精粹
楼主哪里人,手头有本英文版。
2012-06-04 18:03:24 +08:00
回复了 adamsxu 创建的主题 酷工作 Doit.im 招聘iOS/Android/Java/C++
其实可以考虑做一些别的软件的么?
2012-05-31 01:47:38 +08:00
回复了 Livid 创建的主题 Project Babel 新功能 - Dribbble 用户名
美国时间? 等着 WWDC?
2012-05-31 01:42:22 +08:00
回复了 qichunren 创建的主题 iDev UIViewControlle的view的Frame属性在什么时候被改变了?
@qichunren UINavigationController push进一个viewController也是肯定会重设这个push进来的viewController的view的frame的,这个应该说成是充满UINavigationController的内容区域
2012-05-31 01:17:47 +08:00
回复了 qichunren 创建的主题 iDev UIViewControlle的view的Frame属性在什么时候被改变了?
@txx 哈哈 看快了,直接addSubview,设置好autoresizingMask,想必是可以的
2012-05-31 01:15:49 +08:00
回复了 qichunren 创建的主题 iDev UIViewControlle的view的Frame属性在什么时候被改变了?
@qichunren 你将一个view设置成一个viewController的view,然后又通过presentModalViewController的方式将这个viewController作为modalViewController展现出来,苹果的文档说了
"
On iPhone and iPod touch devices, the view of modalViewController is always presented full screen. On iPad, the presentation depends on the value in the modalPresentationStyle property.
"
所以在使用presentModalViewController的时候,会去改变viewController的view的frame。u楼主明白了么?
2012-05-31 01:06:47 +08:00
回复了 qichunren 创建的主题 iDev UIViewControlle的view的Frame属性在什么时候被改变了?
@txx 其实苹果非常不建议直接将一个viewController的view加入到另一个viewController的view我的hierarchy中,除非你清楚这样带来的后果. iOS 5.0之后新增了自定义容器试图控制器的接口,我前些日子写过一篇 关于容器的 http://geeklu.com/2012/05/custom-container-view-controller/
2012-05-31 01:03:11 +08:00
回复了 qichunren 创建的主题 iDev UIViewControlle的view的Frame属性在什么时候被改变了?
看我上面 星号之间的句子
2012-05-31 01:02:49 +08:00
回复了 qichunren 创建的主题 iDev UIViewControlle的view的Frame属性在什么时候被改变了?
[self presentModalViewController:viewController animated:TRUE]; 不过这个方法目前的状态为DEPRECATED,建议使用新的吧,所看看苹果的文档。

presentModalViewController:animated:
Presents a modal view managed by the given view controller to the user. (Deprecated. Use presentViewController:animated:completion: instead.)

- (void)presentModalViewController:(UIViewController *)modalViewController animated:(BOOL)animated
Parameters
modalViewController
The view controller that manages the modal view.
animated
If YES, animates the view as it’s presented; otherwise, does not.
Discussion

* On iPhone and iPod touch devices, the view of modalViewController is always presented full screen. On iPad, the presentation depends on the value in the modalPresentationStyle property. *

Sets the modalViewController property to the specified view controller. Resizes its view and attaches it to the view hierarchy. The view is animated according to the transition style specified in the modalTransitionStyle property of the controller in the modalViewController parameter.
2012-05-19 17:43:36 +08:00
回复了 linsk 创建的主题 问与答 QQ for Mac 2.0中将信息发错人过么?
晕 这都可以?!
2012-05-16 18:57:50 +08:00
回复了 allenwong 创建的主题 问与答 请问各位老师,哪句slogan好呢?
@allenwong 哎哟 楼主地址杭州?
2012-05-15 01:52:36 +08:00
回复了 Tianpu 创建的主题 问与答 macos下有类似winscp的软件吗
Transmit 是最好的 http://panic.com/transmit/
人肉merge
果断等iPhone 下一代吧
网上没有留啥祝福的话,呵呵。不过每个周末会给老妈打一次电话。
2012-05-11 22:50:55 +08:00
回复了 mr_pppoe 创建的主题 iDev 现在大家做App都在用ARC吗?
@ytzong 纯代码没有一个xib的飘过
2012-05-11 21:48:30 +08:00
回复了 dingding 创建的主题 美酒与美食 程序员男朋友不喜欢我做饭给他吃。。
楼主上照片吧
2012-05-11 21:11:56 +08:00
回复了 mr_pppoe 创建的主题 iDev 现在大家做App都在用ARC吗?
2012-05-11 21:07:20 +08:00
回复了 mr_pppoe 创建的主题 iDev 现在大家做App都在用ARC吗?
@damngood ARC官方文档说的是支持iOS 4 +的,因为ARC大部分特性是编译时,编译器的特性(自动给retain release);但是有个别的需要运行时的支持,比如weak声明,当所应用的对象释放的时候会将weak声明的变量置为nil,以保证安全性,所以这个weak声明是不支持iOS 5以下的。 至于性能 ARC肯定是没有问题的 因为基本都是编译时的特性。
1  2  3  4  5  6  7  8  9  10 ... 12  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3147 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 28ms · UTC 13:57 · PVG 21:57 · LAX 06:57 · JFK 09:57
Developed with CodeLauncher
♥ Do have faith in what you're doing.