MonoTouch - Images in interface builder [?] feedback needed - xcode4

I know from past experience that when I add an image to interface builder, I will see a [?] during preview, and it will look OK at execution. Has there been any work around for this, or does anyone know if the new alpha version that uses xCode 4 fixed this?
I need to port a WPF application over that uses tons of images and it will be extremely challenging doing this without images to actually look at.
I appreciate any feedback
Anthony G

MonoDevelop 2.8 Alpha 1's Xcode 4 support should solve this. Content files from the MonoDevelop project appear as resources in the Xcode project, and therefore can be accessed by Xcode 4's Interface Builder.

Related

ColdFusion - I'm not familiar with this application

My boss passed away suddenly, leaving behind little in notes and information and didn't share much with me while I worked with him. He'd been here for 29 years and so took a lot of information with him.
One of the items he had here is a ColdFusion server v9 and a lot of apps that he had written that our users rely on. He loved to write code, 5 different languages I've found so far, me not so much, I know a little. My question is......to keep his apps going ,until I can find replacements for them, is there a web content editing software to go with a ColdFusion server or am I just going to have to pull the plug on his apps when they break?
I found an Adobe Flex Builder 2 CD and an Adobe Creative Suite 3 Web Standard CD. Of any value to me? Looks like they are old versions. With 250 users and equipment, network, etc to take care of I'm a little busy. Any information on this is greatly appreciated.
CFML code (.cfm, and .cfc files) can be edited in any text editor including Notepad. Adobe has an official IDE called ColdFusion Builder. A lot of developers simply use Sublime Text or even Dreamweaver.
CFML is compiled by a just-in-time compiler so you just need to edit the code and then you can refresh the page. If you don't have a dev server, you can install CF locally with a copy of the code on your PC.
I would recommend your company hire someone (or another company) with experience in CF to help you manage the code.
I suggest brackets.io. It has a coldfusion plugin so does code hinting. this is extremely helpful if you don't have too much knowledge of the language.
I'm using Flash Builder 4.6 for Coldfusion 9,10 and Flex MX . If I'm not wrong, you will be needing it to develop Flex/Coldfusion solutions. So your Adobe Flex Builder 2 CD might be handy if you have to support those kind of applications.

How to update Flex SDK in Flash Builder 4.6

As an owner of Flash Builder 4.6 I'm struggling with 2 problems in my web application:
XML parsing makes the whole application sluggish
Russian input in TextInput doesn't work with Opera
I wonder, if there is a new Flex SDK available for download, where some fixes might have been integrated since the Flash Builder 4.6 release several months ago.
So I have downloaded the "Flex SDK version 4.6.0.23201 is the latest production quality release" and installed it:
However this seems to be a version, which differs very little from the stock Flex SDK included with Flash Builder 4.6 originally.
My questions is: is there some good (i.e. fresh, but also tested/stable) source for Flex SDK, which would be suitable for Flash Builder 4.6?
Maybe I can check out the source from some repository and build it myself (how, please?).
Does Apache offer anything, since they are the new owners?
UPDATE:
I've checked out Apache's Flex with
svn co https://svn.apache.org/repos/asf/incubator/flex/trunk flex
(and have yet to figure out, how to build it) - isn't it newer and better?
is there some good (i.e. fresh, but also tested/stable) source for
Flex SDK, which would be suitable for Flash Builder 4.6?
Yes, that would be Adobe. I am not aware of any updates to Flex 4.6 since it's release late last November. It's only been three months. I believe the bulk of Adobe's work around Flex has been getting legal approval to submit Flex to Apache. They are getting that slowly.
You can download the source for the Adobe Flex SDK from opensource.adobe.com. Read this for info on getting the source from the Adobe SVN repository.
Does Apache offer anything, since they are the new owners?
The Apache project is still formally waiting for donations from Adobe, including their testing suite. But, some code is submitted from Adobe. A few people have submitted some new components, and there has been work done around localization. The Apache project does not have a formal release yet.
You should be able to get the Apache Source from SVN as an anonymous user. The trunk includes the framework dump from Adobe; but I haven't delved in myself. I know people have successfully built the Flex SDK from the Apache trunk. Here are some instructions on how to do it with IntelliJ
I should add that I'm not sure if updating the SDK will solve any XML parsing issues you have. But, it's tough to say for sure since you went into no details on what those issues are. My mobile game uses a 30K line, 1MB XML file for the level definitions and it has no problems parsing it effeciently.
Flex SDK sources
You can find the latest source code through the Flex Apache incubator page and use Subversion to check it out. However since the migration of the Flex SDK from Adobe to the Apache foundation is still very much in progress, I sincerely doubt that there would already be significant changes that would fix your issues.
The actual issues
XML parsing makes the whole application sluggish
XML parsing is a pure ActionScript matter and has nothing to do with Flex. It is closely related to how the Flash VM works, which is still closed property of Adobe. I don't think it is subject to change any time soon, mostly because I've heard very little complaints about its performance and the E4X language is one of the most powerfull around. If you're having performance issues better have a look at your architecture or work with AS model objects instead of XML.
Russian input in TextInput doesn't work with Opera
This is either related to the Flash VM (see above) or to the Text Layout Framework, which is "open-source", but still in the hands of Adobe. Whether it should also be contributed to Apache Flex is still being discussed. In both cases very little will change in the short future, so I think you'll have to try another approach.
Are you sure it has anything to do with the SDK? If the problem of cyrillic chars exists only in Opera - then it's more like a problem of Opera and its Flash-plugin.
This is what you get with Flex SDK 4.5 and Opera 11.61:
There might be another problem if you're using some font that doesn't have the cyrillic char subset (e.g. not using the default font). But if that were it, it would affect all browsers, not just Opera.
привет землякам!

