Skip to content

Instantly share code, notes, and snippets.

@RajaveluC
Last active December 21, 2015 10:48
Show Gist options
  • Save RajaveluC/6294288 to your computer and use it in GitHub Desktop.
Save RajaveluC/6294288 to your computer and use it in GitHub Desktop.
These set of files are intended to demonstrate a typical MVC architecture and how data flows between the different layers. Code snippet for a Model Class goes here.
//
// UserProfile.m
// Project A
//
// Created by Company A on 7/26/13.
// Copyright (c) 2013 Company A. All rights reserved.
//
#import "Jastor.h"
@interface UserProfile : Jastor
@property (nonatomic,strong) NSString *abt_me;
@property (nonatomic,strong) NSString *email_id;
@property (nonatomic,strong) NSString *id;
@property (nonatomic,strong) NSString *profile_pic_url;
@property (nonatomic,strong) NSString *location;
@property (nonatomic,strong) NSString *image;
@property (nonatomic,strong) NSString *password;
@property (nonatomic,strong) NSString *user_name;
@end
//
// UserProfile.m
// Project A
//
// Created by Company A on 7/26/13.
// Copyright (c) 2013 Company A. All rights reserved.
//
#import "UserProfile.h"
@implementation UserProfile
@synthesize abt_me,email_id,profile_pic_url,location,image,password,user_name;
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment