nsset Questions

2

Solved

I'm going nuts here. For some reason I can't find a single, complete example of how to use the objectsPassingTest: function of NSSet (cocoa). Before anyone points me to the pages about blocks, I've...
Etymologize asked 1/3, 2011 at 8:32

2

Solved

I have a bunch of CGPoints from a CCTMXLayer I want to save to NSUserDefaults but cannot seem to figure out an elegant way of doing so. Originally I was hoping to save an NSDictionary with an NSMu...
Alleras asked 1/1, 2011 at 21:46

1

Solved

I have a set of strings containing personIDs and I have a NSFetchedResults of people managedObjects with unique strPersonIDs. I tried to create an NSPredicate but it fails. Any help with this would...
Closefisted asked 11/12, 2010 at 17:41

2

Solved

Is there any way to do this? I have a set of items that I want to exclude from another set. I know I could loop through each item in my set and only add it to my filteredSet if it's not in the othe...
Gilgilba asked 3/12, 2010 at 17:39

3

Solved

I've got a text file, with about 200,000 lines. Each line represents an object with multiple properties. I only search through one of the properties (the unique ID) of the objects. If the unique ID...
Portuna asked 24/4, 2010 at 9:31

2

Solved

I've got data in an NSSet, and I need to get it into an NSArray. Do I need to sort it myself (again, this came from Core Data) or can I get it out in a sorted order?
Hendeca asked 20/4, 2010 at 4:47

1

Solved

How would you proceed to display the content of an NSSet in a UITableView? As you know, the table view will ask for the element at a given row, but since the NSSet elements aren't ordered, this do...
Backwoodsman asked 17/9, 2009 at 14:49

2

Solved

I thought there was a way to quickly ask a NSSet to poll its members and return a sum of say an NSInteger property in each of its objects, but I may very well be confusing this with the Mac OS X si...
Nuncio asked 10/7, 2009 at 1:39

© 2022 - 2024 — McMap. All rights reserved.