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];





8 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