Skip to content

Commit

Permalink
Update README and add compiler warnings about compiling with ARC.
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisAshworth committed Aug 11, 2015
1 parent df9f0cf commit ac393eb
Show file tree
Hide file tree
Showing 13 changed files with 58 additions and 11 deletions.
6 changes: 5 additions & 1 deletion F53OSCBundle.m
Expand Up @@ -3,7 +3,7 @@
//
// Created by Sean Dougall on 1/17/11.
//
// Copyright (c) 2011-2013 Figure 53 LLC, http://figure53.com
// Copyright (c) 2011-2015 Figure 53 LLC, http://figure53.com
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand All @@ -24,6 +24,10 @@
// THE SOFTWARE.
//

#if !__has_feature(objc_arc)
#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
#endif

#import "F53OSCBundle.h"
#import "F53OSCTimeTag.h"
#import "F53OSCFoundationAdditions.h"
Expand Down
4 changes: 4 additions & 0 deletions F53OSCClient.m
Expand Up @@ -24,6 +24,10 @@
// THE SOFTWARE.
//

#if !__has_feature(objc_arc)
#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
#endif

#import "F53OSCClient.h"
#import "F53OSCParser.h"

Expand Down
4 changes: 4 additions & 0 deletions F53OSCMessage.m
Expand Up @@ -26,6 +26,10 @@
// Reference information: http://opensoundcontrol.org/spec-1_0-examples
//

#if !__has_feature(objc_arc)
#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
#endif

#import "F53OSCMessage.h"
#import "F53OSCServer.h"
#import "F53OSCFoundationAdditions.h"
Expand Down
6 changes: 5 additions & 1 deletion F53OSCPacket.m
Expand Up @@ -3,7 +3,7 @@
//
// Created by Sean Dougall on 1/17/11.
//
// Copyright (c) 2011-2013 Figure 53 LLC, http://figure53.com
// Copyright (c) 2011-2015 Figure 53 LLC, http://figure53.com
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand All @@ -24,6 +24,10 @@
// THE SOFTWARE.
//

#if !__has_feature(objc_arc)
#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
#endif

#import "F53OSCPacket.h"


Expand Down
6 changes: 5 additions & 1 deletion F53OSCParser.m
Expand Up @@ -3,7 +3,7 @@
//
// Created by Christopher Ashworth on 1/30/13.
//
// Copyright (c) 2013 Figure 53 LLC, http://figure53.com
// Copyright (c) 2013-2015 Figure 53 LLC, http://figure53.com
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand All @@ -24,6 +24,10 @@
// THE SOFTWARE.
//

#if !__has_feature(objc_arc)
#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
#endif

#import "F53OSCParser.h"
#import "F53OSCMessage.h"
#import "F53OSCSocket.h"
Expand Down
6 changes: 5 additions & 1 deletion F53OSCServer.m
Expand Up @@ -3,7 +3,7 @@
//
// Created by Sean Dougall on 3/23/11.
//
// Copyright (c) 2011-2013 Figure 53 LLC, http://figure53.com
// Copyright (c) 2011-2015 Figure 53 LLC, http://figure53.com
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand All @@ -24,6 +24,10 @@
// THE SOFTWARE.
//

#if !__has_feature(objc_arc)
#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
#endif

#import "F53OSCServer.h"
#import "F53OSCFoundationAdditions.h"

Expand Down
4 changes: 4 additions & 0 deletions F53OSCSocket.m
Expand Up @@ -24,6 +24,10 @@
// THE SOFTWARE.
//

#if !__has_feature(objc_arc)
#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
#endif

#import "F53OSCSocket.h"
#import "F53OSCPacket.h"

Expand Down
6 changes: 5 additions & 1 deletion F53OSCTimeTag.m
Expand Up @@ -3,7 +3,7 @@
//
// Created by Sean Dougall on 1/17/11.
//
// Copyright (c) 2011-2013 Figure 53 LLC, http://figure53.com
// Copyright (c) 2011-2015 Figure 53 LLC, http://figure53.com
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand All @@ -24,6 +24,10 @@
// THE SOFTWARE.
//

#if !__has_feature(objc_arc)
#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
#endif

#import "F53OSCTimeTag.h"
#import "NSDate+F53OSCTimeTag.h"

Expand Down
6 changes: 5 additions & 1 deletion NSData+F53OSCBlob.m
Expand Up @@ -3,7 +3,7 @@
//
// Created by Sean Dougall on 1/17/11.
//
// Copyright (c) 2011-2013 Figure 53 LLC, http://figure53.com
// Copyright (c) 2011-2015 Figure 53 LLC, http://figure53.com
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand All @@ -24,6 +24,10 @@
// THE SOFTWARE.
//

#if !__has_feature(objc_arc)
#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
#endif

#import "NSData+F53OSCBlob.h"


Expand Down
6 changes: 5 additions & 1 deletion NSDate+F53OSCTimeTag.m
Expand Up @@ -3,7 +3,7 @@
//
// Created by Sean Dougall on 1/17/11.
//
// Copyright (c) 2011-2013 Figure 53 LLC, http://figure53.com
// Copyright (c) 2011-2015 Figure 53 LLC, http://figure53.com
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand All @@ -24,6 +24,10 @@
// THE SOFTWARE.
//

#if !__has_feature(objc_arc)
#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
#endif

#import "NSDate+F53OSCTimeTag.h"
#import "F53OSCTimeTag.h"

Expand Down
6 changes: 5 additions & 1 deletion NSNumber+F53OSCNumber.m
Expand Up @@ -3,7 +3,7 @@
//
// Created by Sean Dougall on 3/23/11.
//
// Copyright (c) 2011-2013 Figure 53 LLC, http://figure53.com
// Copyright (c) 2011-2015 Figure 53 LLC, http://figure53.com
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand All @@ -24,6 +24,10 @@
// THE SOFTWARE.
//

#if !__has_feature(objc_arc)
#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
#endif

#import "NSNumber+F53OSCNumber.h"


Expand Down
6 changes: 5 additions & 1 deletion NSString+F53OSCString.m
Expand Up @@ -3,7 +3,7 @@
//
// Created by Sean Dougall on 1/17/11.
//
// Copyright (c) 2011-2013 Figure 53 LLC, http://figure53.com
// Copyright (c) 2011-2015 Figure 53 LLC, http://figure53.com
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand All @@ -24,6 +24,10 @@
// THE SOFTWARE.
//

#if !__has_feature(objc_arc)
#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
#endif

#import "NSString+F53OSCString.h"


Expand Down
3 changes: 1 addition & 2 deletions README.markdown
Expand Up @@ -8,8 +8,7 @@ For convenience, we've included a few public domain source files from [CocoaAsyn

## Usage Notes

- GCDAsyncSocket.m and GCDAsyncUDPSocket.m both require ARC
- All other files are not ARC-compatible
- F53OSC must be compiled with ARC.
- You need to link against Security.framework and CFNetwork.framework

## Demo
Expand Down

0 comments on commit ac393eb

Please sign in to comment.