Piece of Code
In the last couple days I was creating a slide down like function like the notification slide down on iOS for an information piece to pull down to reveal information. I decided this sort of design for the application because creating a whole other view for a bit of information sounded very wasteful. Also it is an action that is practically baked inside iOS, so its familiar to the user.
Breaking it down inside Swift, to be able to do a slide down like function takes UIDynamicAnimator, UICollisionBehavior, UISnapBehavior, UIDynamicItemBehavior and UIGavityBehavior and oh can’t forget the action on the screen that initializes everything, the UIPanGestureRecognizer
I created this under a subview and added into the view so that I have the available to use it in multiple places in my app and have information conditioned inside the view based on which superview I am on. This also allows me to take just two files and add them to another project if I wish.
#OpenSource
I have also started a list of frameworks that I find that I would like to use or programming languages that appeal to me. I have known about D3.js for quite sometime, but I haven’t had the ability to use since it is for large data projects that allow you to display data in a unique and different way. I have written into a plan for one of the applications that show information about your community. I have’t broke down all the points of interest for the application but I know for sure that D3.js will be inside it, showing the data of populations, parks, housing cost, property taxes and for forth in a unique way. Check it out some examples











