Click here to Skip to main content
15,867,488 members
Everything / Programming Languages / Swift

Swift

Swift

Great Reads

by Paulo Zemek
Mistakes that can be made while using MVVM and how to overcome them
by Vince Chan
Pwnage Checker is an iOS app that allows users to check whether an account has been compromised in a known data breach
by raddevus
Learn to create iOS apps using Xcode while you learn Swift. (If you've ever wanted to see iOS app dev in action, take a look at the screenshots.)
by pgmr_64804
Tree View in Swift for iOS that is easy to implement and use

Latest Articles

by Serhii Krotkykh
On easy example shown how to implement UIKit and SwiftUI TableView auto resizable cells and explained difference between Nib and Xib, how to load nib file and what exactly owner parameter of the load nib file method.
by Serhii Krotkykh
Example of using result builder for the MVVM pattern
by Dearich
First part of the ultimate guide on how to add a Live Activity feature to your project
by Paulo Zemek
Mistakes that can be made while using MVVM and how to overcome them

All Articles

Sort by Score

Swift 

14 Mar 2022 by Paulo Zemek
Mistakes that can be made while using MVVM and how to overcome them
16 Jun 2016 by Vince Chan
Pwnage Checker is an iOS app that allows users to check whether an account has been compromised in a known data breach
11 Dec 2018 by raddevus
Learn to create iOS apps using Xcode while you learn Swift. (If you've ever wanted to see iOS app dev in action, take a look at the screenshots.)
22 May 2016 by pgmr_64804
Tree View in Swift for iOS that is easy to implement and use
26 Oct 2016 by raddevus
Want to learn to write Swift code, but you don't have a Mac yet? Now you can write and compile Swift on Windows. Only takes about 15 minutes to set up.
5 Dec 2015 by Vince Chan
How to display activity indicator with overlay
7 Apr 2015 by Nitheesh George
Swift is free but iMac and MacBook are not. You may have to upgrade OSX to install a new XCode version. And In a 3 year old Mac, you may not be able to install a latest version of OSX. Ultimately these all are business and business is for making profit and not for helping the people.install...
5 May 2015 by Rodrigo De Presbiteris (Presba)
Creating a iOS app with swift to show the water levels of the main reservoir system in Brazil.
29 Jun 2021 by Dener Araújo, André Marcos (Advisor)
A Mobile Application Development for a Private Network Connection on iOS Platform Using Prococol OpenVPN
19 Mar 2017 by Will J Miller
Programming tests are frequently used to screen job applicants. This article describes one problem given by a large modern technology company and its solution in swift.
23 Nov 2019 by Zhaohui Xing (Joey)
Swift classes for algorithm, including single linked list class, stack class, queue class
5 Jan 2023 by Dearich
First part of the ultimate guide on how to add a Live Activity feature to your project
31 May 2015 by OriginalGriff
This isn't a question we can answer: all languages have "venture potential" - it depends what kind of market you are going into, what kind of products you are going to produce.For example, PHP works for websites, C++ doesn't. C++ works for native PC apps, but C# doesn't. C# can be used on PC,...
21 Aug 2016 by Dennis E White
Catching the bug… Server Side Swift
2 Jan 2017 by Afzaal Ahmad Zeeshan
You can develop the applications on Windows operating system, but to compile that project you will require to connect to a Mac system. Xamarin for instance, allows you to use Visual Studio for development, but it requires a Mac peer device to compile the project into native iOS based...
10 Aug 2020 by OriginalGriff
Quote: Thank you for your suggestion. However, i find that working specifically on the project would be more motivating, as I can get easily bored with the small projects. That's why I wanted to learn specifically aspects that I can apply to my...
U 24 Mar 2024 by Andre Oosthuizen
Your issue lies within the message - Quote: TypeError: object of type 'TarInfo' has no len() Your 'iter_wrapper' function in your 'swiftclient.utils' module is trying to read the length of a chunk of data, but it's encountering a 'TarInfo'...
5 Oct 2014 by Sergey Alexandrovich Kryukov
First of all, this is totally up to you. The note by Wes Aday, about "random stranger", is quite correct.But what to do? This is the usual self-referenced problem: to learn if you want to know for sure if you want to learn a language or not, you have to… learn it. This is what you can...
5 Oct 2014 by KarstenK
Some toughts whether to prefer Objective-C or Swift.
10 Dec 2014 by _Maxxx_
Assuming you only want to develop for IOS / Mac and not for other platforms (Windows, Android etc.) then Swift should be your choice; It is newer, but is I think intended to be the replacement for Objective C - eventually. so learning it now you will be at an advantage over others converting...
25 Dec 2014 by Sergey Alexandrovich Kryukov
As you can see from original documentation, Swift arrays are very flexible, so you can add elements to the array using the method append or the operator '+=': https://developer.apple.com/library/ios/documentation/Swift/Conceptual/Swift_Programming_Language/CollectionTypes.html[^].This way,...
28 Jan 2015 by PeteBarber
Optional Chaining with Dictionaries (in Swift)
30 Aug 2015 by Tadit Dash (ତଡିତ୍ କୁମାର ଦାଶ)
I am sorry, my answer will be, "absolutely, no". This is a place "for those who code".If you don't code, we can't help. so, simply I would say that, you try something on your own. Then if you face any issues while implementing, come back here in Code Project and ask another question...
30 May 2016 by Richard MacCutchan
This forum is for technical questions, not free recruiting.
13 Jun 2016 by OriginalGriff
Because the initial values apply to every instance of a Person, not just to the one you are talking about.If you change the initial value to "Jones" then it would work fine - until you tried to add a second person "Smith".The initial value is a "default placeholder" and is created as part of...
1 Jul 2016 by OriginalGriff
I refer you to your other question on the subject: Remove DRM from iTunes purchased movies[^]
8 Feb 2017 by Matthew Guest
I have a speed label that displays the speed of the user in the default mph. I have a slide up settings menu with two buttons on it "kilometers" & "milesPerHour" and am trying to toggle between kmh and mph. The code looks correct as I'm checking if the buttons have been selected which should...
3 May 2018 by KarstenK
I wrote a tip about How to Start the Homework or a Developer Career about my experiences and knowledges about programming. As I understand you, you have some knowledge in java which is very fine also for web and server development. But also javscript has become very powerful by the new...
4 May 2018 by W Balboos, GHB
I'm of the not-uncommon self-taught programmer type. Although I started with FORTRAN, it was the only language available to me at the time. Later, I learned VAX MACRO-ASSEMBLER. Now I knew, at least a little, what happened in the background and why it makes a difference. But as far as a...
4 May 2018 by Richard Eng
You should learn Smalltalk. Here are the key reasons: Smalltalk was designed for teaching programming to children. It was created by the brilliant visionary Alan Kay and his team at Xerox PARC. Smalltalk is supremely simple and easy to learn, even easier than Python. The complete syntax fits...
30 Apr 2019 by Dennis E White
Programmatic iOS UI Development
25 Jan 2021 by OriginalGriff
Quote: it doesnt work for me This is probably the most useless problem report we get - and we get it a lot. It tells us nothing about what is happening, or when it happens. So tell us what it is doing that you didn't expect, or not doing that...
11 Jan 2022 by Richard MacCutchan
I am not a Swift programmer. However, after reading https://docs.swift.org/swift-book/LanguageGuide/ClassesAndStructures.html[^] I would make the following suggestion. The task is to create an array of City objects, not strings of city names. So...
17 Feb 2023 by Serhii Krotkykh
Example of using result builder for the MVVM pattern