Skip to content

MarsUIKit wraps some commonly used UI components.

License

Notifications You must be signed in to change notification settings

itenfay/MarsUIKit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MarsUIKit

Version License Platform

MarsUIKit wraps some commonly used UI components.

Example

To use this library, please go to here!.

Requirements

  • Xcode 13.0+, iOS 11.0, tvOS 11.0

Installation

MarsUIKit is available through CocoaPods. To install it, simply add the following line to your Podfile:

# MarsUIKit
pod 'MarsUIKit'
# EmptyDataSet
pod 'MarsUIKit/EmptyDataSet'
# RxEmptyDataSet
pod 'MarsUIKit/RxEmptyDataSet'
# RxMJRefresh
pod 'MarsUIKit/RxMJRefresh'
# RxKafkaRefresh
pod 'MarsUIKit/RxKafkaRefresh'
# OverlayView
pod 'MarsUIKit/OverlayView'
# Messages
pod 'MarsUIKit/Messages'
# Toast
pod 'MarsUIKit/Toast'
# SVGA
pod 'MarsUIKit/SVGA'

Handling Error

if SVGAPlayer library occurs this error:

Conflicting types for 'OSAtomicCompareAndSwapPtrBarrier'
Implicit declaration of function 'OSAtomicCompareAndSwapPtrBarrier' is invalid in C99

if (!OSAtomicCompareAndSwapPtrBarrier(nil, worker, (void * volatile *)&descriptor)) { [worker release]; }

Add the header in Svga.pbobjc.m or Svga.pbobjc.h.

#import <libkern/OSAtomic.h>

Author

Teng Fei, hansen981@126.com

License

MarsUIKit is available under the MIT license. See the LICENSE file for more info.