From f7b1e254532fab6a760be3c403fdb239e79ff7cc Mon Sep 17 00:00:00 2001 From: Tony Tam Date: Wed, 26 Sep 2012 22:23:56 -0700 Subject: [PATCH] removed comments --- .../wordnik-api/objc/client/NIKAccountApi.m | 7 +------ .../wordnik-api/objc/client/NIKApiTokenStatus.m | 6 ------ .../wordnik-api/objc/client/NIKAudioFile.m | 14 -------------- .../objc/client/NIKAuthenticationToken.m | 3 --- .../client/wordnik-api/objc/client/NIKBigram.m | 5 ----- .../client/wordnik-api/objc/client/NIKCitation.m | 2 -- .../wordnik-api/objc/client/NIKContentProvider.m | 2 -- .../wordnik-api/objc/client/NIKDefinition.m | 16 ---------------- .../objc/client/NIKDefinitionSearchResults.m | 2 -- .../client/wordnik-api/objc/client/NIKExample.m | 12 ------------ .../objc/client/NIKExampleSearchResults.m | 2 -- .../wordnik-api/objc/client/NIKExampleUsage.m | 1 - .../client/wordnik-api/objc/client/NIKFacet.m | 2 -- .../wordnik-api/objc/client/NIKFacetValue.m | 2 -- .../wordnik-api/objc/client/NIKFrequency.m | 2 -- .../objc/client/NIKFrequencySummary.m | 5 ----- .../client/wordnik-api/objc/client/NIKLabel.m | 2 -- samples/client/wordnik-api/objc/client/NIKNote.m | 4 ---- .../client/wordnik-api/objc/client/NIKRelated.m | 7 ------- .../wordnik-api/objc/client/NIKScoredWord.m | 11 ----------- .../client/wordnik-api/objc/client/NIKSentence.m | 6 ------ .../objc/client/NIKSimpleDefinition.m | 4 ---- .../wordnik-api/objc/client/NIKSimpleExample.m | 4 ---- .../wordnik-api/objc/client/NIKStringValue.m | 1 - .../client/wordnik-api/objc/client/NIKSyllable.m | 3 --- .../client/wordnik-api/objc/client/NIKTextPron.m | 3 --- samples/client/wordnik-api/objc/client/NIKUser.m | 8 -------- .../client/wordnik-api/objc/client/NIKWordApi.m | 12 ------------ .../client/wordnik-api/objc/client/NIKWordList.m | 11 ----------- .../wordnik-api/objc/client/NIKWordListApi.m | 6 ------ .../wordnik-api/objc/client/NIKWordListWord.m | 7 ------- .../wordnik-api/objc/client/NIKWordListsApi.m | 1 - .../wordnik-api/objc/client/NIKWordObject.m | 6 ------ .../wordnik-api/objc/client/NIKWordOfTheDay.m | 12 ------------ .../objc/client/NIKWordSearchResult.m | 3 --- .../objc/client/NIKWordSearchResults.m | 2 -- .../client/wordnik-api/objc/client/NIKWordsApi.m | 11 +++-------- 37 files changed, 4 insertions(+), 203 deletions(-) diff --git a/samples/client/wordnik-api/objc/client/NIKAccountApi.m b/samples/client/wordnik-api/objc/client/NIKAccountApi.m index b8059cefed6..91a9e96a629 100644 --- a/samples/client/wordnik-api/objc/client/NIKAccountApi.m +++ b/samples/client/wordnik-api/objc/client/NIKAccountApi.m @@ -53,7 +53,6 @@ static NSString * basePath = @"http://api.wordnik.com/v4"; if(password == nil) { // error } - // not a return container [_api dictionaryWithCompletionBlock: requestUrl method: @"GET" queryParams: queryParams @@ -116,7 +115,6 @@ static NSString * basePath = @"http://api.wordnik.com/v4"; if(body == nil) { // error } - // not a return container [_api dictionaryWithCompletionBlock: requestUrl method: @"POST" queryParams: queryParams @@ -159,7 +157,6 @@ static NSString * basePath = @"http://api.wordnik.com/v4"; if(auth_token == nil) { // error } - // it's a returnContainer [_api dictionaryWithCompletionBlock: requestUrl method: @"GET" queryParams: queryParams @@ -203,8 +200,7 @@ static NSString * basePath = @"http://api.wordnik.com/v4"; if(api_key != nil) [headerParams setValue:api_key forKey:@"api_key"]; id bodyDictionary = nil; - // not a return container - [_api dictionaryWithCompletionBlock: requestUrl + [_api dictionaryWithCompletionBlock: requestUrl method: @"GET" queryParams: queryParams body: bodyDictionary @@ -242,7 +238,6 @@ static NSString * basePath = @"http://api.wordnik.com/v4"; if(auth_token == nil) { // error } - // not a return container [_api dictionaryWithCompletionBlock: requestUrl method: @"GET" queryParams: queryParams diff --git a/samples/client/wordnik-api/objc/client/NIKApiTokenStatus.m b/samples/client/wordnik-api/objc/client/NIKApiTokenStatus.m index 81641866daa..8a6b1ebe09e 100644 --- a/samples/client/wordnik-api/objc/client/NIKApiTokenStatus.m +++ b/samples/client/wordnik-api/objc/client/NIKApiTokenStatus.m @@ -27,17 +27,11 @@ - (id) initWithValues: (NSDictionary*)dict { - /* isContainer: , baseType: NSNumber, complexType: */ _valid = [dict objectForKey:@"valid"]; - /* isContainer: , baseType: NSString, complexType: */ _token = [dict objectForKey:@"token"]; - /* isContainer: , baseType: NSNumber, complexType: */ _resetsInMillis = [dict objectForKey:@"resetsInMillis"]; - /* isContainer: , baseType: NSNumber, complexType: */ _remainingCalls = [dict objectForKey:@"remainingCalls"]; - /* isContainer: , baseType: NSNumber, complexType: */ _expiresInMillis = [dict objectForKey:@"expiresInMillis"]; - /* isContainer: , baseType: NSNumber, complexType: */ _totalRequests = [dict objectForKey:@"totalRequests"]; return self; } diff --git a/samples/client/wordnik-api/objc/client/NIKAudioFile.m b/samples/client/wordnik-api/objc/client/NIKAudioFile.m index c9e4c84c69b..21ab8f405d6 100644 --- a/samples/client/wordnik-api/objc/client/NIKAudioFile.m +++ b/samples/client/wordnik-api/objc/client/NIKAudioFile.m @@ -51,34 +51,20 @@ - (id) initWithValues: (NSDictionary*)dict { - /* isContainer: , baseType: NSString, complexType: */ _attributionUrl = [dict objectForKey:@"attributionUrl"]; - /* isContainer: , baseType: NSNumber, complexType: */ _commentCount = [dict objectForKey:@"commentCount"]; - /* isContainer: , baseType: NSNumber, complexType: */ _voteCount = [dict objectForKey:@"voteCount"]; - /* isContainer: , baseType: NSString, complexType: */ _fileUrl = [dict objectForKey:@"fileUrl"]; - /* isContainer: , baseType: NSString, complexType: */ _audioType = [dict objectForKey:@"audioType"]; - /* isContainer: , baseType: NSNumber, complexType: */ __id = [dict objectForKey:@"id"]; - /* isContainer: , baseType: NSNumber, complexType: */ _duration = [dict objectForKey:@"duration"]; - /* isContainer: , baseType: NSString, complexType: */ _attributionText = [dict objectForKey:@"attributionText"]; - /* isContainer: , baseType: NSString, complexType: */ _createdBy = [dict objectForKey:@"createdBy"]; - /* isContainer: , baseType: NSString, complexType: */ _description = [dict objectForKey:@"description"]; - /* isContainer: , baseType: NIKDate, complexType: NIKDate */ id createdAt_dict = [dict objectForKey:@"createdAt"]; _createdAt = [[NIKDate alloc]initWithValues:createdAt_dict]; - /* isContainer: , baseType: NSNumber, complexType: */ _voteWeightedAverage = [dict objectForKey:@"voteWeightedAverage"]; - /* isContainer: , baseType: NSNumber, complexType: */ _voteAverage = [dict objectForKey:@"voteAverage"]; - /* isContainer: , baseType: NSString, complexType: */ _word = [dict objectForKey:@"word"]; return self; } diff --git a/samples/client/wordnik-api/objc/client/NIKAuthenticationToken.m b/samples/client/wordnik-api/objc/client/NIKAuthenticationToken.m index 88d03aa986f..51883c74ddb 100644 --- a/samples/client/wordnik-api/objc/client/NIKAuthenticationToken.m +++ b/samples/client/wordnik-api/objc/client/NIKAuthenticationToken.m @@ -18,11 +18,8 @@ - (id) initWithValues: (NSDictionary*)dict { - /* isContainer: , baseType: NSString, complexType: */ _token = [dict objectForKey:@"token"]; - /* isContainer: , baseType: NSNumber, complexType: */ _userId = [dict objectForKey:@"userId"]; - /* isContainer: , baseType: NSString, complexType: */ _userSignature = [dict objectForKey:@"userSignature"]; return self; } diff --git a/samples/client/wordnik-api/objc/client/NIKBigram.m b/samples/client/wordnik-api/objc/client/NIKBigram.m index ce33f44ebef..46b2ca38761 100644 --- a/samples/client/wordnik-api/objc/client/NIKBigram.m +++ b/samples/client/wordnik-api/objc/client/NIKBigram.m @@ -24,15 +24,10 @@ - (id) initWithValues: (NSDictionary*)dict { - /* isContainer: , baseType: NSNumber, complexType: */ _count = [dict objectForKey:@"count"]; - /* isContainer: , baseType: NSString, complexType: */ _gram2 = [dict objectForKey:@"gram2"]; - /* isContainer: , baseType: NSString, complexType: */ _gram1 = [dict objectForKey:@"gram1"]; - /* isContainer: , baseType: NSNumber, complexType: */ _wlmi = [dict objectForKey:@"wlmi"]; - /* isContainer: , baseType: NSNumber, complexType: */ _mi = [dict objectForKey:@"mi"]; return self; } diff --git a/samples/client/wordnik-api/objc/client/NIKCitation.m b/samples/client/wordnik-api/objc/client/NIKCitation.m index e3ff0b4d330..2cd9c11153f 100644 --- a/samples/client/wordnik-api/objc/client/NIKCitation.m +++ b/samples/client/wordnik-api/objc/client/NIKCitation.m @@ -15,9 +15,7 @@ - (id) initWithValues: (NSDictionary*)dict { - /* isContainer: , baseType: NSString, complexType: */ _cite = [dict objectForKey:@"cite"]; - /* isContainer: , baseType: NSString, complexType: */ _source = [dict objectForKey:@"source"]; return self; } diff --git a/samples/client/wordnik-api/objc/client/NIKContentProvider.m b/samples/client/wordnik-api/objc/client/NIKContentProvider.m index 88ddac8b770..2f93695596c 100644 --- a/samples/client/wordnik-api/objc/client/NIKContentProvider.m +++ b/samples/client/wordnik-api/objc/client/NIKContentProvider.m @@ -15,9 +15,7 @@ - (id) initWithValues: (NSDictionary*)dict { - /* isContainer: , baseType: NSNumber, complexType: */ __id = [dict objectForKey:@"id"]; - /* isContainer: , baseType: NSString, complexType: */ _name = [dict objectForKey:@"name"]; return self; } diff --git a/samples/client/wordnik-api/objc/client/NIKDefinition.m b/samples/client/wordnik-api/objc/client/NIKDefinition.m index e98ed0d79c4..fff37bf26c0 100644 --- a/samples/client/wordnik-api/objc/client/NIKDefinition.m +++ b/samples/client/wordnik-api/objc/client/NIKDefinition.m @@ -57,13 +57,9 @@ - (id) initWithValues: (NSDictionary*)dict { - /* isContainer: , baseType: NSString, complexType: */ _extendedText = [dict objectForKey:@"extendedText"]; - /* isContainer: , baseType: NSString, complexType: */ _text = [dict objectForKey:@"text"]; - /* isContainer: , baseType: NSString, complexType: */ _sourceDictionary = [dict objectForKey:@"sourceDictionary"]; - /* isContainer: true, baseType: Citation, complexType: NIKCitation */ id citations_dict = [dict objectForKey:@"citations"]; if([citations_dict isKindOfClass:[NSArray class]]) { if([(NSArray*)citations_dict count] > 0) { @@ -75,7 +71,6 @@ _citations = [[NSArray alloc] initWithArray:objs]; } } - /* isContainer: true, baseType: Label, complexType: NIKLabel */ id labels_dict = [dict objectForKey:@"labels"]; if([labels_dict isKindOfClass:[NSArray class]]) { if([(NSArray*)labels_dict count] > 0) { @@ -87,9 +82,7 @@ _labels = [[NSArray alloc] initWithArray:objs]; } } - /* isContainer: , baseType: NSNumber, complexType: */ _score = [dict objectForKey:@"score"]; - /* isContainer: true, baseType: ExampleUsage, complexType: NIKExampleUsage */ id exampleUses_dict = [dict objectForKey:@"exampleUses"]; if([exampleUses_dict isKindOfClass:[NSArray class]]) { if([(NSArray*)exampleUses_dict count] > 0) { @@ -101,13 +94,9 @@ _exampleUses = [[NSArray alloc] initWithArray:objs]; } } - /* isContainer: , baseType: NSString, complexType: */ _attributionUrl = [dict objectForKey:@"attributionUrl"]; - /* isContainer: , baseType: NSString, complexType: */ _seqString = [dict objectForKey:@"seqString"]; - /* isContainer: , baseType: NSString, complexType: */ _attributionText = [dict objectForKey:@"attributionText"]; - /* isContainer: true, baseType: Related, complexType: NIKRelated */ id relatedWords_dict = [dict objectForKey:@"relatedWords"]; if([relatedWords_dict isKindOfClass:[NSArray class]]) { if([(NSArray*)relatedWords_dict count] > 0) { @@ -119,11 +108,8 @@ _relatedWords = [[NSArray alloc] initWithArray:objs]; } } - /* isContainer: , baseType: NSString, complexType: */ _sequence = [dict objectForKey:@"sequence"]; - /* isContainer: , baseType: NSString, complexType: */ _word = [dict objectForKey:@"word"]; - /* isContainer: true, baseType: TextPron, complexType: NIKTextPron */ id textProns_dict = [dict objectForKey:@"textProns"]; if([textProns_dict isKindOfClass:[NSArray class]]) { if([(NSArray*)textProns_dict count] > 0) { @@ -135,7 +121,6 @@ _textProns = [[NSArray alloc] initWithArray:objs]; } } - /* isContainer: true, baseType: Note, complexType: NIKNote */ id notes_dict = [dict objectForKey:@"notes"]; if([notes_dict isKindOfClass:[NSArray class]]) { if([(NSArray*)notes_dict count] > 0) { @@ -147,7 +132,6 @@ _notes = [[NSArray alloc] initWithArray:objs]; } } - /* isContainer: , baseType: NSString, complexType: */ _partOfSpeech = [dict objectForKey:@"partOfSpeech"]; return self; } diff --git a/samples/client/wordnik-api/objc/client/NIKDefinitionSearchResults.m b/samples/client/wordnik-api/objc/client/NIKDefinitionSearchResults.m index ebf2996c9cd..02a011854e9 100644 --- a/samples/client/wordnik-api/objc/client/NIKDefinitionSearchResults.m +++ b/samples/client/wordnik-api/objc/client/NIKDefinitionSearchResults.m @@ -15,7 +15,6 @@ - (id) initWithValues: (NSDictionary*)dict { - /* isContainer: true, baseType: Definition, complexType: NIKDefinition */ id results_dict = [dict objectForKey:@"results"]; if([results_dict isKindOfClass:[NSArray class]]) { if([(NSArray*)results_dict count] > 0) { @@ -27,7 +26,6 @@ _results = [[NSArray alloc] initWithArray:objs]; } } - /* isContainer: , baseType: NSNumber, complexType: */ _totalResults = [dict objectForKey:@"totalResults"]; return self; } diff --git a/samples/client/wordnik-api/objc/client/NIKExample.m b/samples/client/wordnik-api/objc/client/NIKExample.m index e686a804ecc..4e17e0727e9 100644 --- a/samples/client/wordnik-api/objc/client/NIKExample.m +++ b/samples/client/wordnik-api/objc/client/NIKExample.m @@ -45,32 +45,20 @@ - (id) initWithValues: (NSDictionary*)dict { - /* isContainer: , baseType: NSNumber, complexType: */ __id = [dict objectForKey:@"id"]; - /* isContainer: , baseType: NSString, complexType: */ _text = [dict objectForKey:@"text"]; - /* isContainer: , baseType: NSString, complexType: */ _title = [dict objectForKey:@"title"]; - /* isContainer: , baseType: NSNumber, complexType: */ _exampleId = [dict objectForKey:@"exampleId"]; - /* isContainer: , baseType: ScoredWord, complexType: NIKScoredWord */ id score_dict = [dict objectForKey:@"score"]; _score = [[NIKScoredWord alloc]initWithValues:score_dict]; - /* isContainer: , baseType: Sentence, complexType: NIKSentence */ id sentence_dict = [dict objectForKey:@"sentence"]; _sentence = [[NIKSentence alloc]initWithValues:sentence_dict]; - /* isContainer: , baseType: NSNumber, complexType: */ _year = [dict objectForKey:@"year"]; - /* isContainer: , baseType: ContentProvider, complexType: NIKContentProvider */ id provider_dict = [dict objectForKey:@"provider"]; _provider = [[NIKContentProvider alloc]initWithValues:provider_dict]; - /* isContainer: , baseType: NSString, complexType: */ _word = [dict objectForKey:@"word"]; - /* isContainer: , baseType: NSNumber, complexType: */ _rating = [dict objectForKey:@"rating"]; - /* isContainer: , baseType: NSString, complexType: */ _url = [dict objectForKey:@"url"]; - /* isContainer: , baseType: NSNumber, complexType: */ _documentId = [dict objectForKey:@"documentId"]; return self; } diff --git a/samples/client/wordnik-api/objc/client/NIKExampleSearchResults.m b/samples/client/wordnik-api/objc/client/NIKExampleSearchResults.m index 08ad6fbc41f..5d2a239a687 100644 --- a/samples/client/wordnik-api/objc/client/NIKExampleSearchResults.m +++ b/samples/client/wordnik-api/objc/client/NIKExampleSearchResults.m @@ -15,7 +15,6 @@ - (id) initWithValues: (NSDictionary*)dict { - /* isContainer: true, baseType: Facet, complexType: NIKFacet */ id facets_dict = [dict objectForKey:@"facets"]; if([facets_dict isKindOfClass:[NSArray class]]) { if([(NSArray*)facets_dict count] > 0) { @@ -27,7 +26,6 @@ _facets = [[NSArray alloc] initWithArray:objs]; } } - /* isContainer: true, baseType: Example, complexType: NIKExample */ id examples_dict = [dict objectForKey:@"examples"]; if([examples_dict isKindOfClass:[NSArray class]]) { if([(NSArray*)examples_dict count] > 0) { diff --git a/samples/client/wordnik-api/objc/client/NIKExampleUsage.m b/samples/client/wordnik-api/objc/client/NIKExampleUsage.m index 84359f00a87..d24cea21145 100644 --- a/samples/client/wordnik-api/objc/client/NIKExampleUsage.m +++ b/samples/client/wordnik-api/objc/client/NIKExampleUsage.m @@ -12,7 +12,6 @@ - (id) initWithValues: (NSDictionary*)dict { - /* isContainer: , baseType: NSString, complexType: */ _text = [dict objectForKey:@"text"]; return self; } diff --git a/samples/client/wordnik-api/objc/client/NIKFacet.m b/samples/client/wordnik-api/objc/client/NIKFacet.m index 5786839ad39..8d0b123f0b8 100644 --- a/samples/client/wordnik-api/objc/client/NIKFacet.m +++ b/samples/client/wordnik-api/objc/client/NIKFacet.m @@ -15,7 +15,6 @@ - (id) initWithValues: (NSDictionary*)dict { - /* isContainer: true, baseType: FacetValue, complexType: NIKFacetValue */ id facetValues_dict = [dict objectForKey:@"facetValues"]; if([facetValues_dict isKindOfClass:[NSArray class]]) { if([(NSArray*)facetValues_dict count] > 0) { @@ -27,7 +26,6 @@ _facetValues = [[NSArray alloc] initWithArray:objs]; } } - /* isContainer: , baseType: NSString, complexType: */ _name = [dict objectForKey:@"name"]; return self; } diff --git a/samples/client/wordnik-api/objc/client/NIKFacetValue.m b/samples/client/wordnik-api/objc/client/NIKFacetValue.m index a8f86f18541..902707ac89a 100644 --- a/samples/client/wordnik-api/objc/client/NIKFacetValue.m +++ b/samples/client/wordnik-api/objc/client/NIKFacetValue.m @@ -15,9 +15,7 @@ - (id) initWithValues: (NSDictionary*)dict { - /* isContainer: , baseType: NSNumber, complexType: */ _count = [dict objectForKey:@"count"]; - /* isContainer: , baseType: NSString, complexType: */ _value = [dict objectForKey:@"value"]; return self; } diff --git a/samples/client/wordnik-api/objc/client/NIKFrequency.m b/samples/client/wordnik-api/objc/client/NIKFrequency.m index fd0a5233023..6db1f78cd5b 100644 --- a/samples/client/wordnik-api/objc/client/NIKFrequency.m +++ b/samples/client/wordnik-api/objc/client/NIKFrequency.m @@ -15,9 +15,7 @@ - (id) initWithValues: (NSDictionary*)dict { - /* isContainer: , baseType: NSNumber, complexType: */ _count = [dict objectForKey:@"count"]; - /* isContainer: , baseType: NSNumber, complexType: */ _year = [dict objectForKey:@"year"]; return self; } diff --git a/samples/client/wordnik-api/objc/client/NIKFrequencySummary.m b/samples/client/wordnik-api/objc/client/NIKFrequencySummary.m index 27e1ea05888..baedb200d97 100644 --- a/samples/client/wordnik-api/objc/client/NIKFrequencySummary.m +++ b/samples/client/wordnik-api/objc/client/NIKFrequencySummary.m @@ -24,15 +24,10 @@ - (id) initWithValues: (NSDictionary*)dict { - /* isContainer: , baseType: NSNumber, complexType: */ _unknownYearCount = [dict objectForKey:@"unknownYearCount"]; - /* isContainer: , baseType: NSNumber, complexType: */ _totalCount = [dict objectForKey:@"totalCount"]; - /* isContainer: , baseType: NSString, complexType: */ _frequencyString = [dict objectForKey:@"frequencyString"]; - /* isContainer: , baseType: NSString, complexType: */ _word = [dict objectForKey:@"word"]; - /* isContainer: true, baseType: Frequency, complexType: NIKFrequency */ id frequency_dict = [dict objectForKey:@"frequency"]; if([frequency_dict isKindOfClass:[NSArray class]]) { if([(NSArray*)frequency_dict count] > 0) { diff --git a/samples/client/wordnik-api/objc/client/NIKLabel.m b/samples/client/wordnik-api/objc/client/NIKLabel.m index ffd0659d9ab..4369c5607cc 100644 --- a/samples/client/wordnik-api/objc/client/NIKLabel.m +++ b/samples/client/wordnik-api/objc/client/NIKLabel.m @@ -15,9 +15,7 @@ - (id) initWithValues: (NSDictionary*)dict { - /* isContainer: , baseType: NSString, complexType: */ _text = [dict objectForKey:@"text"]; - /* isContainer: , baseType: NSString, complexType: */ _type = [dict objectForKey:@"type"]; return self; } diff --git a/samples/client/wordnik-api/objc/client/NIKNote.m b/samples/client/wordnik-api/objc/client/NIKNote.m index 030da937644..b05925e1811 100644 --- a/samples/client/wordnik-api/objc/client/NIKNote.m +++ b/samples/client/wordnik-api/objc/client/NIKNote.m @@ -21,13 +21,9 @@ - (id) initWithValues: (NSDictionary*)dict { - /* isContainer: , baseType: NSString, complexType: */ _noteType = [dict objectForKey:@"noteType"]; - /* isContainer: true, baseType: NSString, complexType: */ _appliesTo = [dict objectForKey:@"appliesTo"]; - /* isContainer: , baseType: NSString, complexType: */ _value = [dict objectForKey:@"value"]; - /* isContainer: , baseType: NSNumber, complexType: */ _pos = [dict objectForKey:@"pos"]; return self; } diff --git a/samples/client/wordnik-api/objc/client/NIKRelated.m b/samples/client/wordnik-api/objc/client/NIKRelated.m index 7d38fd1021f..d22e8d346b8 100644 --- a/samples/client/wordnik-api/objc/client/NIKRelated.m +++ b/samples/client/wordnik-api/objc/client/NIKRelated.m @@ -30,19 +30,12 @@ - (id) initWithValues: (NSDictionary*)dict { - /* isContainer: , baseType: NSString, complexType: */ _label1 = [dict objectForKey:@"label1"]; - /* isContainer: , baseType: NSString, complexType: */ _label2 = [dict objectForKey:@"label2"]; - /* isContainer: , baseType: NSString, complexType: */ _relationshipType = [dict objectForKey:@"relationshipType"]; - /* isContainer: , baseType: NSString, complexType: */ _label3 = [dict objectForKey:@"label3"]; - /* isContainer: true, baseType: NSString, complexType: */ _words = [dict objectForKey:@"words"]; - /* isContainer: , baseType: NSString, complexType: */ _label4 = [dict objectForKey:@"label4"]; - /* isContainer: , baseType: NSString, complexType: */ _gram = [dict objectForKey:@"gram"]; return self; } diff --git a/samples/client/wordnik-api/objc/client/NIKScoredWord.m b/samples/client/wordnik-api/objc/client/NIKScoredWord.m index 5314a671255..ac2b784562f 100644 --- a/samples/client/wordnik-api/objc/client/NIKScoredWord.m +++ b/samples/client/wordnik-api/objc/client/NIKScoredWord.m @@ -42,27 +42,16 @@ - (id) initWithValues: (NSDictionary*)dict { - /* isContainer: , baseType: NSNumber, complexType: */ __id = [dict objectForKey:@"id"]; - /* isContainer: , baseType: NSNumber, complexType: */ _position = [dict objectForKey:@"position"]; - /* isContainer: , baseType: NSString, complexType: */ _lemma = [dict objectForKey:@"lemma"]; - /* isContainer: , baseType: NSNumber, complexType: */ _docTermCount = [dict objectForKey:@"docTermCount"]; - /* isContainer: , baseType: NSString, complexType: */ _wordType = [dict objectForKey:@"wordType"]; - /* isContainer: , baseType: NSNumber, complexType: */ _score = [dict objectForKey:@"score"]; - /* isContainer: , baseType: NSString, complexType: */ _word = [dict objectForKey:@"word"]; - /* isContainer: , baseType: NSNumber, complexType: */ _sentenceId = [dict objectForKey:@"sentenceId"]; - /* isContainer: , baseType: NSNumber, complexType: */ _stopword = [dict objectForKey:@"stopword"]; - /* isContainer: , baseType: NSNumber, complexType: */ _baseWordScore = [dict objectForKey:@"baseWordScore"]; - /* isContainer: , baseType: NSString, complexType: */ _partOfSpeech = [dict objectForKey:@"partOfSpeech"]; return self; } diff --git a/samples/client/wordnik-api/objc/client/NIKSentence.m b/samples/client/wordnik-api/objc/client/NIKSentence.m index 49214a4d7bb..48a867c2662 100644 --- a/samples/client/wordnik-api/objc/client/NIKSentence.m +++ b/samples/client/wordnik-api/objc/client/NIKSentence.m @@ -27,11 +27,8 @@ - (id) initWithValues: (NSDictionary*)dict { - /* isContainer: , baseType: NSNumber, complexType: */ __id = [dict objectForKey:@"id"]; - /* isContainer: , baseType: NSNumber, complexType: */ _hasScoredWords = [dict objectForKey:@"hasScoredWords"]; - /* isContainer: true, baseType: ScoredWord, complexType: NIKScoredWord */ id scoredWords_dict = [dict objectForKey:@"scoredWords"]; if([scoredWords_dict isKindOfClass:[NSArray class]]) { if([(NSArray*)scoredWords_dict count] > 0) { @@ -43,11 +40,8 @@ _scoredWords = [[NSArray alloc] initWithArray:objs]; } } - /* isContainer: , baseType: NSString, complexType: */ _display = [dict objectForKey:@"display"]; - /* isContainer: , baseType: NSNumber, complexType: */ _rating = [dict objectForKey:@"rating"]; - /* isContainer: , baseType: NSNumber, complexType: */ _documentMetadataId = [dict objectForKey:@"documentMetadataId"]; return self; } diff --git a/samples/client/wordnik-api/objc/client/NIKSimpleDefinition.m b/samples/client/wordnik-api/objc/client/NIKSimpleDefinition.m index 72e4b1a24c6..5ca75815891 100644 --- a/samples/client/wordnik-api/objc/client/NIKSimpleDefinition.m +++ b/samples/client/wordnik-api/objc/client/NIKSimpleDefinition.m @@ -21,13 +21,9 @@ - (id) initWithValues: (NSDictionary*)dict { - /* isContainer: , baseType: NSString, complexType: */ _text = [dict objectForKey:@"text"]; - /* isContainer: , baseType: NSString, complexType: */ _source = [dict objectForKey:@"source"]; - /* isContainer: , baseType: NSString, complexType: */ _note = [dict objectForKey:@"note"]; - /* isContainer: , baseType: NSString, complexType: */ _partOfSpeech = [dict objectForKey:@"partOfSpeech"]; return self; } diff --git a/samples/client/wordnik-api/objc/client/NIKSimpleExample.m b/samples/client/wordnik-api/objc/client/NIKSimpleExample.m index da7d7aa1d81..e8b4c9e90bc 100644 --- a/samples/client/wordnik-api/objc/client/NIKSimpleExample.m +++ b/samples/client/wordnik-api/objc/client/NIKSimpleExample.m @@ -21,13 +21,9 @@ - (id) initWithValues: (NSDictionary*)dict { - /* isContainer: , baseType: NSNumber, complexType: */ __id = [dict objectForKey:@"id"]; - /* isContainer: , baseType: NSString, complexType: */ _text = [dict objectForKey:@"text"]; - /* isContainer: , baseType: NSString, complexType: */ _title = [dict objectForKey:@"title"]; - /* isContainer: , baseType: NSString, complexType: */ _url = [dict objectForKey:@"url"]; return self; } diff --git a/samples/client/wordnik-api/objc/client/NIKStringValue.m b/samples/client/wordnik-api/objc/client/NIKStringValue.m index 08060d7c128..c94417c0b13 100644 --- a/samples/client/wordnik-api/objc/client/NIKStringValue.m +++ b/samples/client/wordnik-api/objc/client/NIKStringValue.m @@ -12,7 +12,6 @@ - (id) initWithValues: (NSDictionary*)dict { - /* isContainer: , baseType: NSString, complexType: */ _word = [dict objectForKey:@"word"]; return self; } diff --git a/samples/client/wordnik-api/objc/client/NIKSyllable.m b/samples/client/wordnik-api/objc/client/NIKSyllable.m index 5b042726ebd..9cf8194ac5f 100644 --- a/samples/client/wordnik-api/objc/client/NIKSyllable.m +++ b/samples/client/wordnik-api/objc/client/NIKSyllable.m @@ -18,11 +18,8 @@ - (id) initWithValues: (NSDictionary*)dict { - /* isContainer: , baseType: NSString, complexType: */ _text = [dict objectForKey:@"text"]; - /* isContainer: , baseType: NSNumber, complexType: */ _seq = [dict objectForKey:@"seq"]; - /* isContainer: , baseType: NSString, complexType: */ _type = [dict objectForKey:@"type"]; return self; } diff --git a/samples/client/wordnik-api/objc/client/NIKTextPron.m b/samples/client/wordnik-api/objc/client/NIKTextPron.m index 14d8f6d9180..634cb43319f 100644 --- a/samples/client/wordnik-api/objc/client/NIKTextPron.m +++ b/samples/client/wordnik-api/objc/client/NIKTextPron.m @@ -18,11 +18,8 @@ - (id) initWithValues: (NSDictionary*)dict { - /* isContainer: , baseType: NSString, complexType: */ _raw = [dict objectForKey:@"raw"]; - /* isContainer: , baseType: NSNumber, complexType: */ _seq = [dict objectForKey:@"seq"]; - /* isContainer: , baseType: NSString, complexType: */ _rawType = [dict objectForKey:@"rawType"]; return self; } diff --git a/samples/client/wordnik-api/objc/client/NIKUser.m b/samples/client/wordnik-api/objc/client/NIKUser.m index 7514eee8360..3bbdbda47b7 100644 --- a/samples/client/wordnik-api/objc/client/NIKUser.m +++ b/samples/client/wordnik-api/objc/client/NIKUser.m @@ -33,21 +33,13 @@ - (id) initWithValues: (NSDictionary*)dict { - /* isContainer: , baseType: NSNumber, complexType: */ __id = [dict objectForKey:@"id"]; - /* isContainer: , baseType: NSString, complexType: */ _username = [dict objectForKey:@"username"]; - /* isContainer: , baseType: NSNumber, complexType: */ _status = [dict objectForKey:@"status"]; - /* isContainer: , baseType: NSString, complexType: */ _email = [dict objectForKey:@"email"]; - /* isContainer: , baseType: NSString, complexType: */ _faceBookId = [dict objectForKey:@"faceBookId"]; - /* isContainer: , baseType: NSString, complexType: */ _userName = [dict objectForKey:@"userName"]; - /* isContainer: , baseType: NSString, complexType: */ _displayName = [dict objectForKey:@"displayName"]; - /* isContainer: , baseType: NSString, complexType: */ _password = [dict objectForKey:@"password"]; return self; } diff --git a/samples/client/wordnik-api/objc/client/NIKWordApi.m b/samples/client/wordnik-api/objc/client/NIKWordApi.m index 2507908c326..5274d3181d6 100644 --- a/samples/client/wordnik-api/objc/client/NIKWordApi.m +++ b/samples/client/wordnik-api/objc/client/NIKWordApi.m @@ -62,7 +62,6 @@ static NSString * basePath = @"http://api.wordnik.com/v4"; if(word == nil) { // error } - // not a return container [_api dictionaryWithCompletionBlock: requestUrl method: @"GET" queryParams: queryParams @@ -104,7 +103,6 @@ static NSString * basePath = @"http://api.wordnik.com/v4"; if(word == nil) { // error } - // not a return container [_api dictionaryWithCompletionBlock: requestUrl method: @"GET" queryParams: queryParams @@ -154,7 +152,6 @@ static NSString * basePath = @"http://api.wordnik.com/v4"; if(word == nil) { // error } - // it's a returnContainer [_api dictionaryWithCompletionBlock: requestUrl method: @"GET" queryParams: queryParams @@ -202,7 +199,6 @@ static NSString * basePath = @"http://api.wordnik.com/v4"; if(word == nil) { // error } - // not a return container [_api dictionaryWithCompletionBlock: requestUrl method: @"GET" queryParams: queryParams @@ -246,7 +242,6 @@ static NSString * basePath = @"http://api.wordnik.com/v4"; if(word == nil) { // error } - // it's a returnContainer [_api dictionaryWithCompletionBlock: requestUrl method: @"GET" queryParams: queryParams @@ -300,7 +295,6 @@ static NSString * basePath = @"http://api.wordnik.com/v4"; if(word == nil) { // error } - // it's a returnContainer [_api dictionaryWithCompletionBlock: requestUrl method: @"GET" queryParams: queryParams @@ -352,7 +346,6 @@ static NSString * basePath = @"http://api.wordnik.com/v4"; if(word == nil) { // error } - // it's a returnContainer [_api dictionaryWithCompletionBlock: requestUrl method: @"GET" queryParams: queryParams @@ -404,7 +397,6 @@ static NSString * basePath = @"http://api.wordnik.com/v4"; if(word == nil) { // error } - // not a return container [_api dictionaryWithCompletionBlock: requestUrl method: @"GET" queryParams: queryParams @@ -448,7 +440,6 @@ static NSString * basePath = @"http://api.wordnik.com/v4"; if(word == nil) { // error } - // it's a returnContainer [_api dictionaryWithCompletionBlock: requestUrl method: @"GET" queryParams: queryParams @@ -496,7 +487,6 @@ static NSString * basePath = @"http://api.wordnik.com/v4"; if(word == nil) { // error } - // it's a returnContainer [_api dictionaryWithCompletionBlock: requestUrl method: @"GET" queryParams: queryParams @@ -515,7 +505,6 @@ static NSString * basePath = @"http://api.wordnik.com/v4"; } completionBlock(objs, nil); } - // it's a primitive type in the response }]; } @@ -547,7 +536,6 @@ static NSString * basePath = @"http://api.wordnik.com/v4"; if(word == nil) { // error } - // it's a returnContainer [_api dictionaryWithCompletionBlock: requestUrl method: @"GET" queryParams: queryParams diff --git a/samples/client/wordnik-api/objc/client/NIKWordList.m b/samples/client/wordnik-api/objc/client/NIKWordList.m index 4e6ff1a1de9..afd423c2508 100644 --- a/samples/client/wordnik-api/objc/client/NIKWordList.m +++ b/samples/client/wordnik-api/objc/client/NIKWordList.m @@ -42,30 +42,19 @@ - (id) initWithValues: (NSDictionary*)dict { - /* isContainer: , baseType: NSNumber, complexType: */ __id = [dict objectForKey:@"id"]; - /* isContainer: , baseType: NIKDate, complexType: NIKDate */ id updatedAt_dict = [dict objectForKey:@"updatedAt"]; _updatedAt = [[NIKDate alloc]initWithValues:updatedAt_dict]; - /* isContainer: , baseType: NSString, complexType: */ _username = [dict objectForKey:@"username"]; - /* isContainer: , baseType: NSString, complexType: */ _permalink = [dict objectForKey:@"permalink"]; - /* isContainer: , baseType: NSString, complexType: */ _description = [dict objectForKey:@"description"]; - /* isContainer: , baseType: NIKDate, complexType: NIKDate */ id createdAt_dict = [dict objectForKey:@"createdAt"]; _createdAt = [[NIKDate alloc]initWithValues:createdAt_dict]; - /* isContainer: , baseType: NIKDate, complexType: NIKDate */ id lastActivityAt_dict = [dict objectForKey:@"lastActivityAt"]; _lastActivityAt = [[NIKDate alloc]initWithValues:lastActivityAt_dict]; - /* isContainer: , baseType: NSString, complexType: */ _name = [dict objectForKey:@"name"]; - /* isContainer: , baseType: NSNumber, complexType: */ _userId = [dict objectForKey:@"userId"]; - /* isContainer: , baseType: NSNumber, complexType: */ _numberWordsInList = [dict objectForKey:@"numberWordsInList"]; - /* isContainer: , baseType: NSString, complexType: */ _type = [dict objectForKey:@"type"]; return self; } diff --git a/samples/client/wordnik-api/objc/client/NIKWordListApi.m b/samples/client/wordnik-api/objc/client/NIKWordListApi.m index 1ea2e9a60f9..cc473d522e1 100644 --- a/samples/client/wordnik-api/objc/client/NIKWordListApi.m +++ b/samples/client/wordnik-api/objc/client/NIKWordListApi.m @@ -74,7 +74,6 @@ static NSString * basePath = @"http://api.wordnik.com/v4"; if(auth_token == nil) { // error } - // not a return container [_api stringWithCompletionBlock: requestUrl method: @"PUT" queryParams: queryParams @@ -118,7 +117,6 @@ static NSString * basePath = @"http://api.wordnik.com/v4"; if(auth_token == nil) { // error } - // not a return container [_api stringWithCompletionBlock: requestUrl method: @"DELETE" queryParams: queryParams @@ -162,7 +160,6 @@ static NSString * basePath = @"http://api.wordnik.com/v4"; if(auth_token == nil) { // error } - // not a return container [_api dictionaryWithCompletionBlock: requestUrl method: @"GET" queryParams: queryParams @@ -227,7 +224,6 @@ static NSString * basePath = @"http://api.wordnik.com/v4"; if(auth_token == nil) { // error } - // not a return container [_api stringWithCompletionBlock: requestUrl method: @"POST" queryParams: queryParams @@ -279,7 +275,6 @@ static NSString * basePath = @"http://api.wordnik.com/v4"; if(auth_token == nil) { // error } - // it's a returnContainer [_api dictionaryWithCompletionBlock: requestUrl method: @"GET" queryParams: queryParams @@ -352,7 +347,6 @@ static NSString * basePath = @"http://api.wordnik.com/v4"; if(auth_token == nil) { // error } - // not a return container [_api stringWithCompletionBlock: requestUrl method: @"POST" queryParams: queryParams diff --git a/samples/client/wordnik-api/objc/client/NIKWordListWord.m b/samples/client/wordnik-api/objc/client/NIKWordListWord.m index 9066a346a18..f2462c5a899 100644 --- a/samples/client/wordnik-api/objc/client/NIKWordListWord.m +++ b/samples/client/wordnik-api/objc/client/NIKWordListWord.m @@ -30,20 +30,13 @@ - (id) initWithValues: (NSDictionary*)dict { - /* isContainer: , baseType: NSNumber, complexType: */ __id = [dict objectForKey:@"id"]; - /* isContainer: , baseType: NSString, complexType: */ _username = [dict objectForKey:@"username"]; - /* isContainer: , baseType: NIKDate, complexType: NIKDate */ id createdAt_dict = [dict objectForKey:@"createdAt"]; _createdAt = [[NIKDate alloc]initWithValues:createdAt_dict]; - /* isContainer: , baseType: NSNumber, complexType: */ _userId = [dict objectForKey:@"userId"]; - /* isContainer: , baseType: NSNumber, complexType: */ _numberCommentsOnWord = [dict objectForKey:@"numberCommentsOnWord"]; - /* isContainer: , baseType: NSString, complexType: */ _word = [dict objectForKey:@"word"]; - /* isContainer: , baseType: NSNumber, complexType: */ _numberLists = [dict objectForKey:@"numberLists"]; return self; } diff --git a/samples/client/wordnik-api/objc/client/NIKWordListsApi.m b/samples/client/wordnik-api/objc/client/NIKWordListsApi.m index 9d72214e945..3d4a2ec8f07 100644 --- a/samples/client/wordnik-api/objc/client/NIKWordListsApi.m +++ b/samples/client/wordnik-api/objc/client/NIKWordListsApi.m @@ -68,7 +68,6 @@ static NSString * basePath = @"http://api.wordnik.com/v4"; if(auth_token == nil) { // error } - // not a return container [_api dictionaryWithCompletionBlock: requestUrl method: @"POST" queryParams: queryParams diff --git a/samples/client/wordnik-api/objc/client/NIKWordObject.m b/samples/client/wordnik-api/objc/client/NIKWordObject.m index 2f69e842012..c01aad1d322 100644 --- a/samples/client/wordnik-api/objc/client/NIKWordObject.m +++ b/samples/client/wordnik-api/objc/client/NIKWordObject.m @@ -27,17 +27,11 @@ - (id) initWithValues: (NSDictionary*)dict { - /* isContainer: , baseType: NSNumber, complexType: */ __id = [dict objectForKey:@"id"]; - /* isContainer: , baseType: NSString, complexType: */ _originalWord = [dict objectForKey:@"originalWord"]; - /* isContainer: , baseType: NSString, complexType: */ _word = [dict objectForKey:@"word"]; - /* isContainer: true, baseType: NSString, complexType: */ _suggestions = [dict objectForKey:@"suggestions"]; - /* isContainer: , baseType: NSString, complexType: */ _canonicalForm = [dict objectForKey:@"canonicalForm"]; - /* isContainer: , baseType: NSString, complexType: */ _vulgar = [dict objectForKey:@"vulgar"]; return self; } diff --git a/samples/client/wordnik-api/objc/client/NIKWordOfTheDay.m b/samples/client/wordnik-api/objc/client/NIKWordOfTheDay.m index ed89ac23abd..165ee6a626e 100644 --- a/samples/client/wordnik-api/objc/client/NIKWordOfTheDay.m +++ b/samples/client/wordnik-api/objc/client/NIKWordOfTheDay.m @@ -45,25 +45,16 @@ - (id) initWithValues: (NSDictionary*)dict { - /* isContainer: , baseType: NSNumber, complexType: */ __id = [dict objectForKey:@"id"]; - /* isContainer: , baseType: NSString, complexType: */ _parentId = [dict objectForKey:@"parentId"]; - /* isContainer: , baseType: NSString, complexType: */ _category = [dict objectForKey:@"category"]; - /* isContainer: , baseType: NSString, complexType: */ _createdBy = [dict objectForKey:@"createdBy"]; - /* isContainer: , baseType: NIKDate, complexType: NIKDate */ id createdAt_dict = [dict objectForKey:@"createdAt"]; _createdAt = [[NIKDate alloc]initWithValues:createdAt_dict]; - /* isContainer: , baseType: ContentProvider, complexType: NIKContentProvider */ id contentProvider_dict = [dict objectForKey:@"contentProvider"]; _contentProvider = [[NIKContentProvider alloc]initWithValues:contentProvider_dict]; - /* isContainer: , baseType: NSString, complexType: */ _word = [dict objectForKey:@"word"]; - /* isContainer: , baseType: NSString, complexType: */ _htmlExtra = [dict objectForKey:@"htmlExtra"]; - /* isContainer: true, baseType: SimpleDefinition, complexType: NIKSimpleDefinition */ id definitions_dict = [dict objectForKey:@"definitions"]; if([definitions_dict isKindOfClass:[NSArray class]]) { if([(NSArray*)definitions_dict count] > 0) { @@ -75,7 +66,6 @@ _definitions = [[NSArray alloc] initWithArray:objs]; } } - /* isContainer: true, baseType: SimpleExample, complexType: NIKSimpleExample */ id examples_dict = [dict objectForKey:@"examples"]; if([examples_dict isKindOfClass:[NSArray class]]) { if([(NSArray*)examples_dict count] > 0) { @@ -87,10 +77,8 @@ _examples = [[NSArray alloc] initWithArray:objs]; } } - /* isContainer: , baseType: NIKDate, complexType: NIKDate */ id publishDate_dict = [dict objectForKey:@"publishDate"]; _publishDate = [[NIKDate alloc]initWithValues:publishDate_dict]; - /* isContainer: , baseType: NSString, complexType: */ _note = [dict objectForKey:@"note"]; return self; } diff --git a/samples/client/wordnik-api/objc/client/NIKWordSearchResult.m b/samples/client/wordnik-api/objc/client/NIKWordSearchResult.m index 8624302a12b..135eaf45e35 100644 --- a/samples/client/wordnik-api/objc/client/NIKWordSearchResult.m +++ b/samples/client/wordnik-api/objc/client/NIKWordSearchResult.m @@ -18,11 +18,8 @@ - (id) initWithValues: (NSDictionary*)dict { - /* isContainer: , baseType: NSNumber, complexType: */ _count = [dict objectForKey:@"count"]; - /* isContainer: , baseType: NSNumber, complexType: */ _lexicality = [dict objectForKey:@"lexicality"]; - /* isContainer: , baseType: NSString, complexType: */ _word = [dict objectForKey:@"word"]; return self; } diff --git a/samples/client/wordnik-api/objc/client/NIKWordSearchResults.m b/samples/client/wordnik-api/objc/client/NIKWordSearchResults.m index 5ac81b926b3..eba15e556f8 100644 --- a/samples/client/wordnik-api/objc/client/NIKWordSearchResults.m +++ b/samples/client/wordnik-api/objc/client/NIKWordSearchResults.m @@ -15,9 +15,7 @@ - (id) initWithValues: (NSDictionary*)dict { - /* isContainer: , baseType: NSNumber, complexType: */ _totalResults = [dict objectForKey:@"totalResults"]; - /* isContainer: true, baseType: WordSearchResult, complexType: NIKWordSearchResult */ id searchResults_dict = [dict objectForKey:@"searchResults"]; if([searchResults_dict isKindOfClass:[NSArray class]]) { if([(NSArray*)searchResults_dict count] > 0) { diff --git a/samples/client/wordnik-api/objc/client/NIKWordsApi.m b/samples/client/wordnik-api/objc/client/NIKWordsApi.m index ed3057d1b5d..befc909d17f 100644 --- a/samples/client/wordnik-api/objc/client/NIKWordsApi.m +++ b/samples/client/wordnik-api/objc/client/NIKWordsApi.m @@ -70,7 +70,6 @@ static NSString * basePath = @"http://api.wordnik.com/v4"; if(query == nil) { // error } - // not a return container [_api dictionaryWithCompletionBlock: requestUrl method: @"GET" queryParams: queryParams @@ -106,8 +105,7 @@ static NSString * basePath = @"http://api.wordnik.com/v4"; [queryParams setValue:date forKey:@"date"]; NSMutableDictionary* headerParams = [[NSMutableDictionary alloc] init]; id bodyDictionary = nil; - // not a return container - [_api dictionaryWithCompletionBlock: requestUrl + [_api dictionaryWithCompletionBlock: requestUrl method: @"GET" queryParams: queryParams body: bodyDictionary @@ -175,7 +173,6 @@ static NSString * basePath = @"http://api.wordnik.com/v4"; if(query == nil) { // error } - // not a return container [_api dictionaryWithCompletionBlock: requestUrl method: @"GET" queryParams: queryParams @@ -233,8 +230,7 @@ static NSString * basePath = @"http://api.wordnik.com/v4"; [queryParams setValue:limit forKey:@"limit"]; NSMutableDictionary* headerParams = [[NSMutableDictionary alloc] init]; id bodyDictionary = nil; - // it's a returnContainer - [_api dictionaryWithCompletionBlock: requestUrl + [_api dictionaryWithCompletionBlock: requestUrl method: @"GET" queryParams: queryParams body: bodyDictionary @@ -293,8 +289,7 @@ static NSString * basePath = @"http://api.wordnik.com/v4"; [queryParams setValue:maxLength forKey:@"maxLength"]; NSMutableDictionary* headerParams = [[NSMutableDictionary alloc] init]; id bodyDictionary = nil; - // not a return container - [_api dictionaryWithCompletionBlock: requestUrl + [_api dictionaryWithCompletionBlock: requestUrl method: @"GET" queryParams: queryParams body: bodyDictionary