Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8909161
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T03:21:47+00:00 2026-06-15T03:21:47+00:00

I currently use the Sensible TableView Framework to create a search filter mask for

  • 0

I currently use the Sensible TableView Framework to create a search filter mask for a new app.
All works fine, but the latest Screendesign offers new problems.

It’s now required to select a range between a min and a max value. Instead of using two numeric textfields to define the range, we now have to create a new type of custom RangeSlider (familiar to the UISliderView). For now I created the RangeSlider (Slider with two thumbmarks) as CustomClass, without xib file. I now have to implement this in my tableview as customCell?
Still can’t figure out how to do this via STV.

My RangeSlider needs some properties to be set:

  • float minimumValue;
  • float maximumValue;
  • float minimumRange;
  • float selectedMinimumValue;
  • float selectedMaximumValue;

and responds to the user interaction by changing the properties values.

Range Slider: That's how it looks like.

My problem in short:
How to implement my RangeSlider Class as CustomCell, without xib file?
And.. is it possible to track the userInteraction of my customCell with SCUserDefaultsDefinition,too?

That’s the way I create my STV:

SCUserDefaultsDefinition *userDefaultsDef = [SCUserDefaultsDefinition definitionWithDictionaryKeyNamesString:@"Search Filter:(gender,ageRangeSlider,zip,country)"];
SCPropertyDefinition *genderDef = [userDefaultsDef propertyDefinitionWithName:@"gender"];
genderDef.title = @"Gender";
genderDef.required = TRUE;
genderDef.type = SCPropertyTypeSelection;
genderDef.attributes = [SCSelectionAttributes attributesWithItems:[NSArray arrayWithObjects:@"f", @"m", nil] allowMultipleSelection:NO allowNoSelection:NO];
genderDef.autoValidate = TRUE;

/*#### CUSTOMCELL IMPLEMENTATION HERE #### */

SCPropertyDefinition *zip = [userDefaultsDef propertyDefinitionWithName:@"zip"];
zip.title = @"Zip-Code";
zip.type = SCPropertyTypeNumericTextField;
zip.attributes = [SCNumericTextFieldAttributes attributesWithMinimumValue:[NSNumber numberWithInt:01] maximumValue:[NSNumber numberWithInt:99] allowFloatValue:NO];
[self.tableViewModel generateSectionsForUserDefaultsDefinition:userDefaultsDef];
SCTableViewSection *formSection = [self.tableViewModel sectionAtIndex:0];
formSection.cellActions.valueChanged = ^(SCTableViewCell *cell, NSIndexPath *indexPath)
{
     NSLog(@"\n\n*********** Key Binding Log ***********\n");
     NSLog(@"Value: %@\n", [cell boundValue]);
};

Would be great if somebody could help!
I really appreciate that! Please tell me if you need more information.

Thanks,

Lars
(sry for my bad english )

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T03:21:48+00:00Added an answer on June 15, 2026 at 3:21 am

    Okay, problem solved!

    Here comes the solution:
    To add a customClass as CustomCell in STV, you have to define a SCCustomPropertyDefinition using the Classname/Nibname and the tag of your customControl as objectBinding.

    SCUserDefaultsDefinition *userDefaultsDef = [SCUserDefaultsDefinition definitionWithDictionaryKeyNamesString:@"Search Filter:(gender,ageRangeSlider,zip,country)"];
    
    SCCustomPropertyDefinition * customControl = [SCCustomPropertyDefinition definitionWithName:@"ageRangeSlider" uiElementClass:[CustomControlClass class] objectBindingsString:@"1:selectedRange;"];
    [userDefaultsDef insertPropertyDefinition:customControl atIndex:1];
    

    After creating and adding the new PropertyDefinition to your UserDefaultsDefinition, you can use the ObjectBindingString from the PropertyDefinition (@”1:selectedRange;”) to configure the Response Property in your CustomControlClass.
    The number presents the IB Tag for each control in the custom cell, while the String stands for the Property to use as ResponseValue for this Control.

    Hope this may help other Devs in future.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I currently use masonry plugin in my facebook app. Everything is work well but
I currently use: BufferedReader input = new BufferedReader(new FileReader(filename)); Is there a faster way?
I currently use, base64_encode() to encode a user's password, this works well because it
I'm currently developing an app which will use a Linq to SQL (or possibly
I currently use code like this that works at refitting the bitmaps for different
I currently use QtScript for scripting functionality in my C++ application, but it's rather
I currently use the non-standard filter method of rendering opacity on my site in
I currently use Zend_Db to manage my queries $stmt = $db->prepare(INSERT INTO test (ID_Test)
I currently use Devise 2.1 + Rails 3.2.x to authenticate users. I'm also going
I currently use the rectangle shape xml tag to specify borders for my views

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.