Skip to content
This repository was archived by the owner on Jan 6, 2024. It is now read-only.

Commit 0c0fcad

Browse files
committed
Update documentation
1 parent 3411002 commit 0c0fcad

File tree

4 files changed

+15
-53
lines changed

4 files changed

+15
-53
lines changed

CHANGELOG.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
Changelog
22
==========
33

4-
### 3.0.0
4+
### 2.5.0
55

6-
- Bump to FBSDK 4.X
6+
Breaking change with configuration.
7+
8+
- Bump to FBSDK 4.39
9+
- Remove every class prefix
710
- Remove allowMultipleSelection, instead use maximumSelectedPictures property
11+
- Refactor code with child controller
812

913
### 2.4.1
1014

CUSTOMISATION.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ You can apply some customisations. To do it you can use the `FacebookPickerConfi
44

55
```swift
66
// Multiple selection settings
7-
GBHFacebookImagePicker.pickerConfig.allowMultipleSelection = true // False by default
7+
FacebookImagePicker.pickerConfig.allowMultipleSelection = true // False by default
88
```
99

1010
Here is the `FacebookPickerConfig` with default value :

GBHFacebookImagePicker/Classes/Controller/ContentStateViewController/EmptyViewController.swift

Lines changed: 0 additions & 41 deletions
This file was deleted.

README.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,14 @@ This picker takes care of all authentication (from the web or with the native Fa
2929
- [x] Login with Facebook SDK and display user's Albums or tagged photos
3030
- [x] Display pictures of each albums
3131
- [x] Handling denied Facebook photo's permission
32-
- [x] Select and get URL/Image of the selected pictures
33-
- [x] UI Customization
34-
- [x] iPhone/iPad support
3532
- [x] Multiple selection in one album
3633
- [x] Select all
3734

3835
## TODOs
3936

40-
- [ ] Use Anchor for layout (make the layout code cleaner and readable)
37+
- [ ] Refactor : use Anchor for layout (make the layout code cleaner and readable)
38+
- [ ] Multiple pictures selection across albums
39+
- [ ] Refactor : use Codable for parse FB API result
4140
- [ ] UI & Unit tests
4241

4342
## Example
@@ -114,7 +113,7 @@ func facebookImagePickerDismissed() {
114113
The imageModel contain :
115114

116115
```swift
117-
public class GBHFacebookImage {
116+
public class FacebookImage {
118117
public var image: UIImage? // The image, not nil only if image is selected
119118
public var normalSizeUrl: String? // Normal size picture url
120119
public var fullSizeUrl: String? // Full size source picture url
@@ -125,7 +124,7 @@ public class GBHFacebookImage {
125124
- Display picker :
126125

127126
```swift
128-
let picker = GBHFacebookImagePicker()
127+
let picker = FacebookImagePicker()
129128
picker.presentFacebookAlbumImagePicker(from: self, delegate: self)
130129
```
131130

@@ -139,7 +138,7 @@ You can apply some customisation. To do it you can use the [FacebookPickerConfig
139138

140139
## Translation
141140

142-
GBHFacebookImagePicker is currently written in english. If you need translation for the permission popup (or whatever thing), just add this line in your localized file :
141+
FacebookImagePicker is currently written in english. If you need translation for the permission popup (or whatever thing), just add this line in your localized file :
143142

144143
```
145144
"Pictures" = "<your_translation>";
@@ -162,7 +161,7 @@ GBHFacebookImagePicker is currently written in english. If you need translation
162161

163162
## Installation
164163

165-
GBHFacebookImagePicker is available through [CocoaPods](http://cocoapods.org). To install
164+
FacebookImagePicker is available through [CocoaPods](http://cocoapods.org). To install
166165
it, simply add the following line to your Podfile:
167166

168167
```ruby
@@ -194,6 +193,6 @@ Inspired by [OceanLabs/FacebookImagePicker-iOS](https://github.com/OceanLabs/Fac
194193

195194
## License
196195

197-
GBHFacebookImagePicker is available under the [MIT license](LICENSE).
196+
FacebookImagePicker is available under the [MIT license](LICENSE).
198197

199198
If your application use this picker consider to add the licence in your Credits/About section. You can use [this library to do it](https://github.com/terflogag/OpenSourceController).

0 commit comments

Comments
 (0)