User |
Post |
3:01 am
October 23, 2008
|
kappolo
Noob
|
|
|
|
|
posts 3
|
|
|
Hi all!
Well, i have a problem. I used IB and have a situation like this:
On a nib file:
- a view “myView”
- a tableView inside the View called “myTableView”
On XCode:
- myView.m and .h with standard methods taken by UIView
- myTableView.m and .h with standard methods taken by UITableView
Both the classes are properly connected.
If i execute the code with breakpoints on myTableView class methods, i
can see that they are never called, even when the table is loaded in
the simulator.
What am i doing wrong in connecting to XCode?
Thanks in advance 
|
|
3:11 am
October 23, 2008
|
AdeC
iCoder
|
|
|
|
|
posts 15
|
|
|
Ive got a similar problem in another post where I have created a tabbar which loads multiple different views. One of the views has a table view on it but I cant get the tableview to load data or even fire the code that loads the data.
Hope someone can help us here!
|
|
3:14 am
October 23, 2008
|
kappolo
Noob
|
|
|
|
|
posts 3
|
|
|
Exacly the same problem! I've tried everything with no success….
Because if you use an Outlet you can connect to the tableView but not define the methods as far as i know…
I hope somebody will help us 
|
|
3:19 am
October 23, 2008
|
AdeC
iCoder
|
|
|
|
|
posts 15
|
|
|
I have added a suggestion for a tutorial which makes a project from the basic building blocks rather than a template. Hopefully that way we get a better understanding of how things fit together!
|
|
5:47 am
October 23, 2008
|
kappolo
Noob
|
|
|
|
|
posts 3
|
|
|
Solved 
I just need to set delegate and datasource of “myTableView” to “myView”'s file owner, and implement all the table methods on the myView.m file 
|
|