How to use NSComboBox in iPhone - iphone

M a new comer to iPhone world ,i want to use NSComboBox(DropDown list somewhere) in my application. but not having any idea....m totally blank about NSCombobox...could any one guide me..Thank you.....

The iOS Cocoa Touch framework doesn't include anything like an NSComboBox. You might want to look into using the combination of a UITextField plus a "pop-up" UIPickerView for list selection.

NSComboBox does not exist on the iPhone. It's part of the AppKit framework, which means it only exists on the Mac. The iPhone's GUI framework is called UIKit.

You could always write your own.

Maybe you open wrong project style. Because NSComboBox is under Mac Application.
You should use project for iPhone application.

Related

UICollectionView in ios 5

I just learned about UICollectionView after creating the same functionality in a custom class. So I am thinking about using deleting all that code I wrote and just using UICollectionView.
I know my app gets a lot of installs on iOS 5. And I know a lot non tech savvy friends and family still have it installed.
I googled this and it says I can use some other's guys library(another thing I should have known before writing my custom class). But the answer was not definitive.
So my question is, does Apple include a bridge for iOS 5 or will my app just fail if I use UICollectionView?
I have my target deployment set to 5.0 and it is not giving me any warnings.
Venkat
UICollectionView is iOS6 only. You can include extra code to check for iOS6 and use your custom class on iOS5. But there is no way to use an actual UICollectionView in iOS5.'
Thats what that "other guy's library" does. It has an iOS5 compliant clone of UICollectionView and checks based on the OS which to use.
Maybe you want to try this as an alternative:
https://github.com/steipete/PSTCollectionView

navigation in UITableView in monotouch iPhone

i am new to iPad developer,
i have created two or three iPad application in objective c using Xcode 4.
but now i want to create iPad application using Monodeveloper tool in C# language...
in which, i want to do navigation,
when user selects any row of UITableVIew, on selection of row of tableView i want to navigate to a new Page..
i searched in google but i didn't got any syntax.
Any help will be appreciated.
Thanks In Advance !!
Using UITableView should be fairly identical to your previous ObjectiveC applications, i.e. you need to override the selected method and push your new view.
However there's a much simpler way of doing tables using MonoTouch, it's called MonoTouch.Dialog and it is now bundled with MonoTouch 5.2 (and more recent) releases.
There's a very complete sample application on github that will show you how to use most features and a great video tutorial from Xamarin's Seminars.

Trouble understanding universal apps, multiple view controllers

I'm trying to figure out the best way to approach writing a universal app. I'm not sure how to add some new files (for a new view), and how to add both iPhone and iPad view controllers. I'm using Xcode 4.2.
Your question is pretty vague (and general), but does this tutorial give you the information you need? http://blog.corywiles.com/creating-a-universal-ios-app-tutorial

Premade safari like UITextField and UITextView

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.

iphone to ipad porting

i have iphone project based on tabbar template . want to convert it to ipad,
final output i want is to move tabbar inside a splitviewcontroller .
How to go about?
You have to rewrite it to be in correspondence with the change in templates... There is no other way sorry to be the bearer of bad news. But, you can still potentially re-use a lot of the variables and IBOutlets and IBActions that you had from the previous project. You just have to take that code and fix it so it works with the new template.
I recently found this blog post on the topic. You might find it helpful:
http://www.raywenderlich.com/1111/how-to-port-an-iphone-application-to-the-ipad
Plus there's some discussion of creating a universal app here:
iPhone & iPad versions of same app?