2011-07-29 10:15:10 +08:00
|
|
|
//
|
|
|
|
// ZAttributedStringPrivate.h
|
|
|
|
// FontLabel
|
|
|
|
//
|
|
|
|
// Created by Kevin Ballard on 9/23/09.
|
|
|
|
// Copyright 2009 Zynga Game Networks. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
#import "ZAttributedString.h"
|
|
|
|
|
|
|
|
@interface ZAttributeRun : NSObject <NSCopying, NSCoding> {
|
2012-04-19 14:35:52 +08:00
|
|
|
NSUInteger _index;
|
|
|
|
NSMutableDictionary *_attributes;
|
2011-07-29 10:15:10 +08:00
|
|
|
}
|
|
|
|
@property (nonatomic, readonly) NSUInteger index;
|
|
|
|
@property (nonatomic, readonly) NSMutableDictionary *attributes;
|
|
|
|
+ (id)attributeRunWithIndex:(NSUInteger)idx attributes:(NSDictionary *)attrs;
|
|
|
|
- (id)initWithIndex:(NSUInteger)idx attributes:(NSDictionary *)attrs;
|
|
|
|
@end
|
|
|
|
|
|
|
|
@interface ZAttributedString (ZAttributedStringPrivate)
|
|
|
|
@property (nonatomic, readonly) NSArray *attributes;
|
|
|
|
@end
|