Tech-Today
iOS Donut Progress Bar
The iOS Donut Progress Bar is an iOS library that you can integrate in your project to present data in a graphical way. Furthermore, it will allow you to get a live preview of the design right in the Interface Builder.
Inside the Interface Builder:
iOS Simulator:
Features
- Customizable width and color for line and border of the outer/inner circle.
- Customizable text label.
- Customizable color, opacity, radius, and offset for shadow of the inner and outer circle
- Supports the iOS 8 adaptive layout
- You can change all of this in the interface builder or in runtime.
Example Usage In Runtime
circleView.outerRadius = 20
circleView.oColor = UIColor(red: 244/255, green: 156/255, blue: 45/255, alpha: 1)
circleView.percentage = 75
circleView.fontSize = 25
circleView.noOfDecimals = 0
circleView.animateCircle(1.0)
To get the sample code, please visit this site.
-
Android Studio - Displaying List View Inside Alertdialog
Android Studio - Displaying List View Inside AlertDialog 1.) Follow this code: ================>Note: custom_dialog_layout.xml is the layout that will pop-up >Note: row.xml is the item used for populating rowAlertDialog.Builder builder = new AlertDialog.Builder(new...
-
Android Studio - Creating Material Design App Bar
Android Studio - Creating Material Design App Bar 1.) Set-up the color that we'll use for the app bar: ======================================== >Create a new xml inside values and name it color.xml <resources> <color name="ColorPrimary">#FF5722</color>...
-
Uitabbarcontroller Error - Loaded The "yourview" Nib But The View Outlet Was Not Set
Working on a simple UITabBarController I encountered the above error "nib but the view outlet was not set". This usually happens when you create a new nib file and forgot to change the File's Owner class in the interface builder. So for example we...
-
Iphone Touch Event Programming Stanford's Stalker Project
Moving on with Stanford's set of exercise, here I am working on how to handle iPhone's touch events. I will replicate the Stalker class created by Paul? Steps: 1.) Create a new WIndow-based Application project, Stalker 2.) Create a new class TouchResponder...
-
This Article Explains Some Of The Browser Specific Stylesheet Hacks (like Ie Only, Firefox, Etc) That Can Be Used In Developing A Web Application On Different Browsers
Web UI design for beginners may be complicated than it seems specially if your developing cross browser application. For example building a web app compatible with firefox, ie6 and ie7. One ways is to simply load the appropriate css file using: <!--[if...
Tech-Today