dtissera / dtiactivityindicatorview-swift Goto Github PK
View Code? Open in Web Editor NEWAnimated custom ActivityIndicator inspired from css library SpinKit and much more. Written in Swift.
License: MIT License
Animated custom ActivityIndicator inspired from css library SpinKit and much more. Written in Swift.
License: MIT License
Hello, I happened upon this in a search for IBDesignable examples and saw this note in DTIActivityIndicatorView
// warning unlike objc, we dont have TARGET_INTERFACE_BUILDER macro in swift !
.
We do have TARGET_INTERFACE_BUILDER. It is slightly different though
public override func layoutSubviews() {
super.layoutSubviews()
#if TARGET_INTERFACE_BUILDER
// do something
#else
// do something else
#endif
}
I've tested this project in Xcode 7.0 and with swift 2.0 and your swift 2.0 branch looks good! You should merge it into master so everyone can find it..
PS: Thanks for making a set of cool animations.. I dig them ๐
Needs to be updated for Swift 3
Hi!
i am getting this error. xcode 6.1 (objective - c) deployment target 7.0
invalid virtual filesystem overlay file '/Users/ahmedbelal/Library/Developer/Xcode/DerivedData/Cast'M-fczxfvpgeovqerfifxkrzstovmpn/Build/Intermediates/DTIActivityIndicator.build/Debug-iphonesimulator/DTIActivityIndicator.build/unextended-module-overlay.yaml'
Below is the content of unextended-module-overlay.yaml
{
'version': 0,
'case-sensitive': 'false',
'roots': [{
'type': 'directory',
'name': '/Users/ahmedbelal/Library/Developer/Xcode/DerivedData/Cast'M-fczxfvpgeovqerfifxkrzstovmpn/Build/Products/Debug-iphonesimulator/DTIActivityIndicator.framework/Modules'
'contents': [{
'type': 'file',
'name': 'module.modulemap',
'external-contents': '/Users/ahmedbelal/Library/Developer/Xcode/DerivedData/Cast'M-fczxfvpgeovqerfifxkrzstovmpn/Build/Intermediates/DTIActivityIndicator.build/Debug-iphonesimulator/DTIActivityIndicator.build/unextended-module.modulemap',
}]
}]
}
It worked perfectly with Xcode 6.0 and iOS 8, but now I've updated I'm getting the following error:
DTIIndicatorStyle.swift:64:5: Initializer 'init' has different argument names from those required by protocol 'UnicodeScalarLiteralConvertible' ('init(unicodeScalarLiteral:)')
DTIIndicatorStyle.swift:64:5: Initializer 'init' has different argument names from those required by protocol 'ExtendedGraphemeClusterLiteralConvertible' ('init(extendedGraphemeClusterLiteral:)')
DTIIndicatorStyle.swift:64:5: Initializer 'init' has different argument names from those required by protocol 'StringLiteralConvertible' ('init(stringLiteral:)')
As I know, Apple has applied some changes to Convertible Protocols, but dunno how I can fix it in your implementation. Any clue would be appreciated, thanks in advance.
When using import DTIActivityIndicatorView I get the "No such module" error?
Hi there, i'm using your control on my project.
But there is one more little bit trouble here is when i use it in white view, i can't see the indicator.
can you add some shadow on it?
Many tks
i have been trying to use your DTIActivityIndicator framework, but i keep getting error on this part:
myActivityIndicatorView.indicatorStyle = DTIIndicatorStyle.convInv(.chasingDots)
It gives out unresolved identity DTIIndicatorStyle. Any help??
I believe cocoa pods now support swift embedded libraries
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.