is it possible to do what lazarus does? just by using the pascal and that IDE?
You're kinda all over the place and I'm not entirely certain that I understand what you're asking, but I _think_ you're asking whether it's possible to create a GUI app entirely in code, without using a UI designer like what Lazarus and Xcode include. I'm not familiar with Lightweight-IDE, but I assume you're referring to this and that it does not have a UI designer:
http://www.ragnemalm.se/lightweightIf so, search this forum for questions about creating forms and controls at runtime in code.
The question is whether you'll succeed at that. With desktop software development, programmers have been using UI designers for quite a few years, although this is uncommon in, say, Web app development, probably because Web apps are not designed like desktop apps with fixed UI widget positions and layouts.
With a UI designer, you can lay out your widgets in the design phase, before you compile, thereby saving a lot of edit/compile/run cycles.
One approach you might take would be to follow the normal Lazarus or Xcode path, designing your UI the conventional way with the provided designer, but then do all your code editing and building in whatever IDE or text editor combo you prefer. For example, I'm not a fan of the Lazarus code editor, so I never use it, preferring BBEdit for all my editing needs on Mac (
https://www.barebones.com).
Xcode info for Pascal is here under ProjectXC:
https://macpgmr.github.io