Updated FAQ (markdown)

Michael Miller
2016-02-26 01:09:33 -08:00
parent 64fb3e7909
commit 49cf0eec25

2
FAQ.md

@@ -1,4 +1,4 @@
## I wish to dynamically set the number pixels, other libraries expose a method to change the number of pixels like updateLength() or setPixelCount(). ### I wish to dynamically set the number pixels, other libraries expose a method to change the number of pixels like updateLength() or setPixelCount().
The key word here is dynamic. The best practice when dealing with key feature change is to dynamical create the object and recreate it when things change. It will often lead to smaller program code size even though you may have to type more. See the following snippet of code as an example of how to do this. The key word here is dynamic. The best practice when dealing with key feature change is to dynamical create the object and recreate it when things change. It will often lead to smaller program code size even though you may have to type more. See the following snippet of code as an example of how to do this.
``` ```
// declare your object as dynamic, a pointer to it, the * // declare your object as dynamic, a pointer to it, the *