> You could do that, but OP is using storyboards. In that case, the proper way
> to pass that info is in -prepareForSegue:.
I took a look at prepareForSegue, but I'm not sure how it would help here?
In the Storyboard I have a VC with a name of "LTWMusicViewController", there is
NOT a "LTWRockMu
On 4 Sep 2013, at 21:12, David Duncan wrote:
> The point is, if the only difference between an LTWMusicViewController and an
> LTWRockMusicViewController is that the latter defaults to the “Rock”
> category, then you don’t actually *need* the LTWRockMusicViewController
> subclass. You just ne
The point is, if the only difference between an LTWMusicViewController and an
LTWRockMusicViewController is that the latter defaults to the “Rock” category,
then you don’t actually *need* the LTWRockMusicViewController subclass. You
just need to ensure that when you want an LTWMusicViewControlle
On 4 Sep 2013, at 15:02, Matt Neuburg wrote:
>
> On Sep 4, 2013, at 4:13 AM, cocoa-dev-requ...@lists.apple.com wrote:
>
>> Date: Wed, 04 Sep 2013 10:23:04 +0100
>> From: Dave
>> Subject: Subclassing a View Controller in a Storyboard
>>
>> Hi All,
On Sep 4, 2013, at 7:02 AM, Matt Neuburg wrote:
>
> On Sep 4, 2013, at 4:13 AM, cocoa-dev-requ...@lists.apple.com wrote:
>
> What you're doing has a lot of bad smells:
>
> * If I'm only going to call instantiateViewController, why am I using a
> storyboard here at all? If I use a .xib file in
On Wed, Sep 4, 2013, at 08:08 AM, Matt Neuburg wrote:
> Maybe I just don't understand what the OP is trying to do. It seemed very
> strange to me. m.
Yes, more context would indeed help. It's not necessarily strange to
want to use the same interface with multiple view controllers, but it
does go
On Sep 4, 2013, at 4:13 AM, cocoa-dev-requ...@lists.apple.com wrote:
> Date: Wed, 04 Sep 2013 10:23:04 +0100
> From: Dave
> Subject: Subclassing a View Controller in a Storyboard
>
> Hi All,
>
> If I am using a Storyboard that contains a view controller,
> LTWMusi
Hi All,
If I am using a Storyboard that contains a view controller,
LTWMusicViewController that I'd like to sub-class like so:
LTWRockMusicViewController : LTWMusicViewController
Then in the viewDidLoad method, do:
-(void) viewDidLoad
{
[super viewDidLoad];
self.pMusicCategory = kRockMusicCat