Aria2GUI for Mac OS X 是一款下载工具,可以实现百度云文件满速下载。
使用参考:百度云文件不限速下载工具:Aria2GUI
显示任务正在进行中的活动指示器视图。
#import <UIKit/UIView.h>
#import <UIKit/UIKitDefines.h>
NS_ASSUME_NONNULL_BEGIN
// 活动指示器样式
typedef NS_ENUM(NSInteger, UIActivityIndicatorViewStyle) {
UIActivityIndicatorViewStyleWhiteLarge, // (37,37)
UIActivityIndicatorViewStyleWhite, // (22,22)
UIActivityIndicatorViewStyleGray __TVOS_PROHIBITED, // (22, 22)
};
NS_CLASS_AVAILABLE_IOS(2_0) @interface UIActivityIndicatorView : UIView <NSCoding>
// 初始化方法
- (instancetype)initWithActivityIndicatorStyle:(UIActivityIndicatorViewStyle)style NS_DESIGNATED_INITIALIZER; // sizes the view according to the style
- (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
- (instancetype) initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
@property(nonatomic) UIActivityIndicatorViewStyle activityIndicatorViewStyle; // 活动指示器样式,默认为 UIActivityIndicatorViewStyleWhite
@property(nonatomic) BOOL hidesWhenStopped; // 停止旋转时,是否自动隐藏。默认为 YES.
@property (nullable, readwrite, nonatomic, strong) UIColor *color NS_AVAILABLE_IOS(5_0) UI_APPEARANCE_SELECTOR; // 活动指示器颜色
- (void)startAnimating; // 开始旋转
- (void)stopAnimating; // 停止旋转
#if UIKIT_DEFINE_AS_PROPERTIES
@property(nonatomic, readonly, getter=isAnimating) BOOL animating; // 获取动画状态
#else
- (BOOL)isAnimating; // 获取动画状态
#endif
@end
NS_ASSUME_NONNULL_END
# Xcode
#
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
## Build generated —构建产生的目录和文件
build/
DerivedData/
## Various settings —各种设置
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata/
## Other -其它
*.moved-aside
*.xccheckout
*.xcscmblueprint
## Obj-C/Swift specific -Obj-C/Swift 相关的特定文件
*.hmap
*.ipa
*.dSYM.zip
*.dSYM
# CocoaPods -CocoaPods 第三方Pods库目录
#
# We recommend against adding the Pods directory to your .gitignore. However
# you should judge for yourself, the pros and cons are mentioned at:
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
Pods/
# Carthage —Carthage 构建目录
#
# Add this line if you want to avoid checking in source code from Carthage dependencies.
# Carthage/Checkouts
Carthage/Build
# fastlane -fastlane 构建产生的文件
#
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
# screenshots whenever they are needed.
# For more information about the recommended setup visit:
# https://docs.fastlane.tools/best-practices/source-control/#source-control
fastlane/report.xml
fastlane/Preview.html
fastlane/screenshots
fastlane/test_output
# Code Injection -代码注入工具产生的目录及文件
#
# After new code Injection tools there's a generated folder /iOSInjectionProject
# https://github.com/johnno1962/injectionforxcode
iOSInjectionProject/
# .gitignore 忽略规则配置说明
# / 目录
# * 通配多个字符
# ? 通配单个字符
# []包含单个字符的匹配列表
# ! 不忽略(跟踪)匹配到的文件或目录
# /mtk/ 过滤整个文件夹
# *.zip 过滤所有.zip文件
# /mtk/do.c 过滤某个具体文件