一、第一个iOS程序 首先打开Xcode—Create a new Xcode project—Single View Application--输入项目名称,同时选择使用Objective-C语言,设备选择iPhone--接下来系统默认生成一个IOS项目模板。项目目录结构如下: 此时什么也...
                            
                            
                                分类:
移动开发   时间:
2016-01-17 17:30:48   
                                阅读次数:
177
                             
                    
                        
                            
                            
                                Sublime Text 3注册码两枚: ----- BEGIN LICENSE ----- K-20 Single User License EA7E-940129 3A099EC1 C0B5C7C5 33EBF0CF BE82FE3B EAC2164A 4F8...
                            
                            
                                分类:
其他好文   时间:
2016-01-16 23:45:10   
                                阅读次数:
256
                             
                    
                        
                            
                            
                                在一个数组中找出两个不同的仅出现一次的数(其他数字出现两次)同样用亦或来解决(参考编程之美的1.5)先去取出总亦或值然后分类,在最后一位出现1的数位上分类成 ans[0]和ans[1]a&(-a)就是计算出这个数,可以参考树状数组。最后就是注意(nums[i] & a) == 0要加()。注意符号运...
                            
                            
                                分类:
其他好文   时间:
2016-01-16 21:06:28   
                                阅读次数:
347
                             
                    
                        
                            
                            
                                题目:Given an array of integers, every element appears twice except for one. Find that single one.注意:这个数组没有说是固定的顺序思路:import java.util.Arrays;public clas...
                            
                            
                                分类:
其他好文   时间:
2016-01-14 22:17:42   
                                阅读次数:
245
                             
                    
                        
                            
                            
                                关于Core Data的一些整理(一)在Xcode7.2中只有Mast-Debug和Single View中可以勾选Use Core Data如果勾选了Use Core Data,Xcode会自动在AppDelegate中帮你生成Core Data的核心代码,并且自动生成.xcdatamodeld数...
                            
                            
                                分类:
其他好文   时间:
2016-01-14 18:42:42   
                                阅读次数:
178
                             
                    
                        
                            
                            
                                Given 3*n + 1 numbers, every numbers occurs triple times except one, find it.ExampleGiven [1,1,2,3,3,3,2,2,4,1] return 4ChallengeOne-pass, constant ex...
                            
                            
                                分类:
其他好文   时间:
2016-01-14 06:19:04   
                                阅读次数:
202
                             
                    
                        
                            
                            
                                0: Create a new project with 'single view controller'A: Xcode Settings1: migrate launch imageB: Info.plist1: delete two items: LaunchScreen(for launch...
                            
                            
                                分类:
其他好文   时间:
2016-01-13 19:31:42   
                                阅读次数:
124
                             
                    
                        
                            
                            
                                /** * A reducer for a single todo * @param state * @param action * @returns {*} */const todo = ( state, action ) => { switch ( action.type ) { ...
                            
                            
                                分类:
其他好文   时间:
2016-01-12 21:24:55   
                                阅读次数:
199
                             
                    
                        
                            
                            
                                Learn how to create a React todo list application using the reducers we wrote before./** * A reducer for a single todo * @param state * @param action ...
                            
                            
                                分类:
其他好文   时间:
2016-01-12 19:21:34   
                                阅读次数:
142
                             
                    
                        
                            
                            
                                激活码Andrew Weber Single User License EA7E-855605 813A03DD 5E4AD9E6 6C0EEB94 BC99798F 942194A6 02396E98 E62C9979 4BB979FE 91424C9D A45400BF F6747D88...
                            
                            
                                分类:
其他好文   时间:
2016-01-11 13:32:44   
                                阅读次数:
153