LJMoods



Abstract

Represents the set of moods known to a LiveJournal server.

Discussion

An LJMoods object represents a set of moods and their IDs.

This class implements the NSComboBoxDataSource protocol, including autocompleting mood names, so it can be used as a data source for NSComboBoxes in your human interface.

Methods

IDForMoodName:

Abstract: Obtain the ID number for a given mood name.
- (int)IDForMoodName:(NSString *)moodName; 


IDStringForMoodName:

Abstract: Obtain the ID number for a given mood name as a string.
- (NSString *)IDStringForMoodName:(NSString *)moodName; 


highestMoodID

Abstract: Obtain the highest value mood ID.
- (int)highestMoodID; 


highestMoodIDString

Abstract: Obtain the highest value mood ID as a string.
- (NSString *)highestMoodIDString; 


init

Abstract: Initialize an LJMoods object.
- (id)init; 


moodNames

Abstract: Obtain a sorted array of all known moods.
- (NSArray *)moodNames; 


(Last Updated 2/17/2003)