![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
保密文章
文章平均质量分 79
macwcj
这个作者很懒,什么都没留下…
展开
-
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 · 289 阅读 · 0 评论 -
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 · 218 阅读 · 0 评论 -
tableViewCell添加plist删除和移动联系人
通讯录的添加plist删除和移动联系人原创 2015-06-12 22:15:06 · 303 阅读 · 0 评论 -
计算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 · 289 阅读 · 0 评论 -
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 · 340 阅读 · 0 评论 -
XML
在XML里面可以怎么样的做些什么东西呢,我们可以拭目以待,在我们相遇的那些时候,你知不知道我再爱你、吗::??我亲爱的小孩,你还不回家吃饭吗,,,在一个和平的时候说爱我,总该我说些什么,我不要说出口,何苦又怎么何必呢#import "XMLViewController.h"#import "Student.h"#import "GDataXMLNode.h"@interface XM原创 2015-06-24 20:10:53 · 260 阅读 · 0 评论 -
多线程代码
我和你吻别在无人的街, 在人间离别,我和你吻别在情人的切,,在茫茫人海之中的哥哥啊iiiiiIII地方sdf 的说法是df 阿斯顿发送到f啊sdfasdf asdfas 撒的发生#import "ViewController.h"@interface ViewController ()@property (weak, nonatomic) IBOutlet原创 2015-07-08 22:09:57 · 275 阅读 · 0 评论 -
超市信息系统的代码
作为联系,打算用Qt开发一个小型的收银系统,从开始的构思,到基本功能的实现,经历了些时间,很多时候是学校的其他事情打扰的不行,没能静下心来连续做,那样的话就会快很多了。 其实真正做一件东西的时候,需要我们静下心来不断的去做,这样心里感觉会好很多。今天记录下自己做这个项 目的过程,以后翻出来还可以看看。 本人很喜欢本着开源的心来学习的,但是好多的人都很吝啬,只原创 2017-03-07 10:03:06 · 566 阅读 · 1 评论 -
嵌入式
我们都知道 Mach-O是 OS X 系统的可执行文件,说到可执行文件肯定离不开进程。在 Linux 中,我们会通过 Fork()来新创建子进程,然后执行镜像通过exec()来替换为另一个可执行程序,至于为什么这么做,解释如下原因阐述:这是基于操作系统方面的分析。进程可以通过fork()系统调用来创建子进程,子进程得到与父进程地址空间相同的(但是独立的)一份拷贝,包括文本、数据和b原创 2017-03-07 10:19:39 · 274 阅读 · 1 评论 -
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 · 209 阅读 · 0 评论 -
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 · 258 阅读 · 0 评论 -
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 · 266 阅读 · 0 评论 -
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 · 266 阅读 · 0 评论 -
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 · 211 阅读 · 0 评论 -
字典颜色对应
#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 · 954 阅读 · 0 评论 -
nsnumber
#import int main(int argc, const char * argv[]) { @autoreleasepool { // 快速遍历 NSArray *ages = @[@12, @78, @56, @41, @33]; // 注意:快速遍历过程中原创 2015-05-23 22:16:34 · 279 阅读 · 0 评论 -
08_ui_传值
#import "AppDelegate.h"#import "FirstViewController.h"@interface AppDelegate ()@end@implementation AppDelegate- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(原创 2015-06-10 23:19:20 · 287 阅读 · 0 评论