Skip to content

Commit

Permalink
dfg
Browse files Browse the repository at this point in the history
  • Loading branch information
cranci1 committed May 15, 2024
1 parent f18e746 commit 4c98bcb
Show file tree
Hide file tree
Showing 42 changed files with 149 additions and 56 deletions.
32 changes: 24 additions & 8 deletions AnimeGen.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,12 @@
1393C3AA2BEBC94300704137 /* Dev-History.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1393C3A72BEBC94300704137 /* Dev-History.swift */; };
1393C3AB2BEBC94300704137 /* moe-kyoko.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1393C3A82BEBC94300704137 /* moe-kyoko.swift */; };
13A8496B2BF479DA009A9442 /* n-sfw.swift in Sources */ = {isa = PBXBuildFile; fileRef = 13A8496A2BF479DA009A9442 /* n-sfw.swift */; };
13A8496E2BF4F0E7009A9442 /* FrameWorksCredits.swift in Sources */ = {isa = PBXBuildFile; fileRef = 13A8496D2BF4F0E7009A9442 /* FrameWorksCredits.swift */; };
13A849702BF4F118009A9442 /* Contributor.swift in Sources */ = {isa = PBXBuildFile; fileRef = 13A8496F2BF4F118009A9442 /* Contributor.swift */; };
13AB1D2A2BE93E3D009132CB /* Historyy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 13AB1D292BE93E3D009132CB /* Historyy.swift */; };
13AC382C2BEFA34A00676546 /* APIsValid.swift in Sources */ = {isa = PBXBuildFile; fileRef = 13AC382B2BEFA34A00676546 /* APIsValid.swift */; };
13C1E03C2BE9068600A27DEE /* AboutPage.swift in Sources */ = {isa = PBXBuildFile; fileRef = 13C1E03B2BE9068600A27DEE /* AboutPage.swift */; };
13C1E03E2BE9183400A27DEE /* API.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13C1E03D2BE9183400A27DEE /* API.xcassets */; };
13C1E03E2BE9183400A27DEE /* Credits-Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13C1E03D2BE9183400A27DEE /* Credits-Images.xcassets */; };
13C1E0402BE92BB300A27DEE /* APIsCredits.swift in Sources */ = {isa = PBXBuildFile; fileRef = 13C1E03F2BE92BB300A27DEE /* APIsCredits.swift */; };
13D4FBE02BE7661A00BC3D1C /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 13D4FBDF2BE7661A00BC3D1C /* Main.storyboard */; };
13D4FBE62BE7689500BC3D1C /* Tags.swift in Sources */ = {isa = PBXBuildFile; fileRef = 13D4FBE52BE7689400BC3D1C /* Tags.swift */; };
Expand Down Expand Up @@ -77,10 +79,12 @@
1393C3A72BEBC94300704137 /* Dev-History.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "Dev-History.swift"; sourceTree = "<group>"; };
1393C3A82BEBC94300704137 /* moe-kyoko.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "moe-kyoko.swift"; sourceTree = "<group>"; };
13A8496A2BF479DA009A9442 /* n-sfw.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "n-sfw.swift"; sourceTree = "<group>"; };
13A8496D2BF4F0E7009A9442 /* FrameWorksCredits.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FrameWorksCredits.swift; sourceTree = "<group>"; };
13A8496F2BF4F118009A9442 /* Contributor.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Contributor.swift; sourceTree = "<group>"; };
13AB1D292BE93E3D009132CB /* Historyy.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Historyy.swift; sourceTree = "<group>"; };
13AC382B2BEFA34A00676546 /* APIsValid.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = APIsValid.swift; sourceTree = "<group>"; };
13C1E03B2BE9068600A27DEE /* AboutPage.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AboutPage.swift; sourceTree = "<group>"; };
13C1E03D2BE9183400A27DEE /* API.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = API.xcassets; sourceTree = "<group>"; };
13C1E03D2BE9183400A27DEE /* Credits-Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Credits-Images.xcassets"; sourceTree = "<group>"; };
13C1E03F2BE92BB300A27DEE /* APIsCredits.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = APIsCredits.swift; sourceTree = "<group>"; };
13D4FBDF2BE7661A00BC3D1C /* Main.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = Main.storyboard; sourceTree = "<group>"; };
13D4FBE52BE7689400BC3D1C /* Tags.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Tags.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -170,14 +174,23 @@
path = History;
sourceTree = "<group>";
};
13C1E03A2BE9067700A27DEE /* About-Credits */ = {
13A8496C2BF4F0B8009A9442 /* Credits */ = {
isa = PBXGroup;
children = (
13C1E03D2BE9183400A27DEE /* API.xcassets */,
13C1E03B2BE9068600A27DEE /* AboutPage.swift */,
13C1E03D2BE9183400A27DEE /* Credits-Images.xcassets */,
13C1E03F2BE92BB300A27DEE /* APIsCredits.swift */,
13A8496D2BF4F0E7009A9442 /* FrameWorksCredits.swift */,
13A8496F2BF4F118009A9442 /* Contributor.swift */,
);
path = Credits;
sourceTree = "<group>";
};
13C1E03A2BE9067700A27DEE /* About */ = {
isa = PBXGroup;
children = (
13C1E03B2BE9068600A27DEE /* AboutPage.swift */,
);
path = "About-Credits";
path = About;
sourceTree = "<group>";
};
13D4FBE12BE7683D00BC3D1C /* APIs Requests */ = {
Expand Down Expand Up @@ -235,8 +248,9 @@
13D4FC352BE780BE00BC3D1C /* Settings */ = {
isa = PBXGroup;
children = (
13A8496C2BF4F0B8009A9442 /* Credits */,
13DD19DB2BEA64590034B014 /* Developer */,
13C1E03A2BE9067700A27DEE /* About-Credits */,
13C1E03A2BE9067700A27DEE /* About */,
136BD7E32BE7DFEE00ED23AE /* AppPref.swift */,
13D4FC362BE780C900BC3D1C /* FeaturesApp.swift */,
136BD7E52BE7E1B300ED23AE /* Contents.swift */,
Expand Down Expand Up @@ -332,7 +346,7 @@
buildActionMask = 2147483647;
files = (
13D4FC2F2BE779A200BC3D1C /* LaunchScreen.storyboard in Resources */,
13C1E03E2BE9183400A27DEE /* API.xcassets in Resources */,
13C1E03E2BE9183400A27DEE /* Credits-Images.xcassets in Resources */,
133C4C902BE67CAD00258EDD /* Assets.xcassets in Resources */,
136BD7E22BE7CCC400ED23AE /* PrivacyInfo.xcprivacy in Resources */,
13D4FBE02BE7661A00BC3D1C /* Main.storyboard in Resources */,
Expand All @@ -347,6 +361,7 @@
buildActionMask = 2147483647;
files = (
13DD19DA2BEA58B00034B014 /* SettingsMain.swift in Sources */,
13A849702BF4F118009A9442 /* Contributor.swift in Sources */,
13D4FBF42BE76FC000BC3D1C /* Activity.swift in Sources */,
13D4FC2D2BE7719700BC3D1C /* Secrets.swift in Sources */,
1393C3AB2BEBC94300704137 /* moe-kyoko.swift in Sources */,
Expand All @@ -363,6 +378,7 @@
136BD7DE2BE7CAA300ED23AE /* HistoryButton.swift in Sources */,
13DD19DD2BEA64620034B014 /* waifu-it-pref.swift in Sources */,
13D4FC202BE770EC00BC3D1C /* waifu-pics.swift in Sources */,
13A8496E2BF4F0E7009A9442 /* FrameWorksCredits.swift in Sources */,
13D4FBF82BE7706D00BC3D1C /* Refresh-API-Button.swift in Sources */,
13D4FC1E2BE770EC00BC3D1C /* waifu-im.swift in Sources */,
13D4FC1D2BE770EC00BC3D1C /* waifu-it.swift in Sources */,
Expand Down
Binary file not shown.
24 changes: 20 additions & 4 deletions AnimeGen/Main.storyboard
Original file line number Diff line number Diff line change
Expand Up @@ -1402,7 +1402,7 @@ along with AnimeGen. If not, see &lt;http://www.gnu.org/licenses/&gt;.</string>
<rect key="frame" x="20" y="831.66666603088379" width="388" height="100"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="0mF-gw-51Y" id="FoQ-jc-JmS">
<rect key="frame" x="0.0" y="0.0" width="359.33333333333331" height="100"/>
<rect key="frame" x="0.0" y="0.0" width="371.33333333333331" height="100"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<imageView opaque="NO" userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" image="Hmtai" translatesAutoresizingMaskIntoConstraints="NO" id="Hnm-Gd-NQr">
Expand Down Expand Up @@ -1439,7 +1439,7 @@ along with AnimeGen. If not, see &lt;http://www.gnu.org/licenses/&gt;.</string>
<rect key="frame" x="20" y="931.66666603088379" width="388" height="100"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="Ojb-68-Y8b" id="He8-lk-JVb">
<rect key="frame" x="0.0" y="0.0" width="359.33333333333331" height="100"/>
<rect key="frame" x="0.0" y="0.0" width="371.33333333333331" height="100"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<imageView opaque="NO" userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" image="kyoko" translatesAutoresizingMaskIntoConstraints="NO" id="5WR-J1-ygh">
Expand Down Expand Up @@ -1865,7 +1865,7 @@ along with AnimeGen. If not, see &lt;http://www.gnu.org/licenses/&gt;.</string>
<!--FrameWorks-->
<scene sceneID="Xmn-MX-0UE">
<objects>
<tableViewController id="Bim-j3-k8P" customClass="APIsCredits" customModule="AnimeGen" customModuleProvider="target" sceneMemberID="viewController">
<tableViewController id="Bim-j3-k8P" customClass="FrameWorksCredits" customModule="AnimeGen" customModuleProvider="target" sceneMemberID="viewController">
<tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="static" style="insetGrouped" separatorStyle="default" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="18" estimatedSectionHeaderHeight="-1" sectionFooterHeight="18" estimatedSectionFooterHeight="-1" id="hOr-0N-ueV">
<rect key="frame" x="0.0" y="0.0" width="428" height="872"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
Expand Down Expand Up @@ -1906,6 +1906,9 @@ along with AnimeGen. If not, see &lt;http://www.gnu.org/licenses/&gt;.</string>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="boolean" keyPath="isThemable" value="YES"/>
</userDefinedRuntimeAttributes>
<connections>
<outletCollection property="gestureRecognizers" destination="Lqs-oh-Xda" appends="YES" id="hs3-xe-lrH"/>
</connections>
</tableViewCell>
</cells>
</tableViewSection>
Expand Down Expand Up @@ -1948,6 +1951,11 @@ along with AnimeGen. If not, see &lt;http://www.gnu.org/licenses/&gt;.</string>
<navigationItem key="navigationItem" title="FrameWorks" id="CQv-fc-DQm"/>
</tableViewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="2A6-zz-80J" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/>
<tapGestureRecognizer id="Lqs-oh-Xda" userLabel="SD">
<connections>
<action selector="SDweb:" destination="Bim-j3-k8P" id="4f3-lb-FZr"/>
</connections>
</tapGestureRecognizer>
</objects>
<point key="canvasLocation" x="2651" y="1433"/>
</scene>
Expand Down Expand Up @@ -2417,7 +2425,7 @@ along with AnimeGen. If not, see &lt;http://www.gnu.org/licenses/&gt;.</string>
<!--Contributors-->
<scene sceneID="F6h-Kr-cMB">
<objects>
<tableViewController id="5M6-vj-vuL" customClass="APIsCredits" customModule="AnimeGen" customModuleProvider="target" sceneMemberID="viewController">
<tableViewController id="5M6-vj-vuL" customClass="ContributorsCredits" customModule="AnimeGen" customModuleProvider="target" sceneMemberID="viewController">
<tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="static" style="insetGrouped" separatorStyle="default" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="18" estimatedSectionHeaderHeight="-1" sectionFooterHeight="18" estimatedSectionFooterHeight="-1" id="NTk-oo-1cN">
<rect key="frame" x="0.0" y="0.0" width="428" height="872"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
Expand Down Expand Up @@ -2458,6 +2466,9 @@ along with AnimeGen. If not, see &lt;http://www.gnu.org/licenses/&gt;.</string>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="boolean" keyPath="isThemable" value="YES"/>
</userDefinedRuntimeAttributes>
<connections>
<outletCollection property="gestureRecognizers" destination="hwb-7G-ahL" appends="YES" id="Xjm-en-Zas"/>
</connections>
</tableViewCell>
</cells>
</tableViewSection>
Expand Down Expand Up @@ -2499,6 +2510,11 @@ along with AnimeGen. If not, see &lt;http://www.gnu.org/licenses/&gt;.</string>
<navigationItem key="navigationItem" title="Contributors" id="PE2-1j-LbU"/>
</tableViewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="VRv-sD-CJm" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/>
<tapGestureRecognizer id="hwb-7G-ahL" userLabel="Max">
<connections>
<action selector="Max:" destination="5M6-vj-vuL" id="Xc6-1X-Yf4"/>
</connections>
</tapGestureRecognizer>
</objects>
<point key="canvasLocation" x="3516" y="1433"/>
</scene>
Expand Down
Binary file modified AnimeGen/Settings/.DS_Store
Binary file not shown.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ class APIsCredits: UITableViewController {
let kyoko = "https://api.rei.my.id/docs/ANIME/WAIFU-Generator/"
let purrbot = "https://purrbot.site/"
let nsfw = "https://github.com/SDWebImage/SDWebImage"
let SDweb = "https://github.com/SDWebImage/SDWebImage"

override func viewDidLoad() {
super.viewDidLoad()
Expand Down Expand Up @@ -81,10 +80,5 @@ class APIsCredits: UITableViewController {
@IBAction func nsfwa(_ sender: UITapGestureRecognizer) {
openURL(nsfw)
}

@IBAction func SDweb(_ sender: UITapGestureRecognizer) {
openURL(SDweb)
}

}

28 changes: 28 additions & 0 deletions AnimeGen/Settings/Credits/Contributor.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
//
// Contributor.swift
// AnimeGen
//
// Created by cranci on 15/05/24.
//

import UIKit

class ContributorsCredits: UITableViewController {

// URLs
let Max = "https://github.com/MaximilianGT500"

override func viewDidLoad() {
super.viewDidLoad()
}

func openURL(_ urlString: String) {
if let url = URL(string: urlString) {
UIApplication.shared.open(url)
}
}

@IBAction func Max(_ sender: UITapGestureRecognizer) {
openURL(Max)
}
}
29 changes: 29 additions & 0 deletions AnimeGen/Settings/Credits/FrameWorksCredits.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
//
// FrameWorksCredits.swift
// AnimeGen
//
// Created by cranci on 15/05/24.
//

import UIKit

class FrameWorksCredits: UITableViewController {

// URLs
let SDweb = "https://github.com/SDWebImage/SDWebImage"

override func viewDidLoad() {
super.viewDidLoad()
}

func openURL(_ urlString: String) {
if let url = URL(string: urlString) {
UIApplication.shared.open(url)
}
}

@IBAction func SDweb(_ sender: UITapGestureRecognizer) {
openURL(SDweb)
}

}
Binary file modified Images/screenshots/apis.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 4c98bcb

Please sign in to comment.