embed air in flex mobile application?

I'm quite new to developing in Flex. I've found out that it's possible to create mobile applications with Flex 4.5. So far so good, I've made an app and it's working well on my mobile phone. But there is one thing that I'm not very happy with. When I'm installing the app I also have to install Adobe Air (stand alone application). So is not realy cool and not the way to go in my opinion because this will look strange to the users of the app. And especially the users which aren't realy 'geek minded'.
Any solutions to this? Is it possible to include or embed Air in the app? It will make the filesize of the app bigger but that's a much smaller problem then having to install a complete different app next to the real app.
All the best from NL.
This feature is called Captive Runtime and was introduced in AIR 3.
To use it today, you'll have to overlay the AIR 3 SDK onto the Flex Framework of your choice (I suggest 4.5.1). Then you'll have to use command line tools to compile your app using captive runtime.
This will most likely be a lot easier when Flash Builder 4.6 rolls around.
More information

Recent Step-by-Step for ActionScript / Flex / AIR with TextMate?

i apologize if this post is redundant.
i'm searching unsuccessfully for recent, step-by-step instructions on how to set up ActionScript 3, Flex 4.5 and AIR 2.6 with TextMate on Mac OS X.
i've found several posts concerning required bundles, but most of the threads are a few years old in addition to having convoluted, sparse instructions for setting up.
it seems that auto-complete and .swc files are supported, which is great. in addition to instructions i'm also very interested in learning about what isn't supported and other common pitfalls.
i've been familiarizing myself with TextMate's UI and it's amazing. i would much rather use it than Flash Builder / Eclipse, or even Flash Professional.
one last question - i understand that it's possible to set up our own keyboard shortcuts to compile with MXMLC and write the .swf to disk. is it possible to have the .swf auto open in Flash Player Debugger after it is compiled. essentially, i'd like to continue using Command+Enter shortcut for testing movies in Flash Professional to build and launch since i would certain have a difficult time adjusting to new muscle memory.
thanks.
Grab the Flex 4 SDK, its documentation and the Flex 3 documentation.
Grab the latest actionscript3.tmbundle and install it.
Hit help and read the help, it explains where to put what and how to configure your environment.
For some reason I can't make it work with the Flex 4 documentation but the Flex 3 one works. YMMV.
Even after all of this, TextMate — with all its sexyness — will still be very inferior to Flash Develop: the autocomplete part is very "alpha" and is not "auto" at all, for example.
For the debugging part, I just open the .html with Safari and read the debugging information written to ~/Library/Preferences/Macromedia/Flash\ Player/Logs/flashlog.txt either in the Terminal or in Console.app.
Good luck and feel free to ask for any clarifications.

Any reason I shouldn't upgrade to Xcode 4?

Any issues? Does it replace 3.2? Appreciate the help/insight.
As long as Xcode 4 is a developer preview instead of a supported release, you are taking a big risk if you depend on Xcode for your livelihood. If you are interested only in hobby work, then the only thing you have to loose is a little hair (yes, there are several outstanding issues in preview 3). Once Xcode 4 is released, I think it provides many compelling features and I will happily move my development efforts over to the new version. Unlike Windows/Visual Studio, Xcode releases are not tied to operating system or library versions, and the Xcode team has made it so that versions 3 and 4 play very well together. So you can use either Xcode 3.x or Xcode 4 interchangeably.
Plain and simple: Because it's a Developer Preview! :)
(and personally: still crashes a lot on my machine)
And correct me if I'm wrong, but XCode4 still lacks several features.
Some basic features are also still not working as expected. When you write for Code Sense will suggest a long list for keywords. But the for-loop is still missing from the list. I am sure we all know how to write such a loop but for a beginner it still would be useful as it is in Xcode 3.2
I've found XCode 4 to be stable enough for daily work as of the DP5 release, and Apple is actually encouraging this now.
When (and you will) you run across things that don't work, or XCode crashes, just switch back to XCode 3.2 and work past the issue. The project file format is compatible so this isn't an issue at all.
Overall, XCode 4 is shaping up to be an awesome tool.
If you have a Core 2 Duo or earlier, DO NOT UPGRADE. Xcode 4 is a great tool with many wonderful additions, but slower Mac's can't handle it. You'll often find yourself typing then waiting for the editor to catch up.

Resources