This commit is contained in:
Jesse Squires
2013-03-20 11:30:46 -04:00
parent c2454cb57e
commit 7b29f0370e

View File

@@ -63,15 +63,15 @@ This is based on work by @soffes [SSMessagingViewController][ss]. I took Soffes'
* `- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section`
* The API [table view data source][ref1] method that you should be familiar with
* Set the `timestampPolicy` property in `- (void)viewDidLoad`, options are:
* `JSMessagesViewTimestampPolicyAll`
* `JSMessagesViewTimestampPolicyAlternating`
* `JSMessagesViewTimestampPolicyEveryThree`
* `JSMessagesViewTimestampPolicyEveryFive`
* `JSMessagesViewTimestampPolicyCustom`
* Set the `timestampPolicy` property in `- (void)viewDidLoad`, options are:
* `JSMessagesViewTimestampPolicyAll`
* `JSMessagesViewTimestampPolicyAlternating`
* `JSMessagesViewTimestampPolicyEveryThree`
* `JSMessagesViewTimestampPolicyEveryFive`
* `JSMessagesViewTimestampPolicyCustom`
* **NOTE:** if using `JSMessagesViewTimestampPolicyCustom` **YOU MUST OVERRIDE** `- (BOOL)shouldHaveTimestampForRowAtIndexPath:(NSIndexPath *)indexPath`
* See the default implementation of this method for details
* **NOTE** if using `JSMessagesViewTimestampPolicyCustom` **YOU MUST OVERRIDE** `- (BOOL)shouldHaveTimestampForRowAtIndexPath:(NSIndexPath *)indexPath`
* See the default implementation of this method for details
* Call `setBackgroundColor:` to set table view background color