Skip to content

Commit

Permalink
Added ARC-enabled instructions and <UIKit/UIKit.h> import into AudioS…
Browse files Browse the repository at this point in the history
…hareSDK.h
  • Loading branch information
markjeschke committed Nov 12, 2014
1 parent 64d8e60 commit 53deeeb
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
1 change: 1 addition & 0 deletions AudioShareSDK.h
Expand Up @@ -2,6 +2,7 @@
// Copyright (C)2012 Jonatan Liljedahl

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

@interface AudioShare : NSObject <UIAlertViewDelegate>

Expand Down
13 changes: 12 additions & 1 deletion README.md
Expand Up @@ -15,6 +15,17 @@ Don't forget to import the header:

#import "AudioShareSDK.h"

For ARC-enabled projects, such as new Xcode 6 projects
------------------------------------------------------
You must disable ARC for the `AudioShareSDK.m` file, or else your project will return errors and fail to build and run.

1. Select the project in the left-hand Project Navigator tree.
2. Click on the "Build Phases" tab at the top.
3. Click on "Compiler Sources" category to open the accordian arrow and show the enclosed files.
4. Select to highlight the `AudioShareSDK.m` file.
5. Double-click on the right-hand side of the selected row, under the "Compiler Flags" column.
6. Type: '-fno-objc-arc' (without the single quotes) into the field, and press the return key to commit the new compiler source flag.

Export to AudioShare
--------------------
The typical usage is to have a button or menu item labelled "Export to AudioShare" that
Expand Down Expand Up @@ -82,6 +93,6 @@ and/or transferring sounds to/from the AudioShare app.

If you do, I would appreciate if you drop me a message at lijon@kymatica.com

Copyright (C)2012-2013 Jonatan Liljedahl
Copyright (C)2012-2014 Jonatan Liljedahl

http://kymatica.com

0 comments on commit 53deeeb

Please sign in to comment.