Custom Double Handle Slider - iphone

I was wondering if anyone had some code, or knew of a place that has code for creating a double handled slider. (EX. Kayak application filter results time, has a slider with thumbs on both ends to create a range.) I am looking to do something similar using a double slider to search for a range of ages on a person array.
Any help would be great!

I created a double slider and posted it on GitHub.
Blog post: http://dev.doukasd.com/2010/08/double-slider/
GitHub page: https://github.com/doukasd/iOS-Components/tree/master/Controls/DoubleSlider
Let me know how it works for you.

Hey, I wrote one and posted it to git hub, too. Wish I'd seen Dimitris' earlier!
http://github.com/cmezak/CMRangeSlider

I just found a really nice one. There is an article on how it was built and on the second page a link to the github repository. It looks like something Apple would have done!
Wicked Double Slider
Posting this as I have a need for a really nice slider, found this page first, with so-so reviews of the projects, then later tripped on what appears to be a commercial quality project

Related

Is there any way to break up a PDFTable onto a different page?

First time poster here...but been using StackOverflow for solutions whenever I get stuck.. ton of great information here! I will try to describe the question as thoroughly as I can and hope someone can help me out with it. I need to generate a PDF in Swift and present it on an iPad, so i decided to use TPPDF for the PDF generation and then Apple's PDFKit to present it.
TPPDF has been working great for me, however, I ran into an issue where if I create a PDFTable with an enough amount of rows, it overflows into the next page without creating a new table. The last row gets cut off about 1/3 way and the other 2/3 is generated on the next page. This creates a weird visual effect which i'd rather not have if it's possible.
I've been reading through the documentation as well as sifting through the source code to try and figure out if there's a way but I can't find a decent workaround. The only workaround I can think of is splitting up the content and creating multiple PDFTables on new pages (using the createNewPage() method). This would take a good amount of rework in my code so I wanted to post it here to see if anyone has come across this and come up with a solution.
I appreciate any help!!
-George
thanks for asking, this is actually an on-going issue which occured after adding the merge-cell feature. This is discussed in issue #243, so you take a closer look at what's going on there.

Unable to use gist in medium

I have searched a lot and tried several approaches. I believe I am doing something wrong as I am unable to have code from gist in the medium plataform bloggers.
I have only get the links on there but the code does not show or is not integrate. I have tried all the modalities of gist share code possible and paste using the embedded option in medium.
For example,
https://gist.github.com/GMoneyAccount/84fb1a9836aa91054e1714ac9d176630
https://gist.github.com/GMoneyAccount/84fb1a9836aa91054e1714ac9d176630.js">
https://gist.github.com/84fb1a9836aa91054e1714ac9d176630.git
https://gist.github.com/84fb1a9836aa91054e1714ac9d176630
https://gist.github.com/SumeraMartin/6369e704caffa8bacdaa859a1bec8b7d
https://gist.github.com/SumeraMartin/6369e704caffa8bacdaa859a1bec8b7d
This code does not show in the medium.
What I am missing? I have looked how people do but does not work for me for some reason and also I have changed from google to firefox and nothing changed.
The vendor that they use for processing embeds is currently down. You can watch the status of the incident here: http://status.embed.ly/
So, basically, the way you are doing it isn't a problem. You'll just have to wait until the incident resolves.
Cheers.

Facebook image issue. Could it be cache?

Our website was recently redesigned and since then I have been unable to get the correct image to appear when I choose link.
For instance:
If I post this link:
http://www.horrormovienews.net/article1184.html
It does not show the image of Ethan Hawke as one of the choices for me to post along with this story. I have asked a few other people (co-workers) and some friends who live around the USA, PA, NC, etc. and they can not get that pic as a choice either. One person who lives in MA can see it when he posts a link.
(This happens to every news story in our network of sites since the theme was changed on the sites)
Another bizarre thing is it WILL show the image for this story:
http://www.horrormovienews.net/article1160.html
but not the one at the top of this post.
I have even used the Facebook lint tool about a week ago to try to refresh the cache.
I have tried to many different things to try to fix thing. I changed the image path, the size of the images, etc. Nothing seems to work.
Does anyone have any idea what could be causing it? Any help would be much appreciated.
You need to specify og:image tag. See your results here: http://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fwww.horrormovienews.net%2Farticle1184.html
Fix up those warnings and then you should be able to share the link much more consistent.

creating an address textfield like in apple's sms-app

I'm writing an app, where I the user has to be able to select multiple adresses. I wanted to solve this in the same way, apple does when you send an SMS to someone.
You can enter text and it gets surrounded by a blue bubble for each adress selected.
I've already found facebook's tree20-kit, but I can't get it to work because of some linker error I cannot solve.
Is there any other kit out there, that's capable of doing this, or do you have any suggestions on how to create such a textField?
Yours,
Bujtor
Interesting. I don't know of any other open source solutions for this, and I think writing from scratch would be much more time consuming than trying to resolve the linker error. I would recommend spending a few hours and do the following:
Create a new empty application.
Download Three20 and follow the detailed instructions on GitHub for linking the framework.
You should be able to get this to link as many others, including myself, have been able to use this framework.
Sorry this isn't a straight forward answer to your question. I hope it was helpful just the same. Andrew.

Best examples of data visualisation?

I love data visualisation and to spread that love I thought we could share our favourite examples of data visualisation:
Chess moves http://turbulence.org/spotlight/thinking/chess.html
Chris Harrison's Visualisations http://www.chrisharrison.net/projects/visualization.html
I especially like the bible and Wikipedia visualisations.
If you're interested in creating your own visualisations a good place to start would be to check out processing.js (http://ejohn.org/blog/processingjs/).
Information Aesthetics's feed is on my home page and has been the source of many interesting visualizations since I've placed it there.
glTail.rb - real time log info, Linux only.
This is a recent favorite The Ebb and Flow of Movies: Box Office Receipts 1986 — 2008.
Blew my mind is college Napoleon's Invasion of Russia, 1812.
And always check out Tufte.
I always found Gource to be pretty interesting; check out some of the samples. Histories of git projects.
I find codeswarm really amazing. Check out the video of eclipse.
I just came across the JavaScript lib called Raphael, haven't tried it but the demos impressed me:
http://raphaeljs.com
-- pete
I'm surprised no one has suggested d3 yet. Check out the website, its awesome: http://mbostock.github.com/d3/
For a large collection of manually selected information visualizations, please see http://www.infovis.info -- some of the online collections that I drew from no longer exist!
I show or link some examples in my blog post here: http://mycarta.wordpress.com/2011/11/17/time-to-spice-up-your-visualization-skills/
There is also a terrific selection of examples on this thread in Quora:
http://www.quora.com/Data-Visualization/What-are-the-best-data-visualizations-ever-created
A friend of mine did this and got it exposed at MOMA in NY
http://pmcruz.com/information-visualization/traffic-in-lisbon-condensed-in-one-day
It represents the trafic in lisbon over time, it was done with processing and there is no map behind it, just the coordinates of cars with public gps moving around