Go Back   MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Feb 4, 2013, 11:47 AM   #1
msaljaber
macrumors newbie
 
Join Date: Feb 2013
iOS Apps : HTML5 vs Objective-C?

Hello, world!

I'm glad of thinking of being an iPhone developer, but I have some fire-queries, hope you turn it off;

I know how to code in JavaSciprt, HTML5, CSS3, so:

1- Can I make an iPhone app using that languages?

2- If yes: can I use Python with MySQL as server-side languages?

3- How much time it needs to learn Objective-C and iOS SDK from zero to professional?

4- Is there a difference in quality between making apps using Objective-C and other languages?

5- How did Evernote make their app's UI? I've noticed a very different UI form the old version!

As you can see here: http://d.pr/i/I67O
Actually, I've noticed a huge difference in UIs last year! What happend? Is it HTML5 techs? or new GUI in Xcode?

Thanks in advance!

Last edited by dejo; Feb 4, 2013 at 12:19 PM. Reason: Fixed formatting.
msaljaber is offline   0 Reply With Quote
Old Feb 4, 2013, 12:08 PM   #2
robbieduncan
Moderator
 
robbieduncan's Avatar
 
Join Date: Jul 2002
Location: London
1. Not really. You can use a UIWebView to host an app written in these languages but it will always feel like what it is: a hosted web app. People have tried this approach in the past and it always feels somewhat non-native

2. Your server side is irrelevant: you can use anything you like regardless of front-end technology

3. How long is a piece of string? Anything from a month or two up.

4. If you want to write a native app that feels native you have to use Objective-C.

5. I believe it is lots of custom views written using native code.
robbieduncan is offline   0 Reply With Quote
Old Feb 4, 2013, 03:56 PM   #3
MattInOz
macrumors 68030
 
MattInOz's Avatar
 
