简体   繁体   English

Dashcode项目在Xcode中打开问题

[英]Dashcode project opening in xcode problem

如果我们使Dashcode应用程序在Xcode中打开,那么我们是否在构建本机应用程序。

Dashcode is an IDE, a tool or set of tools for developing Mac Widgets, web based iPxxx applications and Webkit based Web applications. Dashcode是一个IDE,一个或一组工具,用于开发Mac Widget,基于Web的iPxxx应用程序和基于Webkit的Web应用程序。 In Dashcode JavaScript, CSS and HTML are used to develop these applications. 在Dashcode JavaScript中,CSS和HTML用于开发这些应用程序。

XCode is an IDE for developing native Mac applications and iPxxx applications usually but not exclusively with Objective-c and an interface builder for the graphical elements. XCode是一个IDE,通常用于开发本机Mac应用程序和iPxxx应用程序,但不仅限于Objective-c和图形元素的界面生成器。

A Dashcode project is in reality a set of file in a folder, but the Mac Finder makes it look like a bundle. 实际上,Dashcode项目是文件夹中的一组文件,但是Mac Finder使它看起来像一个文件包。 If you right click the project and click on open project you will just see all the files in the project. 如果右键单击项目,然后单击打开的项目,您将只看到项目中的所有文件。

Opening the Dashcode project in XCode doesn't do anything, i just tried it, but even if you did XCode will not perform an magical transformation and turn JS/CSS/HTML into Objective-C and therefore it will not turn it into what i think you mean by native app. 在XCode中打开Dashcode项目不会做任何事情,我只是尝试了一下,但是即使您执行了XCode也不会执行神奇的转换并将JS / CSS / HTML转换为Objective-C,因此它不会将其转换为以为您是指本机应用程序。 To do that you will need to learn Objexctive-C cocoa and the XCode programming tools and interface. 为此,您将需要学习Objexctive-C可可以及XCode编程工具和界面。

In answer to oyur added comment not it will not change any code. 为了回应oyur添加的注释,它不会更改任何代码。

I think you want to know: can we treat a DashCode app as native app, and run on simulator and/or real iOS devices. 我想您想知道:我们能否将DashCode应用程序视为本机应用程序,并在模拟器和/或真实的iOS设备上运行。

From my point of view, the answer is: YES 在我看来,答案是:是的

I think what you asked can be answered using here . 我认为您的要求可以在这里得到解答。

If I am not mistaken a little more input towards this may be nice. 如果我没有记错的话,对此可能会有所帮助。 If you use PhoneGap in Xcode then you can make your web app a native app with very little effort. 如果您在Xcode中使用PhoneGap,则只需花费很少的精力就可以使Web应用程序成为本机应用程序。 I found that porting my skills from mobile web development to Xcode was something I didn't have the time to put out upfront so to get my app out there right away, PhoneGap was my answer. 我发现将我的技能从移动Web开发移植到Xcode是我没有时间提前提出的东西,所以要立即将我的应用程序发布出来,PhoneGap是我的答案。 I hope this helps, but do know that it is not going to be as efficient of an app built this way. 希望对您有所帮助,但请注意,使用这种方式构建的应用程序效率不高。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM