alberdev / emptystatekit Goto Github PK
View Code? Open in Web Editor NEWBeautiful, animated & fully customizable empty state view. A great way to engage and keep users whenever the view has no content to display.
License: MIT License
Beautiful, animated & fully customizable empty state view. A great way to engage and keep users whenever the view has no content to display.
License: MIT License
Expect to add modify the frame of the empty view and change the height of the action button
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)
Thanks, awesome product.
It would be handy to have the support for swift pm here in repo, so that one can just add package in xcode, without managing pod installation manually.
Thanks. Sergey
Thanks for the framework first of all.
I was wondering if there are any plans on supporting landscape mode.
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.
Please add support Swift package manager thank you
How can i prevent re-show the same state?
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
The memory always increase in the custom state of demo project, when you enter and exit again and again.
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')
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
😢 Hello ! Does iOS 9 work? Why is it starting at 10?
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.