Skip to content

Instantly share code, notes, and snippets.

View catherinek's full-sized avatar

Catherine Koo catherinek

  • Neoseeker
  • Vancouver, BC
View GitHub Profile
@catherinek
catherinek / RedBean_SimpleModel
Created March 22, 2011 02:34
missing __isset in RedBean_SimpleModel
class RedBean_SimpleModel {
// ......
public function __isset( $prop ) {
return (isset($this->bean->$prop));
}
// ......
}
//
// PMThreadsViewController.m
//
#import "neoseekerAppDelegate.h"
#import "PMThreadsViewController.h"
#import "RootViewController.h"
#import "GTMOAuthAuthentication.h"
#import "JSON.h"
2011-03-24 23:28:02.518 somesite[3293:207] didSelectTab: 2
2011-03-24 23:28:03.196 somesite[3293:207] count of threads 10
Program received signal: “EXC_BAD_ACCESS”.
(gdb) bt
#0 0x00e02a63 in objc_msgSend ()
#1 0x04b394f0 in ?? ()
#2 0x004ab9e7 in -[UITableViewRowData numberOfRows] ()
#3 0x003628c2 in -[UITableView noteNumberOfRowsChanged] ()
#4 0x0036f2b8 in -[UITableView reloadData] ()
#5 0x0036c470 in -[UITableView layoutSubviews] ()