Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6948337
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T13:48:35+00:00 2026-05-27T13:48:35+00:00

I am new to iOS dev and apologies if the answer is obvious…but it

  • 0

I am new to iOS dev and apologies if the answer is obvious…but it isn’t to me.
I have an APP with a Navigation controller at its root.
I have many very similar looking areas of the app to be created.
These are each to be UItableviewcontroller which has had a fair bit of customising done to allow buttons and other controls beside the tableview which has been reduced in size to allow for controls beside and below it.
The buttons, text, background etc etc and the data that gets loaded must all be individual to the particular are of the APP.
I created a UItableviewcontroller subclass by simply adding a new file subclass in Xcode.
I created my interface in the xib…created all the methods to drive what I need to in it.
Looks great…all seems fine. If I use it alone…works well.

Problem: I can’t figure out how to subclass my custom sub-classed UITVController!
None of its properties are available from inside the new sub-class.
I clearly don’t understand how things work here.

I have tried adding a new file > UIViewcontroller sub-class and changing the superclass to my custom superclass…to no avail. No properties accessible.

I have dug and dug and become more confused than anything else.
Is someone kind enough to help me get it right. Frustration is building.
Thanks
Keispe

EDIT:
Whoa found the problem. I have had Xcode open for many many days with several projects open.
It had totally weirded out!
In fact jrturton and eugene…I did know what I was doing (I thought I was going crazy…done this before in my app and suddenly no worky) Xcode had totally lost it’s brains!

Anyone seen Xcode do that before??? using 4.1

Bloody hell that wasted a heap of valuable time including yours.
Thanks fellas

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T13:48:35+00:00Added an answer on May 27, 2026 at 1:48 pm

    When you subclass anything, you can access your parent’s class properties by addressing self via dot syntax

    @interface BaseClass : NSObject {
     @public
      NSString *baseclassString;
    }
    
    @property (nonatomic, copy) NSString *name;
    
    @end
    

    .h

    @interface HigherClass : BaseClass
    
    @end
    

    .m

    @implementation HigherClass
    
    - (id)init {
      self = [super init];
      self.name = @"Hola";
      self->baseclassString = @"Hola";
      return self;
    }
    
    - (void)viewDidLoad {
      NSLog(@"name: %@", self.name);
    }
    @end
    

    This all isn’t 100% memory clean but you’ve gotta get a hang of what is happening here and adjust it properly to your application.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Sorry I'm pretty new to iOS dev. I have a UITableView setup from cells
I am new to iOS dev and there are questions I have that aren't
I have searched in Apple's iOS dev center but couldn't find anything quite right.
Pretty new to iOS dev, I feel I have a grasp of the basics.
This may sound a newbie question however I'm new to iOS dev. Are there
I'm quite new here. I have a problem with the new iOS 5.1 slide-in
I'm new with iOS development, but I'm familiar with the memory management basics in
I have experience on windows client dev, language c++, and Flash ActionScript3 dev, but
New to IOS dev, I'm testing AVAudioplayer to play sound on iPad2 (Xcode 4.2
I'm new to iOS dev and I followed a tutorial that was a simple

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.