Top "Programmatically-created" questions

Any object in an application created using a computer program rather than created manually using something in the userspace.

How do I create a basic UIButton programmatically?

How can I create a basic UIButton programmatically? For example in my view controller, when executing the viewDidLoad method, three …

objective-c uibutton programmatically-created
How do you add an action to a button programmatically in xcode

I know how to add an IBAction to a button by dragging from the interface builder, but I want to …

ios iphone objective-c uibutton programmatically-created
Is there a way to programmatically scroll a scroll view to a specific edit text?

I have a very long activity with a scrollview. It is a form with various fields that the user must …

android view android-edittext scrollview programmatically-created
How to add Done button to the keyboard?

UPDATE: I also tried implementing UITextViewDelegate delegate and then doing in my controller: - (BOOL)textViewShouldEndEditing:(UITextView *)textView { [textView resignFirstResponder]; …

ios iphone objective-c xcode programmatically-created
How to programmatically add text to a UIView

I have a UIView that I'd like to add several bits of text to. I have used a UITextView but …

objective-c xcode text uiview programmatically-created
Programmatic Access To Visual Basic Project Is Not Trusted

I have two scheduled tasks on my computer. They both open Excel files and run a macro & are pretty …

vba excel programmatically-created
Add a multiple buttons to a view programmatically, call the same method, determine which button it was

I want to programmatically add multiple UIButtons to a view - the number of buttons is unknown at compile time. …

iphone objective-c xcode programmatically-created
set UIButton's buttonType programmatically

I have a UIButton which I've added in IB, however the view behind this button changes color and I need …

iphone objective-c uibutton programmatically-created
UIScrollview with UIButtons - how to recreate springboard?

I'm trying to create a springboard-like interface within my app. I'm trying to use UIButtons added to a UIScrollView. The …

objective-c uiscrollview uibutton programmatically-created
Swift 3 Create UILabel programmatically and add NSLayoutConstraints

Hello I am trying to create a label programmatically and add NSLayoutConstraints so that it is centered in the superview …

ios uilabel swift3 nslayoutconstraint programmatically-created