Game World!

Join A World Of Gamers

Enter your email address:

Delivered by FeedBurner

Followers

Popular Posts

Wednesday, 30 June 2021

Do you need a Mac to use Swift?

 

creating app with windows laptop, do i need SWIFT?

i have a windows laptop and i want to create an app for the app store. i have been told i need to use SWIFT to do this, but then reading about it am i right in saying that if sign up with apple on the apple deveolper program, use Xcode then i don't need swift? and if i need swift i belive this isn't compatible with windows? please help... thanks

Post not yet marked as solvedUp vote post of meghanhallDown vote post of meghanhall
 2.1kviews

Answers

It's not about if you 'need' Swift - if you can run Xcode, you can run Swift. You can't run Xcode on your pc, so...


What you _need_ is a Mac.

If your an app means an iOS app or a macOS app distributed through Apple's App Store, (I believe you don't mean Microsoft Store for Windows Apps)

Then you eventually need Mac with Xcode installed. Swift comes bundled with Xcode.


You may find some hacks to run Xcode on Windows PC, but you should better think such Xcode cannot be used for developing apps targeting App Store.


Conclusion: You need Mac.

hi, sorry i am totaly new to this and really want to get this app written. so i cannot use Xcode on my windows laptop? what can i then use to write an IOS compatible app please?


i would also like to branch it out to android.... or would this be another program i would need to use to write it to be compatible for andriod?


are swift and xocde the same thing?

i cannot use Xcode on my windows laptop?

Correct, NO, you cannot.


what can i then use to write an IOS compatible app please?

You need Mac.


i would need to use to write it to be compatible for andriod?

If you want to develop apps both for iOS and Android, consider using hybrid framewoks . You can use Windows PC for some parts of development,

but eventually you need Mac to release your app on the App Store.


are swift and xocde the same thing?

No, Swift is a programming language bundled with Xcode. You have an option to use Objective-C, which is another programming language for iOS development, also bundled with Xcode.

That's correct, Xcode requires macOS, which requires a Mac. You would then be able to write for iOS, etc. Swift and Xcode are different things.


• Swiftis a computer language - quoting from the Swift wiki:

Swift is a general-purpose, multi-paradigm, compiled programming language developed by Apple Inc. for iOS, macOS, watchOS, tvOS, and Linux. Swift is designed to work with Apple's Cocoa and Cocoa Touch frameworks and the large body of extant Objective-C (ObjC) code written for Apple products.


• Xcode is a programming/coding tool, part of Apple's IDE - integrated development environment.


Use your PC for android. I wouldn't expect to simply write once and use for both, but there would be certain assets you could leverage in both examples.

thanks so much. your very informative!


lastly, can i use these progams and develop on an ipad,ordo i need an actual computer or laptop?

You can use iPad as a testing target, but not as a development tool. (As for now there's no Xcode for iPad.) You need a desktop Mac (iMac, Mac mini, Mac Pro) or a laptop Mac (MacBook, MacBook Air, MacBook Pro). You can choose iMac Pro from this winter if you have plenty of money and would like to use overspec machine for app development.

The Swift Playgrounds app, which includes a Swift compiler that runs on iPad, will help you learn, but again, you'll need a Mac to code, build and submit an app for the store.

Floating Button

Button