diff --git a/Foundation/CPDictionary.j b/Foundation/CPDictionary.j index acb4cca1e..3d6995161 100755 --- a/Foundation/CPDictionary.j +++ b/Foundation/CPDictionary.j @@ -342,7 +342,7 @@ @param anObject The value to look for in the receiver. @return A new array containing the keys corresponding to all occurrences of anObject in the receiver. If no object matching anObject is found, returns an empty array. - Each object in the receiver is sent an isEqual: message to determine if itÕs equal to anObject. + Each object in the receiver is sent an isEqual: message to determine if it's equal to anObject. If the check for isEqual fails a check is made to see if the two objects are the same object. This provides compatability for JSObjects. */ - (CPArray)allKeysForObject:(id)anObject diff --git a/Foundation/CPFormatter.j b/Foundation/CPFormatter.j index a5465aed8..0ff278b1e 100644 --- a/Foundation/CPFormatter.j +++ b/Foundation/CPFormatter.j @@ -41,8 +41,8 @@ The default implementation of this method raises an exception. When implementing a subclass, return the CPString object that textually represents - the view's object for display andÑif editingStringForObjectValue: is unimplementedÑfor editing. - First test the passed-in object to see if itÕs of the correct class. If it isnÕt, return nil; + the view's object for display and if editingStringForObjectValue: is unimplemented for editing. + First test the passed-in object to see if it's of the correct class. If it isn't, return nil; but if it is of the right class, return a properly formatted and, if necessary, localized string. (See the specification of the CPString class for formatting and localizing details.) @@ -104,7 +104,7 @@ /*! Returns a Boolean value that indicates whether a partial string is valid. - This method is invoked each time the user presses a key while the cell has the keyboard focusÑit lets you verify and + This method is invoked each time the user presses a key while the cell has the keyboard focus it lets you verify and edit the cell text as the user types it. In a subclass implementation, evaluate partialString according to the context, edit the text if necessary, and return @@ -164,4 +164,4 @@ } -@end \ No newline at end of file +@end