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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T12:53:35+00:00 2026-06-09T12:53:35+00:00

There is an ios library called HGKOptionPane by Jon Arrien. It is a show/hide

  • 0

There is an ios library called HGKOptionPane by Jon Arrien. It is a show/hide dropdown panel. While I was implementing it to my demo app, I noticed this UIView frame linked with the UIButton.
I’m sure it has something to do with the code below, I didn’t understand the code and I would appreciate if you could explain it. Most importantly, how is the UIButton linked with the UIView or Option Panel it self.

The 2 methods inside HGKOptionPanel.m :

- (id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        // Initialization code
    }
    return self;
}

- (void)drawRect:(CGRect)rect{
    [super drawRect:rect];
    isExpanded = YES;
}

Photo:
enter image description here

Option Panel is the UIView with black Background color.

  • 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-06-09T12:53:36+00:00Added an answer on June 9, 2026 at 12:53 pm

    The UIButton is an IBOutlet which is not linked by code.
    It is actually all saved in the xib file here:
    https://raw.github.com/Hegaka/HGKOptionPanel/master/HGKOptionPanel/HGKOptionPanel/en.lproj/MainWindow.xib

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

Sidebar

Related Questions

Is there some free and easy to use 3D library for iOS (and Android)
In iOS 5, is there a way to never hide the search bar in
Is there any way within the iOS SDK for an app to delete itself?
When I create a new shared iOS library CoreServices then there is a class
Is there an iOS 5 arc compatible lazy Image loading library? I've not found
I've been looking for interactive chart library for iOS but it seems like there's
There is a iOS Developer Library for Objective-C. This library include a overview of
I would like to know if there's an iOS library or framework for loading
I'm working on a custom PDF library for iOS and noticed that there are
In a Mixed 3.2.5 iOS/MacOS project, there is an existing iOS static library target,

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.