lurado / ldolayouttemplates Goto Github PK
View Code? Open in Web Editor NEWManage different iOS screen layouts with ease
License: MIT License
Manage different iOS screen layouts with ease
License: MIT License
or remove them (they exist, because they are part of the pod-template)
Example: A view controller is happily setting self.activityIndicator.hidden
and self.errorLabel.hidden
to YES
or NO
during runtime. We now apply a layout template that targets these two views, which will reset their .hidden
property to whatever is stored in the template. -> Error
With the current version of this library, there are two workarounds:
transferableTemplateAttributeKeyPaths
.transferableTemplateAttributeKeyPaths
and do not return "hidden".Both approaches are cumbersome and make this library harder to use.
Ideas:
BOOL
property on LDOLayoutTemplate that controls whether properties should be copied at all.NSString
property on LDOLayoutTemplate that contains comma-separated keypaths that should be copied (per-instance whitelisting).transferableTemplateAttributeKeyPaths
returns an empty array by default and we leave it up to users to solve this problem.I guess we have to...
Both values should be transferred from template views to their target views when applying a template.
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.