Join Date: Jan 2006
Location: Sydney
If it's iOS6 only upgrade or interface it could be a UICollectionView with a custom layout.
__________________
There is no such thing as "Collective Wisdom"
[ iPhone 5s, iPad Mini, 13" MacBookPro 2.7Ghz, 27"Al iMac i7, Black MacBook 13"]
MattInOz is offline   0 Reply With Quote
Old Feb 4, 2013, 05:22 PM   #4
firewood
macrumors 603
 
Join Date: Jul 2003
Location: Silicon Valley
You can wrap some Javascript for a UIWebview in a few pages or less of Objective C wrapper code and make an app for the App store. There are many apps in the App store constructed like this. However, Apple has been rejecting more and more of these types of apps lately, unless the app does something more than a web site can.

Professional C programmers have been reported to come up to speed in Objective C around in somewhere on the order of 2 months. Javascript programmers may require more time to learn some lower level coding concepts (threads, typing rules, memory constraints, etc.). The entire set of Cocoa Touch and iOS frameworks can take years to fully comprehend.

Facebook switched from using HTML5 to coding in Objective C for app performance and user experience quality. Their experience is not unique.
firewood is offline   0 Reply With Quote
Old Feb 5, 2013, 09:05 AM   #5
CheesePuff
macrumors 6502
 
Join Date: Sep 2008
Location: Rochester, NY
You can use PhoneGap (Cordova) to make a native iOS app with use HTML and JavaScript.

http://phonegap.com
CheesePuff is offline   0 Reply With Quote
Old Feb 5, 2013, 10:26 AM   #6
dejo
Moderator
 
dejo's Avatar
 
Join Date: Sep 2004
Location: The Centennial State
Quote:
Originally Posted by CheesePuff View Post
You can use PhoneGap (Cordova) to make a native iOS app with use HTML and JavaScript.

http://phonegap.com
I don't believe those are truly native apps.

From their FAQ:
Quote:
A PhoneGap application may only use HTML, CSS, and JavaScript.
__________________
dejo is offline   0 Reply With Quote
Old Feb 5, 2013, 11:55 AM   #7
TouchMint.com
macrumors 65816
 
TouchMint.com's Avatar
 
Join Date: May 2012
Location: Phoenix
Took me about 3-4 months and 2 reads through an objective c book by stephen kochan. I was no means a pro but able to put my first app out.

I did have some exp in vb and java tho.
__________________
TouchMint.com iOS App Site
Adventure To Fate iOS RPG Game Site
Indie iOS Game: Adventure To Fate : A Quest To The Core JRPG

TouchMint.com is offline   0 Reply With Quote
Old Feb 5, 2013, 11:05 PM   #8
Kashsystems
macrumors 6502
 
Join Date: Jul 2012
Problem with HTML apps is they still feel like HTML apps. The main reason to use HTML app is you want write a single app that you can push across Android, IOS, and Windows.

The problem is they still don't feel quick right and even using frameworks to work, they still do not feel right.

That is up to you though and your own personal tastes.

One of the biggest examples I can give is how Facebook made leaps and bounds improvements in responsiveness and reliability in their IOS app by switching From HTML to objective c base programming.

Last edited by Kashsystems; Feb 6, 2013 at 09:55 AM.
Kashsystems is offline   0 Reply With Quote
Old Feb 6, 2013, 12:11 AM   #9
msaljaber
Thread Starter
macrumors newbie
 
Join Date: Feb 2013
Thank you all

Is Objective-C really hard language to learn? -as 'they' said-?
I have some ideas, wanna bring them to life, also, I have 6 hours free-time to learn how to break a rock!

Any advices?
msaljaber is offline   0 Reply With Quote
Old Feb 6, 2013, 04:54 AM   #10
robbieduncan
Moderator
 
robbieduncan's Avatar
 
Join Date: Jul 2002
Location: London
Quote:
Originally Posted by msaljaber View Post
Thank you all

Is Objective-C really hard language to learn? -as 'they' said-?
I have some ideas, wanna bring them to life, also, I have 6 hours free-time to learn how to break a rock!

Any advices?
6 hours total? 6 hours a day? Given your foundation I don't see it as a possible in 6 hours total...
robbieduncan is offline   0 Reply With Quote
Old Feb 6, 2013, 08:58 AM   #11
msaljaber
Thread Starter
macrumors newbie
 
Join Date: Feb 2013
Quote:
Originally Posted by robbieduncan View Post
6 hours total? 6 hours a day? Given your foundation I don't see it as a possible in 6 hours total...
Oops! sorry, 6 hours a day
msaljaber is offline   0 Reply With Quote
Old Feb 6, 2013, 09:14 AM   #12
robbieduncan
Moderator
 
robbieduncan's Avatar
 
Join Date: Jul 2002
Location: London
Quote:
Originally Posted by msaljaber View Post
Oops! sorry, 6 hours a day
Then, depending on lots of factors, it could take a few months. You will need to ensure you are comfortable with object-oriented design patterns and the general Cocoa patterns in use as well as the syntax of the language.
robbieduncan is offline   0 Reply With Quote
Old Feb 7, 2013, 08:51 PM   #13
anoobis
macrumors member
 
Join Date: Jul 2012
Check out Titanium: http://www.appcelerator.com/platform/titanium-platform/

Apple's Objective C is kind of cumbersome. It's a pain, honestly.

Concatenate two strings: http://stackoverflow.com/questions/5...tenate-strings

Using 'self' in blocks needs workarounds like weakSelf. Multiple ways to do iVars some of which accomplish the same exact thing. Constant deprecation of methods. Constant changes to ways you do something in XCode yet the documentation is not updated to match. NSInternalConsistencyException when developing with a changing Core Data model (prevents app from starting).

ObjC in general is not as elegant a language as others. There's not really support for 'protected' access, for example. It's fake. There's no true private access either. No support for abstract methods. Things like that.

XCode is not a very good IDE. I use AppCode and XCode since AppCode's editing capabilities are far superior (like auto suggest), imo, but AppCode is missing some functionality that XCode has e.g. Interface Builder. But, then again, Interface Builder is pretty buggy - in its interactions and also in the resulting 'model' it outputs. Weird stuff happens. Doing the same thing programmatically fixes the issue most times.

Just a FYI for when/if you get into it. I make a living using it and it's not terrible. Just a lot that annoys me compared to when I develop in other languages/environments. Don't be discouraged if you're finding yourself constantly asking yourself "WTF?!"
__________________
2.0 MBA : 2.2 15" MBP : iP6+ : iP5: iP4s : Note 3 : Nexus 4: Galaxy S2

Last edited by anoobis; Feb 7, 2013 at 09:09 PM.
anoobis is offline   1 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
HTML5 (Adobe Captivate) to IOS app? mollymonster Web Design and Development 0 Oct 15, 2013 06:19 AM
iOS 7- Making html5 devs second-class citizens? cleo1 iOS 7 5 Jul 26, 2013 05:13 PM
Resolved: iOS, Objective-C Declaring Variable to entire Class. resetme iPhone/iPad Programming 3 Dec 17, 2012 04:40 PM
Facebook Abandoning HTML5 to Speed Up iOS App MacRumors iOS Blog Discussion 112 Oct 16, 2012 01:16 AM

Forum Jump

All times are GMT -5. The time now is 11:15 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC