Questions tagged [uicontrol]

In iOS UIKit, UIControl is the base class for control objects such as buttons and sliders.

Available in iOS 2.0 and later in UIKit. The main role of UIControl is to define an interface and base implementation for preparing action messages and initially dispatching them to their targets when certain events occur.

The UIControl class also includes methods for getting and setting control state—for example, for determining whether a control is enabled or highlighted—and it defines methods for tracking touches within a control. These tracking methods are overridden by UIControl subclasses.

You cannot use the UIControl class directly to instantiate controls. It instead defines the common interface and behavioral structure for all its subclasses.

440 questions
-1
votes
3 answers

Using NSSet/allTargets to get the xib so-called "File owner"?

Looking at this image, you can see that a UIView loaded from a nib has a "File Owner" Notice in the xib, Apple has labelled something "File Owner". So, open Xcode, open any xib, look at Placeholders, and look directly underneath, to see: "File…
Fattie
  • 27,874
  • 70
  • 431
  • 719
-2
votes
1 answer

Swift - Make a Slide to Unlock like button in iOS 6

i want to make a Button with an iOS 6 slide to unlock like gesture recognizer. How can I do this? I already googled this but I only found articles for Objective-C
Victor Lobe
  • 355
  • 3
  • 12
-2
votes
4 answers

What's the name of this UIControl?

What's the UIControl used in this pic? Is it a UITableView with another control on the bottom? Thanks
aneuryzm
  • 63,052
  • 100
  • 273
  • 488
-3
votes
2 answers

how to create checkbox using objective c

Hey I want to create a checkbox in the screen, without using two different images with V and without. Does anyone know how I can do it? I didn't find UI class for it.
Tomer Aro
  • 175
  • 1
  • 12
-4
votes
2 answers

Changing UIView To be instance from UIControl Programmatically

I have a button that will change the view's class to UIControl i have typed this line of code but Xcode say it is a error -(IBAction)button:(id)sender { self.view.class = [UIControl class]; } So guys my question is how to change my view's…
user3091937
  • 31
  • 1
  • 8
1 2 3
29
30