porting iphone simple calculation app to mac os x app [duplicate] - iphone

This question already has an answer here:
What are the biggest obstacles to overcome when switching from iOS app development to Mac app development? [closed]
(1 answer)
Closed 8 years ago.
I have iPhone application, which is very simple.
Now i want to turn that application into a Mac OS X app. I have knowledge in developing mobile app I already developed android and iPhone apps.
I'm new to desktop application kindly guide me what is the different between iPhone API and Mac OS X API.
What are the things I should study and how hard is this ? I already read this,
I need little bit more info.

I'm a super beginner with objective c but what I have seen so far the only difference is some of the GUI objects. But keep in mind I'm a super noob so I haven't seen much

Related

Testing a web based application on Iphone [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Is there a way to test a web site on the iPhone without an iPhone?
I have been looking for a way to penetration test an Iphone based web application. XCode has got the option to test native applications, but how would I test a web based application?
It would be great if you guys suggest the steps and/or the application used for testing.
Safari app in the iOS Simulator for mac bundled with XCode or just use regular safari?

What steps do i need to take to start developing iPhone apps? [duplicate]

This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
How to Start learning to create iphone apps
I only know basic Python as far as programing languages go.
What do I need to learn to start developing iPhone apps?
I learned part python with almost only learnpythonthehardway.org
and that wasn't too difficult. I am confident I can learn how to make apps but need to know where to continue. i asked around where to start and people said to learn python so i did but now what to do after that.
I have the newest MBP to work on.
I don't have much interest in the app store i just want to have some fun and stuff like this is what i enjoy doing
I realize people say this is a duplicate someone changed my title and didn't read what i had to say here I want to know where i would continue mostly all other things about this have been closed as well so its hard to get answers
Welcome to the wonderful world of programming. Seriously, as you've probably seen it can be a lot of fun. Starting young is the way to go!
iPhone development is going to be harder than learning the basics of Python, but not unachievable.
One of the problems that you are going to have, is that the tools are not as widely available or as free as Python. You will need:
A mac of some sort (must have an intel processor too, so not an old mac)
An iPhone developer account ($99 a year)
A copy of XCode (comes free with the account)
Then you need a good book, i used 'Beginning iPhone 4 Development" which has an introduction to objective-c in it.
If that sounds a bit too expensive for something you're not sure you'd enjoy - you could try downloading a free objective-c compiler and learning the language first before committing to that stuff.
Start at http://developer.apple.com. From there, download the iOS SDK. iOS apps are mostly written in another language called Objective-C and a framework called Cocoa Touch.

What all a beginner in iphone app development should be aware about? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I am a Beginner in iPhone Development, i have worked with .net web and window applications and only used c# language.
i am planning to make simple application for iPhone. After a long searching, i came to know that xcode kit is used in development and objective c is the language used.
i am confused with many questions..please help me
These are some basic things i need to know in a beginner point of view.
What all development tools should be used?
Should i need a mac OS system to develop iPhone apps or can i use windows xp OS?
Should i need to register as iOS developer($99 a year)?
How can i test the developed app, should i need a iPhone or is there any simulator?
Is Objective c similar to c# or c++ ?
Can i develop iPhone apps in .net?
What all should i know before starting to develop an app?
Which all database can be used in iPhone apps development
Please help with your valuable answers regarding all the basics to learn iPhone development
1) What all development tools should be used?
Well you need to install xcode and iOS SDK. To get them you have download it from apple's developer website (size in GB's). To run xcode you need a MAC. You need
devices to test your app.
2) Should i need a mac OS system to develop iPhone apps or can i use windows xp OS?
You need mac. Search "iphone development on windows" on this site itself.You will get a lot of info.
3) Should i need to register as iOS developer($99 a year)?
Without registering you can
download sdk
start developement using simulator
You can't run on device or upload app to app store without registering.
4) How can i test the developed app, should i need a iPhone or is there any simulator?
Simulator is there. But never upload an app only tested in simulator. You must test on device.
5) Is Objective c similar to c# or c++ ?
I came from C/C++ background and I found objective C easy. You will take 2 to 3 days to fully understand objective C method syntax, property and synthesize,
class and object methods. The most difficult thing to learn for me was memory management. Remember there is no garbage collection in iphone, you will have to
do all memory management yourself.
EDIT: There is a change in iOS 5.0. We still don't have garbage collection. But Now we have Automatic Reference Counting (ARC), which add memory management code at compile time. We don't have to do release/autorelease code, but compiler will do it for you..
6) Can i develop iPhone apps in .net?
No, you can't.
7) What all should i know before starting to develop an app?
Basic programming concepts (OOP
concept, language you will learn
gradually)
Knowledge that you are working on an
embedded device (I know iphone is
powerful, but still it is an
embedded device, not a desktop).
Always make sure you use just enough
memory and processor for your need.
Happy coding..
welcome to the circle of iOS developers =)
To your questions:
What all development tools should be used?
Xcode provides you all you need. The IDE, the Build environment and loads of tools to analyze your code.
Should i need a mac OS system to develop iPhone apps or can i use windows xp OS?
I've heard there are also cross platform IDEs available, but I recommend to use Xcode. Xcode runs on Mac OS X – and Apple says, it only runs on Intel architecture. I've heard from some people, they managed to use Xcode on Power PC systems. In the end you will have problems to build your app on that architecture.
Should i need to register as iOS developer($99 a year)?
No need for that, if you don't want to publish your app to the app store OR test on a device. But there is also a simulator for different devices shipped with Xcode.
How can i test the developed app, should i need a iPhone or is there any simulator?
You don't need a device, but it's strongly recommended to get one. Since the simulator mentionded above uses your complete system ressources of your hosting Mac, you may take memory management too easy and explore bad surprises on a device.
Is Objective c similar to c# or c++ ?
It's not wrong to have experience with C and/or C++, the main concepts are the same. But you will see a whole new syntax which might be a little bit confusing for the first time. After you are familiar with it, you will appreciate the "speaking" method markup.
What all should i know before starting to develop an app?
You've already found stackoverflow.com for Questions and Gotchas. I recommend to get some books. Aaron Hillegass has written some nice Cocoa books. But maybe someone else can give you better recommendations.
Well, if you want to publish an app to the app store you....
1-2) DO need a MAC with XCode installed
3) if you want to publish the app on the store, yes
4) XCode + iOS SDK came with an iPhone/iPad simulator, wich works pretty well
(after obtaining a 99$ licence you can also activate some iphones to debug your app directly on the device
5) I mostly wrote app in web tecnology (have a look at PhoneGap for this) so, i cannot answer you, sry
6) If you want to create an app wich have to basically display content taken from the web
you should really consider the PhoneGap way. If you want to program something like a 3D game with hi-res animation or stuff like that you'll probably need to wrote a native (obj C-cocoa) app
Hope this helped :D
What all development tools should be used?
xcode mostly
Should i need a mac OS system to develop iPhone apps or can i use windows xp OS?
Yes
Should i need to register as iOS developer($99 a year)?
if you want to put up your apps on the appStore, then yes.
How can i test the developed app, should i need a iPhone or is there any simulator?
There is a simulator with the xcode IDE. if you want to test it on an actual device, you'll have to pay the 99$ a year
Is Objective c similar to c# or c++ ?
its a strict superset of C.
* Can i develop iPhone apps in .net?
not that i know of.
you can develop Phone apps in JavaScript using http://www.appcelerator.com/
What all should i know before starting to develop an app?
What all development tools should be used?
Apple Developer Tools, that you can find here.
Should i need a mac OS system to develop iPhone apps or can i use windows xp OS?
Definitely you need a MacOS system.
Should i need to register as iOS developer($99 a year)?
This is required in order to be able to run your app on a physical device for testing and for submitting you app to the App Store.
How can i test the developed app, should i need a iPhone or is there any simulator?
Developer Tools include an iPhone/iPad simulator. You can also run the app on a physical device.
Is Objective c similar to c# or c++ ?
Objective C is standard C with OO extensions resembling of Smalltalk.
What all should i know before starting to develop an app?
The basic things is that you will learn bit by bit all you need to know.
I would start from reading an Objective C tutorial, to have a grasp of the language.
Then you could access some of the video material that is available online. Check this and also get a look at the many introductory books available out there.

