UITableView separator not hiding for you? Here's why.

So I was having "fun" with UITableView trying to skin a TableView for smackBOT's multiplayer lobby. We're using a grahical separator and so I happily set the separatorStyle to UITableViewCellSeparatorStyleNone. Compile, build and run.....  and yes, the separator is still there. What's going on?

I google a little and checked the SDK docs in Xcode, every thing looks right. Customizing UITableView has been done before, it's nothing new. So what could be wrong?

Using my very analytical thinking (sorry if it sounds like I'm boosting), I looked through the UITableView properties and trying to make an "analytical" guess on what could have cause the separator being drawn even though the separatorStyle was set. Immediately, the UITableView style caught my attention. There's basically 2 different style you can have UITableView play, plain or group. I was using group and techncally it shouldn't have matter. However, in the world of software development, we can it a bug. So I set the UITableView style to plain and voila, it now works.

UITableView *tview = [[UITableView alloc] initWithFrame:CGRectMake(8, 125, 466, 180) style:UITableViewStylePlain];

So if you're having problems with "removing" the UIViewTableCell borders? That might be your problem. If you're UI design requires UITableViewStyleGroup, then I guess you're out of luck with hiding the separators without doing it in a hackish way.


Loading mentions Retweet
Filed under  //  game design   iphone sdk   leftright studios   smackbots  
Comments (0)
Posted 3 months ago

Meeting the Woz at the IPhone launch party

The rumor was that the iPhone launch party will top all WWDC parties this week. Yeah great job guys! I referring to the guys from toucharcade.com and macheist.
 
This is really the party to be at. Golden tickets, taco line, that got all the people talking. I was cool enough to get a golden ticket which means I got in at the priority queue. Yeah there's a damn queue even if you have a golden ticket.
 
But hey, it's all good since the party needed greeters to greet the VIP, Steve Wozniak. Steve showed up in a limo and I got a picture. You think that's cool? Read on.
 
I got in pretty quickly since I was the first few in the golden ticket line. First guy I wanted to talk to is Woz. Yeah he was surrounded by geeks from all directions. The opportunity came when he was walking outside to the lobby to chill out and get some air. He saw our rockem sockem robots and was all excited. Everyone whose old enough to know this classic tabletop game personally just becomes a kid instantly.
 
Steve and Janet were both extremely nice people and we got to play rockem sockem. We told them about smackBOTS and Steve got his hands on my iPhone and had a great time. Woah, that is the best reward I got for working on smackBOTS. What else could top Steve Wozniak playing your game at the iPhone launch party! So yeah iPhone launch is the best party ever for WWDC 09.

Loading mentions Retweet
Filed under  //  iphone   Launch party   smackbots   Woz  
Comments (0)
Posted 5 months ago