Coder Social home page Coder Social logo

dtissera / dtiactivityindicatorview-swift Goto Github PK

View Code? Open in Web Editor NEW
316.0 316.0 43.0 785 KB

Animated custom ActivityIndicator inspired from css library SpinKit and much more. Written in Swift.

License: MIT License

Ruby 1.02% Objective-C 21.89% Swift 76.05% C++ 1.04%

dtiactivityindicatorview-swift's People

Contributors

dtissera avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dtiactivityindicatorview-swift's Issues

TARGET_INTERFACE_BUILDER

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
    }

Merge swift 2.0 branch into master

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 ๐Ÿ˜„

clang importer creation failed

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',
}]
}]
}

Swift Compiler Error in Xcode 6.1 with iOS 8.1

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.

Awesome control

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

unresolved identity DTIIndicatorStyle

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??

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.