Skip to content

Commit

Permalink
Fixed memory Leaks
Browse files Browse the repository at this point in the history
  • Loading branch information
bhsdrew committed Jun 11, 2011
1 parent 741c0a1 commit d272682
Show file tree
Hide file tree
Showing 11 changed files with 218 additions and 36 deletions.
8 changes: 8 additions & 0 deletions Miso Wrapper.xcodeproj/project.pbxproj
Expand Up @@ -7,6 +7,8 @@
objects = {

/* Begin PBXBuildFile section */
601C5DAC13A3351E00E97D8D /* closebutton.png in Resources */ = {isa = PBXBuildFile; fileRef = 601C5DAA13A3351D00E97D8D /* closebutton.png */; };
601C5DAD13A3351E00E97D8D /* closebutton@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 601C5DAB13A3351D00E97D8D /* closebutton@2x.png */; };
603BF23F13A19E6800D8BC09 /* NSObject+SBJSON.m in Sources */ = {isa = PBXBuildFile; fileRef = 603BF20B13A19E6800D8BC09 /* NSObject+SBJSON.m */; };
603BF24013A19E6800D8BC09 /* NSString+SBJSON.m in Sources */ = {isa = PBXBuildFile; fileRef = 603BF20D13A19E6800D8BC09 /* NSString+SBJSON.m */; };
603BF24113A19E6800D8BC09 /* SBJSON.m in Sources */ = {isa = PBXBuildFile; fileRef = 603BF20F13A19E6800D8BC09 /* SBJSON.m */; };
Expand Down Expand Up @@ -45,6 +47,8 @@
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
601C5DAA13A3351D00E97D8D /* closebutton.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = closebutton.png; sourceTree = "<group>"; };
601C5DAB13A3351D00E97D8D /* closebutton@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "closebutton@2x.png"; sourceTree = "<group>"; };
603BF20913A19E6800D8BC09 /* JSON.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSON.h; sourceTree = "<group>"; };
603BF20A13A19E6800D8BC09 /* NSObject+SBJSON.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSObject+SBJSON.h"; sourceTree = "<group>"; };
603BF20B13A19E6800D8BC09 /* NSObject+SBJSON.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSObject+SBJSON.m"; sourceTree = "<group>"; };
Expand Down Expand Up @@ -245,6 +249,8 @@
94C2192B13A15A5700485DBF /* Miso.m */,
603BF29C13A1A32400D8BC09 /* MisoDialog.h */,
603BF29D13A1A32400D8BC09 /* MisoDialog.m */,
601C5DAA13A3351D00E97D8D /* closebutton.png */,
601C5DAB13A3351D00E97D8D /* closebutton@2x.png */,
94C218AE13A1556500485DBF /* Supporting Files */,
);
path = "Miso Wrapper";
Expand Down Expand Up @@ -315,6 +321,8 @@
94C218C113A1556500485DBF /* Miso_WrapperViewController.xib in Resources */,
603BF25313A19E6800D8BC09 /* OATestServer.rb in Resources */,
603BF25713A19E6800D8BC09 /* README in Resources */,
601C5DAC13A3351E00E97D8D /* closebutton.png in Resources */,
601C5DAD13A3351E00E97D8D /* closebutton@2x.png in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down
16 changes: 13 additions & 3 deletions Miso Wrapper/Miso.h
Expand Up @@ -3,18 +3,28 @@
// Miso Wrapper
//
// Created by Andrew Fernandez on 6/9/11.
// Copyright 2011 __MyCompanyName__. All rights reserved.
//
// Copyright 2011 IronsoftStudios.com All rights reserved.
/*
Copyright (c) 2011 Andrew Fernandez
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/


#import <Foundation/Foundation.h>
#import "OAuthConsumer.h"


#define misoRequestTokenUrl @"https://gomiso.com/oauth/request_token/"
#define misoAuthorizeUrl @"https:/gomiso.com/oauth/authorize"
#define misoAccessTokenUrl @"https://gomiso.com/oauth/access_token"
@protocol MisoDelegate;


@interface Miso : NSObject <UIWebViewDelegate>{
id<MisoDelegate> delegate;
OAToken *requestToken;
Expand Down

0 comments on commit d272682

Please sign in to comment.