Comments (7)
@alcarvalho this is a really interesting idea and we've thought about building an app entirely on top of this. @chrismaddern may have already explored this a bit. The matching logic is separate from the router, but the matcher is used internally. Feel free to submit a PR and we'll have a look.
from deeplinkkit.
+1 The ancient Three20 library invented this concept, but it'll be nice to see a modern version.
from deeplinkkit.
I have an internal implementation that repurpose deep link to support internal url routing.
My few complains is that the current pattern force you to initialise a view controller with incomplete data because deep link instance is not pass down to the method targetViewController
, while we rely on configureDeepLink to make sure the view controller is fully initialise. This felt counter intuitive.
Also, we can also pass deep link instance when doing calling presentation as well. This will enable so much flexibility (for example if I need to push more than 1 controller onto the navigation stack)
from deeplinkkit.
It actually work out of the box, as long as you hold an instance to the router, you can just call handleURL and it will do the routing for you.
from deeplinkkit.
A URL to ViewController would be awesome.
from deeplinkkit.
I am not sure what you mean about the problem for initializing the view controller with incomplete data, but if you mean passing data on constructor that's true. But it's also a way to have the view controllers instantiated from the Storyboard and then configure it.
A URL to ViewController would be awesome.
That's actually what I have implemented in #61
from deeplinkkit.
Closing in favor of #62
from deeplinkkit.
Related Issues (20)
- Xcode 8.3 beta compilation fails HOT 18
- Support Swift 3.0
- Can I use this library in my Swift 3 project? HOT 1
- Matching regex paths HOT 2
- unrecognized selector configureWithDeepLink: HOT 1
- Regular Expression with (?: exp), can't init DPLRegularExpression HOT 2
- tvOS Support HOT 7
- Stops on first route matches even if it doesn't handle it HOT 2
- [Bug] Parsing URL with hashbang (#!)
- hi
- hi๏ผin swift sample,the bridging -header.h no found the import of DPLproduce etc.
- Wrong route parameters when using alternation in a route handler
- Non-capturing groups not supported
- Handling URL's which has URL inside. HOT 3
- ERROR ITMS-90362 The minimum value is 8.0 for MinimumOSVersion HOT 2
- Is it possible to register route without case-sensitive? HOT 1
- Minimum value for OS support should be 8.0
- query parameter has base64string HOT 1
- Empty query parameter when url containing special character
- Link to documentation does not work
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 deeplinkkit.