karumi / bothamui Goto Github PK
View Code? Open in Web Editor NEWModel View Presenter Framework written in Swift.
Home Page: http://karumi.com
License: Apache License 2.0
Model View Presenter Framework written in Swift.
Home Page: http://karumi.com
License: Apache License 2.0
How do not see the tensile load, only refresh?Such a little science, both are generally appear at the same time
If in another Botham project we introduce backend DataSource how should we resolved this ?
Hi guys,
Can I ask you why you recommend using a Service Locator pattern instead of a DI framework like Typhoon?
Many thanks!
pd. Flag this as a question, I can't do it.
Add Support for BothamViewCell with delegate to handle event like Button Tapped
When I need to introduce other third-party libraries need to inherit to the parent class but BothamUI requirements ExampleViewController, how should solve?
If you try to use BothamUI with Swift 4, you'll get that error in BothamPullToRefreshHandler.swift
file.
The following text explains what's going on:
The whole reason for this warning in the first place is the result of SE-0160. Prior to Swift 4, internal or higher Objective-C compatible members of NSObject inheriting classes were inferred to be @objc and therefore exposed to Objective-C, therefore allowing them to be called using selectors (as the Obj-C runtime is required in order to lookup the method implementation for a given selector).
However in Swift 4, this is no longer the case. Only very specific declarations are now inferred to be @objc, for example overrides of @objc methods, implementations of @objc protocol requirements and declarations with attributes that imply @objc, such as @IBOutlet.
The motivation behind this, as detailed in the above linked proposal, is firstly to prevent method overloads in NSObject inheriting classes from colliding with each other due to having identical selectors. Secondly, it helps reduce the binary size by not having to generate thunks for members that don't need to be exposed to Obj-C, and thirdly improves the speed of dynamic linking.
Update all View/ViewController of the example based on the Image attached.
Use no custom ui component or additional pods, the goal is to have something appealing visually no adding ui component in the code.
The screenshot below is representative of the look and feel for the Example not the features, for 1.0.0 we will keep the existing feature.
Rename BothamUI folder to Sources
https://github.com/Karumi/BothamUI/tree/master/BothamUI
This will ease the support of swift package manager
We've already implemented an awesome feature to be able to easily use a loading view. To be able to do something similar with the empty cases we need to replicate this feature in a similar way.
We've just noticed that the current pull to refresh implementation is not working fine if you use sections because the content inset is used by the header and the scroll effect is weird. We should change the pull to refresh implementation to fix this issue or fix this issue with the current implementation.
reason: 'unable to dequeue a cell with identifier HomeTableViewCellIdentifier - must register a nib or a class for the identifier or connect a prototype cell in a storyboard'
See #47 (comment) in PR #47
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.