Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit f38de1864e8867cd0654cc3cf74ce2ce1ef76bcb 1 parent 463dfff
ldandersen authored
View
5 Application/AppController.m
@@ -293,13 +293,14 @@ - (void) refreshTags {
NSString *currentTagString;
while ((currentTagString = [postTags nextObject]) != nil) {
- DCAPITag *currentTag = [newTags objectForKey: currentTagString];
+ NSString *lcTagString = [currentTagString lowercaseString];
+ DCAPITag *currentTag = [newTags objectForKey: lcTagString];
if (currentTag) {
[currentTag incrementCount];
}
else {
- [newTags setObject: [[DCAPITag alloc] initWithName: currentTagString count: [NSNumber numberWithInt: 1]] forKey: [currentTagString lowercaseString]];
+ [newTags setObject: [[DCAPITag alloc] initWithName: currentTagString count: [NSNumber numberWithInt: 1]] forKey: lcTagString];
}
}
}
View
20 Delicious Client.xcodeproj/buzz.mode1
@@ -218,8 +218,6 @@
<key>Layout</key>
<array>
<dict>
- <key>BecomeActive</key>
- <true/>
<key>ContentConfiguration</key>
<dict>
<key>PBXBottomSmartGroupGIDs</key>
@@ -328,6 +326,8 @@
<string>0pt</string>
</dict>
<dict>
+ <key>BecomeActive</key>
+ <true/>
<key>ContentConfiguration</key>
<dict>
<key>PBXProjectModuleGUID</key>
@@ -500,6 +500,8 @@
<integer>5</integer>
<key>WindowOrderList</key>
<array>
+ <string>6BFBD192082EEB42009D11EB</string>
+ <string>1C0AD2B3069F1EA900FABCE6</string>
<string>/Users/buzz/Code/Cocoa/cocoalicious/Delicious Client.xcodeproj</string>
</array>
<key>WindowString</key>
@@ -524,7 +526,7 @@
<key>PBXProjectModuleGUID</key>
<string>1CD0528F0623707200166675</string>
<key>PBXProjectModuleLabel</key>
- <string>AppController.m</string>
+ <string>&lt;No Editor&gt;</string>
<key>StatusBarVisibility</key>
<true/>
</dict>
@@ -541,8 +543,6 @@
<string>184pt</string>
</dict>
<dict>
- <key>BecomeActive</key>
- <true/>
<key>ContentConfiguration</key>
<dict>
<key>PBXProjectModuleGUID</key>
@@ -582,7 +582,7 @@
<key>TableOfContents</key>
<array>
<string>6BFBD192082EEB42009D11EB</string>
- <string>6B491D3608D3621C00B6E3C4</string>
+ <string>6B804ED208D38B2E009B9F90</string>
<string>1CD0528F0623707200166675</string>
<string>XCMainBuildResultsModuleGUID</string>
</array>
@@ -892,8 +892,8 @@
<string>yes</string>
<key>sizes</key>
<array>
- <string>{{0, 0}, {367, 168}}</string>
- <string>{{0, 173}, {367, 270}}</string>
+ <string>{{0, 0}, {491, 168}}</string>
+ <string>{{0, 173}, {491, 270}}</string>
</array>
</dict>
<key>VerticalSplitView</key>
@@ -942,9 +942,9 @@
<key>TableOfContents</key>
<array>
<string>1C0AD2B3069F1EA900FABCE6</string>
- <string>6B491D1608D3600000B6E3C4</string>
+ <string>6B804EC208D384F6009B9F90</string>
<string>1CD0528B0623707200166675</string>
- <string>6B491D1708D3600000B6E3C4</string>
+ <string>6B804EC308D384F6009B9F90</string>
</array>
<key>ToolbarConfiguration</key>
<string>xcode.toolbar.config.run</string>
View
14 Delicious Client.xcodeproj/buzz.pbxuser
@@ -1210,8 +1210,8 @@
6B37C94F05C8D5BB00A005A7 /* DCAPIPost.m */ = {
uiCtxt = {
sepNavIntBoundsRect = "{{0, 0}, {1160, 5446}}";
- sepNavSelRange = "{254, 0}";
- sepNavVisRect = "{{0, 0}, {711, 429}}";
+ sepNavSelRange = "{7493, 0}";
+ sepNavVisRect = "{{0, 0}, {705, 429}}";
sepNavWindowFrame = "{{402, 222}, {750, 558}}";
};
};
@@ -1605,9 +1605,9 @@
};
6BF88AE405C4D56000D7EDBB /* AppController.m */ = {
uiCtxt = {
- sepNavIntBoundsRect = "{{0, 0}, {1736, 23926}}";
- sepNavSelRange = "{34588, 114}";
- sepNavVisRect = "{{0, 13623}, {806, 152}}";
+ sepNavIntBoundsRect = "{{0, 0}, {1736, 23940}}";
+ sepNavSelRange = "{12843, 0}";
+ sepNavVisRect = "{{0, 3905}, {705, 429}}";
sepNavWindowFrame = "{{442, 274}, {750, 558}}";
};
};
@@ -1634,8 +1634,8 @@
6BF88AF405C4D79D00D7EDBB /* DCAPIClient.m */ = {
uiCtxt = {
sepNavIntBoundsRect = "{{0, 0}, {1340, 5614}}";
- sepNavSelRange = "{12664, 0}";
- sepNavVisRect = "{{0, 4912}, {919, 526}}";
+ sepNavSelRange = "{44, 0}";
+ sepNavVisRect = "{{0, 0}, {919, 526}}";
sepNavWindowFrame = "{{196, 114}, {964, 655}}";
};
};

0 comments on commit f38de18

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