如下图,即使图片尺寸不规范,xcode5也可以正常预览(这里我提供的尺寸是57*57, 而需要的是120*120)但编译运行失败,报的错是:Images.xcassets: error: The app icon set named "AppIcon" did not have any applic...
分类:
其他好文 时间:
2014-07-16 22:57:46
阅读次数:
276
使用Receive(同步阻塞方式), 注意使用同步方法时,需要使用线程来开始方法,不然会使UI界面卡死 IPEndPoint RemoteIpEndPoint = new IPEndPoint(IPAddress.Any, 5858); UdpClient...
分类:
其他好文 时间:
2014-07-16 21:51:44
阅读次数:
425
实现部分代码关于view的德国国旗实现@implementation ViewController - (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view, ...
分类:
其他好文 时间:
2014-07-11 09:46:07
阅读次数:
200
In the classic problem of the Towers of Hanoi, you have 3 towers and Ndisks of different sizes which can slide onto any tower.The puzzle starts with d...
分类:
其他好文 时间:
2014-07-11 09:45:26
阅读次数:
254
Like a string, a list is a sequence of values. In a string, the values are characters; in a list, they can be any type. The values in list are called ...
分类:
其他好文 时间:
2014-07-11 09:01:06
阅读次数:
242
1、android支持库未安装
编译不过,提示如下:
Could not find any version that matches com.android.support:appcompat-v7:+
.......
Please install the Android Support Repository from the Android SDK Manager
其实原因和解决方法已经说...
分类:
其他好文 时间:
2014-07-10 23:39:33
阅读次数:
282
Implement wildcard pattern matching with support for '?' and '*'.
'?' Matches any single character.
'*' Matches any sequence of characters (including the empty sequence).
The matching should cover t...
分类:
其他好文 时间:
2014-07-10 21:21:42
阅读次数:
255
Description
Magic Numbers
Write a program that finds and displays all pairs ofintegers and
such that:
neither nor
have any digits repeated; and , where
N is a given i...
分类:
其他好文 时间:
2014-07-10 20:10:06
阅读次数:
238
- (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view, typically from a nib. UIView *redView = [[UIView...
分类:
其他好文 时间:
2014-07-10 16:50:02
阅读次数:
185
Grep 'OR' OperatorFind all the lines in a file, that match any of the following patterns.Using GREP command :grep "pattern1\|pattern2" file.txtgrep -E...
分类:
其他好文 时间:
2014-07-10 14:44:42
阅读次数:
212