lundi 29 juin 2015

Create a list of result from Parse.com NSString


I have to create a list of result from a Parse.com database. The field is a NSString, and i'm using Objective-C.

In fact i have this field like a sequence of numbers

Database is like this :
row 1 : 4-7-9-6-18
row 2 : 5-3-8-9-29
row 3 : 32-8-67-3-5
...

Each line, can't have the same number in the sequence.

the goal is to create a list according to the reference sequence.

Let's say that the reference sequence is 3-8-9-44-60

I want to create a list from the Parse.com data like this

Lign 2 has 3 matching numbers
Lign 3 has 2 matching numbers
Lign 1 has 1 matching numbers

Is anyone has i clue, i would be nice to share :)

Thanks in advance for your help ;)


Aucun commentaire:

Enregistrer un commentaire