iOS-数据库-Student类-附件(2)

2016-03-03 16:09:00

iOS-数据库-ViewController.m 调用- 数据库附件(1)

iOS-数据库-Student类-附件(2)

//
// Student.h
// UI17_数据库
//
// Created by YIem on 16/3/3.
// Copyright © 2016年 YIem. All rights reserved.
//

import <Foundation/Foundation.h>

@interface Student : NSObject
@property (nonatomic, copy) NSString *name;
@property (nonatomic, copy) NSString *sex;
@property (nonatomic, assign) NSInteger age;
@end


//
// Student.m
// UI17_数据库
//
// Created by YIem on 16/3/3.
// Copyright © 2016年 YIem. All rights reserved.
//

import "Student.h"

@implementation Student

  • (void)dealloc
    {

    [_name release];
    [_sex release];
    [super dealloc];

    }

  • (void)setValue:(id)value forUndefinedKey:(NSString *)key
    {

    }

@end

当前页面是本站的「Baidu MIP」版。发表评论请点击:完整版 »