Thursday, November 22, 2012

Conversion between CGPoint & NSValue (Mac)



To convert CGPoint to NSValue:

NSValue valueXY = [NSValue valueWithPoint:CGPointMake(X, Y)];


To retrieve CGPoint from NSValue:


CGPoint mPoint=[valueXY pointValue];





14 comments:

  1. this site very helpful for reader and get more information here, and i found this blog good infomation and sharing about all

    Lordriver
    soft-full
    zonedrivers
    setupdrivers

    ReplyDelete
  2. thank you for sharing, very useful for the reader , and the site is very prioritizes quality , very nice and best regard


    Samsung ml-2851nd Driver
    Samsung ml-2851nd Driver
    Brother MFC-J285DW Driver Download
    Brother MFC-J825DW Driver Download

    ReplyDelete
  3. I am absolutely happy to see this blog. Personally i am a web developer and i have acquired a lot of ideas from this post. Looking for thesis paper writing help? Consider making an order from us today and you will never be disappointed.
    Entrepreneurship Thesis Paper Help

    ReplyDelete
  4. Thank you for your commissions over the years to keep us updated on such important matters. It is indeed a profitable creation having your blog. Agricultural Studies SOP Writing Help

    ReplyDelete
  5. Mobile and social network technologies have revolutionized how business are done. The traditional marketing strategies are no longer working, to keep up with the pace you need to understand in details what social networks are and how you can use them to your advantage.
    Admission Essays Writing Aid

    ReplyDelete
  6. I am very glad to learn a lot from you this meaningful knowledge. From an article describing your unique way , we can see that you are an approachable , humorous person. Not only that, your article is rich with a lot of useful knowledge and helpful information.
    Assignment Writing Services

    ReplyDelete
  7. While the potato is of great importance in the United States, it is in northern and central Europe that it is often the chief starchy food of the common people. In addition to its use as food for man and beast, the manufacture of industrial alcohol and of starch is of much importance.
    foundations of algebra textbook

    ReplyDelete
  8. You have done a great job. I will definitely dig it and personally recommend to my friends. I am confident they will be benefited from this site.
    schools9 com bangalore university results 2018

    ReplyDelete
  9. Data Science Certification Courses in Bangalore. ExcelR is the Best Data Science Training Institute in Bangalore with Placement assistance and offers a blended.
    https://www.excelr.com/data-science-course-training-in-bangalore/

    ReplyDelete
  10. I am read your blog properly and I am got of many information, I am suggest to you keep share like this type of blog, it’s really helped me a lot of keep working, am suggest to my all dear friend to visit this blog and collect lot of information, thank you so much for read my comment, if any one searching website designing or development company in India please visit my website we are completed your work in cheap rate.
    Website Designing Company in India

    ReplyDelete
  11. That was such an awesome content to read and going through it.Thanks for such a good information.our product related for servo voltage stabilizer and transformer.

    ReplyDelete