How to add frameworks to Xcode 7? - xcode7

I'm unable to find and add AVFoundation framework and other frameworks in Xcode 7 beta like we were able to do on Xcode 6.
How can I add AVFoundation to the project, in Xcode 7 (beta)?

On the left column, select your project. There is an icon/button with your project's name in the right pane. Click the UpDown icon and change from Project to Target. Then go to the General tab, scroll down to the Frameworks section and add/remove Frameworks.

Apple added a new feature called module which is semantic to import. It's kind of a better implementation of the pre-compiled headers.
Modules are a packaging together of the framework executable and it's headers.
One of the big advantages of using #import is that you don't need to add the framework in the project settings, it's done automatically.
Add any framework like below,

Click on your project icon, then under TARGETS select Tests, then select Build Phases, select Link Binary With Libraries, add the framework you need.

Related

Get Monodevelop to use the downloaded GtkSharp

I installed the GtkSharp 3.22.24.36 package via Project > Add NuGet Packages..., which completed successfully. But now Monodevelop can't decide which version of GtkSharp to use (3.22.24.36 or the in-built one, 2.12).
If I uncheck gtk-sharp in the Edit references... dialog, it tells me that I can't use the UI designer without it.
How do I get Monodevelop to use the downloaded GtkSharp (3.22)?
MonoDevelop comes with a custom version of Gtk2 + Xwt bundled. If you plan to use Gtk3, then the designer must be deactivated, since it won't work with Gtk3.
My advice, anyway, no matter which toolkit you use, is to avoid using the designer. As soon as you involve the designer, you code heavily depends on the IDE you use (Visual Studio, MonoDevelop, NetBeans... you name it).
Creating user interfaces "by hand" is no longer traumatic as it was in the 90's with the Windows API. For example, you can find a very good Gtk# tutorial in ZetCode.
User Interface Toolkits are actually very similar, they change the name of widgets and sometimes provide a slightly different layout, but they are all mostly the same, no matter it is WinForms or Gtk(for C#), Swing (Java), or Qt (C++ and others).
I know its an older question but things changed. Abandon MonoDevelop, just use the .NET Standard bound implementation of GtkSharp. You can then literally design interface using glade xml files, using official Glade application from GTK+. You can find it here.
With the current push from MS to abandon Framework in favor of Core, we finally succumbed when we figured out they will kill Framework (which they just did with .NET 5 announcement), but we also used the opportunity to investigate other options for our ports of LoBs to core. We discovered GtkSharp as WinForms replacement and AvaloniaUI as WPF replacement, which not only work perfectly but also truly work cross-platform. We ported several applications already and actually moved more then half of business work stations from Windows to Linux.

Coming from a Flash Builder background, how can I import a library into IntelliJ IDEA?

the only IDE I've used for many years was Flash Builder. Sadly the 4.7 version is in a poor state, so, I started looking at other IDE's lately.
I'm trying IDEA, but I don't know how to add a library to my project.
In FB it was simple, I go to the compiler settings and I just add a folder or swc. But here, it seems like there are 2 options, one under the "Libraries" tab and other is creating a new module, however, this new module requires a main app, SDK, and a lot of other stuff that doesn't make any sense to have in a library.
So, what is the equivalent of adding a library path here?.
Thanks.
"Libraries" is the correct way to do it. There are two kinds of libraries: libraries and global libraries. Global libraries can configured once and used in every project. Libraries are configured for each project. See http://www.jetbrains.com/idea/webhelp/configuring-project-and-global-libraries.html

Is there a way to setup a Netbeans HTML5 and Web application project?

The new Netbeans 7.3 Beta 2 adds a really nice feature for creating an HTML5 application. It also provides a great way to create a Java Server based Web Application. But there does not appear to be any way, within the Netbeans IDE, to take advantage of both technologies in one project.
Is there a way combine these two type of projects, so there is only one web directory structure with both the HMTL5, js, and web services files?
This is definitely planned for the next release, but it is not yet possible in NetBeans 7.3. You can follow this enhancement request to see progress in this area: http://netbeans.org/bugzilla/show_bug.cgi?id=222236. If you'd like to experiment with this, you can build NetBeans with the patch attached to that issue.

Using an IDE to develop OpenSplice DDS applications

I keep trying to configure Open Splice on the Eclipse platform but I'm not making any progress. I use the Open Splice DDS in the Java Standalone mode. The Eclipse platform I work on is the Eclipse edition for Java EE developers (Helios).
The problem is: when I try to create a run configuration I need to select an application type from the left hand side menu. It seems that none of the available application types can be used to create a working run configuration for a batch file. I want to be able to start, stop, and open splice from inside Eclipse as well as to run the preprocessor and my applications without having to use a cmd console. I'm new to both Eclipse and OpenSplice and any help would be really important to me.
Thanks in advance.
If you are developing Java applications can now use OpenSplice Mobile which is a pure Java DDS implementation for j2se and Android.
OpenSplice Mobile comes with a mvn build system that can be easily used to create eclipse project (or simply imported into eclipse or IntelliJ).
You can find some examples at:
https://github.com/kydos/mobile-dds-demo
And get OpenSplice Mobile at:
http://www.prismtech.com/opensplice/software-downloads
A+
The problem is: when I try to create a run configuration I need to
select an application type from the left hand side menu. It seems that
none of the available application types can be used to create a
working run configuration for a batch file.
This explanation assumes you are in the Java perspective. Other perspectives will be very similar or the same.
Do not use the Run Configurations dialog box. In stead, select Run in the menu, which will show External Tools as its bottom item, which has a sub-item External Tools Configurations.... Clicking that will display a dialog box showing a list of possible configuration types on the left-hand side. Select the type Program, followed by clicking the New Launch Configuration icon on the top-left of your list. On the right-hand side, a number of edit boxes will appear allowing you to change the name of this launch configuration (which you can set to something like ospl start) set the launch command (like ospl.bat to be selected via Browse...), its arguments (like start) and several others like working directory and environment variables.
Click apply when done. From now on, the ospl start command can be run via the Run menu item, External Tools and then ospl start. Make this a favorite so it will be moved up in the menu to decrease the number of clicks.
The process can be repeated for any number of applications you want to start.

How to share (e.g "open source") my PhoneGap based application?

I have a PhoneGap based application, written in html upon the Sencha Touch platform, and directed at for iPhone and Android devices.
I want to share my projects, and make it open source.
The thing is, I am using many different components in my application, which are already an open source project by themselves (Sencha Touch via the GPLv3 license, PhoneGap, various Phonegap plugins). I don't want to re-package these resources because I want to be able to easily update these components in my application, when they update.
One way to do it would be to include only my original code (html) and have instructions (Text file) that explains which version of which framework (PhoneGap, Sencah Touch, Plugins) to use with the code. That would be painful for anybody wanting to run the application.
Any ideas on how to share in a friendlier manner?
I'd recommend open sourcing the full working app (if the licensing allows.) That way, other adopters and contributors are much more likely to start with something that works.
They then have the option to update the components if they like. You could provide instructions about how to do that.
For you, it shouldn't be extra work to update the components. There are just more files to include when you push to the open source repository.
Here is a PhoneGap, jQuery Mobile, Android project I open sourced recently.