I was tired at night and was getting the error:
loaded the "xxxx" nib but the view outlet was not set
It was simply because I forgot to connect the View. To solve it:
1. Open the nib in "Interface Builder"
2. Right click on "File's Owner"
3. Connect the 'view' outlet to the respective view.
4. Important -> Save the interface.
It should work now :)
Programming solutions, source code, solutions to tech problems and other tech related stuff.
Showing posts with label macosx. Show all posts
Showing posts with label macosx. Show all posts
Saturday, February 05, 2011
2 Column (or multiple columns) Primary Key in Sqlite
To create a table with 2 (or multiple/more) column primary keys in sqlite:
CREATE TABLE table1 (column1 INTEGER, column2 INTEGER, column3 VARCHAR(255), PRIMARY KEY (column1, column2));
CREATE TABLE table1 (column1 INTEGER, column2 INTEGER, column3 VARCHAR(255), PRIMARY KEY (column1, column2));
Subscribe to:
Posts (Atom)