Create web site using Objective-c - objective-c

Today when i was reading article about APPCode IDe they had written they support CSS, Javascript & html . After this I surfed few website where i found some info about Cappuccino which is exactly like xocde IDe.
How far the objective-c supports in creating web site application, does the objective-c ends with iOS & OSx are they any frameworks which we used in creating UI for web site .

XCode IDE supports development on C, C++, Objective-C, Objective-C++, Java, AppleScript, Python and Ruby mainly. Although you can write some HTML files it is not the best choice as IDE for web development. There are plenty many outside like TextMate, Coda, or the two you mentioned APPCode and Cappuccino.
Objective-C, programming language, mainly purpose is to develop software for iOS and OSX, but there some frameworks that lets you use it for web development like GNUstepWeb or fronthkit. However it hasn't been updated since 2010, probably because of more mature frameworks like Django and Rails.

Xcode is a great IDE if you are doing iOS / Mac OS X development.
Cappuccino, as a framework (not an IDE), uses objective-j and patterns found in Apple's Cocoa framework.
For Cappuccino development, I design my user interfaces in Xcode and write in Sublime Text 2.
Apple's framework (and Cappuccino) is complex, but worth it. As a hobbyist developer, it took a while to learn.
If you are looking to make desktop quality apps for the web, I'd +1 Cappuccino.

Related

Is it possible to compile Objective-C code on a PC?

I would like to start learning Objective-C for future iOS development. I understand that there are many large hurdles in getting an iPhone app to work on a PC but I'm trying to avoid all of that and just get familiar with the Objective-C language itself without all of the added mobile features.
Is there a way to compile Objective-C programs on a PC to learn just the language without any extra iOS features?
Yes, definitely. Have a look at GNUstep - it's a framework that contains the Objective-C runtime library and most of the Foundation classes. You can learn the language very well by using this package with GCC (gobjc) and MinGW on Linux or Windows.

Can I compile Objective-C code to run across multiple platforms?

We have a codebase for a sync library written in Objective-C. In general it's only using stuff from the Foundation framework (NSArray's, NSDictionary's, NSURLConnection's etc.).
We also use some Cocoa-specific functionality in this codebase: KVO and delegation.
Is it possible to compile this codebase to other platforms, similar to how it's possible to compile C/C++ code to multiple platforms? How should I go about doing this? What tools would I need?
edit: The platforms we're mostly interested in (if possible of course): Windows, Android, BlackBerry, Windows Phone 7
Thanks in advance.
Here is a delightful article from cocoawithlove - Options for porting Objective-C/Cocoa apps to Windows. It atleast answers how to port ObjectiveC to windows.

Apple Script on iPhone

I have one Apple script and its working fine on Mac. I want to use it into iPhone application. How can I integrate to iPhone application?
Also AppleScript uses Carbon and Carbon AppleEvents, so trying to get this on a iPhone is pretty much impossible you would pretty much have to write your own AppleScript interpreter, I also would not see much point in having AppleScripts on an iPhone since the main purpose of AppleScript is to control other applications by sending the AppleEvents. Have you thought about using JavaScripts I was looking at that for a web scraping application, using Javascript meant I could update the web scraping code quickly without having to resubmit my app to Apple.
Unfortunately, you can't easily do that. This excerpt is from the latest iOS Developer Program License Agreement:
3.3.2 ... Interpreted code may only be used in an Application if all scripts, code and interpreters are packaged in the Application and not downloaded. The only exception to the foregoing is scripts and code downloaded and run by Apple's built-in WebKit framework, provided that such scripts and code do not change the primary purpose of the Application by providing features or functionality that are inconsistent with the intended and advertised purpose of the Application as submitted to the App Store.
So, in theory it is allowed, nut since AppleScript is not supported by iOS SDK, you should also package an AppleScript interpreter with your app.

Is it possible to develop using Cocoa in Windows and Linux?

I'm starting to learn Objective-C and I don't have a Mac (and I don't have plans to get one), but as I see that Cocoa is a very good framework to develop in Objective-C, I want to know: Is it possible to develop using Cocoa in Windows and Linux?
Thanks.
I think that your best bet, if you want to use Cocoa, is to get a Mac. You really won't regret it. GNUstep is a neat solution, but it is impractical to distribute applications built using GNUstep, because (as far as I know), clients must have the runtime installed for it to work.
Cocotron is an amazing project as well, and in the future, it may be useful for you if you want simple apps to run on both Mac OS and Windows. But you would still need a Mac to use it.
If you are interested in using a language like Objective-C with a framework like Cocoa, but don't want to get a Mac, why don't you try web application development with Cappuccino and Objective-J?. Objective-J is an implementation of an Objcective-C-like language in JavaScript, and Cappuccino is a really amazing imitation of the Cocoa framework in Objective-J.
Some examples of what can be created using that framework are 280 Slides and the new, stunningly beautiful EnStore. That's not a perfect solution, and unless you are content to just do web applications, you should buy a Mac.
Take a look at Cocotron
The purpose of the project is to provide an easy to use cross-platform solution for Objective-C development. In particular, source code level compatibility with recent versions of Apple's frameworks (OS X 10.4 and 10.5).
The general goal is to provide complete support on any viable platform, the project is intended to be as portable as possible. However, most of the work at this time is focused on providing support for Microsoft Windows. In particular the NT based versions, 2000 up to Vista.
You can also run Snow leopard Server inside a virtual machine, like VMWare Fusion.
Apple changed it licence in 2008 to allow that, but only with server editions. I have personally used it with some success to deploy iphone applications (Although it was admitably a bit slow).
You will need decent hardware and preferably a dedicated hard-disk drive to be able to use it properly.
And considering the cost of vmware and osx server you might be better off buying a used mac.

IDE for use on a Java-enabled smart phone?

Is there an IDE that I can load on a Blackberry, E71, or an iPhone?
Apple released iPhone SDK for XCode a while back, check out developer.apple.com and Nokia also release their own SDK check out forum.nokia.com
But for pure Java Midlet goodness, i would recommend Netbeans (netbeans.org) their netbeans mobile application editor is a gem, second to none.
To answer your question, i don't think any phone is powerful enough to compile and test the code on themselves, so no ...
Not that I know of, typically you'll develop apps on a desktop machine (PC/MAC whatever) and download/control the application on the phone. Also I don't think Java is available on a standard (non-cracked) iPhone.
There was a palm based C compiler. I had some trouble finding it though, but it's called OnBoard-C. It didn't exactly have an IDE, it compiled notes. Considering there's a lack of embedded compilers, I'd be surprised to find full embedded IDEs. Oh... I recall there being a Scheme or Lisp too.
This maybe premature but, congrats, you just found a market niche.