//
// SSIndicatorLabel.h
// SSIndicatorLabel
//
// Created by Sam Soffes on 7/13/10.
// Copyright 2010-2011 Sam Soffes. All rights reserved.
//
/**
This class is a nice little view that makes showing an activity indicator next to a label when loading something easy.
The indicator will slide in from the left when loading and then back out when it is complete. This is great for a view
that shows some sort of status that can refresh.
*/
@interface SSIndicatorLabel : UIView
/**
Returns the label used for the main textual content of the view. (read-only)
*/
@property (nonatomic, retain, readonly) UILabel *textLabel;
/**
A view that indicates loading activity to the user. (read-only)
*/
@property (nonatomic, retain, readonly) UIActivityIndicatorView *activityIndicatorView;
/**
A Boolean value that determines whether the view is loading.
The default value is `NO`.
*/
@property (nonatomic, assign, getter=isLoading) BOOL loading;
/**
Starts loading and updates the text of the text label.
@param text String to update the `textLabel`'s `text` property to.
*/
- (void)startWithText:(NSString *)text;
/**
Completes loading and updates the text of the text label.
@param text String to update the `textLabel`'s `text` property to.
*/
- (void)completeWithText:(NSString *)text;
@end
iOS游戏应用源代码——samsoffes-ssindicatorlabel-53ba678.zip
版权申诉
184 浏览量
2023-07-05
23:20:36
上传
评论
收藏 103KB ZIP 举报
快乐无限出发
- 粉丝: 1135
- 资源: 7277
最新资源
- 驱动代码驱动代码驱动代码驱动代码
- SVID_20240523_141155_1.mp4
- Code for the complete guide to tkinter tutorial
- 关于百货中心供应链管理系统.zip
- SimpleFolderIcon-master 修改Unity的Project下的文件夹图标
- A python Tkinter widget to display tile based maps
- A pure Python library for adding tables to a Tkinter application
- Vector资源文件.zip
- MobaXterm-Installer
- 88-520告白(520气球).zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