UA-17470720-3

Jump to content


Photo
- - - - -

IB Sorting


  • Please log in to reply
4 replies to this topic

#1 ozie

ozie

    ¯\_(ツ)_/¯

  • STV 5.0 Pro
  • PipPipPipPipPipPipPip
  • 526 posts
  • LocationAustralia
Reputation: 169
Popular

Posted 19 February 2015 - 03:04 AM

i see in IB i can set a predicate but i cant set a sort key or order... still have to do this by code

    self.tableViewModel.sectionActions.didFetchItemsFromStore = ^(SCArrayOfItemsSection *itemsSection, NSMutableArray *items)
    {
        SCDataFetchOptions *fetchOptions = [SCDataFetchOptions optionsWithSortKey:@"timeStamp2" sortAscending:NO filterPredicate:nil];
        
        [fetchOptions sortMutableArray:items];
    };

 

plus is there any documentation on how to use the predicate in IB ???

 

Oz


  • Tarek likes this

P.S. I hate Swift.. don't talk Swift.. Too old school to learn yet another programming language.


#2 Tarek

Tarek

    Forum Admin

  • Administrators
  • 3670 posts
Reputation: 452
Popular

Posted 19 February 2015 - 10:18 AM

Hi Ozie,

 

1. Re IB sorting: Thanks for the suggestion, that will be a really good addition to our IB integration.

 

2. Re IB predicate: This is the exact same thing as the good old Predicate String Syntax.



#3 ozie

ozie

    ¯\_(ツ)_/¯

  • STV 5.0 Pro
  • PipPipPipPipPipPipPip
  • 526 posts
  • LocationAustralia
Reputation: 169
Popular

Posted 24 February 2015 - 07:17 PM

this didnt make it to 4.1.2 ??


P.S. I hate Swift.. don't talk Swift.. Too old school to learn yet another programming language.


#4 Tarek

Tarek

    Forum Admin

  • Administrators
  • 3670 posts
Reputation: 452
Popular

Posted 02 March 2015 - 08:38 AM

Not really, but it's very high on our feature request list. In general, IB modifications take more time & testing and a lot more complex than regular STV updates, so we gave priority to the more pressing issues in 4.1.2.



#5 ozie

ozie

    ¯\_(ツ)_/¯

  • STV 5.0 Pro
  • PipPipPipPipPipPipPip
  • 526 posts
  • LocationAustralia
Reputation: 169
Popular

Posted 27 March 2016 - 05:40 PM

there still is not sorting within IB is there in the latest v5.3 ??


P.S. I hate Swift.. don't talk Swift.. Too old school to learn yet another programming language.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users