Premade safari like UITextField and UITextView - iphone

HI all,
Are there any premade/ready to use UITextFields and UITexView which have the toolbar(for hiding the keyboard) and autoscrolling features just like the one safari(iphone) have.
I know its possible to make it custom but I wanted to use a builted one due to lack of time.
Thanks,

No, not in the iOS SDk for iPhone.
There is the Three20 library which has some nice controls. This a bit big for just those controls.

Related

Open source alternatives to UIScrollView

Which open source alternatives to UIScrollView is there?
I need paging so it would be awesome if we could categorize by that feature.
I'm looking for alternatives for the sole reason that Apple recommends against putting UIWebView inside UIScrollView. More specifically I experience problems with fixedcontent on iOS 5. But let's stick to the question: alternatives to UIScrollView.
Check TTScrollView, part of the famous Three20 framework.
https://github.com/facebook/three20/blob/master/src/Three20UI/Headers/TTScrollView.h
[Edited 2013-09-16]
CHScrollView is another open source alternative of UIScrollView. It is written by myself :)
If you want to make something like photo gallery, but web views instead photos, you can use UIPageViewController which shows webviews.
Check out DDPageControl
https://github.com/ddeville/DDPageControl
For more controls just search on http://cocoacontrols.com

Callout within UITableView

I am looking for a iOS Music app style Callout functionality. What I mean with that is that I want to get the same kind of callout "bubble" you get when press-and-hold within the Music app on iOS5.
I have been searching for a good solution for this, but can't find it.
The closest to what I need is: Use UITableView bubble/callout like iPod app However, this user didn't share what solution he had.
The libs I have looked at are:
https://github.com/jayway/CWUIKit
https://github.com/edanuff/MonoTouchCalloutView
http://www.eidac.de/?p=183
All of these have one this in common: They are useless.
The problem with these are that they all use a static callout view using PNG images, not one with a pointer beneath. Also, they do not adapt to the size of the screen; thus the bubble gets outside of the screen.
Any suggestions on a good library which I can use to implements this within my app?
What about WEPopover?
It might be what you want.
WEPopover for iOS

iPhone keyboard return key

I need to customize the iphone keyboard. How can I do it? Also it is needed to place the return key of the keyboard with my project logo. How is it possible?
You cannot customize the apple iOS's default keyboard.
As such you can create a custom control similar to apple iOS's keyboard and make it look and customize as you want but then there ar more chances than not that your app may be rejected when you try to submit your app on the Apple's app store.
So it is not preferable to create custom keyboard.
Hope this helps you.
What have we done in one of our apps and you can do is create custom uibutton that is same size as return key, then register for UIKeyboardWillShowNotification and UIKeyboardWillHideNotification.
when one of those fire you should add/remove that uibutton to window with animation that tracks keyboard showing/hiding animation...
Ugly way to do it, but it served its purpose...
Some of the tutorials are incomplete or are much older. This tutorial works from IOS 4.3 onwards and I checked it. Save the two image graphics, and paste in the code. There is very little to change. Here is the link.
ps. I am not affiliated in any way with this article, but found it to be complete.
http://www.neoos.ch/blog/37-uikeyboardtypenumberpad-and-the-missing-return-key

Customize UI with UIWebView vs Subclassing

I need to create a custom button, custom label, custom tableview, and custom datepicker, but it seems harder to subclass the button/label/table/datepicker than to create a HTML string inside a UIWebView and customize it there... My application would be full Objective-c except these 4 controls.
What does Apple say about customizing a control using UIWebview. Is it frowned upon?
What are pro & cons for these 2 approaches?
Should I take a quick HTML, but it feels like I'm cheating, or take a long process to subclass these controls? More importantly, will Apple approve my apps with controls that's using UIWebView?
Thanks.
I'm sure Apple would approve an app with HTML controls, but I'd strongly advise you do it right and subclass the controls you wish to customise (or create your own from scratch). In my experience, native controls are leaps and bounds above what you can achieve with HTML and CSS, and it'll be worth it in the long run.
Besides, UILabels, UIButtons, and UITableViews are actually quite easy to customise; you may have some difficulty with the UIDatePicker but it's still possible to make it your own.
Ok, just in case somebody is having the same problem as me, I finally found another easy way to "customize" the view without going into so much trouble subclassing it..
It's : Use an image to be used as the view background. Then you can place the controls in the placeholder in the image. And set the controls as transparent...

Does anyone know how they did this UI keyboard?

Anyone knows how they did this UI keyboard:
http://img87.imageshack.us/i/tastiera.png/ ?
Thanks,
Fabrizio
The only way to tell if it is a custom UIView is to see if it lacks the features of the normal keyboard. I simply cannot believe anyone completely duplicated the keyboard feature for feature just to change the tint of it.
If it is not a custom UIView, then that leaves only one other option: private API calls. Is this app on the App Store? Private APIs are a no-no of course so I doubt this is the standard keyboard and available on the App Store.
UPDATE:
Of course, now we have Extensions with iOS 8 and you can create your own custom keyboards. It doesn't help make creating a keyboard any easier.
Yes, seems to be a custom UIView with Custom UIButtons.