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

  • SEARCH
  • Home
  • 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 7641467
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T08:55:51+00:00 2026-05-31T08:55:51+00:00

Overview I have a iOS project in which the view controller implementation which has

  • 0

Overview

  • I have a iOS project in which the view controller implementation which has become large and thought it would be better to break into categories based on the functionality
  • The outlets in the view controller implementation file are not available in the category’s implementation file.

Note – I am using ARC (automatic reference counting)

Question

  1. I have an outlet to the textfield created in my view controller’s implementation file. Now can I create another outlet to the same text field in my view controller category’s implementation file ?
  2. Would it cause any memory not be released or any other memory issues (Both the outlets are going to be weak and non atomic) ?
  3. Is this acceptable from a design perspective or is there a better way to do it ?
  4. Can category’s methods be accessed in view controller’s implementation ? I can include the header file but I want to know if at runtime there would be any unpredictable behavior
  • 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-31T08:55:52+00:00Added an answer on May 31, 2026 at 8:55 am

    If you need to access declared IBOutlet properties in the categories of your view controller class, why not declare them in the class header file so that they are available to your categories? The ability to declare properties and ivars in implementation files now is meant to hide messy details of your implementation, but not at the risk of making your code unmanageable. Your functional design seems sensible.

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

Sidebar

Related Questions

Overview I have an iOS project which contains 2 navigation controllers as shown in
Overview: I have an Expandable List View which displays items of the type ToDoElement
I have a overview page containing a list with some links from which multiple
I have to make this overview of questions and the user has to be
Overview I am doing an iOS project using the MVC architecture. Pardon my ignorance,
I have 3 openFaces <o:datatable /> s in the same view page (overview.xhtml). The
I have an overview list, with divs, and also each div has a pair,
Problem Overview I have a dynamically produced web page, X , which consists of
Overview: I have an array of 20 byte strings that needs to be stored
In Eclipse we are using Mylyn to have an overview of our Trac Tickets.

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.