Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement] Added Light Appearance , Response Date, Cache Policy and Tutorial Using Hierarchy Tree. #27

Merged
merged 13 commits into from
Jan 29, 2024

Conversation

mrakhal
Copy link
Collaborator

@mrakhal mrakhal commented Jan 28, 2024

Enhance the code to include the response date & cache policy. Additionally, I am interested in adding a light appearance, also providing a tutorial on how to use a hierarchy tree (Snapshot and Hierarchy).

perhaps you could provide suggestions on the changes I have made to the code, Thank you 🙏

cc: @MaatheusGois

mrakhal and others added 11 commits January 24, 2024 06:30
If you prefer to selectively disable certain features, DebugSwift can now deactivate unnecessary functionalities. This can assist you in development across various environments.
Convert from Int using Enum for hide some features.
function name has been changed to setup(hideFeatures: [DebugSwiftFeatures])
when try using networking SDK (Moya, etc), network log not showing
…al Using Hierarchy Tree

enhance the code to include a response date. Additionally, I am interested in adding a light appearance, also providing a tutorial on how to use a hierarchy tree (Snapshot and Hierarchy)
readme updated
add result image for hide some features
//

import Foundation

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To run in package, needs:

import UIKit

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i'm forget sorry 😂

change import Foundation to UIKit
It seems like you're facing an issue when making an API request with a long response. In the network response, nothing is shown because the func urlSession(_: URLSession, dataTask _: URLSessionDataTask, didReceive data: Data) function is splitting the response into two parts, making it unrecognized as an object.
@MaatheusGois
Copy link
Member

Your work is great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Enhancement] Add Light Appearance , Response Date, Cache Policy and Tutorial Using Hierarchy Tree
2 participants