Skip to content
This repository
Browse code

Added fix to make sure keys in tag dictionary are always lowercase.

  • Loading branch information...
commit f38de1864e8867cd0654cc3cf74ce2ce1ef76bcb 1 parent 463dfff
ldandersen authored
5 Application/AppController.m
@@ -293,13 +293,14 @@ - (void) refreshTags {
293 293 NSString *currentTagString;
294 294
295 295 while ((currentTagString = [postTags nextObject]) != nil) {
296   - DCAPITag *currentTag = [newTags objectForKey: currentTagString];
  296 + NSString *lcTagString = [currentTagString lowercaseString];
  297 + DCAPITag *currentTag = [newTags objectForKey: lcTagString];
297 298
298 299 if (currentTag) {
299 300 [currentTag incrementCount];
300 301 }
301 302 else {
302   - [newTags setObject: [[DCAPITag alloc] initWithName: currentTagString count: [NSNumber numberWithInt: 1]] forKey: [currentTagString lowercaseString]];
  303 + [newTags setObject: [[DCAPITag alloc] initWithName: currentTagString count: [NSNumber numberWithInt: 1]] forKey: lcTagString];
303 304 }
304 305 }
305 306 }
20 Delicious Client.xcodeproj/buzz.mode1
@@ -218,8 +218,6 @@
218 218 <key>Layout</key>
219 219 <array>
220 220 <dict>
221   - <key>BecomeActive</key>
222   - <true/>
223 221 <key>ContentConfiguration</key>
224 222 <dict>
225 223 <key>PBXBottomSmartGroupGIDs</key>
@@ -328,6 +326,8 @@
328 326 <string>0pt</string>
329 327 </dict>
330 328 <dict>
  329 + <key>BecomeActive</key>
  330 + <true/>
331 331 <key>ContentConfiguration</key>
332 332 <dict>
333 333 <key>PBXProjectModuleGUID</key>
@@ -500,6 +500,8 @@
500 500 <integer>5</integer>
501 501 <key>WindowOrderList</key>
502 502 <array>
  503 + <string>6BFBD192082EEB42009D11EB</string>
  504 + <string>1C0AD2B3069F1EA900FABCE6</string>
503 505 <string>/Users/buzz/Code/Cocoa/cocoalicious/Delicious Client.xcodeproj</string>
504 506 </array>
505 507 <key>WindowString</key>
@@ -524,7 +526,7 @@
524 526 <key>PBXProjectModuleGUID</key>
525 527 <string>1CD0528F0623707200166675</string>
526 528 <key>PBXProjectModuleLabel</key>
527   - <string>AppController.m</string>
  529 + <string>&lt;No Editor&gt;</string>
528 530 <key>StatusBarVisibility</key>
529 531 <true/>
530 532 </dict>
@@ -541,8 +543,6 @@
541 543 <string>184pt</string>
542 544 </dict>
543 545 <dict>
544   - <key>BecomeActive</key>
545   - <true/>
546 546 <key>ContentConfiguration</key>
547 547 <dict>
548 548 <key>PBXProjectModuleGUID</key>
@@ -582,7 +582,7 @@
582 582 <key>TableOfContents</key>
583 583 <array>
584 584 <string>6BFBD192082EEB42009D11EB</string>
585   - <string>6B491D3608D3621C00B6E3C4</string>
  585 + <string>6B804ED208D38B2E009B9F90</string>
586 586 <string>1CD0528F0623707200166675</string>
587 587 <string>XCMainBuildResultsModuleGUID</string>
588 588 </array>
@@ -892,8 +892,8 @@
892 892 <string>yes</string>
893 893 <key>sizes</key>
894 894 <array>
895   - <string>{{0, 0}, {367, 168}}</string>
896   - <string>{{0, 173}, {367, 270}}</string>
  895 + <string>{{0, 0}, {491, 168}}</string>
  896 + <string>{{0, 173}, {491, 270}}</string>
897 897 </array>
898 898 </dict>
899 899 <key>VerticalSplitView</key>
@@ -942,9 +942,9 @@
942 942 <key>TableOfContents</key>
943 943 <array>
944 944 <string>1C0AD2B3069F1EA900FABCE6</string>
945   - <string>6B491D1608D3600000B6E3C4</string>
  945 + <string>6B804EC208D384F6009B9F90</string>
946 946 <string>1CD0528B0623707200166675</string>
947   - <string>6B491D1708D3600000B6E3C4</string>
  947 + <string>6B804EC308D384F6009B9F90</string>
948 948 </array>
949 949 <key>ToolbarConfiguration</key>
950 950 <string>xcode.toolbar.config.run</string>
14 Delicious Client.xcodeproj/buzz.pbxuser
@@ -1210,8 +1210,8 @@
1210 1210 6B37C94F05C8D5BB00A005A7 /* DCAPIPost.m */ = {
1211 1211 uiCtxt = {
1212 1212 sepNavIntBoundsRect = "{{0, 0}, {1160, 5446}}";
1213   - sepNavSelRange = "{254, 0}";
1214   - sepNavVisRect = "{{0, 0}, {711, 429}}";
  1213 + sepNavSelRange = "{7493, 0}";
  1214 + sepNavVisRect = "{{0, 0}, {705, 429}}";
1215 1215 sepNavWindowFrame = "{{402, 222}, {750, 558}}";
1216 1216 };
1217 1217 };
@@ -1605,9 +1605,9 @@
1605 1605 };
1606 1606 6BF88AE405C4D56000D7EDBB /* AppController.m */ = {
1607 1607 uiCtxt = {
1608   - sepNavIntBoundsRect = "{{0, 0}, {1736, 23926}}";
1609   - sepNavSelRange = "{34588, 114}";
1610   - sepNavVisRect = "{{0, 13623}, {806, 152}}";
  1608 + sepNavIntBoundsRect = "{{0, 0}, {1736, 23940}}";
  1609 + sepNavSelRange = "{12843, 0}";
  1610 + sepNavVisRect = "{{0, 3905}, {705, 429}}";
1611 1611 sepNavWindowFrame = "{{442, 274}, {750, 558}}";
1612 1612 };
1613 1613 };
@@ -1634,8 +1634,8 @@
1634 1634 6BF88AF405C4D79D00D7EDBB /* DCAPIClient.m */ = {
1635 1635 uiCtxt = {
1636 1636 sepNavIntBoundsRect = "{{0, 0}, {1340, 5614}}";
1637   - sepNavSelRange = "{12664, 0}";
1638   - sepNavVisRect = "{{0, 4912}, {919, 526}}";
  1637 + sepNavSelRange = "{44, 0}";
  1638 + sepNavVisRect = "{{0, 0}, {919, 526}}";
1639 1639 sepNavWindowFrame = "{{196, 114}, {964, 655}}";
1640 1640 };
1641 1641 };

0 comments on commit f38de18

Please sign in to comment.
Something went wrong with that request. Please try again.