Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Duke Leto

macrumors regular
Original poster
Mar 17, 2008
166
0
I juts upgraded my SDK from version 3 to version 4. I am pretty sure that I updated the code to work, but my custom tableview cells are not displaying any text at all.. What is the problem? It was working in Version 3, but ..
 

larrymiller01

macrumors newbie
Apr 28, 2008
2
0
me too

I have the same problem. When the cell is nil and new one is created it works but when it uses the "dequeueReusableCellWithIdentifier:" the cell does not update. If I force the custom code to run the cell still does not change. This looks like a bug in beta 4!!
 

Duke Leto

macrumors regular
Original poster
Mar 17, 2008
166
0
Another problem that I have been having (though it isn't a bug) is that the updated source code examples are changing a lot, and now they are using Interface Builder a good bit. I am not sure I want to learn Interface Builder just yet, and it makes for some difficulty getting the general architecture of the code.
 

Littleodie914

macrumors 68000
Jun 9, 2004
1,813
8
Rochester, NY
Another problem that I have been having (though it isn't a bug) is that the updated source code examples are changing a lot, and now they are using Interface Builder a good bit. I am not sure I want to learn Interface Builder just yet, and it makes for some difficulty getting the general architecture of the code.
Yea, after building an iPhone UI programatically, I can't think of any reason to use IB. It just feels like unnecessary bloat at this point.

For the custom tableview cells, are you making sure that you aren't overriding the super's setSelected, drawRect, and prepareForReuse methods? If you have them declared in your subclass and they're empty, that's surely the problem. :)
 

larrymiller01

macrumors newbie
Apr 28, 2008
2
0
I'm overriding the drawRect but not the others. This all worked in beta 2 and 3. I've been through the current docs and this is supposed to work still.
 

Duke Leto

macrumors regular
Original poster
Mar 17, 2008
166
0
Not overriding any .. but I am thankful that I am not the only one without a use for IB. I mean come on, after those weeks of doing them by code, of all the frustration over getting used to them, now you have to deal with IB..

I sometimes wish that I started using the SDK when it was first officially released. Then there'd be no updates for the SDK, documentation, and sample source code.

But at least I get a head start :)

EDIT!!!! I figured it out. I set CGRectZero for the Textfield ... *ashamed*
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.