#Hadley
Hii...all
I am new to the iPhone application development. I am trying to develop one image slider type application using xcode 4.2
can anyone let me know which template should I use i.e. single view application,Tabbed application , or page based application or any other .. ??
n please also let me know how to use a page controller in the application n how to add new view to display an image in the next view of the application using page controller.
thanks in advance...
Fist: As you are new to iOS, start with an empty application. You can learn the most by this.
Second: Read some introduction stuff.
Third: I would recommend for your needs to use a scroll view and load the pictures as they are needed. You can find a video showing how to do this in the developer portals in the WWDC videos (payed account needed).
Related
I am very new to iPhone development, i am developing one sample application using xcode.
I am referring on-line tutorials and examples to build my first application.
I want to try multi screen/view application where i want to display specific screens on some specific events like button clicks.
I googled for tutorials on multi screen iPhone apps, but i am getting different ways of doing it.
I am confused in-between:
1. Navigation based application.
2. Window based application.
3. View based application.
Which application type do i need to chose for multi view/screen application. Is it that we can't create multi view/screen application using 2nd and 3rd type, i think this should not be the case, but i am confused.
what i have done so far.
I have created one window based application where i have one login page (text fields and click buttons) i want to extend this application to display main screen/error screen based on the login result.
I have created 2 .xib files for main screen and error screen(with there corresponding .m and .h controller files), now i want to remove login screen and display main screen/error screen, but i don't have idea how to archive this when we are in window based application.
can some one point to useful tutorials/examples that can explain this scenario.
Before getting into any online tutorials it'd be better to go through apple's guides.
Following guides could be a good start:
App Programming Guide - Design Basics To understand the basics of iOS development
Human Interface Guidelines
and
View Programming Guide
To understand and implement different view controllers
hope this helps your question regarding delegation
http://www.switchonthecode.com/tutorials/creating-your-first-iphone-application-with-interface-builder
If you're using storyboards with scenes and segues (iOS 5+), this tutorial might help clear things out.
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.
I have read this question about the differences in the window- and view-based iOS application templates in Xcode, but I'm still confused about what template to use in my iPhone app.
I am developing a geolocation app for service stations. What template would be more appropriate for this: the view-based application template or the window-based one?
The choice won't greatly affect your end product. The real question is what template gets me closest to the app I'm designing.
The view-based application template is geared towards an app with a single view. It's just a starting point, though, and you can always add more views/controllers to it afterwards. There's nothing special in the view-based template that you couldn't add to a window-based template, as shown in this blog post.
Your app sounds like it might benefit more from a navigation-based template. That will give you a UINavigationController and a UITableViewController to work with initially, and I'm guessing that would work well with your list of service stations. Perhaps when a service station is selected, you'd push a geolocalisation (sp?) view controller showing the details of the service station?
View-based Application description:
This template provides a starting
point for an application that uses a
single view.
If your app's design contains only a single view, then choosing View-based Application will save you the trouble of creating and linking that view. Even if your app has more than one view, View-based can still save you the time of making that initial view. You want Window-based Application for when you know you're setting up something custom.
HI,
I have just submitted my first application to iTunes for approval, however, there is one thing I really want to add to it ASAP.
I would like to code into an app that it can use the TV Out functions of both the iPhone and iPad? Ideally it would work in a similar way to how keynote works i.e. you see a bit more on the iPad itself than is projected on the TV, but even just mirroring the screen would be a step in the right direction.
I have searched all over for this and all I keep getting is about downloading jailbreaks for you iPhone to mirror the screen, which doesn't really help.
Thanks in advance,
If you just want to mirror, use my TVOutManager singleton. I've put up code to do this on github: https://github.com/robterrell/TVOutManager (Hmmm... I just noticed I haven't pushed the most recent code. I'll review and push new code asap.) I wrote up some detailed info about it at http://www.touchcentric.com/blog/archives/123 if you want to know the how's and why's.
Basically, just add the files to your project, and call:
[[TVOutManager sharedInstance] startTVOut];
If you want to do more than mirroring, read the docs on UIScreen. It's fairly trivial to create a UIWindow on the external screen (steal the bits from TVOutManager if you need to) and add subviews to it. This way you could have a Keynote-like controller on the device screen, while the main display is on the external display.
http://mattgemmell.com/2010/06/01/ipad-vga-output should get you started ...
Mirroring is not possible.
But to draw on an external display, just get the UIScreen object for the external display, then set the screen property of a UIWindow to it, (making sure to set the frame correctly etc) everything in that window should be drawn on the respective display.
Relative links:
developer.apple.com/library/ios/#documentation/uikit/reference/UIWindow_Class/UIWindowClassReference/UIWindowClassReference.html (look at screen property)
developer.apple.com/library/ios/#documentation/uikit/reference/UIScreen_Class/Reference/UIScreen.html (look at +screens)
(I don't have any reputation => can't post clickable links)
I think, you can't do this. You can only stream videos from iPod app.
But, if you have jailbreak on your device, try this (link) or take a look at this great YouTube video (link) showing exactly what you need.
at the moment I try myself on iphone develpment.
I read a lot of howtos and a complete book, to find myself in ObjC.
I can create my first app, hello world, get actions on buttons and so on.
Now I have my View (Created on New Project -> View Based App).
How can I create a second View and show the second view on a button click on a first view?
A good beginners tutorial about switching between 2 views: iPhone View Switching Tutorial