Comments (3)
The problem of Typhoon is that everything should be an NSObject, and we don't want to force users of our framework to define everything as NSObject.
We could use https://github.com/Swinject/Swinject but, we prefer for the first version, to not be tight a lib. But we continue to investigate and take a look to https://github.com/briancroom/BlindsidedStoryboard
from bothamui.
Hi davideme, thanks for your answer!
I'm not saying to include Typhoon or Swinject in your framework. It is only to suggest the use of a DI instead of a service locator pattern which is considered as an antipattern around the internet, I think the final users are who need to decice what are their needs. But it is only a suggestion, I sometimes use this pattern for my examples 👍
Thanks again for your time and keep the good work!
from bothamui.
If you take a look at the example, we are using the di pattern all over the
code. But instead of using di framework we use a service locator or a di
container it depend how you want to call it. To initialize the
viewcontrollers and dependencies.
Basically we use DI, without a framework.
from bothamui.
Related Issues (19)
- Set UI with style based on design HOT 2
- Documentation of each feature and usage of BothamUI
- Try implementation of a Default Presenter with UI as Generic HOT 1
- Document Element offer by BothamUI that are not linked to MVP framework
- Add support of Swift Package Manager
- Rename BothamUI folder to Sources HOT 1
- The name BothamDataSource can be problematic in the future, should we change the prefix ? HOT 4
- Add an example of Controller with Page View Controller
- Add Support for BothamViewCell with delegate
- Pull To Refresh issues with section header content inset issues
- Add compatibility with Swift 2.3 and 3.0 HOT 5
- Improve the public API of instantiateViewController
- 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'
- Multiple inheritance demand HOT 2
- Swift 4: Argument #selector is not exposed to Objective-C
- How do not see the tensile load, only refresh?
- Add EmptyCaseView. HOT 2
- Navigation methods in wireframe HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bothamui.