- 博客(27)
- 收藏
- 关注
原创 我的故事和租房子的故事
租房子从来都是一件不大不小的事情,租房子的事情在我们这小地方已经是非常的难过了,我们都是一起去租房子然后后面就被房东给坑了,你看看他们的故事汇总结果就知道了,你告诉我们的是什么意思呢他们不听我的劝告在这里告诉我们什么样子的房子租着不方便哦....
2017-08-12 10:50:28
537
原创 我的开发路程一栏
在这里我想写的是我的开发路程一栏,,在什么时候去什么地方看什么样子的开发程序你知道为什么可以开发什么样子的东西吗我们去什么地方吃饭哦
2017-07-11 15:14:08
225
原创 嵌入式
我们都知道 Mach-O是 OS X 系统的可执行文件,说到可执行文件肯定离不开进程。在 Linux 中,我们会通过 Fork()来新创建子进程,然后执行镜像通过exec()来替换为另一个可执行程序,至于为什么这么做,解释如下原因阐述:这是基于操作系统方面的分析。进程可以通过fork()系统调用来创建子进程,子进程得到与父进程地址空间相同的(但是独立的)一份拷贝,包括文本、数据和b
2017-03-07 10:19:39
314
原创 超市信息系统的代码
作为联系,打算用Qt开发一个小型的收银系统,从开始的构思,到基本功能的实现,经历了些时间,很多时候是学校的其他事情打扰的不行,没能静下心来连续做,那样的话就会快很多了。 其实真正做一件东西的时候,需要我们静下心来不断的去做,这样心里感觉会好很多。今天记录下自己做这个项 目的过程,以后翻出来还可以看看。 本人很喜欢本着开源的心来学习的,但是好多的人都很吝啬,只
2017-03-07 10:03:06
598
1
原创 多线程代码
我和你吻别在无人的街, 在人间离别,我和你吻别在情人的切,,在茫茫人海之中的哥哥啊iiiiiIII地方sdf 的说法是df 阿斯顿发送到f啊sdfasdf asdfas 撒的发生#import "ViewController.h"@interface ViewController ()@property (weak, nonatomic) IBOutlet
2015-07-08 22:09:57
308
原创 XML
在XML里面可以怎么样的做些什么东西呢,我们可以拭目以待,在我们相遇的那些时候,你知不知道我再爱你、吗::??我亲爱的小孩,你还不回家吃饭吗,,,在一个和平的时候说爱我,总该我说些什么,我不要说出口,何苦又怎么何必呢#import "XMLViewController.h"#import "Student.h"#import "GDataXMLNode.h"@interface XM
2015-06-24 20:10:53
285
原创 urlurl
伤心总是难免的,何苦一往情深,总之爱情难舍难分,何必在意那一点点温存,早知道伤心总是难免的,何苦一往情深,,有的人你永远不会懂#import "ViewController.h"#pragma mark - 重定义网址#define BASE_URL_1 @"http://ipad-bjwb.bjd.com.cn/DigitalPublication/publish/Handler/A
2015-06-24 20:07:00
365
原创 nsurl
#import "ViewController.h"#pragma mark - 重定义网址#define BASE_URL_1 @"http://ipad-bjwb.bjd.com.cn/DigitalPublication/publish/Handler/APINewsList.ashx?date=20131129&startRecord=1&len=5&udid=123456
2015-06-24 20:04:04
307
原创 计算cell的高度和自动适配高度
#import "BoyCell.h"#import "Person.h"@implementation BoyCell- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{ self = [super initWithStyl
2015-06-20 20:49:18
316
原创 tableview2222
#import "RootViewController.h"#import "RootView.h"@interface RootViewController () @property (nonatomic, retain) RootView *rootView;@property (nonatomic, retain) NSArray *bigArray;@end@im
2015-06-11 23:35:14
243
原创 tableViewcell
#import "RootViewController.h"#import "RootView.h"@interface RootViewController () @property (nonatomic, retain) RootView *rootView;@property (nonatomic, retain) NSArray *bigArray;@end@im
2015-06-11 22:49:52
233
原创 08_ui_传值
#import "AppDelegate.h"#import "FirstViewController.h"@interface AppDelegate ()@end@implementation AppDelegate- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
2015-06-10 23:19:20
314
原创 scollView中实现缩放
RootViewController.m#import "RootViewController.h"#import "RootView.h"#import "ImagescrollView.h"@interface RootViewController () { NSInteger _startIndex;}#pragma mark - 声明私有属性@property
2015-06-09 22:48:18
237
原创 scollView和pageControlView
#import "RootViewController.h"#import "RootView.h"@interface RootViewController () #pragma mark - 声明私有属性@property (nonatomic, retain) RootView *rootView;@end@implementation RootViewControlle
2015-06-09 20:46:23
293
原创 LTView封装001
#pragma mark - 声明属性@property (nonatomic, copy) NSString *title;@property (nonatomic, copy) NSString *text;@property (nonatomic, assign, getter=isSecure) BOOL secure;@property (nonatomic, assign)
2015-06-06 10:40:30
262
原创 rvc
#import @class MyTextFileld;@class MyButton;@interface RootView : UIView//声明属性@property (nonatomic, retain) MyButton *button;@property (nonatomic, retain) MyTextFileld *textField1;@pr
2015-06-05 23:07:11
323
原创 biao
#import "RootViewController.h"#import "RootView.h"@interface RootViewController ()@property (nonatomic, retain) RootView *rootView;@end@implementation RootViewController- (void)loadView{
2015-06-04 23:20:45
223
原创 nsnumber
#import int main(int argc, const char * argv[]) { @autoreleasepool { // 快速遍历 NSArray *ages = @[@12, @78, @56, @41, @33]; // 注意:快速遍历过程中
2015-05-23 22:16:34
306
原创 NSString
#import #import "Person.h"int main(int argc, const char * argv[]) { @autoreleasepool { //NSArray只能保存对象类型的数据,无法保存基本类型数据 //如果想要保存基本类型的数据,需要将基本类型的数据转换为对象类型,使用NSNumber或者NSValu
2015-05-23 22:15:32
167
原创 字典
#import #import "Person.h"int main(int argc, const char * argv[]) { @autoreleasepool { // NSArray只能保存对象类型的数据,无法保存基本类型数据 // 如果想要保存基本类型数据,需要将基本数据类型转为对象类型,使用NSNum
2015-05-23 15:17:21
246
原创 C-教师比较排序。。
#import #import "Teacher.h"int main(int argc, const char * argv[]) { Teacher teachers[] = { {"Kaka", 'm', 23, 999, 7.5}, {"Isco", 'f', 30, 1008, 6.0}, {"Ramos", 'm'
2015-05-23 14:55:20
298
原创 字典颜色对应
#import #import "Color.h"int main(int argc, const char * argv[]) { @autoreleasepool { // 1.读取文件内容,存储到字符串对象中// NSString *text = [NSString stringWithContentsOfFile:@"/Users/la
2015-05-23 14:44:00
993
原创 NSString
一、oc中的数组:NSArray定义:NSArray *arrayName=[NSArray arrayWithObjects:obj1,obj2,obj3,obj4,nil];//数组是以nil空作为结束的标志使用:for(int i=0;i{Object *obj=[arrayName objectAtIndex:i];[obj functionName];}
2015-05-23 13:51:01
234
原创 lesson_06_block
//定义一个block,返回值是BOOL,有两个NSString参数,实现:判断字符串是否相等;// NSString *str1 = @"js";// NSString *str2 = @"jsrrr";// BOOL (^block) (NSString *, NSString *) = ^(NSString* str1,NSString
2015-05-23 11:53:09
281
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人