Commit ea208f1
authored
Integrate WordPressKit via source code (#24771)
* Fix imports
* Add a bridging header to the share extension targets
Without this, Objective-C APIs that contains Swift types in WordPressKit
will not be available to Swift code in the share extension targets.
* Add a Swift compiler flag to all targets
* Use WordPressComRestApi explicitly
* fix imports
* `RemoteLikeUser` properties are now Optional
* Update WordPressKit
* Remove unused getLikes stub
* Fix a OCMock unit test
* Remove a duplicated import
* Remove a few unnecessary import statements1 parent e2650fe commit ea208f1
121 files changed
Lines changed: 182 additions & 40 deletions
File tree
- Modules
- Sources/JetpackStats/Services
- Sources
- WordPressAuthenticator/Helpers
- WordPressData
- Objective-C
- include
- Swift
- Tests/KeystoneTests/Tests/Services
- WordPress
- Classes
- Categories
- Login
- Models
- Notifications
- Services
- Stores
- System
- Utility
- Automated Transfer
- BackgroundTasks
- Sharing
- ViewRelated
- Activity
- Details
- FormattableContent
- List
- Blog
- Blog Dashboard/Cards/Activity Log
- Site Monitoring
- Subscribers/List
- Domains
- Domain registration
- RegisterDomainDetails/ViewModel
- Utility
- Gutenberg
- Jetpack
- Install/ViewModel
- Jetpack Restore
- Restore Complete
- Restore Options/Coordinators
- Restore Status
- Coordinators
- Restore Warning/Coordinators
- Jetpack Scan
- Media/MediaPicker/Helpers
- Menus
- Categories
- Views
- Me
- Account Settings
- App Settings/Privacy Settings
- Domain Details
- NUX/Helpers
- People/Controllers
- Post
- Preview
- Reader
- Cards/Tags View
- Comments
- Controllers
- ReaderPostActions
- Detail
- Manage
- Select Interests
- Subscriptions
- Views
- Site Creation
- Services
- Web Address
- Stats
- Insights
- WordPress.xcodeproj
- config
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| |||
273 | 273 | | |
274 | 274 | | |
275 | 275 | | |
| 276 | + | |
276 | 277 | | |
277 | 278 | | |
278 | 279 | | |
| |||
392 | 393 | | |
393 | 394 | | |
394 | 395 | | |
| 396 | + | |
395 | 397 | | |
396 | 398 | | |
397 | 399 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
266 | 266 | | |
267 | 267 | | |
268 | 268 | | |
269 | | - | |
270 | | - | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
271 | 273 | | |
272 | 274 | | |
273 | 275 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
3 | 7 | | |
4 | 8 | | |
5 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
7 | 9 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
4 | 6 | | |
5 | 7 | | |
6 | 8 | | |
| |||
0 commit comments