opfo / app

An iOS app for the EDA397 course made at Chalmers in the spring of 2013.
7 stars 1 forks source link

OPFRecordProtocol's all:page per:pageSize returns Models with nulled values #8

Closed tdeekens closed 11 years ago

tdeekens commented 11 years ago

Here is what I did:

self.userModels = [OPFUser all:1 per:30];

The array is set, has the right amount of entries but when i print one object's attribtues either via

NSLog(@"%@", [self.userModels objectAtIndex:0]);

Or bind them up to the model I get:

2013-04-25 15:34:54.246 Code Stream[30608:c07] <OPFUser: 0x752a1c0> {
    aboutMe = "<null>";
    age = "<null>";
    creationDate = "<null>";
    displayName = "<null>";
    downVotes = "<null>";
    emailHash = "<null>";
    identifier = "<null>";
    lastAccessDate = "<null>";
    location = "<null>";
    modelName = "<null>";
    reputation = "<null>";
    upVotes = "<null>";
    view = "<null>";
    websiteUrl = "<null>";
}

Cheers

tdeekens commented 11 years ago

http://www.youtube.com/watch?v=Z0sL-gQCy1A