Alternatives For iOS Development Under Windows [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
How can I develop for iPhone using a Windows development machine?
iPhone development on Windows
I just got my new iPad and now I have two iOS devices, an iPod and an iPad. So I realized that iOS is a great OS to develop some stuff, but the problem is that I'm under Windows and I don't have any plans to buy a Mac. Anyway what I want isn't the port of the SDK for Windows, so I can develop in Objective-C. But what I want is to know all(maybe) the alternatives that I have to develop for the iPad(that I'm a lot more interested right now) and the other iOS devices.
PS: I'm interested at Application development, not game development
You might find following solutions handy. I have tried to comment those I am more familiar with:
PhoneGap
Sencha Touch - Nice JS framework. Check out their demos.
Rhomobile
Appcelerator Titanium
jQuery Mobile - Version of jQuery optimized for mobile devices.
jQTouch - jQuery plugin for mobile development
CrossMobs - Sdk for iOS and android development (no mac needed).
Nomad - Visual Studio extension for cloud PhoneGap builds (no mac needed).
Delphi XE4 - Delphi XE 4 (no mac needed, you can use macincloud)
Hopefully you'll find an alternative fitting your purposes. It really depends on what you already know. For instance if you are already familiar with Ext JS using Sencha Touch seems like a no-brainer to me.
To get an app to App Store it looks like the only solution (at least AFAIK) is to use PhoneGap for packaging your JS app. You will need XCode (mac) for this. Perhaps it's possible to use a virtualized version of OS X for this as well though I cannot guarantee this will work.
You said you want all the alternatives, so let me add:
I understand you don't have any plan to buy a mac, but change your mind. Buy a cheapest mac.
Come on, you invested already on an iPad and an iPod. Buying a Mac mini shouldn't be so mentally difficult for you.
edit:
#Nathan: why do you hate OS X while you love iOS? As hotpaw2 says, they are basically the same. I believe the kernels are compiled from the same source. Both have a set of basic pseudo-object-oriented C functions for strings and array manipulation, called Core Foundation. The GUI part is done by libraries called AppKit / UIKit, which are basically the same.
In fact, OS X, even in Snow Leopard, has a few remnant of OS 9, while iOS is almost purely derived from NeXTStep.
On OS X Gestalt is alive and well (even after deprecation of most of Carbon), but there's no such thing in iOS! So, if you love OS 9, you should like OS X more than iOS.
I know love and hate are not logical, but you're not at all logical here :)
Another way: u can get an emulator of MAC for PC, and develop on it.
I'm searching as well. I heard the PearPC is very good emulator.
If you want to develop iOS apps for the latest iOS libraries, and not fight with foreign tools and unsupported app installation processes, get a cheap Mac. The OS is nearly the same between Mac OS X and iOS, which is why the development tools work best on a Mac.

