UA-17470720-3

Jump to content


Photo
- - - - -

SCArrayOfObjectsSection at index 0


  • Please log in to reply
2 replies to this topic

#1 designwerks

designwerks

    Advanced Member

  • STV 5.0 Std
  • PipPipPipPipPip
  • 139 posts
  • LocationKingsville, Ontario, Canada
Reputation: 23
Excellent

Posted 13 March 2017 - 01:06 PM

Folks,

 

Simply wanted to update my app in the app store, from over a year ago.  I did not change any code, but when I ran the app, I am now getting an error message...

 

 

**STV** Warning: PlantCategories - No valid data definition selected for SCArrayOfObjectsSection at index 0

 

Something must have changed slightly in XCode since I did not do any editing...

 

Any ideas? I am at a loss...

 

John

 

If more detail info is required, I can copy and paste, but for now, just wondering if there is something simple to adjust since moving to XCode 8.2.1

 

Here is the code that should fire... but nothing happens...

 

- (IBAction)pressedAdd:(id)sender {

    

    

    SCArrayOfObjectsSection *myObjectsSection = (SCArrayOfObjectsSection *)[self.tableViewModel sectionAtIndex:0];

    [myObjectsSection dispatchEventAddNewItem];

    

    SCTableViewCell *stringCell = [SCTableViewCell cellWithText:@"String Example Cell"];

    stringCell.cellActions.willConfigure = ^(SCTableViewCell *cell, NSIndexPath *indexPath)

    

    {

        cell.editable = YES;

    };

    

    NSLog(@"pressed the pressAdd button - test");

}

 

John


Edited by designwerks, 13 March 2017 - 01:08 PM.


#2 ozie

ozie

    ¯\_(ツ)_/¯

  • STV 5.0 Pro
  • PipPipPipPipPipPipPip
  • 515 posts
  • LocationAustralia
Reputation: 168
Popular

Posted 17 March 2017 - 01:30 AM

I'm sure i have seen something like this before.. had to do with Xcode not clearing out old STV cached files.. OPTION+click clean and using organiser removing all old cached files.. and then rerun the itv installer bat file

even then i think sometimes it still had some older files and took some file searching and manual deleting before Xcode was happy


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


#3 halldorg

halldorg

    Jr. Member

  • STV 5.0 Std
  • PipPip
  • 26 posts
Reputation: 5
Good

Posted 20 April 2017 - 03:46 PM

I am having the same issue with 8.3.1 - deleteing old cached and reinstalling did not help.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users