Skip to content

Commit

Permalink
Remove singletons in both parser and writer (#266)
Browse files Browse the repository at this point in the history
Remove singletons in both parser and writer
  • Loading branch information
stig committed Jan 19, 2020
2 parents 25d8927 + 3a8a7d5 commit 5770067
Show file tree
Hide file tree
Showing 10 changed files with 497 additions and 716 deletions.
8 changes: 1 addition & 7 deletions Classes/SBJson5StreamParser.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (c) 2010-2013, Stig Brautaset.
Copyright (c) 2010-2020, Stig Brautaset.
All rights reserved.
Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -32,9 +32,6 @@

#import <Foundation/Foundation.h>

@class SBJson5StreamParser;
@class SBJson5StreamParserState;

typedef enum {
SBJson5ParserComplete,
SBJson5ParserStopped,
Expand Down Expand Up @@ -95,9 +92,6 @@ typedef enum {
*/
@interface SBJson5StreamParser : NSObject

@property (nonatomic, weak) SBJson5StreamParserState *state; // Private
@property (readonly) id<SBJson5StreamParserDelegate> delegate; // Private

/**
Create a streaming parser.
Expand Down
Loading

0 comments on commit 5770067

Please sign in to comment.