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

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.

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.

Script that refreshes a website on all devices at the same time while developing

Some weeks ago I red about a script at github that will refresh a websites on all devices in the network at the same time while developing on it but I just can't remember the name.
I hope this answer doesn't count to the "this is not a research center forum" category but more I hope that someone might remember it we can share the answer for users that might looking for it too.
Before I get a thousand downvotes, please tell me if this a question at the wrong place (but where else then?)
Meteor has been getting a lot of attention lately, but if all you need is a full page refresh, you could use any pub/sub framework, like Faye, and a few lines of javascript.
Ok, I finally found it again:
https://github.com/marstall/shim

Captch Integration

Is there any particular way to integrate Captch code validation in iPhone application?
is this possible to create captcha? (with or without web-service / any API)
If any kind of external library or any source is required to be imported, then also please let me know.
Any kind of link or source code is available then please suggest me.
Also suggest from where to start to do this, if possible.
Thanks in advance.
I know you probably don't want to hear this, but why do you need captcha on iPhone? It's completely useless since there are no bots or something.
But if you really need it then make some image with white background and then use this code
http://iphonesdksnippets.com/post/2009/05/05/Add-text-to-image-%28UIImage%29.aspx
to add text to the image... once you'll have this, then just check if the entered string is equal to the randomly generated one on the image and you are good to go.
I didn't find any libraries which could be used as a captcha, so I think this is probably the best solution right now.
Cya,
Nick

Access to hyperlink in a pdf(iPhone)?

I am working on a small app, which can open a pdf. My question is, if it is possible to access a hyperlink from a pdf? Because when am trying to click on hyperlink nothing is happening and it's not redirecting me to the link. I tried searching a lot but didn't got any luck on this. Am expecting a quick response as my work is getting delayed because of this issue. If it's possible then what would be the approach? Right now am using UIWebView to open the pdf. Any sample app or code will be of great help.
Thanks for your time .
The only way I know is to use a third party library (or perhaps parse the PDF yourself), find the links, get their rects and catch user taps and compare that to the list of link/hyperlinks/gotos for that particular page.
Unfortunatelly - nothing in the SDK that can help. You can search for a opensource pdf library, like muPDF for instance.
There is a reason why not many applications have that functionality :D