GithubHelp home page GithubHelp logo

devnos.popover's Introduction

Hi there ๐Ÿ‘‹๐Ÿฝ

I'm Anuj Bhatia. I love learning about people, history, and new ideas. My goal in life is to improve the human experience.

Currently I live in the SF Bay Area with my wife and daughter. And work as a Principal Architect at Microsoft on our AI Platform and Services, and previously worked on Xamarin with a bunch of awesome folks.

For the last 10 years I've been working to enable developers to build products that make life better for the world. Right now, I'm interested in exploring the idea of "leverage". And more specifically, how we can use technology to empower people to accomplish their goals.

In my spare time, I'm cooking and playing on the floor and reading books with my family.



Here are some ideas to get you started:

  • ๐Ÿ“˜ I recently enjoyed reading A Guide to the Good Life
  • ๐ŸŒฑ Iโ€™m currently learning about AI/ML ๐Ÿค–
  • ๐Ÿค” Iโ€™m looking to help with their projects. Ping me.
  • ๐Ÿ“ซ How to reach me: Email or Twitter

devnos.popover's People

Contributors

anujb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

devnos.popover's Issues

UIBarButton Popover

Support for a popover that originates from the location of a UIBarButton (the "Frame" property of a button does not exist with a UIBarButton).

Side-note: I'm having issues getting my content to pop down at the right location. Image: http://oi41.tinypic.com/2s9solv.jpg. I don't really have much of a graphics background at all, and I'm awful with the coordinates system. I was just wondering if there was some sort of method that could be added that would drop down automatically.

Also, my MT.D view controller is extending beyond the content size, and I don't know why.

If this is any easy fix, sorry for my stupidity!

Top margin issue

Seems like "PopoverContainerModel DefaultContainerModel" misses some code, so when you use that default model popover content gets on top of popover.

Fix (from my colleague Ivan):

        public static PopoverContainerModel DefaultContainerModel
        {
            get
            {
                var bgMargin = 13.0f;
                var contentMargin = 4.0f;
                var hContentMargin = 6.0f;
                var bgCapSize = 31;

                var imageSize = new SizeF(30.0f, 30.0f);

                return new PopoverContainerModel()
                {
                    LeftBgMargin = bgMargin,
                    RightBgMargin = bgMargin,
                    TopBgMargin = bgMargin,
                    BottomBgMargin = bgMargin,
                    LeftBgCapSize = bgCapSize,
                    TopBgCapSize = bgCapSize,
                    LeftContentMargin = contentMargin,
                    RightContentMargin = contentMargin,
                    TopContentMargin = hContentMargin,
                    BottomContentMargin = contentMargin,
                    ArrowMargin = 1.0f,
                    BackgroundImage = PopoverImage.BackgroundImage,
                    UpArrowImage = PopoverImage.UpArrowImage,
                    DownArrowImage = PopoverImage.DownArrowImage,
                    LeftArrowImage = PopoverImage.LeftArrowImage,
                    RightArrowImage = PopoverImage.RightArrowImage,
                };

            }
        }

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.