From 3d9b0bd09378adc950ef7de8064a4ef852ba8ecd Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Mon, 8 Sep 2025 22:28:20 +0200 Subject: Remove some comments --- Providers/QSDeliciousAPIProvider.m | 7 ------- 1 file changed, 7 deletions(-) (limited to 'Providers/QSDeliciousAPIProvider.m') diff --git a/Providers/QSDeliciousAPIProvider.m b/Providers/QSDeliciousAPIProvider.m index 03991c1..a697618 100644 --- a/Providers/QSDeliciousAPIProvider.m +++ b/Providers/QSDeliciousAPIProvider.m @@ -114,12 +114,10 @@ host:(NSString *)host includeTags:(BOOL)includeTags { - // Try cached data first NSData *data = [self cachedBookmarkDataForSite:site username:username host:host]; - // If no cached data, fetch from API if (![data length]) { NSURL *requestURL = [self requestURLForSite:site username:username @@ -147,11 +145,9 @@ return @[]; } - // Cache the data [self cacheBookmarkData:data forSite:site username:username host:host]; } - // Parse XML data NSXMLParser *postParser = [[NSXMLParser alloc] initWithData:data]; [postParser setDelegate:self]; @@ -161,13 +157,11 @@ NSMutableArray *objects = [NSMutableArray arrayWithCapacity:1]; NSMutableSet *tagSet = [NSMutableSet set]; - // Create bookmark objects for (NSDictionary *post in self.posts) { QSObject *newObject = [self objectForPost:post]; if (newObject) { [objects addObject:newObject]; - // Collect tags if requested if (includeTags) { NSString *tagString = [post objectForKey:@"tag"]; if (tagString.length > 0) { @@ -178,7 +172,6 @@ } } - // Create tag objects if requested if (includeTags) { for (NSString *tag in tagSet) { if (tag.length > 0) { -- cgit