UIAlertController was introduced with iOS 8 with the replacement of UIAlertView and UIActionSheet, yes these two methods are deprecated in iOS 8 UIAlertController object is used to display alerts and actions sheets to the user, Switching between an alert or action sheet is done by setting the preferred style when creating the controller. If you … [Continue reading...]
React Native : What makes it so successful?
What is React native? React Native is used to create native apps with JavaScript, whereas your application is fully native but user interface design and logic was written in JavaScript using React.js and it is a open-source framework like phonegap. In the PhoneGap and Apache Cordova used DOM for rendering, it is the main reason … [Continue reading...]
UISlider example (iOS Slider) using swift
An iOS UISlider object is used to select a single value from a continuous range of sliders, the slider is always displayed as horizontal bars and it has a thumb that is used to select the specific values in the slider. for more reference, you go through the apple documentation for UISlider class. In this tutorial, we are going to learn about how … [Continue reading...]
UITextField and UITextField Delegate in swift
UITextField object is one of the most commonly used UI Control in iOS, it displays editable text and sends an action message to a target object, it usually gets a small amount of text from the user and performs some immediate action like search operation, based on that text. In this tutorial, we are going to explain about UITextField and … [Continue reading...]
UISwitch Tutorial using swift in iOS
UISwitch Tutorial introduction The iOS switch control is like a real time electronic switch . UISwitch class is used to create and manage on/off state of the buttons that will work like a switch, this UISwitch on/off state is represented by boolean object, you can see the example of uiswitch in ios settings apps like Auto-Capitalization, and … [Continue reading...]
UISegmentedControl example using swift in ios
UISegmentedControl example introduction In the previous tutorial we have learned about working with UISwitch, in this "UISegmentedControl Example" tutorial going to explain about creating UISegmentedControl. The iOS segmented control is a UI component that is used to display, in a compact UI with serious of segment options for the user to choose … [Continue reading...]
UIWebView example (iOS webview) using objective c
Some applications need to display online web content, for iOS development that needs "UIWebView" to display online sites as well as local html files or even displaying a PDF documents we will use UIWebview. In this tutorial we will see how to create "uiwebview example" using objective-c. Open XCode, create a single view application using … [Continue reading...]
Hide Keyboard in React Native
Showing or Hide keyboard in react native is essential especially if you are working on the text input control, some times we are facing issues while dismissing or hiding the keyboard in react native this tutorial will explain how to dismiss the keyboard in react native, also will into how to hide or dismiss the keyboard button press or outside … [Continue reading...]
Get a filename from URL in JavaScript
here in this tutorial, we can see how to get a filename from the URL in javascript. How to Get a filename from URL in JavaScript to get a filename from URL in javascript call the following method URL substring then the URL of the last index of / plus 1 we will get the exact filename. Usually, the file name will be in the last part of … [Continue reading...]
iOS UIPickerView Example using Swift
UIPickerView Example Introduction In the Previous example we have learned about how to implement iOS DatePicker Example using swift. UIDatePicker is the Custom subclass of UIPickerView .In this tutorial we will see about how to implement UIPickerView Example using swift. UIPickerView object is used to show the one or more set of values … [Continue reading...]
UITableView tutorial using Swift in iOS
In the previous example we have learned about how to create uitextfield and uitextfielddelegate, Now this tutorial we will teach about how to create iOS uitableview tutorial in swift. uitableview is one of the most used ios control. It is used to list the set of items in a single column and it is a subclass of uiscrollview so by default the … [Continue reading...]
UIActivityindicatorview example in ios using swift
In this example we will how to use UIActivityIndicatorView Example in swift, mostly we have used an activity indicator to show some operation status like webview start and stop. Related: Webview Example in swift & MBProgressHUD Example UIActivityindicatorview is appears as spinning wheel either it's spinning or stopped state mostly an … [Continue reading...]
Recent Comments