Inherits from NSObject
Declared in DTLocalizableStringEntry.h

Overview

An entry in a string table

Tasks

Getting Information about Entries

Working with Comments

Sorting Entries

Properties

bundle

The bundle name that this entry belongs to

@property (nonatomic, copy) NSString *bundle

Declared In

DTLocalizableStringEntry.h

cleanedKey

The contents of the rawKey with escape sequences removed

@property (nonatomic, readonly) NSString *cleanedKey

Declared In

DTLocalizableStringEntry.h

cleanedValue

The contents of the rawValue with escape sequences removed

@property (nonatomic, readonly) NSString *cleanedValue

Declared In

DTLocalizableStringEntry.h

rawKey

The raw key as it was found in the original file

@property (nonatomic, copy) NSString *rawKey

Declared In

DTLocalizableStringEntry.h

rawValue

The raw value as it was found in the original file

@property (nonatomic, copy) NSString *rawValue

Declared In

DTLocalizableStringEntry.h

tableName

The name of the table that this entry belongs to

@property (nonatomic, copy) NSString *tableName

Declared In

DTLocalizableStringEntry.h

Instance Methods

addComment:

Appends the comment to the receiver’s list of comments

- (void)addComment:(NSString *)comment

Parameters

comment

The comment to add.

Declared In

DTLocalizableStringEntry.h

compare:

Compares the receiver against another entry. This is used for output sorting.

- (NSComparisonResult)compare:(DTLocalizableStringEntry *)otherEntry

Parameters

otherEntry

The other entry to compare against

Return Value

An NSComparisonResult

Declared In

DTLocalizableStringEntry.h

setComment:

Removes all existing comments and sets a single one.

- (void)setComment:(NSString *)comment

Parameters

comment

The comment to set.

Declared In

DTLocalizableStringEntry.h

sortedComments

An alphabetically sorted list of comments. This property is cached internally.

- (NSArray *)sortedComments

Return Value

The sorted comments

Declared In

DTLocalizableStringEntry.h