Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix syntax error

  • Loading branch information...
commit eb34352b037b5e4783d8362de6e65c95a0e66583 1 parent ddda58c
@Cykey Cykey authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  README.md
View
2  README.md
@@ -40,7 +40,7 @@ Another goal (at least super useful for debugging) is interoperability between U
``` objective-c
UICollectionViewFlowLayout *flowLayout = [UICollectionViewFlowLayout new];
-PSTCollectionView *collectionView = [PSTCollectionView alloc] initWithFrame:self.view.bounds collectionViewLayout:(PSTCollectionViewFlowLayout *)flowLayout];
+PSTCollectionView *collectionView = [[PSTCollectionView alloc] initWithFrame:self.view.bounds collectionViewLayout:(PSTCollectionViewFlowLayout *)flowLayout];
```
(*) Note that for some methods we can't use the _ underscore variants or we risk to get a false-positive on private API use. I've added some runtime hacks to dynamcially add block forwarders for those cases (mainly for UI/PST interoperability)
Please sign in to comment.
Something went wrong with that request. Please try again.