Starting to learn to create iPhone apps [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
Well I'd like to create apps for the iPhone, starting out with really really basic stuff and working up, but I don't have a Mac at the moment (well I do but it's a powerPC ibook G4, which you can't develop on) and before I invest I'd like to learn how to create apps.
I also read an article in a newspaper about how a guy starting creating apps (before Apple launched the app store) on his PC for the jailbroken iphones, then when Apple launched the app store he switched to created "legal" apps. (the article said he carried on using his PC but I'm not sure that thats true).
I'd like to do a similar thing, but I don't care about releasing any app to the jail broken iphones, I just want to learn on a PC and then I can decide to sell my ibook and save up for a Mac.
But I don't want to go out buy a Mac (expensive) and then find it's to hard for me to understand and have wasted £500 or whatever.
Free Stanford iPhone Dev Course
The 10-week course, iPhone Application Programming, is a hot ticket. It begins today and videos of the classes will be posted at Stanford on iTunes U two days after each class meeting (http://itunes.stanford.edu). Copies of the slides shown in class will be available there as well.
http://news.stanford.edu/news/2009/april1/free-iphone-software-development-course-apple-040109.html
(channeling for qux who pointed this out in a comment)
My sincere recommendation is to spend some time with XCode on your current iBook, and get comfortable with some Mac development in general.
iPhone and Mac development use many similar libraries (although obviously UI is completely different), and if you're well-versed in one, getting up to speed on the other isn't tremendously difficult.
This will let you know whether to invest in an Intel-based Mac and continue onto iPhone development.
XCode should have come with your Mac on the installation discs. You'll need to use that copy, because the one at http://developer.apple.com is Intel-only.
For getting started books, I recommend Aaron Hillegass's excellent Cocoa Programming for Mac OS X 3rd Edition.
If you go with sberry2A's recommendation of a hackintosh, then you can jump right into iPhone development, and can get the dev tools from Apple. Going this route, I still recommend the Hillegass book, and then supplement that with iPhone SDK Application Development by Jonathan Zdziarski.
If you're going to be focused primarily on Games, and already are fairly comfortable with C, instead of either of the above books, go directly to iPhone Game Development by Paul Zirkle and Joe Hogue. (I'm currently working through this one.)
As far as I know, prior to iPhone SDK 3.0, the SDK's were (inofficially) compatible with PowerPC. See iPhone SDK on PowerPC?.
As you already have an iBook G4, you could as well put Xcode on it (you can get the Mac SDKs - even for PowerPC - for free from Apple). Then try to write some Mac apps, as the Mac and iPhone APIs are very similar. If you like one of them, you'll most probably be happy with the other, too.
Already asked before:
https://stackoverflow.com/questions/718401/develop-iphone-apps-on-a-non-mac-system
iPhone development on Windows
Basically, you can develop on Windows, but it's a slow pain in the ass.
See e.g. here: http://www.chemlab.org/2009/02/20/scrap-the-mac-leave-the-os and detailed guide on how to do it here: How can I develop for iPhone using a Windows development machine?