Skip to content

Instantly share code, notes, and snippets.

@thiagoramos23
Created October 10, 2014 17:20
Show Gist options
  • Save thiagoramos23/7ef7a93633bcfa13c90e to your computer and use it in GitHub Desktop.
Save thiagoramos23/7ef7a93633bcfa13c90e to your computer and use it in GitHub Desktop.
ViewController JSONModelExample
//
// ViewController.m
// JSONModelExample
//
// Created by Thiago Ramos on 10/9/14.
// Copyright (c) 2014 br.com.exemplo.jsonmodel. All rights reserved.
//
#import "ViewController.h"
#import "JSPostAdapter.h"
@interface ViewController ()
@end
@implementation ViewController
- (void)viewDidLoad {
[super viewDidLoad];
[[[JSPostAdapter alloc] init] getAllPosts];
}
- (void)didReceiveMemoryWarning {
[super didReceiveMemoryWarning];
// Dispose of any resources that can be recreated.
}
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment