Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Jul 5, 2013, 12:58 PM   #1
T909
macrumors newbie
 
Join Date: Aug 2008
How do I create an app of my own website?

Okay, so I have already learned how to create a web browser on Xcode (by youtube tutorials) is there any tutorial how I could create an app for mac of my website?
I dont want to do it on automator or I dont want to use FluidApp.
Thank you very much to those who reply.
T909 is offline   0 Reply With Quote
Old Jul 5, 2013, 01:11 PM   #2
ArtOfWarfare
macrumors 601
 
ArtOfWarfare's Avatar
 
Join Date: Nov 2007
Send a message via Skype™ to ArtOfWarfare
Do you know C? Obj-C? Cocoa? Xcode?

I'm quite confused what you want to do. You've made a website... Why would you want to make an app version?
__________________
Battery Status - On the Mac App Store
The only app that'll estimate when your wireless devices will need their batteries changed.
Including the ones paired with other Macs on your network.
ArtOfWarfare is offline   0 Reply With Quote
Old Jul 5, 2013, 01:16 PM   #3
T909
Thread Starter
macrumors newbie
 
Join Date: Aug 2008
Quote:
Originally Posted by ArtOfWarfare View Post
Do you know C? Obj-C? Cocoa? Xcode?

I'm quite confused what you want to do. You've made a website... Why would you want to make an app version?
I've learned FreePascal and Python and a little bit C++. Now I am looking for some kind of tutorial how to do it on Cocoa if possible.

Because I want the app to bring extra features for my website.
Also, if I develop on Intel Mac will my apps run on PowerPC? (If I develop on Leopard for example)
T909 is offline   0 Reply With Quote
Old Jul 5, 2013, 01:41 PM   #4
whooleytoo
macrumors 603
 
whooleytoo's Avatar
 
Join Date: Aug 2002
Location: Cork, Ireland.
Send a message via AIM to whooleytoo
You have a LOT of learning ahead of you

Your starting point could be to add a WebView to a window in Xcode, and then how to get that WebView to load the your page. The good thing about working in Cocoa is there's a huge number of tutorials online.
__________________
Mac <- Macintosh <- McIntosh apples <- John McIntosh <- McIntosh surname <- "Mac an toshach" <- "Son of the Chief"
whooleytoo is offline   1 Reply With Quote
Old Jul 5, 2013, 02:02 PM   #5
T909
Thread Starter
macrumors newbie
 
Join Date: Aug 2008
Quote:
Originally Posted by whooleytoo View Post
You have a LOT of learning ahead of you

Your starting point could be to add a WebView to a window in Xcode, and then how to get that WebView to load the your page. The good thing about working in Cocoa is there's a huge number of tutorials online.
Any links for me?
T909 is offline   0 Reply With Quote
Old Jul 5, 2013, 03:46 PM   #6
ArtOfWarfare
macrumors 601
 
ArtOfWarfare's Avatar
 
Join Date: Nov 2007
Send a message via Skype™ to ArtOfWarfare
PPC is pretty much extinct at this point... Apple hasn't sold a PPC Mac in ~8 years... They're getting rarer by the day.

Edit: Okay I just did a bit of research on the rarity of PPC. Apple discontinued the Power Mac G5 and Xserve G5 on August 7th, 2006. Thus, they're currently classified as "Vintage", not yet "Obsolete" by Apple for another 4 weeks plus a few days (they get marked as obsolete after they've been discontinued for 7 years.)

Anyone still owning a PPC Mac beyond that will no longer be able to have it officially serviced. So they'll fail and few will be able to do anything but replace them (except those adventurous souls who'd like to try to find the parts from other failed PPC Macs are repair them...)

2 years ago (when the last of the PPC models were marked "Vintage") it was estimated that 4% of Macs still in use were PPC.

Also, my iMac is Vintage as of a few months ago... (I bought it Halloween 2007.)
__________________
Battery Status - On the Mac App Store
The only app that'll estimate when your wireless devices will need their batteries changed.
Including the ones paired with other Macs on your network.

Last edited by ArtOfWarfare; Jul 5, 2013 at 10:26 PM.
ArtOfWarfare is offline   0 Reply With Quote
Old Jul 15, 2013, 03:53 AM   #7
dan1eln1el5en
macrumors regular
 
Join Date: Jan 2012
Sounds like you should look into PhoneGap.

It's a webserver inside an App structure, made for making hybrid apps for iOS, Android and I think OS X as well.
dan1eln1el5en is offline   0 Reply With Quote
Old Jul 16, 2013, 07:56 AM   #8
r0k
macrumors 68040
 
r0k's Avatar
 
Join Date: Mar 2008
Location: Detroit
Quote:
Originally Posted by T909 View Post
Okay, so I have already learned how to create a web browser on Xcode (by youtube tutorials) is there any tutorial how I could create an app for mac of my website?
I dont want to do it on automator or I dont want to use FluidApp.
Thank you very much to those who reply.
Do you want your app to go out and fetch the latest from your web site or do you want to make a snapshot of your web site today as an app that does not need network connectivity to run? There are a LOT of apps like this for iOS including Netflix and Hulu which are essentially web portals packaged as apps. There are also text "apps" that might as well be a snapshot of what a web site looked like at a certain point in time. One such app is mactracker.

If you've created a browser in Xcode, you can simply direct it to your web site and not give the user the ability to navigate away. Done. If you want to package your web site so they can view it offline, you will need to include local copies of all your web site's resources in your app's folder and point the "browser" to those local files instead of the internet.

I'm still curious why you would want to package your web site as an app on the desktop when there are so many excellent browsers available? This sort of thing makes more sense on a mobile device where you might want to scale the user interface to make it finger-friendly.

One excellent way to make "apps" is to use html5. Everything happens in the browser and while it looks like code or flash, it's really just html. One such editor is hype. It allows you to create a web app that behaves a lot like flash. I created a home page shortcut for such an "app" on my iPhone and it looks and behaves like an iOS app, complete with animated screen transitions. Hype is not free but there is a trial version available in the OSX app store or here...

Once you have the web app behaving like you want it in a browser, simply point your xcode browser at the top level file (or your web site) and you have an app you can redistribute with static (or dynamic) content. Please remember that any html files, images and javascript files you want to distribute must be added to xcode so they will be placed in your app bundle.
__________________
-r0k
Macbook Pro (late 2011) iPad mini iPhone5
Got a scan to ftp scanner? Enable ftpd in Mavericks!
r0k is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 04:18 AM.

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

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