Giter VIP home page Giter VIP logo

emptystatekit's People

Contributors

alberdev avatar devuzan avatar zandor300 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

emptystatekit's Issues

Allow public get for view.emptyState.state

It'd be cool to get the current state of each view in so that if it is already displaying the desired state, we don't need to replay the animation, like

func onReaload() {
    ...
    if view.emptyState.state != MyStates.noInternet {
       view.emptyState.show(MyState.noInternet)
    }
}

or maybe have another attribute for that, like view.emptyState.currentState.

If y'all agree, I could make the PR no problem!

循环引用问题

public class EmptyState {
...
private var tableView: UITableView?
...
}

当我 调用 self.tableView.emptyState.show(emptyState) 时, 就会出现循环引用问题;
应该改为 weak var

It does not compile for Xcode 12

For some reason this pod can't be used on Xcode 12 anymore.
I put following on my pod file


post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      if Gem::Version.new('8.0') > Gem::Version.new(config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'])
        config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '9.0'
      end
    end
  end
end

maybe it can't be used with this pod because it won't be found anymore.

Doesn't work at all

error: invalid task ('StripNIB /Users/gerchicov/Library/Developer/Xcode/DerivedData/iRemover-cztqthqxlcepehgftzkhhwlvbdcb/Build/Products/Debug-iphonesimulator/EmptyStateKit/EmptyStateView.nib') with mutable output but no other virtual output node (in target 'EmptyStateKit')
error: invalid task ('StripNIB /Users/gerchicov/Library/Developer/Xcode/DerivedData/iRemover-cztqthqxlcepehgftzkhhwlvbdcb/Build/Products/Debug-iphonesimulator/EmptyStateKit/EmptyStateView~ipad.nib') with mutable output but no other virtual output node (in target 'EmptyStateKit')
error: invalid task ('StripNIB /Users/gerchicov/Library/Developer/Xcode/DerivedData/iRemover-cztqthqxlcepehgftzkhhwlvbdcb/Build/Products/Debug-iphonesimulator/EmptyStateKit/EmptyStateView~iphone.nib') with mutable output but no other virtual output node (in target 'EmptyStateKit')

Landscape Mode?

Thanks for the framework first of all.

I was wondering if there are any plans on supporting landscape mode.

[Carthage] Dependency "EmptyStateKit" has no shared framework schemes

This is my Cartfile:

github "alberdev/EmptyStateKit"

run:

carthage update EmptyStateKit

then get the error:

*** Checking out EmptyStateKit at "1.1.0"
*** xcodebuild output can be found in /var/folders/t3/jfb9k6ln0_ngzdjz6b9p4dpm0000gn/T/carthage-xcodebuild.pKOBWO.log
*** Skipped building EmptyStateKit due to the error:
Dependency "EmptyStateKit" has no shared framework schemes

If you believe this to be an error, please file an issue with the maintainers at https://github.com/alberdev/EmptyStateKit/issues/new

carthage version: 0.35.0
swift version: Apple Swift version 5.2.4 (swiftlang-1103.0.32.9 clang-1103.0.32.53)
Xcode version: 11.5 (11E608c)

MainState is not defined

スクリーンショット 2019-07-30 9 19 48

implemented according to the implementation method of Using EmptyStateDataSource in README, but MainState is not defined. Please define MainState. Xcode10.2 EmptyStateKit 1.0.7

Delegate for multiple stateview

The current delegate doesnt tell which emptystateview is firing. Suppose there are 2 emptystateview in a scene and both set the scene as delegate. It is better when include the state info there

Thank

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.