UIActivityIndicatorView+QMUI.h 1.2 KB

123456789101112131415161718192021222324252627282930
  1. /**
  2. * Tencent is pleased to support the open source community by making QMUI_iOS available.
  3. * Copyright (C) 2016-2021 THL A29 Limited, a Tencent company. All rights reserved.
  4. * Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
  5. * http://opensource.org/licenses/MIT
  6. * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
  7. */
  8. //
  9. // UIActivityIndicatorView+QMUI.h
  10. // qmui
  11. //
  12. // Created by QMUI Team on 15/7/20.
  13. //
  14. #import <UIKit/UIKit.h>
  15. NS_ASSUME_NONNULL_BEGIN
  16. /**
  17. 内部通过重写系统方法来让 UIActivityIndicatorView 支持 setFrame: 方式修改尺寸,业务就像使用一个普通 UIView 一样去使用它即可。
  18. */
  19. @interface UIActivityIndicatorView (QMUI)
  20. /// 内部转圈的那个 imageView
  21. @property(nonatomic, strong, readonly) UIImageView *qmui_animatingView;
  22. @end
  23. NS_ASSUME_NONNULL_END