Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
    Sebastian Dobrincu
    Hi! If you have any kind of questions regarding the SDiPhoneVersion library feel free to leave them here. Also, if you just want to say hi, that's fine too :smile:.
    Tyler Fox
    Good work on the project. But it's probably going to end up that people use this to hardcode values that shouldn't be. For example, using the specific device to conditionalize layout code instead of using the adaptive layout techniques. It would be wise to warn people not to rely on the device type for things like this.
    Adaptive design is not an aswer when you want create a very nice and shine design. And this library does exactly what it should does, help to understand the right version of the device.
    Sebastian Dobrincu

    Hi @smileyborg!

    The main feature of this library is to target specific iPhone versions. It's true that it can also target different screen sizes, but as @ignazioc said, adaptive layout isn't always the solution for creating an enjoyable user experience. You're somehow right, as i also don't recommend abusing it, but i've personally stumbled upon certain cases where such a tool was needed and i am pretty sure i am not the only one.

    Thanks for checking it out :smiley: !

    Sébastien HOUZÉ
    Hi @sebyddd ! We regret that you don't have prefixed enum integers with SD to prevent namespace collisions. Also there's no SDiPhoneUnknown into the device enum. Can we send your 2 PRs to fix that?
    Sebastian Dobrincu
    Hey @shouze! Thanks for pointing that out. Sure, that would be great :)
    Tom Baranes
    Thanks to have accepted my mac issue! That will be awesome for the cross project :D
    How do I create a PayPal account? I am banning my country
    Sebastian Dobrincu
    @aghagon2000 What are you talking about? 😂