Welcome, Guest
Username Password: Remember me

*HOT!* Sensible TableView v2.0 beta released!
(1 viewing) (1) Guest

TOPIC: *HOT!* Sensible TableView v2.0 beta released!

*HOT!* Sensible TableView v2.0 beta released! 1 year, 5 months ago #1

We are really pleased to announce the availability of Sensible TableView v2.0 beta.

The major highlight of this release is the ability to create your own custom cells in Interface Builder, and then have Sensible TableView automatically bind their controls to your object properties. Here is an overview of how the process goes (a detailed description is available in the documentation and in the "Custom Cells App" sample application shipped with the beta version):

1- Create an empty Interface Builder file, then add a UITableViewCell to it.
2- Set the cell's class as SCControlCell (from IB's Identity tab).
3- Throw in any kind of controls you want (UITextFields, UITextViews, UISwitches, UISegmentedControls, etc.).
4- Give each control a unique tag (must be greater than zero).
5- From your class definition, associate each tag with one of your object's properties.
6- That's it, Sensible TableView will automatically handle everything from here!

Also, a video tutorial will be available soon, and will demonstrate all this in great detail.

We would like to thank you guys very much for all your indispensable input, and we are really looking forward to your feedback on this new technology (please contact us privately for your copy). Sensible TableView had already revolutionized table view development before, and with this new release, we expect that everything will be revolutionized all over again.

Tarek
  • tarekskr
  • OFFLINE
  • Administrator
  • Posts: 2402
  • Karma: 72
Last Edit: 1 year, 5 months ago by tarekskr.

Re: *HOT!* Sensible TableView v2.0 beta released! 1 year, 5 months ago #2

This is awesome Tarek! This is going to save SOOO much time developing custom cells! Thanks for all your hard work!

So, now to my issue

When I create my tableViewModel and configure it to use my custom cell, it looks like it's still showing content in the default textLabel and/or detailTextLabel controls. So I've had to override willDisplayCell to null those out explicitly. I would think that would be automatic. Or a setting or something.

Other than that, so far it's working like a charm!


Oh... and can this version be used to create custom section header views when the list is generated by an SCArrayOfObjectsModel?


Thanks!

Brendan
  • tapforms
  • OFFLINE
  • Expert Boarder
  • Posts: 120
  • Karma: 4
Thanks!
Brendan
www.tapforms.com

Re: *HOT!* Sensible TableView v2.0 beta released! 1 year, 5 months ago #3

You're welcome Brendan, we're really glad you like it


When I create my tableViewModel and configure it to use my custom cell, it looks like it's still showing content in the default textLabel and/or detailTextLabel controls. So I've had to override willDisplayCell to null those out explicitly. I would think that would be automatic. Or a setting or something.


You're absolutely right, this will probably end up being implemented as a setting.


Oh... and can this version be used to create custom section header views when the list is generated by an SCArrayOfObjectsModel?


Would you please elaborate on what ideas you have for creating the header views? Are you thinking of creating a view in Interface Builder and linking it to the SCTableViewSection headerView property?
  • tarekskr
  • OFFLINE
  • Administrator
  • Posts: 2402
  • Karma: 72

Re: *HOT!* Sensible TableView v2.0 beta released! 1 year, 5 months ago #4

Hi Tarek,

I think it should be possible to create the view either in code or IB. IB is a nice-to-have and really awesome with what you've done so far with cells, but you should be able to do it in code too I would think. In a previous posting, you mentioned you were going to implement a method that would get called when a section was added to the table model that we could implement to let us generate a custom view. As it is now, the sections that I create manually have custom views, but the ones generated automatically from SCArrayOfObjectsModel all have the default section header view. I'm anxiously awaiting the ability to make all my section headers consistent.

Thanks!

Brendan
  • tapforms
  • OFFLINE
  • Expert Boarder
  • Posts: 120
  • Karma: 4
Thanks!
Brendan
www.tapforms.com

Re: *HOT!* Sensible TableView v2.0 beta released! 1 year, 5 months ago #5

Yes Brendan, in 2.0 final release you'll have a delegate method that gives you access to automatically generated sections so that you could set their custom views to whatever you want. I'll keep you posted when this is available in beta (expected in just a few days).
  • tarekskr
  • OFFLINE
  • Administrator
  • Posts: 2402
  • Karma: 72

Re: *HOT!* Sensible TableView v2.0 beta released! 1 year, 5 months ago #6

Hello Tarek,

Awesome. That will be great.

We're going to submit our app on Friday to Apple. If you get it in time that's great, if not, I can submit an update sometime later.

Thanks!

Brendan
  • tapforms
  • OFFLINE
  • Expert Boarder
  • Posts: 120
  • Karma: 4
Thanks!
Brendan
www.tapforms.com
Time to create page: 1.72 seconds