[{{mminutes}}:{{sseconds}}] X
Пользователь приглашает вас присоединиться к открытой игре игре с друзьями .
Objective C
(1)       Используют 9 человек

Комментарии

Ни одного комментария.
Написать тут
Описание:
тренировка языка программирования
Автор:
jimvibe
Создан:
8 апреля 2013 в 10:21
Публичный:
Нет
Тип словаря:
Фразы
В этом режиме перемешиваться будут не слова, а целые фразы, разделенные переносом строки.
Содержание:
1 - (id)initWithCoder:(NSCoder *)aDecoder
2 {
3 if ((self = [super initWithCoder:aDecoder]))
4 {
5 [self setUp];
6 [self didMoveToSuperview];
7 }
8 return self;
9 }
10 #endif
11 - (id)initWithFrame:(NSRect)frame
12 {
13 if ((self = [super initWithFrame:frame]))
14 {
15 [self setUp];
16 }
17 return self;
18 }
19 - (void)dealloc
20 {
21 [self stopAnimation];
22 [_contentView release];
23 [_itemViews release];
24 [_itemViewPool release];
25 [_placeholderViewPool release];
26 [super ah_dealloc];
27 }
28 - (void)setDataSource:(id<iCarouselDataSource>)dataSource
29 {
30 if (_dataSource != dataSource)
31 {
32 _dataSource = dataSource;
33 if (_dataSource)
34 {
35 [self reloadData];
36 }
37 }
38 }
39 - (void)setDelegate:(id<iCarouselDelegate>)delegate
40 {
41 if (_delegate != delegate)
42 {
43 _delegate = delegate;
44 if (_delegate && _dataSource)
45 {
46 [self setNeedsLayout];
47 }
48 if ([_delegate respondsToSelector:@selector(carousel:itemAlphaForOffset:)])
49 {
50 NSLog(@"Warning: The carousel:itemAlphaForOffset: delegate method is deprecated. Use carousel:valueForOption:withDefault: with iCarouselOptionFadeMin, iCarouselOptionFadeMax and iCarouselOptionFadeRange instead");
51 }
52 if ([_delegate respondsToSelector:@selector(carouselShouldWrap:)])
53 {
54 NSLog(@"Warning: The carouselShouldWrap: delegate method is deprecated. Use carousel:valueForOption:withDefault: with iCarouselOptionWrap instead");
55 }
56 if ([_delegate respondsToSelector:@selector(carouselOffsetMultiplier:)])
57 {
58 NSLog(@"Warning: The carouselOffsetMultiplier: delegate method is deprecated. Use carousel:valueForOption:withDefault: with iCarouselOptionOffsetMultiplier instead");
59 }
60 if ([_delegate respondsToSelector:@selector(numberOfVisibleItemsInCarousel:)])
61 {
62 NSLog(@"Warning: The numberOfVisibleItemsInCarousel: dataSource method is deprecated. This value is now set automatically, but if you need to override it, use carousel:valueForOption:withDefault: with iCarouselOptionVisibleItems instead");
63 }
64 if ([_delegate respondsToSelector:@selector(carouselCurrentItemIndexUpdated:)])
65 {
66 NSLog(@"Warning: The carouselCurrentItemIndexUpdated: delegate method is deprecated. Use carouselCurrentItemIndexDidChange: instead");
67 }

Связаться
Выделить
Выделите фрагменты страницы, относящиеся к вашему сообщению
Скрыть сведения
Скрыть всю личную информацию
Отмена