Re: iPhone app Code
Re: iPhone app Code
- Subject: Re: iPhone app Code
- From: Alex Zavatone <email@hidden>
- Date: Tue, 16 Apr 2013 08:34:36 -0400
If you don't do things Apple's way, you're gong to have a bad time.
In the olden days before storyboards, you would create a window and use makekeyAndVisible. You'd also need to create view controllers and possibly navigation controllers if you wanted to go back and forth between screens.
There are LOADS of samples in the Apple documentation.
In the modern times (Xcode 4.x and iOS 5.0+), you can use a storyboard to visually assemble screens for your app. Here you apply a type of a view controller to a "scene" to put items on the screen and interact with them. You can still add navigation controllers or tab controllers to allow hierarchical navigation of the interface, but these are added through a menu command where you select your scene and "embed in" another controller type from the Editor menu.
If you're new to this, DO NOT go the way you're going. It will make your life hell.
Look up UICatalog in the Apple Documentation. Download it, open it and convert it to ARC. Study it.
Look up TableSearch in the Apple Documentation.
Look up DrillDownSave in the Apple Documentation.
Look up iPhoneCoreDataRecipes in the Apple Documentation.
Also, there are MANY good books on getting your head around iOS programming and many good guides on the Internet.
Bearing in mind how long this is taking you, I'd strongly recommend picking up thePDF of the iOS 6 Programming Cookbook by Vandad Nahavandipoor
It is very straightforward in my opinion, would be the best of the iOS books to put you in the right direction.
Link:
http://shop.oreilly.com/product/0636920027683.do
Also, Ray Wenderlich has many many many good tutorials online for free (and a book) that will help you get going.
http://www.raywenderlich.com/
Good luck.
On Apr 16, 2013, at 7:00 AM, Harmony Neil wrote:
> Hellow,
> sorry for the cross-posting, but I wasn't sure where to ask and google is not much help. I've managed to compile the c++ I've written into an iPhone app and installed it on my phone. The trouble is, it just opens and goes away again.
> A question I have is: I'm using getline to get user input and obviously I haven't made it display a text area on the screen. How do I go about fixing this issue so that the little text area can appear on the screen? I only need people to write numbers in the text area.
> I can send my source code off list if people want, if that would be easier.
> Thanks for any help/advice,
> Harmony.
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Xcode-users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden