{"id":16439466,"url":"https://github.com/devjin0617/ios-chattableview-cttableview-sample-sourcecode","last_synced_at":"2026-05-14T11:43:17.570Z","repository":{"id":11594837,"uuid":"14086265","full_name":"devjin0617/iOS-ChatTableView-CTTableView-Sample-SourceCode","owner":"devjin0617","description":"iOS Chat TableView Sample","archived":false,"fork":false,"pushed_at":"2016-07-25T13:29:16.000Z","size":158,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-08T11:21:12.186Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devjin0617.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-11-03T14:01:14.000Z","updated_at":"2016-07-25T13:29:23.000Z","dependencies_parsed_at":"2022-09-07T17:12:42.021Z","dependency_job_id":null,"html_url":"https://github.com/devjin0617/iOS-ChatTableView-CTTableView-Sample-SourceCode","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devjin0617%2FiOS-ChatTableView-CTTableView-Sample-SourceCode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devjin0617%2FiOS-ChatTableView-CTTableView-Sample-SourceCode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devjin0617%2FiOS-ChatTableView-CTTableView-Sample-SourceCode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devjin0617%2FiOS-ChatTableView-CTTableView-Sample-SourceCode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devjin0617","download_url":"https://codeload.github.com/devjin0617/iOS-ChatTableView-CTTableView-Sample-SourceCode/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240757472,"owners_count":19852763,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-11T09:09:23.298Z","updated_at":"2026-05-14T11:43:12.549Z","avatar_url":"https://github.com/devjin0617.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"iOS-ChatTableView-CTTableView-Sample-SourceCode\n===============================================\n\niOS Chat TableView Sample\n\n\nThis is iMessage Style Source Code of iPhone.\n\n![https://github.com/devjin0617/iOS-ChatTableView-CTTableView-Sample-SourceCode/blob/master/ios_chat.png?raw=true](https://github.com/devjin0617/iOS-ChatTableView-CTTableView-Sample-SourceCode/blob/master/ios_chat.png?raw=true)\n\nUse\n===\n\n1. CTTableView Init\n\n2. CTTableView Set Delegate\n\n```\n  // CTTableView *chatTableView \n\n\n  chatTableView.delegateCustom = self;\n```\n\n3. CTTableView Required Method\n\n```\n- (NSArray *)getData\n{\n  CTTableModel *data = [[CTTableModel alloc] init];\n\n  data.cUserName = @\"devjin0617\";\n  data.cContent = @\"Hello World! This is iOS ChatTableView SourceCode\";\n  data.isUserName = YES;\n  data.cUserImage = [UIImage imagenamed:@\"userImg.png\"];\n  \n  NSMutableArray *returnData = [[NSMutableArray alloc] init]; \n  [returnData addObject:data];\n  \n  return returnData;\n}\n```\n\n  return data is CTTableModel Array\n\n```\n@interface CTDataModel : NSObject\n@property(nonatomic, copy) NSString *cUserName;         // User Name\n@property(nonatomic, copy) NSString *cContent;          // Chat Text\n@property(nonatomic, strong) UIImage *cUserImage;       // User Image\n@property(nonatomic, assign) BOOL isUserName;           // YES : me , NO : friend\n\n@end\n```\n\n4. CTTableView Start\n\n```\n- (void)viewDidLoad\n{\n  [super viewDidLoad];\n\n  chatTableView.delegateCustom = self;\n  \n  [chatTableView initTableView];  // Chat TableView Start Method.\n}\n```\n\nLICENSE\n=======\n\nLICENSE file.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevjin0617%2Fios-chattableview-cttableview-sample-sourcecode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevjin0617%2Fios-chattableview-cttableview-sample-sourcecode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevjin0617%2Fios-chattableview-cttableview-sample-sourcecode/lists"}