[29829] users/rhwood/Pallet/MPPortsController.m
source_changes at macosforge.org
source_changes at macosforge.org
Thu Oct 11 04:23:59 PDT 2007
Revision: 29829
http://trac.macosforge.org/projects/macports/changeset/29829
Author: rhwood at macports.org
Date: 2007-10-11 04:23:59 -0700 (Thu, 11 Oct 2007)
Log Message:
-----------
Changes to use MPPort obects instead of NSdictionary objects in the controlled array.
Modified Paths:
--------------
users/rhwood/Pallet/MPPortsController.m
Modified: users/rhwood/Pallet/MPPortsController.m
===================================================================
--- users/rhwood/Pallet/MPPortsController.m 2007-10-11 11:21:28 UTC (rev 29828)
+++ users/rhwood/Pallet/MPPortsController.m 2007-10-11 11:23:59 UTC (rev 29829)
@@ -15,11 +15,11 @@
// the *_as_string objects are retained to make searching easy
while (item = [objectsEnumerator nextObject]) {
if ([[item valueForKeyPath:@"name"] rangeOfString:searchString options:NSCaseInsensitiveSearch].location != NSNotFound ||
- [[item valueForKeyPath:@"categories_as_string"] rangeOfString:searchString options:NSCaseInsensitiveSearch].location != NSNotFound ||
+ [[item valueForKeyPath:@"categoriesAsString"] rangeOfString:searchString options:NSCaseInsensitiveSearch].location != NSNotFound ||
[[item valueForKeyPath:@"description"] rangeOfString:searchString options:NSCaseInsensitiveSearch].location != NSNotFound ||
[[item valueForKeyPath:@"long_description"] rangeOfString:searchString options:NSCaseInsensitiveSearch].location != NSNotFound ||
[[item valueForKeyPath:@"homepage"] rangeOfString:searchString options:NSCaseInsensitiveSearch].location != NSNotFound ||
- [[item valueForKeyPath:@"maintainers_as_string"] rangeOfString:searchString options:NSCaseInsensitiveSearch].location != NSNotFound
+ [[item valueForKeyPath:@"maintainersAsString"] rangeOfString:searchString options:NSCaseInsensitiveSearch].location != NSNotFound
) {
[filteredObjects addObject:item];
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071011/5abc5560/attachment-0001.html
More information about the macports-changes
mailing list