Skip to content

Commit

Permalink
Update objective-c-generics.md
Browse files Browse the repository at this point in the history
  • Loading branch information
vtourraine committed Nov 20, 2015
1 parent f82c30f commit f058e3d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions articles/drafts/objective-c-generics.md
Expand Up @@ -18,13 +18,9 @@ Tout se passe au moment de la déclaration, en précisant la classe attendue ent

``` objc
@property NSArray <NSDate *> *dates;

// ...

- (void)doSomething:(NSDictionary <NSURL *, NSData *> *)cachedData;

// ...

NSSet <NSString *> *words = nil;
```

Expand All @@ -43,7 +39,9 @@ Pour reprendre les trois exemples donnés ci-dessus, voici ce que donnent les d

``` swift
var dates: [NSDate]
// ...
func doSomething (words: Set<String>) {}
// ...
var cachedData: [NSURL: NSData]
```

Expand Down

0 comments on commit f058e3d

Please sign in to comment.