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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T06:26:40+00:00 2026-05-11T06:26:40+00:00

Fairly new to iPhone/Cocoa development, so I’m having difficulty adjusting. I want to create

  • 0

Fairly new to iPhone/Cocoa development, so I’m having difficulty adjusting.

I want to create a ViewController that has two separate subViews. Kind of how the TabViewController/NavigationController is set up, but I want to be able to control what’s in the other portion as well (not to mention sizing, etc.). Either orientation is fine (top/bottom) or (left/right).

+--------+   +----+----+ |  top   |   | l  |  r | |        |   | e  |  i | +--------+   | f  |  g | |        |   | t  |  h | | bottom |   |    |  t | +--------+   +----+----+ 
  • 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. 2026-05-11T06:26:41+00:00Added an answer on May 11, 2026 at 6:26 am

    You can create a subclass of ViewController and add three properties:

    FirstView, SecondView, isVertical

    These three properties will in general be enough to create a simple split view. The consumer would be responsible for setting up those properties, and inside of your ViewController’s loadView method, you would add both of those views to a new view, which you would then assign to the ‘view’ property of the UIViewController.

    That’s really all there is to it for a extremely limited feature set Split ViewController. The rest of the features would mostly likely just customize how the views are sized and positioned.

    Hope this helps, and please open source it 🙂

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

Sidebar

Related Questions

I am fairly new to iphone development, and I am trying to create my
I am fairly new to iphone development and programming in general and am wondering
I am fairly new to iPhone development. Right now, I am working on an
I am fairly new to a objective-c or in whole mac/iphone development. My question
Being fairly new to iPhone / Objective-C development, I wanted to ask this question
Fairly new to database schema (plan to use SQLite). Having said that, I'm thinking
im fairly new to android development, but i'm having some trouble trying to make
I'm fairly new to xcode and iPhone development and I'm wondering if it's possible
Im fairly new to android dev and I want to build an app that
I'm fairly new to Cocoa and am having trouble Googling for the best way

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.