r/iOSProgramming • • Aug 27 '24

Question Ios preview software

Post image

Hello, I’m new to app dev and I want to make my first app with flutter… So I watched some videos and some of them had this (photo) and I want to know how us this called or how can I use it. I have an old macbook 12’ 2017 so I hope that it’s not M processors feature…

2 Upvotes

12 comments sorted by

View all comments

18

u/LavaCreeperBOSSB Beginner Aug 27 '24

It's called Simulator, download thru Xcode

-9

u/Playful-Ask-3330 Aug 27 '24

Can I used it with vscode? Because in xcode you can only use swift, right? I want to pair it with flutter if its possible…

6

u/iStumblerLabs Aug 28 '24

VSCode is a text editor with plugins to let you use various language, build systems, & c.. It has tools for working with Flutter, Xcode projects, and all the languages you would need to use to build a working app (which is a few more than just Dart/Swift/Objective-C).

Xcode is an IDE which is focused on enabling macOS/iOS/tvOS/ipadOS/visionOS developers to write great native software. It has a set of command line and other developer tools (including xcodebuild and the Simulator pictured above) to help with this.

Flutter is a cross-platform API and toolchain which lets you build software for iOS, Android, Desktop, and the Web using Dart. It's great if you understand all these targets and want to ship product across platforms.

To accomplish what you are trying to do (build your first app using Flutter) you will need to have at least a basic understanding of all of the above and how they interact. Possible, for sure, but it's a big lift for a beginning developer. While I think there's a place for Flutter, it's not the best first app language because of the prerequisite knowledge it requires.

Most "my first application" projects, which don't require platform specific or lower level APIs (e.g. file system or network) can be quickly prototyped in HTML and JavaScript, which is the lowest bar to entry: all you need is a text editor and web browser. If the app you want to make does need lower-level API access then the native development environment of your preferred target is the best one to learn (Xcode for macOS/iOS/... or Android Studio generally).

4

u/-darkabyss- Objective-C / Swift Aug 28 '24

Good on you typing it out, read this one OP

1

u/Hopeful-Sir-2018 Aug 28 '24

Not in the way you're probably thinking. VSC can do some impressive stuff but Apple didn't realize a CLI debugger or previewer - meaning VSC would just be a text editor with syntax highlighting and such. I mean I use it for more than half my work now because Xcode is dog shit.

However if you were in .Net it could, practically, be a full blown IDE if setup correctly.

But for anything Apple related? You're going to have to stick with Xcode and it's ... demonic self.

What you CAN do is code it in VSC and then swap windows to Xcode to reload the Previewer.

There's no reason to believe Apple will ever cooperate and make a debugger, Previewer, etc for anything else - which is likely why Swift won't ever gain major traction anywhere of value.

-2

u/LavaCreeperBOSSB Beginner Aug 27 '24

i think so

0

u/Playful-Ask-3330 Aug 27 '24

Okey, I will try it, Thanks very much