摘要:
1,ImageView默认不可交互,可设置userInteractionEnabled=YES2,xib中所有view默认tag都是0,所以要想通过viewWithTag获取控件,tag不能设置为03,TableView(1) 设置TableView Item高度 * TableView#rowH... 阅读全文
摘要:
EditText有这么个便利方法```java/** * Convenience for {@link Selection#setSelection(Spannable, int)}. */public void setSelection(int index) { Selection.setS... 阅读全文
摘要:
iOS开发路线简述 [http://www.cocoachina.com/ios/20150303/11218.html](http://www.cocoachina.com/ios/20150303/11218.html)![](http://cc.cocimg.com/api/uploads/i... 阅读全文
摘要:
StatusBarHeight = 20NavigationBarHeight = 44TabBarHeight = 49```UITabBarController *tabBarController = [[UITabBarController alloc] initWithNibName:nil... 阅读全文
摘要:
int to NSString```int age = 10;NSString *ageStr = [NSString stringWithFormat:@"%d", age];```NSString to int ```NSString *ageStr = @"10";int age = [age... 阅读全文
摘要:
问题来自[StackOverflow](http://stackoverflow.com/questions/24031621/swift-how-to-convert-string-to-double)```(swiftString as NSString).doubleValue``` 阅读全文
摘要:
当调用`FragmentTransaction#hide(fragment)`和`FragmentTransaction#show(fragment)`方法, fragment不会调用生命周期方法`onResume`和`onPause()` > Fragment的onResume和onPause调... 阅读全文
摘要:
主要把在论坛中看到的好文章收集起来,有时间深读之,推荐使用Pocket**Xcode**+ [Xcode正确打开方式-Debuging](http://www.cocoachina.com/ios/20150225/11190.html) 教你如何正确使用Xcode进行断点调试**Animation... 阅读全文
摘要:
Start Activity```// 方式1startActivity(new Intent(Animation.this, AlertDialogSamples.class));overridePendingTransition(R.anim.fade, R.anim.hold);// 方式2/... 阅读全文