Git Product home page Git Product logo

swiftloader's People

Contributors

andrecrts avatar ezefranca avatar jonpacker avatar leoru avatar maykonmeier avatar mikekavouras avatar nickpankow avatar perfektekunst avatar philipperiegert avatar qburst-vineeth avatar readmecritic 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

swiftloader's Issues

No custom color?

Why I can't set my custom color?
config.backgroundColor = UIColor(red: 51, green: 181, blue: 228, alpha: 1.0)
it looks like you can have just some colors "build in"

Dows not work when using with Cocoapods

To reproduce:
1.) Create new xocde project (Single View)
2.) add the following podfile

platform :ios, "8.0"
use_frameworks!

pod 'SwiftLoader'
pod 'Alamofire'

3.) run pod install
4.) open workspace file
5.) edit ViewController.swift
5a) add import SwiftLoader
5b) add SwiftLoader.show(animated: true) to viewDidLoad()
6.) compile
7.) get this error: Module 'SwiftLoader' has no member named 'show'

btw. AlamoFire works fine...

SwiftLoader.show is crashed

Hello!

I try to used this library. About 2 month ago it work perfect. When i try to use SwiftLoader in my other project, app fails with "fatal error: unexpectedly found nil while unwrapping an Optional value". I see XCode log - this error in your function "show".

About code. I just copy code from your example and paste it in my program.

returning from background to foreground

when you put the app in the background during the loading and re-ports in the foreground app, the SwiftLoader is no longer visible even if the background process is not finished and has not invoked the method hide(). There is a property that indicates the status

Swift 3

Would you consider create a branch for swift 3 ?

Rotation

by turning the device is not drawn again

Crashes when calling hide() without first calling show()

I know this may not necessarily be a bug, but it would be a nice problem to solve.

Scenario: I want to show the loader, and have stuff happen in the background, then use a notification to alert the view when finished, and in that notification handler, I will hide the loader. However, I also, want to use that notification to be called when the view initialize the process, so the notification would be called but the loader never would have been shown.

Question/Issue: Is there a property or something I can check to conditionally hide the loader, only if it has been shown first. Or better yet, I would love to just be able to call hide without checking, and it hides the loader if it was shown, or does nothing if it never was shown.

Title from variable overrides titleTextFont configuration

I'm using a configuration for my SwiftLoader. A part of it is:
config.titleTextFont = UIFont (name: "HelveticaNeue-Bold", size: 18.0)!

When i'm using the title hard-coded the font is working as expected
SwiftLoader.show(title: "Updating", animated: true)

When i'm using the title from a variable it seems that the font is ignored
let titleStr = "Updating"
SwiftLoader.show(title: titleStr, animated: true)

It's important to use the title from a variable.

Thanks in advance.

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.