#NeedOne
  • Home
  • iOS
  • Android
  • Unity
  • Other
  • ☕ Support
Log in Subscribe
Log in Subscribe
  • Home
  • iOS
  • Android
  • Unity
  • Other
  • ☕ Support

Needone

Hi I'm Needone
97 posts
Have you tried XCTUnwrap before? Swift

Have you tried XCTUnwrap before?

What is XCTUnwrap and how to use it to help you effectively while you are doing the unit test? XCTUnwrap is a utility function that is used in unit tests

  • Go to the profile of  Needone
Needone
29 Dec 2022 · 1 min read
PLIST file in iOS Swift

PLIST file in iOS

A Property List (PLIST) file is a file format used by macOS and iOS to store serialized data. It is often used to store data such as user preferences, settings,

  • Go to the profile of  Needone
Needone
25 Dec 2022 · 2 min read
What is YAML file and compared with JSON Other

What is YAML file and compared with JSON

YAML (YAML Ain't Markup Language) is commonly used for configuration files, but can be used in many applications where data is being stored or transmitted. A YAML file consists of

  • Go to the profile of  Needone
Needone
23 Dec 2022 · 1 min read
Create Property Wrapper in Swift Swift

Create Property Wrapper in Swift

What is Property Wrapper Property wrapper are a language feature that allows you to wrap a piece of code around a property in Swift world, which can help us to

  • Go to the profile of  Needone
Needone
20 Dec 2022 · 1 min read
Bottom Sheet Dialog implementation in kotlin Android

Bottom Sheet Dialog implementation in kotlin

To create a bottom sheet dialog in Kotlin, you can use the BottomSheetDialog class from the Android Support Library, which is a built-in package. Here's an example of how you

  • Go to the profile of  Needone
Needone
18 Dec 2022 · 1 min read
Workplace, Project, Scheme and Target in iOS development iOS

Workplace, Project, Scheme and Target in iOS development

Many of us have seen workspace, project, target and scheme quite often while doing the iOS development, but what are they exactly and how are they related with each other?

  • Go to the profile of  Needone
Needone
17 Dec 2022 · 2 min read
Equatable and Comparable in Swift Swift

Equatable and Comparable in Swift

It is quite common that we are required to compare two custom objects in Swift, luckily Swift has provided some built-in protocol allows us to do this in a "swift"

  • Go to the profile of  Needone
Needone
14 Dec 2022 · 2 min read
Difference between layoutIfNeeded vs. setNeedsLayout Swift

Difference between layoutIfNeeded vs. setNeedsLayout

As many of iOS developer known, layoutIfNeeded and setNeedsLayout are two methods that can be used to update the layout of a view and its subviews. But what are their

  • Go to the profile of  Needone
Needone
13 Dec 2022 · 2 min read
Constructor Injection, Property Injection vs. Method Injection Swift

Constructor Injection, Property Injection vs. Method Injection

Dependency Injection is a design pattern that is providing another object with its dependencies, instead of having the object created or managed themselves. There are three main types of dependency

  • Go to the profile of  Needone
Needone
12 Dec 2022 · 2 min read
Type safe in programming language Kotlin

Type safe in programming language

Introduction Type safety in programming languages refers to the concept that variables and data structures are strongly typed and cannot be assigned values of different types. This means that the

  • Go to the profile of  Needone
Needone
9 Dec 2022 · 2 min read
ContentHugging vs. ContentCompressionResistance in UIStackView iOS

ContentHugging vs. ContentCompressionResistance in UIStackView

In Swift, it is quite common to see ContentHugging and ContentCompressionResistance either when we are using the storyboard or code to render the user interfaces in UIStackView. Those 2 properties

  • Go to the profile of  Needone
Needone
9 Dec 2022 · 1 min read
Companion Object in Kotlin Android

Companion Object in Kotlin

Kotlin provides a brand new keyword companion which not exists in other programming languages. But don't be panic, it is not something new when you have one step closer. A

  • Go to the profile of  Needone
Needone
7 Dec 2022 · 1 min read
Use openssl to create public key and private key Other

Use openssl to create public key and private key

Generally speaking, currently digital encryption methods can be divided into two main categories, symmetric encryption and asymmetric encryption. For symmetric encryption, the same key is used for encryption and decryption.

  • Go to the profile of  Needone
Needone
7 Mar 2021 · 3 min read
A summary of use enum in Swift Swift

A summary of use enum in Swift

Enumeration type is a common type in many programming languages, which normally presents a set of limited status for a program, such as list all the directions for a compass:

  • Go to the profile of  Needone
Needone
1 Mar 2021 · 2 min read
Use Extension in Swift Swift

Use Extension in Swift

Extension is a great feature in Swift, which can help us to create helper/utility variables and method, and etc. Use extension to conform protocols It is quite common to

  • Go to the profile of  Needone
Needone
27 Feb 2021 · 1 min read
Property in Swift iOS

Property in Swift

Unlike other programming languages, there are three types properties in Swift. Stored Properties They are constants or variables of a class, and part of the class instances that used to

  • Go to the profile of  Needone
Needone
25 Feb 2021 · 1 min read
How to check whether a mobile device is muted or not on iPhone/iPad iOS

How to check whether a mobile device is muted or not on iPhone/iPad

On iOS devices, there are mainly two types of sounds: * Ringtones and reminders: Including system sounds such as phone calls, text messages, notifications (also including key tones, lock sounds, which

  • Go to the profile of  Needone
Needone
23 Feb 2021 · 2 min read
iOS

Init vs Convenience init in Swift

Initializers, also known as constructors in other programming languages, have two types: Designated init and Convenience init. They are used to initialize properties or customize a variable or object for

  • Go to the profile of  Needone
Needone
15 Feb 2021 · 2 min read

About Us

Devotes to iOS and Android Development

Tags

iOS
Swift
Android
Other
Mobile

Subscribe

Get the best viral stories straight into your inbox!

Great! Check your inbox and click the link to confirm your subscription
Please enter a valid email address!
  • Sign up
© 2023 #NeedOne. All rights reserved.