0

I want to create an image editing app and I am using Aviary but I can't find any tutorials on Aviary, that's why I'm having a problem on working on it.

Are there any tutorials for how to use Aviary SDK for iOS?

I am reading this document, but are there are any tutorials, to easily show what to do?

Community
  • 1
  • 1
Zohaib Brohi
  • 576
  • 1
  • 7
  • 15

2 Answers2

3

Just create an Aviary object:

AFPhotoEditorController *e = [[AFPhotoEditorController alloc] initWithImage:IMAGE];

[e setDelegate:self];

[self presentModalViewController:e animated:YES];

Then implement Finished & Canceled Delegate methods:

- (void)photoEditor:(AFPhotoEditorController *)editor finishedWithImage:(UIImage *)image

- (void)photoEditorCanceled:(AFPhotoEditorController *)editor

Good Luck!

Quill
  • 2,729
  • 1
  • 33
  • 44
Mustafa Ibrahim
  • 1,110
  • 1
  • 9
  • 17
  • 1
    its giving me following warning on set.delegate sending ViewController* to parameter of incompatible tyoe id – Zohaib Brohi Nov 13 '12 at 10:15
  • thanks mustaga ibrahim .. atleast it opened a new window in which i can edit my picture.. i which there could be more tutorials to read. – Zohaib Brohi Nov 13 '12 at 10:26
0

Here is a link with detailed instructions on how to use the Aviary SDK from the Aviary website:

Aviary SDK Documentation

I hope this will help you.

Ahmed Hammad
  • 435
  • 4
  • 8