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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T01:38:31+00:00 2026-06-07T01:38:31+00:00

Using different frameworks in my projects I have often faced with custom elements which

  • 0

Using different frameworks in my projects I have often faced with custom elements which created as class inherit from NSObject (correct me if something is wrong). What are the main rules of creating such UI elements?

  • 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-07T01:38:33+00:00Added an answer on June 7, 2026 at 1:38 am

    NSObject is the very basic class in Cocoa. It is responsible for the most basic things that every class needs, like memory management. (Almost) all classes in Cocoa inherit from NSObject and you usually subclass NSObject if you want to implement a model class.

    If you want to create your own GUI element, you should subclass UIView or UIControl. UIView will give you capabilities to do custom drawing, handling touch events and others. UIControl (which itself is a UIView subclass) adds functionality for control elements which the user can interact with, like UITextField, UISlider etc. This is what you should subclass if you plan to implement a custom control.

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

Sidebar

Related Questions

I have a thread that downloads some images from internet using different proxies. Sometimes
I created a drawing using different paths, but how can I move the entire
I have been trying to parse the bottom table on this site using different
I've been using Python for most of my web projects lately, and have come
How to bind tooltip dynamically for different conditions we have 2 Projects in the
I have a project for a class which requires that if a database is
Im coming from using other MVC based frameworks, and going into Django, it seems
I am new to flex framework. I have created an application using flex framework
I developed an application with different MVCs using the Yii Framework For example I
The perfmon counter is using different NIC names compare to ipconfig/all and c# system

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.