Skip to content
This repository

Fix #33 #34

Merged
merged 1 commit into from almost 2 years ago

2 participants

Vinh Quốc Nguyễn Robbie Hanson
Vinh Quốc Nguyễn

This is to fix #33. Sorry for stupid double ticket ;(. I didn't know GitHub will create a ticket once sending a pull request.

Robbie Hanson robbiehanson merged commit 6625620 into from July 05, 2012
Robbie Hanson robbiehanson closed this July 05, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Jul 05, 2012
Vinh Quốc Nguyễn Support built on iOS4. Check for the support of objc_arc_weak to deci…
…de use weak or unsafe_unretained
1722ad4
This page is out of date. Refresh to see the latest.

Showing 1 changed file with 5 additions and 1 deletion. Show diff stats Hide diff stats

  1. 6  Core/Mime/MultipartFormDataParser.h
6  Core/Mime/MultipartFormDataParser.h
@@ -55,7 +55,11 @@ NSMutableData*						pendingData;
55 55
 
56 56
 - (id) initWithBoundary:(NSString*) boundary formEncoding:(NSStringEncoding) formEncoding;
57 57
 
58  
-@property(weak, readwrite) id delegate;
  58
+#if __has_feature(objc_arc_weak)
  59
+    @property(weak, readwrite) id delegate;
  60
+#else
  61
+    @property(unsafe_unretained, readwrite) id delegate;
  62
+#endif
59 63
 @property(readwrite) NSStringEncoding	formEncoding;
60 64
 
61 65
 @end
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.