How do I get a new version of a xcdatamodel to appear in xcode? - core-data

Environment: xcode 3.2.1, document-based core-data application.
I have a document-based cocoa app which uses core data. I have made multiple versions of the data model Xcode shows a xcdatamodeld directory with multiple xcdatamodels (versions) that I made over time. (I also have the appropriate mapping models). All works fine, but now when I want to create a new version, xcode refuses to show the new xcdatamodel. The file is actually created; I can see it in the finder if I go into the xcdatamodeld package.
Has anyone run into this behaviour? Is there a fix? Perhaps my xcodeproj file is corrupted somehow?
Thanks,
Martin

I'll answer my own question. Believe it or not, this anomalous behaviour was caused by a bug in a Logitech scripting addition which was tickled by the fact that I am using Default Folder X!
Weird, but true.
All better now.

Related

HM NIS Edit software get's freeze

I am distributing my software by wrapping the application exe in NSIS installation wizard. I use HM NIS edit software for editing the NSIS scripts. I recently got my editor frozen when I hovered on the default functions of NSIS like 'SetCompressor', 'BrandingText' etc. This is happening only in one system regardless of user. I tried to recreate the error but failed to do so.
The error occurred on the system with windows 7 professional OS, NSIS version 2.45, HM NIS edit version 2.0.3.
I re-installed the NSIS and HM NIS edit software but still the editor gets frozen when hovered. I searched on the internet about it but found no such error. I also compared the installed files against the installed files without error but found no difference. I used beyond compare tool to compare the file. So by this I concluded that there is no file corruption.
Please help me to solve this error.
This sounds like a bug and should be reported on their bug tracker. HM NIS Edit has not been updated in over 10 years so I'm not sure if I would hold my breath waiting for a fix.
You are also using a old NSIS version! At least update to the latest v2.x. This is probably not going to fix your issue though.
The two most likely reasons for freezing are:
Bug while parsing the syntax file. Rather unlikely since it works on other systems but you could try to update the files.
Bug while displaying the tooltip. Maybe the problematic system is using a special Visual Style/Theme? Non-standard visual settings relating to shadow or animation?

Netbeans changed after UML installed

I installed and used a UML plugin found here: UML Plugin for Netbeans 7.0?
Afterword, all of my .java code associated with the UML became black and white and un-editable. Although, I can write extra text it cannot be deleted. Running my project results in "Cannot execute - java executable not found".
I deleted the UML files associated with my projects and the code hasn't returned to normal.
Thanks.
Here is a picture:
This actually occurred to all java files.
Unlike Eclipse, different versions of NetBeans are so different that plugins made for younger versions (6) DO NOT work on later versions (8) by default. You can upgrade only subversions steps (digits after dot) without changing plugins. So you have used two pieces of SW that need not be compatible at all. You used a workaround to make to work the installation. And you can get absolutely any consequences, don't be surprised.
The history of the problem: there is no free UML plugin supporting NetBeans NOW. There was one, of Visual Paradigm, for versions to 6. But it's later variants are not free anymore and they are differently organized. If you want to use the modern version of the plugin, prepare to pay. It is very probable, that the free plugin doesn't work on NetBeans 8 by purpose.
You can try a new different plugin http://plugins.netbeans.org/plugin/49069/plantuml#v2590 of another author. It seems more simple, but at least it won't destroy your IDE. And now you have to save the project, reinstall NetBEans and import the project again.

Using Xamarin Storyboard Editor to edit XIBs

Just wanted to know if it is possible to open regular XIB files from new Xamarin's storyboard editor? Switching back and forth between Xamarin and Xcode is a bit inconvenient, and the new editor looks really nice; however, Storyboards have a few drawbacks and it is a pain to use them for our projects.
Any ideas re availability of this?
The plan is to add support for editing .sib files in future versions of Xamarin Studio.This will likely not happen in time for the first release with the iOS Designer (i.e. version 4.2), but I think it would be reasonable to expect that version 4.4 will have support for editing .xib files.
As of right now, no. I think it might be because of the complexity of the underlying XML but I'm not 100% sure. You can always create or upvote it on uservoice: http://xamarin.uservoice.com/forums/144858-xamarin-suggestions/suggestions/2700302-a-monotouch-xib-editor.
Using stand-along Xib files is now available, you can learn how to do it here -
Using Xamarin Storyboard Editor to edit XIBs

Getting started with Xcode 4.2

I have recently got a Mac and I have downloaded Xcode 4.2 from the store. I am trying to get to grips with iPhone development but I am having real troubles. All the tutorials I seem to find online, when they create a project, they had a resources folder, and inside that there is xib file which allows them to use an interface builder.
This does not appear on 4.2, so makes it kinda hard to follow majority of tutorials have the resources folder. How do I get this back? Or how do I access this file on 4.2?
Also, I could someone explain to me where the objects list is? I started following this tutorial
http://maybelost.com/2011/10/tutorial-storyboard-in-xcode-4-2-with-navigation-controller-and-tabbar-controller-part1/
as it seemed to be using Xcode 4.2, but when I get down to the storyboard section, it says
"Of course, we really want another tab on there so we can see the switching between the two – so lets drag in another Navigation Controller from the Utilities (objects) list and plonk it down somewhere. "
Except I cannot find this objects list? How do I open this objects list? What am I missing?
Sorry if these questions seem very basic, I am new to both Macs and iPhones. Android development seems a HELL of a lot easier from what I can see so far.
Thanks in advance for any help.
Also would be grateful if anyone could point in direction of any good up to date tutorials
I have a post on http://www.armandvanderwalt.co.za it will give you a nice understanding of how most stuff fits together, I don't use Interface Builder at all since it only makes the app bigger. Have a look at my blog post, still need to do styling, and add more posts but it is a nice beginner guide.
Most posts you are finding still use XCode 3 that's why you can't find certain things.
Also have a look at http://www.raywenderlich.com
What they are referring to as the object list, in XCode 4 it is found in the bottom right corner of Interface Builder. In XCode 4 Interface Builder is part of XCode and no longer an external application. Therefore when ever you open a XIB file Interface Builder also automatically opens

How do I backup my C++ Builder component installation?

I finally have my C++ Builder 2010 installation the way I want it, with all my components upgraded and installed. (touch wood)
I have been working with C++builder since version 1 and I know from countless previous traumatic experiences that this state of affairs could change in an instant. I would like to backup the installation and component set.
Is there a way to do this? A tool perhaps? A menu command that I have maybe missed all these years? I don't want to have to reinstall all the components from the bpl source again.
I make nightly backup images of my entire drive, I would like to do this for c++builder only if possible.
If it's a matter of simply copying files, which files would I need to copy? Are there entries in the registry that would need to be restored?
Thanks in advance for any thoughts and suggestions
The HKCU\Software\CodeGear\BDS\7.0\ registry section contains the "known packages" subtree that contains which components you have installed. reg export/import should save you some trouble.
You'll also want to backup/restore the actual files referenced there as well.
It has been a while since I used C++ Builder, but I will make two suggestions...
1) run regedit and looks for "builder". You will probably find a hive like hk_local_machine/software/codegear or such. Export that and you can import it later
2) have a look at GExperts - is they don't have the exact solution, they still have some pretty useful (and free) tools

Resources