Welcome, Guest
Username Password: Remember me

Automatically Dismiss SCPropertyTypeSelection Tabl
(1 viewing) (1) Guest
  • Page:
  • 1
  • 2

TOPIC: Automatically Dismiss SCPropertyTypeSelection Tabl

Automatically Dismiss SCPropertyTypeSelection Tabl 1 year, 8 months ago #1

Do you think you could add the option to automatically dismiss a SCPropertyTypeSelection Table when the user selects an item, if single selection, instead of having to hit the NavBar's back button?

Thanks,

Bryan
  • baberuth22
  • OFFLINE
  • Expert Boarder
  • Posts: 84
  • Karma: 2

Re: Automatically Dismiss SCPropertyTypeSelection Tabl 1 year, 8 months ago #2

Nice idea Bryan, will be added!
  • tarekskr
  • OFFLINE
  • Administrator
  • Posts: 2402
  • Karma: 72

Re: Automatically Dismiss SCPropertyTypeSelection Tabl 1 year, 7 months ago #3

Did you add this functionality? I couldn't find it in the documentation.

If not, is there a way to override any method to get the desired result?

Thanks..
  • leweo
  • OFFLINE
  • Junior Boarder
  • Posts: 24
  • Karma: 0

Re: Automatically Dismiss SCPropertyTypeSelection Tabl 1 year, 7 months ago #4

Yes it has been implemented and is currently being tested. We can give you a BETA later on today if you want.
  • tarekskr
  • OFFLINE
  • Administrator
  • Posts: 2402
  • Karma: 72

Re: Automatically Dismiss SCPropertyTypeSelection Tabl 1 year, 7 months ago #5

I'd love it =)

I just bought the product and I'm really amazed by it. I just need a little bit more control over the views generated automatically. For example, what I was looking for right now is how to make the selection view (the view comes after you tap the SCSelectionCell) as grouped table view. I know that it's not a killer feature, maybe even unnecessary, but I now need for a specific reason =S.

Another thing is I couldn't find a way to change the name of navigation button "Back" once you are in the selection view.

Sorry about so much questions, I'm new to Sensible Cocoa. However, even tough so much questions in my head. I already love it. Good job =)
  • leweo
  • OFFLINE
  • Junior Boarder
  • Posts: 24
  • Karma: 0

Re: Automatically Dismiss SCPropertyTypeSelection Tabl 1 year, 7 months ago #6

You're welcome Oguz. Thank you very much for all the complements, we are really glad you find STV useful

For info on how to customize the detail view, please check out this post: www.sensiblecocoa.com/forum/sensible-tab...y-tableview.html#345

As for changing the back button, here is some code sample (please make sure you conform to the SCTableViewModelDelegate in your view controller's header file for this to work):

 
- (void)tableViewModel:(SCTableViewModel *)tableViewModel
detailViewWillAppearForRowAtIndexPath:(NSIndexPath *)indexPath
withDetailTableViewModel:(SCTableViewModel *)detailTableViewModel
{
UIBarButtonItem *backButton = [[UIBarButtonItem alloc] initWithTitle:@"Back" style:UIBarButtonItemStylePlain target:nil action:nil];
detailTableViewModel.viewController.navigationItem.backBarButtonItem = backButton;
[backButton release];
}
 


Hope this helps
  • tarekskr
  • OFFLINE
  • Administrator
  • Posts: 2402
  • Karma: 72
Last Edit: 10 months ago by tarekskr.
  • Page:
  • 1
  • 2
Time to create page: 1.57 seconds