funct7 / krwalkthrough Goto Github PK
View Code? Open in Web Editor NEWEasily show tutorial anywhere in your project with the minimal amount of code to obstruct the regular app flow.
License: MIT License
Easily show tutorial anywhere in your project with the minimal amount of code to obstruct the regular app flow.
License: MIT License
The problem is you setup all the tutorial frames in viewDidLoad:
when the views' frames are still invalid.
And you should replace your hardcoded frames because iPhone X has different statusbar height+navigationbar height
(sum) value with something like the following:
CGRect r = [self.navigationItem.rightBarButtonItem.customView convertRect:self.navigationItem.rightBarButtonItem.customView.frame toView:tView];
it works for custom bar button but shouldn't be called for example in viewDidAppear:
Could you add this method and init inner variables with something to allow other programmers to subclass it without changing the inner code?
Wanted to customize hitTest
- 'focus' is inaccessible due to 'private' protection level
Tried to fix focus
modifier to public - Property must be declared private because its type uses a private type
and etc.
This project contains errors (I can't describe now it but it linked with constraints + mask area) but I can't even try to fix them by subclassing because all the necessary variables are declared as private.
So if you don't provide proper delegate methods - could you at least remove all the private
marks? It is enough fast solution
The problem is I can load/unload TutorialManager
items one by one item or unload all.
What if I want to have for example groups of linear walkthroughs and each group is linked with particular screen? There are no such groups provided so I should not simply create these groups manually - I should also perform some memory management because they could be started/finished separately. And for example In my case I should remember the current item for each group and if this group was already finished
For example I have an activity indicator which overlaps a control and I want to hide it until some moment.
For example what about to add a public Bool
variable which allows to show/hide highlighting?
For example in my case mask is defined with image. It is possible to apply it to CAShapeLayer
but again it is hidden even from TutorialView
s subclasses
In older versions in makeAvailable...
methods you set the variable focus. In 0.11.0.1 (maybe earlier) you allow to append to existing highlighting path only and previous values can be fixed (or removed/cleared).
What if I don't need to declare identifier at once in init
method?
For example I need to create an array of items first and only then I want to assign identifiers because I could do it in for
loop without hardcoding each next event handler.
And finally of course you made identifier readonly a constant to prevent its future changes. WHY?
Constrained to a specific orientation.
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.