Tag

swift

9 stories
J
Joynal Abedin

What's new Xcode 27.0 ?

There are five things we discuss today new in Xcode 27 Workspace Projects & files Intelligence Running apps Refining apps Workspace: Toolbar Themes Issues You can customize full toolbar in appearance. Xc...

5
What's new Xcode 27.0 ?
J
Joynal Abedin

How to Recover Discarded Code in Xcode Without a Git Commit?

If you've discarded code changes in Xcode without committing them to Git, don't worry—your Mac offers a built-in way to recover previous versions of your files. Here’s a step-by-step guide to help you retrieve your code ...

5
J
Joynal Abedin

Create custom header file comments with Xcode Text Macros

In Xcode, you can create custom headers for your Swift files using text macros. Text macros allow you to automatically insert boilerplate code or comments into your files, which can include information such as the author...

9
J
Joynal Abedin

NotificationCenter in swift

A notification dispatch mechanism that enables the broadcast of information to registered observers.-----Apple NotificationCenter in Swift is a mechanism for broadcasting information within a program. It allows objects...

4
J
Joynal Abedin

Commenting in Swift

In Swift, comments are used to add notes or explanations within the code, making it easier to understand. Swift supports two types of comments: single-line and multi-line comments. Here's a detailed explanation of both: ...

4
J
Joynal Abedin

How to Create a CocoadPods Library?

Building your own CocoaPods library in Swift involves several steps. Here's a guide to help you get started: Set Up Your Development Environment. Create Your Swift Project. Write Your Library Code. Create a Podspec ...

4
J
Joynal Abedin

Properties in swift

There are several properties such as: Stored properties Lazy stored properties Computed properties get set Observers properties didSet willGet 1. Stored properties: Stored properties are those values ...

5
J
Joynal Abedin

Different ways use for loop in swift

class ViewController: UIViewController { var nameArray = [\"Joynal\", \"Robin\", \"Humayun\", \"Anup\", \"Murad\"] override func viewDidLoad() { super.viewDidLoad() //loop_1...

3
J
Joynal Abedin

Some common quotes should you know about ChatGPT

text-davinci-003  the most capable model in chatGPT-3 series. It can process up to max 4000 tokens as per request. The key concepts and techniques that are fundamental to using the API for any task, including: ...

4