hello, i have a method and only is working if is call in awakefromnib but if i want to change the name of the method and call it when i want then is not working ┐somebody can tell me why?, and how to run this method no in awakefromnib.

The application is one tableview and there is set the sentence "Entity number", there are two bindings, one for an Array controller
to the appcontroller set to "list",and another in the table column, bind to the Array controller, well how i say this works but only from awakefromnib...

but what i want is not run the method in the begining of the app i like to run it
only when i press a button ,and then is not working , i also try to run the awakefromnib in the acction of the button but not work...

but what i want is not run the method in the begining of the app i like to run it
only when i press a button ,and then is not working , i also try to run the awakefromnib in the acction of the button but not work...

I don't think you're supposed to call awakeFromNib. This gets called once everything has been initialized. Check all your init methods to make sure that there are no errors... this might be why it's not getting called.

but what i want is not run the method in the begining of the app i like to run it
only when i press a button ,and then is not working , i also try to run the awakefromnib in the acction of the button but not work...

Can you post the version that is not working? That would make it easier to figure out what's wrong.

Sorry for my english , well is what you say.
the code is runing and if i put a nslog is runing , and i dont get any error,
but the tableview is empty.
The strange is what if is runing from the funcion awakefromnib then works good.

Sorry for my english , well is what you say.
the code is runing and if i put a nslog is runing , and i dont get any error,
but the tableview is empty.
The strange is what if is runing from the funcion awakefromnib then works good.

actually I meant code tags, not quote tags. Sorry I wasn't clear. This is so the indentation is preserved and it is quicker to read.

So kainjow has shown you a cleaner version of the code to create your list. The next question is how is your tableview wired? Are youu
using bindings?