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 3680220
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T03:33:04+00:00 2026-05-19T03:33:04+00:00

I am building a complex iPad application; think of it as a scrapbook. For

  • 0

I am building a complex iPad application; think of it as a scrapbook.
For the purpose of this question, let’s consider a page with two images over it.
My main view displays my doc data rendered as a single UIImage; this because I need to do some global manipulation over them. This is my DisplayView.
When editing I need to instantiate an EditorView with my two images as subviews; this way I can interact with a single image, (rotate it, scale it, move it). When editing is triggered, I hide my DisplayView and show my EditorView.

In a iPhone app, I’d associate each main view (that is, a view filling the screen) to a view controller.
The problem is here there is just one view controller; I’ve considered passing the EditorView via a modal view controller, but it’s not an option (there a complex layout with a mask covering everything and palettes over it; rebuilding it in the EditorView would create duplicate code).

Presently the EditorView incorporates some logic (loads data from the model, invokes some subviews for fine editing, saves data back to the model); EditorView subviews also incorporate some logic (I manipulate images and pass them back to the main EditorView). I feel this logic belongs more to a controller. On the other hand, I am not sure making my only view controller so fat a good idea.

What is the best, cocoa-ish implementation of such a class structure?
Feel free to ask for clarifications.
Cheers.

  • 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-19T03:33:04+00:00Added an answer on May 19, 2026 at 3:33 am

    Huge fat controllers are fine.

    If necessary, just break off some “purely logical parts” from it and shove them in other “helper classes”. And use tricks like categories extensively where you can.

    Definitely go with a HFC (huge fat controller) if that feels right.

    Then, just get on your engineering bike and slim the hell out of it!

    You should definitely not avoid the right structure, the good structure, the structure you want, just because one thing will be too big.

    Just slim that big thing down by outsourcing concepts, going nuts with categories, etc etc – every trick in the book.

    My belief!

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

Sidebar

Related Questions

I'm building a fairly complex business application on the iPad IOS 4.2: 4 tabs,
We are building a fairly complex application that we need to be able to
I am currently considering the best way of building a relatively complex page in
After building the application GUI, I realised it was a little bit too complex
We are building a LAMP application that also needs to generate loads of complex
I am building my first complex app (in RoR) and as I think about
I'm building a little complex prism application. Customer requirements obliges me to utilize ModuleA
I'm building a complex application in JavaScript which needs to make several requests to
We're building a dynamic complex form application. Because of it's complexity (a lot of
I'm a developer who's about to begin building a relatively complex web application. I

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.