omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    Calling non-instance/class objc functions?

    Pythonista
    4
    11
    3051
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • cvp
      cvp @macservice123 last edited by cvp

      @macservice123 same topic as here but not really an answer

      1 Reply Last reply Reply Quote 0
      • cvp
        cvp @macservice123 last edited by cvp

        @macservice123 It is not so difficult to create structures, like here
        where you will find, for instance

        class UIEdgeInsets (Structure):
        	_fields_ = [('top', CGFloat), ('left', CGFloat), ('bottom', CGFloat), ('right', CGFloat)]
        
        1 Reply Last reply Reply Quote 0
        • JonB
          JonB last edited by

          @cvp you got tricked by a clever spam ruse. The spam hotlink was the point!

          cvp 1 Reply Last reply Reply Quote 0
          • cvp
            cvp @JonB last edited by cvp

            @JonB Wow. I didn't tap on the blue cristiano. thanks, good to know 😢
            Why they do that?
            And how could you identify this kind of spam?

            1 Reply Last reply Reply Quote 0
            • JonB
              JonB last edited by

              note the thread you linked to was the exact same question (wording and all) which is what tipped me off. I think there are bots that find old threads, or stack overflow questions, then repost them with a link embedded. This might be some kind of SEO (getting links out into the wild) or could be just hoping you click the link.

              cvp 1 Reply Last reply Reply Quote 1
              • cvp
                cvp @JonB last edited by

                @JonB After your post, I had remarked that, but if you don't see first the old post, how could you do?

                1 Reply Last reply Reply Quote 0
                • ccc
                  ccc last edited by

                  One clue is to click on the userid. If it was created just before the post then that should be a yellow flag.

                  cvp 1 Reply Last reply Reply Quote 0
                  • cvp
                    cvp @ccc last edited by cvp

                    @ccc Ok, but do you check that at each post from an user you don't know?

                    1 Reply Last reply Reply Quote 0
                    • ccc
                      ccc last edited by ccc

                      Each post from a user that I don’t know that has a link that I am interested enough to click on? —. Yes, I do.

                      cvp 1 Reply Last reply Reply Quote 0
                      • cvp
                        cvp @ccc last edited by

                        @ccc ok, thanks for the advice.I'll (try to not forget to) do the same

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        Powered by NodeBB Forums | Contributors