Skip to content

Instantly share code, notes, and snippets.

- (id)init
{
self = [super init];
if (self != nil)
{
dataPages = [[NSArray alloc] initWithObjects:
[NSDictionary dictionaryWithObjectsAndKeys:
@"Page 1", @"pageName",
@"Some text for page 1", @"pageText",
nil],
//
// WallrViewController.m
// Wallr
//
// Created by Peter Nicholls on 2/07/11.
// Copyright 2011 NA. All rights reserved.
//
#import "WallrViewController.h"
#import <QuartzCore/QuartzCore.h>
//
// WallrViewController.m
// Wallr
//
// Created by Peter Nicholls on 30/06/11.
// Copyright 2011 NA. All rights reserved.
//
#import "WallrViewController.h"
#import <QuartzCore/QuartzCore.h>
- (void)viewDidLoad
{
[self setupPage];
[super viewDidLoad];
}
#pragma mark -
#pragma mark The Guts
- (void)setupPage
# Both return Profile AR objects
@selected = @cart.items
@all = current_user.profile.friends
@unselected = @all.reject{|record| r == @selected.each (not sure about this part)}