摘要: ![](http://images0.cnblogs.com/blog2015/728348/201506/141501145044610.png) 阅读全文
posted @ 2015-06-14 15:02 yth2004 阅读(83) 评论(0) 推荐(0) 编辑
摘要: class Solution { public int solution(int[] A) { // write your code in Java SE 8 if(A.length number[j + 1]) { temp =... 阅读全文
posted @ 2015-06-07 13:51 yth2004 阅读(257) 评论(0) 推荐(0) 编辑
摘要: Segue可以用来传值没有定义Identifier导致出现错误详细介绍http://leeabc-blog.logdown.com/posts/223090-swift-segue-value 阅读全文
posted @ 2015-05-09 15:43 yth2004 阅读(153) 评论(0) 推荐(0) 编辑
摘要: 1.SWIFT链接code和Storyboard 链接code和storyboard之前,需要给storyboard的View定义Class 一个ViewController对应一个storyboard的View2.选择View的时候注意左边3.Xcode6.1 !thats because the... 阅读全文
posted @ 2015-04-19 13:54 yth2004 阅读(135) 评论(0) 推荐(0) 编辑
摘要: 设置LaunchImageSource时,需要将图片调整成iPhone屏幕大小iPhone4 640x480 3.5inchiPhone5 640x1136 4inchiPhone6 750x1334 4.7inchiPhone6P 1080x1920 5.5inch 阅读全文
posted @ 2015-03-25 00:29 yth2004 阅读(233) 评论(0) 推荐(0) 编辑
摘要: 1. 生成bridging-header.h「项目名-Bridging-Header.h」2.编辑bridging-header.h#import 3.读入Bridging-Header.h在[Build Settings]的[Objective-C Bridging Header]下指定GameF... 阅读全文
posted @ 2015-03-22 22:08 yth2004 阅读(329) 评论(0) 推荐(0) 编辑
摘要: platform :ios, '7.0'pod "AFNetworking", "~> 2.0"1.CocoaPods是什么当你开发iOS应用时,会经常使用到很多第三方开源类库,比如JSONKit,AFNetWorking等等。可能某个类库又用到其他类库,所以要使用它,必须得另外下载其他类库,而其他... 阅读全文
posted @ 2015-03-22 15:51 yth2004 阅读(104) 评论(0) 推荐(0) 编辑
摘要: LocationClient现在无法使用,以下是新的解决方案https://developer.android.com/training/location/retrieve-current.htmlpublic class MainActivity extends ActionBarActivity... 阅读全文
posted @ 2015-03-16 00:35 yth2004 阅读(259) 评论(0) 推荐(0) 编辑
摘要: 如图所示Type改成CustomImage填入照片![](http://images.cnitblog.com/blog2015/728348/201503/151957134021462.png) 阅读全文
posted @ 2015-03-15 19:59 yth2004 阅读(332) 评论(0) 推荐(0) 编辑
摘要: 1.按钮删除时注意Referencing Outlet是否删除![](http://images.cnitblog.com/blog2015/728348/201503/151915579337492.png)2.发现没问题时 试试clean project3.还是不好使时 重新启动xcode 阅读全文
posted @ 2015-03-15 19:19 yth2004 阅读(207) 评论(0) 推荐(0) 编辑