So, as it turns out, when I went to start “cleaning things up”, things started
to get ugly again. In the end, given some other small design changes and the
crazy amounts of time this was sucking up, I ended up just ripping it all out
and going with straight-up classes and just subclassing and d
> On 4 Dec 2015, at 16:07, Stevo Brock wrote:
>
> This seems to do the trick.
>
> I wasn’t able to just do ABC.class, as the “.class” wasn’t registered as
> valid.
>
> What I ended up with was a static method on the class, and calling the static
> method, and voilà! Everything is working.
>
This seems to do the trick.
I wasn’t able to just do ABC.class, as the “.class” wasn’t registered as valid.
What I ended up with was a static method on the class, and calling the static
method, and voilà! Everything is working.
So now to clean things up…
Thanks guys so much for your help.
-
I think the trick with all these ideas is that IB will just remove the <…> when
it good and well pleases and then you’re back to square one.
-Stevo Brock
Owner
Sunset Magicwerks, LLC
www.sunsetmagicwerks.com
@SunsetMagicwrks
818-478-9758
> On Dec 3, 2015, at 11:44 PM, Quincey Morris
> wr
> On 4 Dec 2015, at 15:42, Stevo Brock wrote:
>
> So strange…
>
> I added
>
> class IB_MediaItemViewController_PhotoMediaItemView :
> MediaItemViewController
> {
> }
>
> and used IB_MediaItemViewController_PhotoMediaItemView in the Storyboard, and
> I still see this error:
>
> 2015-12-03 2
On Dec 3, 2015, at 23:30 , Roland King wrote:
>
> Quincey had one idea - but I don’t know how you @objcname a specialisation of
> a generic.
Well, yes, that’s a good objection.
It seems to me that the three things to try, if they haven’t been tried yet are:
1. class:
Media_Tools.MediaI
So strange…
I added
class IB_MediaItemViewController_PhotoMediaItemView :
MediaItemViewController
{
}
and used IB_MediaItemViewController_PhotoMediaItemView in the Storyboard, and I
still see this error:
2015-12-03 23:35:52.400 Media Tools[14523:313526] Unknown class
_TtC11Media_Tools45IB_Me
> On 4 Dec 2015, at 15:24, Stevo Brock wrote:
>
> Hi Roland,
>
> I think you’re right. The trick is - what do I put in the Storyboard such
> that it sticks (and IB doesn’t just change it back) and resolves at runtime?
Quincey had one idea - but I don’t know how you @objcname a specialisatio
Hi Roland,
I think you’re right. The trick is - what do I put in the Storyboard such that
it sticks (and IB doesn’t just change it back) and resolves at runtime?
-Stevo Brock
Owner
Sunset Magicwerks, LLC
www.sunsetmagicwerks.com
@SunsetMagicwrks
818-478-9758
> On Dec 3, 2015, at 11:17 PM,
On Dec 3, 2015, at 23:12 , Stevo Brock wrote:
>
> The Module field is empty. The MediaItemViewController was loading fine
> until I decided to add the protocol and all the subsequent decoration..
Well, I realized afterwards that your view controller class is generic. Maybe
you need to specify
> On 4 Dec 2015, at 14:45, Stevo Brock wrote:
>
> I’m trying to set up a UIViewController than can host a number of different
> UIViews as long as they adhere to a given protocol. I’ve worked through
> getting things set up to make the compiler happy, but I’m getting a runtime
> error loadin
Hi Quincey,
The Module field is empty. The MediaItemViewController was loading fine until
I decided to add the protocol and all the subsequent decoration..
-Stevo Brock
Owner
Sunset Magicwerks, LLC
www.sunsetmagicwerks.com
@SunsetMagicwrks
818-478-9758
> On Dec 3, 2015, at 10:53 PM, Quince
On Dec 3, 2015, at 22:45 , Stevo Brock wrote:
>
> 2015-12-03 22:07:23.966 Media Tools[14143:276368] Unknown class
> _TtC11Media_Tools23MediaItemViewController in Interface Builder file.
> Could not cast value of type 'UIViewController' (0x10d1dfd60) to
> 'Media_Tools.MediaItemViewController'
>
I’m trying to set up a UIViewController than can host a number of different
UIViews as long as they adhere to a given protocol. I’ve worked through
getting things set up to make the compiler happy, but I’m getting a runtime
error loading the view controller from the storyboard. Below is the re
14 matches
Mail list logo