Hi Brian,

The only thing I can think of is that perhaps your classes don't have a
[Register] attribute on them (should be in the .designer.cs files)?

Jeff

On Fri, Nov 18, 2011 at 9:40 AM, Brian Schuth <[email protected]> wrote:

> I'm gathering no one else is experiencing this problem, but in the
> interest of helping those who might come after me, some more information:
>
> The problem does not appear to reside in the csproj or sln files; I am
> able to add a new view controller to the project whose previous view
> controllers won't edit in xcode, and the new one works correctly.
>
> I've been looking at the contents of the xib file, to see if that might
> contain some hint or other to MT to generate the necessary *.h and *.m
> files. There were a couple of tags at the top that contained versioning
> information I thought MT might use, and that were different in the new
> controller I added. The first:
>
> <archive type="com.apple.InterfaceBuilder3.CocoaTouch.iPad.XIB"
> version="8.00">
>
> (I changed the version from "7.10" to "8.00" -- no difference in
> behavior); and the second:
>
> <int key="IBDocument.SystemTarget">1280</int>
>
> (changed from 768 to 1280, again no difference in behavior).
>
> It appears naming conventions have changed at some point; my old
> controllers have three files associated with them: MyController.xib,
> MyController.xib.cs, and MyController.xib.designer.cs. The new controllers
> do not include the xib in the cs names, i.e. the files are
> MyController.xib, MyController.cs, and MyController.designer.cs. I may be
> looking in all the wrong places, but I think I've exhausted the obvious
> places where the pre xcode 4 files are different and might be confusing MT.
>
> Any help is appreciated. And for those of you that shun IB/Xcode
> altogether, I grant you your point.
>
> bjs
>
> On Thu, Nov 17, 2011 at 3:19 PM, Brian Schuth <[email protected]> wrote:
>
>> OK, so examining things a little more closely, I see that in a new MT
>> project, double-clicking on a xib causes MT to make a little sandbox with a
>> copy of your xib and the MT-generated *.h and *.m files Xcode will want to
>> use -- the sandbox is in obj/Xcode/0 directory.
>>
>> When I double-click on a xib in my converted project, no such parallel
>> copy is made. I thought maybe this was because they resided in a directory
>> off the main directory, but this is not a problem in a new project.
>>
>> What bit needs to be flipped to make MT know to do this? I did a quick
>> look at the .csproj and don't see much there. I'm stuck with a bunch of UI
>> changes and no good way to make them...
>>
>> bjs
>>
>>
>> On Thu, Nov 17, 2011 at 12:47 PM, Brian Schuth <[email protected]> wrote:
>>
>>> Just moved my MT stack over to the newest latest and greatest stable
>>> versions. Learned how to do outlets in XCode 4 on a new project, no problem.
>>>
>>> But when I open my main application solution, which I've been working on
>>> since June, was it supposed to convert and create .h files for all my xibs?
>>> I did get a conversion message, but there are no .h files anywhere (at
>>> least I haven't found them yet), and so when I open my old xibs there's no
>>> place to drag my new outlets to.
>>>
>>> Am I missing something? The solution contains a lot of support libraries
>>> as well as two iPad projects. Might I be confusing the converter?
>>>
>>> Thanks. bjs
>>>
>>> --
>>> Brian Schuth
>>> ALPHCE, Inc.
>>> Eastport, ME
>>> +1 207 370 2430
>>> [email protected]
>>>
>>>
>>
>>
>> --
>> Brian Schuth
>> ALPHCE, Inc.
>> Eastport, ME
>> +1 207 370 2430
>> [email protected]
>>
>>
>
>
> --
> Brian Schuth
> ALPHCE, Inc.
> Eastport, ME
> +1 207 370 2430
> [email protected]
>
>
> _______________________________________________
> MonoTouch mailing list
> [email protected]
> http://lists.ximian.com/mailman/listinfo/monotouch
>
>
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to