Articles on Trending Technologies

Technical articles with clear explanations and examples

How to store custom objects in NSUserDefaults?

Vrundesha Joshi
Vrundesha Joshi
Updated on 27-Jun-2020 697 Views

In this article we’ll learn how to store custom objects in our application, but before you learn how to store custom object let’s see what are custom object?A custom object is any class or structure or any other data that is not a native data type like Int, Double, String etc. Storing data in NSUserDefaults is a three step process.Creating the custom ObjectWe’ll create a custom class Person that will have an age variable, and name variable.class Person: NSObject, NSCoding {    var name: String    var age: Int    init(name: String, age: Int) {       self.name = ...

Read More

How to save ArrayList to SharedPreferences on Android?

Nancy Den
Nancy Den
Updated on 27-Jun-2020 4K+ Views

Before getting into shared preference to store arraylist example , we should know what is shared preferences in android. Using share preference, we can store or retrieve values as key and value pair. There are five different methods are available in share preference as shown below −Edit() − It going to edit shared preference valuescommit() − it going to commit shared preference values in xml fileapply() − It going to commit back changes from editor to shared preference.remove(String key) − It going to remove key and vales from shared preference use key.Put() − It going to put key and values ...

Read More

Which is better, Senior position in a start-up company or a middle management position in a well-established company and why?

Rashmi Iyer
Rashmi Iyer
Updated on 27-Jun-2020 305 Views

Work experience in a particular field and mostly specializing in a particular wing is considered to be an asset today considering the fact that field level experience develops a major quantum of skill in a person as against mere degrees or educational qualifications. After reaching a certain point in your career and gaining sufficient work experience, an employee has a desire to switch their job profiles due to better prospects.At times like these experienced people are often in dilemma on the work profile of the company i.e. whether to take a senior position in a start-up or mid-position in a ...

Read More

What are the six systems of Ancient Indian Philosophy?

Rashmi Iyer
Rashmi Iyer
Updated on 27-Jun-2020 3K+ Views

Metaphysics played an extremely important role in Ancient Indian learning and social system. These metaphysics formed the philosophical foundation of life. Hence, it was given the term Darshana which literally means showing the path (of life). The Shad-Darshanas or the six systems of the Astika or the orthodox schools of Indian Philosophy consider the authority of Vedas.NyayaThe founder of Nyaya is Akshapada Gautama and it dated back to 2nd Century BCE. It is a school that deals with logic and epistemology. Its main objective is to help to eliminate ignorance of knowledge. It enlists four valid (Pramana) and four invalid ...

Read More

How can I develop for iPhone using a Windows development machine?

Anvi Jain
Anvi Jain
Updated on 27-Jun-2020 192 Views

Generally iOS applications can be developed on mac operating systems only, but recently with system development now applications for iOS can partially be developed on windows system too.To develop iOS or any other apps for apple platform, we need Xcode which is a native Apple software and can be installed on mac operating systems only. Also, a mac operating system is generally installed and supported on an Apple device.There are multiple work around for this like buying a normal laptop installing third party software to run mac OS on them and later installing Xcode, or buying/renting a cloud Mac. In ...

Read More

What are the evil effects of using mobile phones?

Rashmi Iyer
Rashmi Iyer
Updated on 27-Jun-2020 2K+ Views

Technology has become inseparable in our day to day lives and mobile phones are the most crucial part of this technology which will be used every day by every body. We can find an illiterate person but not a person without a mobile phone in India. Shashi Tharoor had written that how right from a working professional to an istriwaalah (iron man) or a nariyalpaamiwaala (one who sells coconut water) has a mobile phone these days. This era is also the era of smartphones with maximum users using Android or IOS.However, these SMART phones have also proven to be a ...

Read More

How to determine the current iPhone model information?

Nitya Raut
Nitya Raut
Updated on 27-Jun-2020 621 Views

iOS Provides a UIDevice class which has all the information about your iPhone that does not violate any privacy laws Apple has.Using the UIDevice we can access information like −UIDevice.current.localizedModel − this returns the localized version of modelUIDevice.current.model − this returns model of current device, e.g. @"iPhone", @"iPod touch"UIDevice.current.name − this returns the current name of the device in use, e.g. "My iPhone"UIDevice.current.systemName − this returns the system name e.g. @"iOS"UIDevice.current.systemVersion − this returns the system version e.g. @"4.0"UIDevice.current.batteryLevel − this returns the battery level, if it is between 0 to 1, it will return the value otherwise if the ...

Read More

Should moral education be made a compulsory subject in schools?

Rashmi Iyer
Rashmi Iyer
Updated on 27-Jun-2020 2K+ Views

Moral Education or Value Education is becoming an important subject these days in school both at the elementary and secondary level. Moral Education from an early age aims to teach values like respect, ownership, teamwork, empathy, humility, etc.These are the values that are being taught to the kids within the curriculum of the school.It is extremely important that this subject remains an indispensable part of the school learning for the kids due to these reasons:Importance in learning − Holistic learning is not just about academics, getting good grades, attractive jobs, and placements. It lies within the four walls of the ...

Read More

How to detect the screen size of iPhone 5?

Jennifer Nicholas
Jennifer Nicholas
Updated on 27-Jun-2020 283 Views

Detecting screen size of an apple device is an easy and simple task. The UIKIT module of iOS SDK provides many functions and classes that deal with user interface, screen sizes and many other UI elements.One of them is UIScreen which deals with the device screen.UIScreen.main provides the current main screen of the device in use, which further has methods that return other features and properties of the current screen.To find if the current screen is an iPhone 5 or not, we’ll first have to find the current size of the screen and compare with a value. The height of ...

Read More

What is the significance of Qutub Minar?

Rashmi Iyer
Rashmi Iyer
Updated on 27-Jun-2020 4K+ Views

Qutub Minar located in the Qutub complex in New Delhi is one of the many historical and magnificent monuments in the capital city of New Delhi. It is located adjacent to the Quwwat-ul-Islam Mosque and is considered as its name suggests is the pillar of faith. The site is protected by the Archaeological Survey of India and the entry fee to the complex is Rs.10 and Rs.250 for Indians and foreigners respectively.Some significant aspects of the monument are −Highest tower − With a height of 72.5 meters Qutub Minar is the highest stone tower in India. It was constructed as ...

Read More
Showing 52931–52940 of 61,297 articles
Advertisements