Interface Builder: XIBs vs Storyboards

Sdílet
Vložit
  • čas přidán 27. 08. 2024

Komentáře • 11

  • @AkamiChannel
    @AkamiChannel Před 3 lety +8

    It's called a nib bc technically a xib gets compiled into a nib. I think that's Next Interface Builder, which is Next as in Jobs' old company. It has a long history.

  • @pratikzora
    @pratikzora Před 3 lety +3

    Thanks for the explanation
    .

  • @yurowitz
    @yurowitz Před rokem

    For those coming from an Android app development background (like myself), Storyboards are basically Navigation Graphs (Google probably stole this from Apple), which are not exactly necessary but are pretty good to control the navigation process in your app.
    However the NIBs (XIB Files) are, as far as I understood, the equivalent of an XML representation of a view. For example, in RecyclerView, each viewholder inflates from a view item's XML, correct ? That is the NIB.

  • @user-vg2eq8ud9q
    @user-vg2eq8ud9q Před 3 lety +1

    Great video!

  • @FaulFerkel
    @FaulFerkel Před 3 lety +1

    But you can reuse prototype from storyboard many times also, so there's no need in xibs at all.

    • @AtaTheKin
      @AtaTheKin Před 2 lety

      It’s easier to have nib for modularization in companies with a lot of programmers

  • @zardashtjaza1343
    @zardashtjaza1343 Před 2 lety

    please can you make video on UIView reusable View

  • @AkamiChannel
    @AkamiChannel Před 3 lety

    What are you using for the zooming? Is that something you do with your mouse wheel or is that editing afterwards?

    • @user-vg2eq8ud9q
      @user-vg2eq8ud9q Před 3 lety

      May be an accessibility function. Check it in macOS System Preferences.