1 Star 0 Fork 3

dorne/AutoLayoutAndUIViewToNib

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
AddView.m 1001 Bytes
一键复制 编辑 原始数据 按行查看 历史
Ylang 提交于 2013-05-31 14:11 . remove code
//
// AddView.m
// AutoLayout
//
// Created by yangjw on 13-5-31.
// Copyright (c) 2013年 yangjw . All rights reserved.
//
#import "AddView.h"
@implementation AddView
- (id)initWithFrame:(CGRect)frame
{
self = [super initWithFrame:frame];
if (self)
{
// UIView *info = [[[NSBundle mainBundle] loadNibNamed:@"AddView" owner:self options:nil] objectAtIndex:0];
// [self addSubview:info];
}
return self;
}
+(id)addView
{
AddView *add = [[[NSBundle mainBundle] loadNibNamed:@"AddView" owner:nil options:nil]lastObject];
if ([add isKindOfClass:[AddView class]])
return add;
else
return nil;
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect
{
// Drawing code
}
*/
- (void)dealloc {
[_userName release];
[_button release];
[super dealloc];
}
- (IBAction)add:(id)sender {
}
@end
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Objective-C
1
https://gitee.com/dorne/autolayoutanduiviewtonib.git
git@gitee.com:dorne/autolayoutanduiviewtonib.git
dorne
autolayoutanduiviewtonib
AutoLayoutAndUIViewToNib
master

搜索帮助