上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 69 下一页
摘要: @implementation XMGTabBarController /* 问题: 1.选中按钮的图片被渲染 -> iOS7之后默认tabBar上按钮图片都会被渲染 1.修改图片 2.通过代码 √ 2.选中按钮的标题颜色:黑色 标题字体大 -> 对应子控制器的tabBarItem 3.发布按钮显示不出来 */ // 只会调用一次 + (void)load { // 获取哪... 阅读全文
posted @ 2017-02-27 22:07 iFat 阅读(875) 评论(0) 推荐(0) 编辑
摘要: UIImage+Image.h UIImage+Image.m 阅读全文
posted @ 2017-02-26 23:13 iFat 阅读(145) 评论(0) 推荐(0) 编辑
摘要: 自定义tabbarController,代码调整后 阅读全文
posted @ 2017-02-24 23:45 iFat 阅读(589) 评论(0) 推荐(0) 编辑
摘要: #import #import "AppDelegate.h" int main(int argc, char * argv[]) { @autoreleasepool { return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); } } /* ... 阅读全文
posted @ 2017-02-24 23:43 iFat 阅读(296) 评论(0) 推荐(0) 编辑
摘要: 优先级:LaunchScreen > LaunchImage 在xcode配置了,不起作用 1.清空xcode缓存 2.直接删掉程序 重新运行 如果是通过LaunchImage设置启动界面,那么屏幕的可视范围由图片决定 注意:如果使用LaunchImage,必须让你的美工提供各种尺寸的启动图片 La 阅读全文
posted @ 2017-02-24 23:40 iFat 阅读(210) 评论(0) 推荐(0) 编辑
摘要: #import "ViewController.h" #import "UIColor+Hex.h" #define XMGColor(r,g,b) [UIColor colorWithRed:(r) / 256.0 green:(g) / 256.0 blue:(b) / 256.0 alpha:1] @interface ViewController () @property (weak, ... 阅读全文
posted @ 2017-02-22 22:50 iFat 阅读(171) 评论(0) 推荐(0) 编辑
摘要: /* 折半查找法(二分法) :折半查找法使用的前提是数据必须 是有序的。 */ public class Demo5 { public static void main(String[] args) { int[] arr = {12,15,17,19,30}; int index = halfSe 阅读全文
posted @ 2017-02-22 14:41 iFat 阅读(515) 评论(0) 推荐(0) 编辑
摘要: import java.util.Arrays; /* 冒泡排序 : 相邻的两个元素比较,符合条件交换 位置。 */ public class Demo4 { public static void main(String[] args) { int[] arr = {2,5,10,8,1}; //所 阅读全文
posted @ 2017-02-22 14:19 iFat 阅读(182) 评论(0) 推荐(0) 编辑
摘要: import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import java.io.InputStreamReader; import java.io.OutputStreamWrit... 阅读全文
posted @ 2017-02-21 21:39 iFat 阅读(376) 评论(0) 推荐(0) 编辑
摘要: import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.OutputStream; import java.net.ServerSocket; import java.net.Socket; import java.util.H... 阅读全文
posted @ 2017-02-21 18:43 iFat 阅读(718) 评论(0) 推荐(0) 编辑
上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 69 下一页