Horizontal page curl in iPhone - I have - But Valid ?

Posted by sagar on Stack Overflow See other posts from Stack Overflow or by sagar
Published on 2010-05-21T05:07:53Z Indexed on 2010/05/21 5:10 UTC
Read the original article Hit count: 758

Hello ! Every one.

I was googling for applying horizontal page curl in iPhone. I also tried this, but it wasn't appropriate for me (To change orientation & work in different ori.). I tried to google more. Finally I got a link or link . From Where, I could Understand the horizontal page curl.

But when I went to code deeply, I found some confusing points. Let me list down.


Please download attached code - it's not my code. ( I am not selling any code, but Direct project link would be better than placing multiple codes here. )

  1. extern NSString *kCAFilterPageCurl; // From QuartzCore.framework
    is it valid to use internal variable ? ( as it's mentioned - from QuartzCore )

  2. CAFilter *previousFilter = [[CAFilter filterWithType:kCAFilterPageCurl] retain];
    Above statement is giving warning ( not error ) -> no '+filterWithType:' method found
    Might be using internal (apple's private) method.

  3. [previousFilter setDefaults];
    Above statement is giving warning ( not error ) -> no '-setDefaults:' method found
    Might be using internal (apple's private) method.

Now My queries.

  1. I have above doubts in the project ( that might be using apple's private methods ).
  2. Is this code safe for apple store approval ?
  3. If 2's answer is wrong, what should be done for horizontal page curl ?

In short, I want a horizontal page curl, But Need your suggestions for having the proper solution, which might not trouble me in future.

Thanks in advance for your great help.

Sagar.

© Stack Overflow or respective owner

Related posts about iphone

Related posts about xcode