UIAlertView subclass with text fields for iOS 4 - iphone

Has anyone seen a solution for adding text fields to a UIAlertView (without private APIs)? On 3.x I've been using enormego's EGOTextFieldAlertView, but this doesn't work properly when compiled for iOS 4. Any suggestions?
http://github.com/enormego/EGOTextFieldAlertView/

I found a viable solution:
Use the ModalAlert from Erica Sadun's cookbook.
http://github.com/erica/iphone-3.0-cookbook-/tree/master/C10-Alerts/03-Soliciting%20Text/

The solution described here works great for me.

Jose Castillo found a fix for EGOTextFieldAlertView in iOS 4 and can be found here:
https://github.com/josecastillo/EGOTextFieldAlertView
It has a bit of a problem with auto-positioning the view, but there are several easy fixes, depending on your project needs.
I highly recommend this code as a start point.

Related

How to display a time picker?

I need display a time picker in sencha touch, in a similar way of xtype: 'datepickerfield', any idea how to do it? thanks
Have a look at SenchaTouch-v2-Datetimepicker
It is a bit buggy, but mostly works. A drawback is the license is not set. Guess GPL, but he don't answer on the email about it...
Cheers, Oleg
Sencha Market gives an extension for datetimepicker..Have not tried it but I hope it is useful for you
https://market.sencha.com/users/21/extensions/43

How do I implement navigation button like Echofon for iPhone does?

Hi, how do I implement navigation button like Echofon does, especially with those icons (like Home, Messages) on the button ? I am new to iPhone development so I am really appreciated if someone can paste some code samples or point to me some tutorial.
Thanks!
That is called a tab bar view controller, and you can find a good tutorial on how to create an app using it here
Here is a great tutorial. You need to create a tab based application. It's pretty simple to implement.
All,
Thanks for answering my dumb question. I found that the Chapter 6 "Multiview applications" of "Beginning
iPhone 4 Development" gives a very good explanation of all kinds of mutiview app.
Basically you need to create Tab Based Application for it.

SplitView like Facebook app on iPhone

I want to create an iPhone app that uses a navigation scene similar to the one pictured in the link
Please note I do not want this to only work for iPad, I want it to work for iPhone exactly as pictured, when you click on a tableview item it hides the tableview and makes that view full screen. I want ideas on how to do this because I cannot figure it out myself.
Thanks
Facebook guys have done brilliant job in the new version of the app. The similar open source code can be found from here - JTRevealSidebarDemo. Please note that as of June 2014, this project has been discontinued, so you'll probably have better luck with a project from the list below.
It reveals technique behind doing split view for iPhone.
Some other open source code:
JWSlideMenu
DDMenuController
PKRevealController
ViewDeck
ECSlidingViewController
MWFSlideNavigationViewController
MFSideMenu
SASlideMenu
HHTabListController
MTSlideViewController
MTStackViewController
MMDrawerController
DMSideMenuController
JVFloatingDrawer
How about projects with storyboard compatibility?
I found 1 more slide menu which is compatible with storyboards:
SASlideMenu
Another storyboard-compatible menu is
ECSlidingViewController
and
ViewDeck
from Sagar's answer. They both have storyboard examples (for the last one link is ViewDeckStoryboardExample)
For anyone else looking for an Android version, take a look at:
android fb like slideout navigation
emerging ui pattern side navigation
I realize you asked about facebook, but now that ios7 is out, and this is the defacto thread i thought id post here.
For an effect similar to the kindle app on ios7 you can use:
https://github.com/romaonthego/REFrostedViewController
If anyone else is looking for a way to implement this in MonoTouch now known as Xamarin.ios, take a look at this article I just found. monotouch slide out navigation
EDIT
I just found that they have a free component for this!
flyoutnavigation
I noticed no one listed this wonderful class... SWRevealController.
I use it with my project apps all the time. It's Easy to use and heavily documented... There are also a few examples John gives to the user to understand how it works or if you'd like to derive your project from... Hope this helps
SHSidebarControllerwith filder effect.
This might be helpful to you.. try this :)
This looks to be the best match for me.
PKRevealController
It has nice scroll effect with finger and moves back on partial drag.
https://github.com/pkluz/PKRevealController
MMDrawerController is very good option.
You can configure many things. try it once
https://github.com/mutualmobile/MMDrawerController
I've been working on a floating-style navigation drawer that I hope people will like. It's on GitHub, take a look.

IOS 4.0 is it a way to add hipperlink kind of interaction to some range of NSMutableAttributetString?

hi i'm building app with some rich text content on it and text content i have with NSMutableAttributedString. I cought links in my text with regex and made it blue but don't see the way to add some interaction to string ranges of NSAttributedString. is it any way? is there a way to do so?
thank you
here is answer for my own question. I'm new to apple development so this project might be really dirty but it works for me, if anybody wants to improve it or has any suggestions please let me know, lets make this text project better ;) textViewProject

uitableview not showing data

i followed the tutorial -> http://icodeblog.com/2008/09/02/iphone-programming-tutorial-creating-a-todo-list-using-sqlite-part-2/
but the thing is my uitableview isnt showing anything from database!! i did an nslog and able to query the data..so what could be the possible error?
i went through line by line with the source..but still can't find any problem..anyone tried the tutorial and face similiar problem as me?
Delegate and Datasources are connected?
I downloaded the sample code and it works with no problems under OS 3.0 and 3.1.2 and
http://icodeblog.com/wp-content/uploads/2008/09/todo-part-21.zip