Skip to content

while (true) { }

notes from a developer, tutorials, how-to, ideas

Tag: uibutton

Posted on 26 November 201525 May 2018

[Objc] UIButton with rounded corners (IBInspectable)

APRoundedButton is a simple XIB/Storyboard extension to make rounded custom buttons, without writing one line of code, now using IBInspectable.

Continue reading “[Objc] UIButton with rounded corners (IBInspectable)”

Posted on 11 April 201425 May 2018

[ObjC] UIButton with rounded corners

APRoundedButton is a simple XIB/Storyboard extension to make rounded custom buttons, without writing one line of code!

Requirements

  • ARC
  • iOS 7+
  • Xcode 5

How to use

Continue reading “[ObjC] UIButton with rounded corners”

Posted on 7 April 201425 May 2018

[Android] – Button with rounded corners

Based on the last post, for iOS “UIButton with rounded corners“, now the Android version.

It’s just a simple shape file (xml).

Continue reading “[Android] – Button with rounded corners”

Posted on 11 August 201225 May 2018

[Objective-C] Add image on UIAlertView/UIActionSheet buttons

A beautiful tricks to add simple images on every place you want using UNICODE characters!

Have you never tried this code?

Continue reading “[Objective-C] Add image on UIAlertView/UIActionSheet buttons”


Recent Posts

  • Swift – Simple full screen loader 11 August 2022
  • macOS – Disable microphone while typing 11 April 2022
  • iOS – Secure app sensitive information 25 March 2022
  • DIY: Hack Weward for iOS 8 March 2022
  • Swift – Circular button bubbles with gravity 26 November 2021
  • Swift – Have fun with GravityBehavior and DynamicAnimator 19 November 2021

Archives

Proudly powered by WordPress