Repository: vgmoose/OpenBackupExtractor
Branch: master
Commit: 51a8040aae8f
Files: 22
Total size: 176.3 KB
Directory structure:
gitextract_tqony21c/
├── Frameworks/
│ ├── arm64/
│ │ └── libmagic.a
│ ├── readme.md
│ └── x86_64/
│ └── libmagic.a
├── LICENSE
├── Open Backup Extractor/
│ ├── AppDelegate.swift
│ ├── Assets.xcassets/
│ │ ├── AppIcon.appiconset/
│ │ │ └── Contents.json
│ │ └── Contents.json
│ ├── Base.lproj/
│ │ └── Main.storyboard
│ ├── Device.swift
│ ├── DeviceCellView.swift
│ ├── DeviceTableView.swift
│ ├── Info.plist
│ ├── SelectableTypesView.swift
│ ├── ViewController.swift
│ ├── magic.h
│ ├── obe-Bridging-Header.h
│ └── res/
│ └── magic.mgc
├── Open Backup Extractor.xcodeproj/
│ ├── project.pbxproj
│ ├── project.xcworkspace/
│ │ └── contents.xcworkspacedata
│ └── xcuserdata/
│ └── Ricky.xcuserdatad/
│ └── xcschemes/
│ ├── Open Backup Extractor.xcscheme
│ └── xcschememanagement.plist
└── README.md
================================================
FILE CONTENTS
================================================
================================================
FILE: Frameworks/readme.md
================================================
Put libmagic.1.dylib in here, and change the id of it to point to the library as an rpath
You can get libmagic.1.dylib from brew with this command:
```
brew install libmagic
```
Then, copy it out of the location that brew put it in to here with this:
```
cp /usr/local/opt/libmagic/lib/libmagic.1.dylib .
```
And finally, adjust the id to not point to brew's location:
```
install_name_tool -id "@rpath/libmagic.1.dylib" ./libmagic.1.dylib
```
You can check what the current id is by using `otool -L ./libmagic.1.dylib`. If it's set to rpath, it will be bundled into this application. Otherwise, it will require the library to be installed from brew.
To make a multi-platform binary, use lipo, and provide paths to the other libmagics:
```
lipo -create arm64/libmagic.1.dylib x86_64/libmagic.1.dylib -output libmagic.universal
mv libmagic.universal libmagic.1.dylib
```
================================================
FILE: LICENSE
================================================
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<http://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
================================================
FILE: Open Backup Extractor/AppDelegate.swift
================================================
//
// AppDelegate.swift
// Open Backup Extractor
//
// Created by vgm on 8/26/17.
// Copyright © 2017 VGMoose. All rights reserved.
//
import Cocoa
@NSApplicationMain
class AppDelegate: NSObject, NSApplicationDelegate {
var mainViewController: ViewController?
func applicationDidFinishLaunching(_ aNotification: Notification)
{
}
@IBAction func openHelp(_ sender: NSMenuItem)
{
self.mainViewController!.getHelp(sender)
}
func dialogOKCancel(question: String, text: String) -> Bool {
let alert = NSAlert()
alert.messageText = question
alert.informativeText = text
alert.alertStyle = NSAlert.Style.warning
alert.addButton(withTitle: "OK")
alert.addButton(withTitle: "Cancel")
return alert.runModal() == NSApplication.ModalResponse.alertFirstButtonReturn
}
@IBAction func promptDirectory(_ sender: Any)
{
let vc = mainViewController!
let openPanel = NSOpenPanel()
openPanel.allowsMultipleSelection = false
openPanel.canChooseDirectories = true
openPanel.canCreateDirectories = true
openPanel.canChooseFiles = false
openPanel.begin { (result) -> Void in
if result.rawValue == NSFileHandlingPanelOKButton {
vc.ITUNES_BACKUP_PATH = "\((openPanel.url?.path)!)/"
vc.refreshDevices()
}
}
}
func applicationWillTerminate(_ aNotification: Notification) {
// Insert code here to tear down your application
}
}
================================================
FILE: Open Backup Extractor/Assets.xcassets/AppIcon.appiconset/Contents.json
================================================
{
"images" : [
{
"size" : "16x16",
"idiom" : "mac",
"filename" : "iphoneicon copy-9.png",
"scale" : "1x"
},
{
"size" : "16x16",
"idiom" : "mac",
"filename" : "iphoneicon copy-8.png",
"scale" : "2x"
},
{
"size" : "32x32",
"idiom" : "mac",
"filename" : "iphoneicon copy-6.png",
"scale" : "1x"
},
{
"size" : "32x32",
"idiom" : "mac",
"filename" : "iphoneicon copy-7.png",
"scale" : "2x"
},
{
"size" : "128x128",
"idiom" : "mac",
"filename" : "iphoneicon copy-2.png",
"scale" : "1x"
},
{
"size" : "128x128",
"idiom" : "mac",
"filename" : "iphoneicon copy-3.png",
"scale" : "2x"
},
{
"size" : "256x256",
"idiom" : "mac",
"filename" : "iphoneicon copy-4.png",
"scale" : "1x"
},
{
"size" : "256x256",
"idiom" : "mac",
"filename" : "iphoneicon copy-5.png",
"scale" : "2x"
},
{
"size" : "512x512",
"idiom" : "mac",
"filename" : "iphoneicon copy.png",
"scale" : "1x"
},
{
"size" : "512x512",
"idiom" : "mac",
"filename" : "iphoneicon copy-1.png",
"scale" : "2x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
================================================
FILE: Open Backup Extractor/Assets.xcassets/Contents.json
================================================
{
"info" : {
"version" : 1,
"author" : "xcode"
}
}
================================================
FILE: Open Backup Extractor/Base.lproj/Main.storyboard
================================================
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.Storyboard.XIB" version="3.0" toolsVersion="13771" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" initialViewController="B8D-0N-5wS">
<dependencies>
<deployment identifier="macosx"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="13771"/>
<capability name="Alignment constraints to the first baseline" minToolsVersion="6.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<scenes>
<!--Application-->
<scene sceneID="JPo-4y-FX3">
<objects>
<application id="hnw-xV-0zn" sceneMemberID="viewController">
<menu key="mainMenu" title="Main Menu" systemMenu="main" id="AYu-sK-qS6">
<items>
<menuItem title="Open Backup Extractor" id="1Xt-HY-uBw">
<modifierMask key="keyEquivalentModifierMask"/>
<menu key="submenu" title="Open Backup Extractor" systemMenu="apple" id="uQy-DD-JDr">
<items>
<menuItem title="About Open Backup Extractor" id="5kV-Vb-QxS">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="orderFrontStandardAboutPanel:" target="Ady-hI-5gd" id="Exp-CZ-Vem"/>
</connections>
</menuItem>
<menuItem isSeparatorItem="YES" id="VOq-y0-SEH"/>
<menuItem title="Hide Open Backup Extractor" keyEquivalent="h" id="Olw-nP-bQN">
<connections>
<action selector="hide:" target="Ady-hI-5gd" id="PnN-Uc-m68"/>
</connections>
</menuItem>
<menuItem title="Hide Others" keyEquivalent="h" id="Vdr-fp-XzO">
<modifierMask key="keyEquivalentModifierMask" option="YES" command="YES"/>
<connections>
<action selector="hideOtherApplications:" target="Ady-hI-5gd" id="VT4-aY-XCT"/>
</connections>
</menuItem>
<menuItem title="Show All" id="Kd2-mp-pUS">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="unhideAllApplications:" target="Ady-hI-5gd" id="Dhg-Le-xox"/>
</connections>
</menuItem>
<menuItem isSeparatorItem="YES" id="kCx-OE-vgT"/>
<menuItem title="Quit Open Backup Extractor" keyEquivalent="q" id="4sb-4s-VLi">
<connections>
<action selector="terminate:" target="Ady-hI-5gd" id="Te7-pn-YzF"/>
</connections>
</menuItem>
</items>
</menu>
</menuItem>
<menuItem title="File" id="dMs-cI-mzQ">
<modifierMask key="keyEquivalentModifierMask"/>
<menu key="submenu" title="File" id="bib-Uj-vzu">
<items>
<menuItem title="Set iTunes Backup Directory" keyEquivalent="o" id="IAo-SY-fd9">
<connections>
<action selector="promptDirectory:" target="Voe-Tx-rLC" id="YDK-yh-4tr"/>
</connections>
</menuItem>
</items>
</menu>
</menuItem>
<menuItem title="Edit" id="5QF-Oa-p0T">
<modifierMask key="keyEquivalentModifierMask"/>
<menu key="submenu" title="Edit" id="W48-6f-4Dl">
<items>
<menuItem title="Undo" keyEquivalent="z" id="dRJ-4n-Yzg">
<connections>
<action selector="undo:" target="Ady-hI-5gd" id="M6e-cu-g7V"/>
</connections>
</menuItem>
<menuItem title="Redo" keyEquivalent="Z" id="6dh-zS-Vam">
<connections>
<action selector="redo:" target="Ady-hI-5gd" id="oIA-Rs-6OD"/>
</connections>
</menuItem>
<menuItem isSeparatorItem="YES" id="WRV-NI-Exz"/>
<menuItem title="Cut" keyEquivalent="x" id="uRl-iY-unG">
<connections>
<action selector="cut:" target="Ady-hI-5gd" id="YJe-68-I9s"/>
</connections>
</menuItem>
<menuItem title="Copy" keyEquivalent="c" id="x3v-GG-iWU">
<connections>
<action selector="copy:" target="Ady-hI-5gd" id="G1f-GL-Joy"/>
</connections>
</menuItem>
<menuItem title="Paste" keyEquivalent="v" id="gVA-U4-sdL">
<connections>
<action selector="paste:" target="Ady-hI-5gd" id="UvS-8e-Qdg"/>
</connections>
</menuItem>
<menuItem title="Paste and Match Style" keyEquivalent="V" id="WeT-3V-zwk">
<modifierMask key="keyEquivalentModifierMask" option="YES" command="YES"/>
<connections>
<action selector="pasteAsPlainText:" target="Ady-hI-5gd" id="cEh-KX-wJQ"/>
</connections>
</menuItem>
<menuItem title="Delete" id="pa3-QI-u2k">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="delete:" target="Ady-hI-5gd" id="0Mk-Ml-PaM"/>
</connections>
</menuItem>
<menuItem title="Select All" keyEquivalent="a" id="Ruw-6m-B2m">
<connections>
<action selector="selectAll:" target="Ady-hI-5gd" id="VNm-Mi-diN"/>
</connections>
</menuItem>
<menuItem isSeparatorItem="YES" id="uyl-h8-XO2"/>
<menuItem title="Find" id="4EN-yA-p0u">
<modifierMask key="keyEquivalentModifierMask"/>
<menu key="submenu" title="Find" id="1b7-l0-nxx">
<items>
<menuItem title="Find…" tag="1" keyEquivalent="f" id="Xz5-n4-O0W">
<connections>
<action selector="performFindPanelAction:" target="Ady-hI-5gd" id="cD7-Qs-BN4"/>
</connections>
</menuItem>
<menuItem title="Find and Replace…" tag="12" keyEquivalent="f" id="YEy-JH-Tfz">
<modifierMask key="keyEquivalentModifierMask" option="YES" command="YES"/>
<connections>
<action selector="performFindPanelAction:" target="Ady-hI-5gd" id="WD3-Gg-5AJ"/>
</connections>
</menuItem>
<menuItem title="Find Next" tag="2" keyEquivalent="g" id="q09-fT-Sye">
<connections>
<action selector="performFindPanelAction:" target="Ady-hI-5gd" id="NDo-RZ-v9R"/>
</connections>
</menuItem>
<menuItem title="Find Previous" tag="3" keyEquivalent="G" id="OwM-mh-QMV">
<connections>
<action selector="performFindPanelAction:" target="Ady-hI-5gd" id="HOh-sY-3ay"/>
</connections>
</menuItem>
<menuItem title="Use Selection for Find" tag="7" keyEquivalent="e" id="buJ-ug-pKt">
<connections>
<action selector="performFindPanelAction:" target="Ady-hI-5gd" id="U76-nv-p5D"/>
</connections>
</menuItem>
<menuItem title="Jump to Selection" keyEquivalent="j" id="S0p-oC-mLd">
<connections>
<action selector="centerSelectionInVisibleArea:" target="Ady-hI-5gd" id="IOG-6D-g5B"/>
</connections>
</menuItem>
</items>
</menu>
</menuItem>
<menuItem title="Spelling and Grammar" id="Dv1-io-Yv7">
<modifierMask key="keyEquivalentModifierMask"/>
<menu key="submenu" title="Spelling" id="3IN-sU-3Bg">
<items>
<menuItem title="Show Spelling and Grammar" keyEquivalent=":" id="HFo-cy-zxI">
<connections>
<action selector="showGuessPanel:" target="Ady-hI-5gd" id="vFj-Ks-hy3"/>
</connections>
</menuItem>
<menuItem title="Check Document Now" keyEquivalent=";" id="hz2-CU-CR7">
<connections>
<action selector="checkSpelling:" target="Ady-hI-5gd" id="fz7-VC-reM"/>
</connections>
</menuItem>
<menuItem isSeparatorItem="YES" id="bNw-od-mp5"/>
<menuItem title="Check Spelling While Typing" id="rbD-Rh-wIN">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="toggleContinuousSpellChecking:" target="Ady-hI-5gd" id="7w6-Qz-0kB"/>
</connections>
</menuItem>
<menuItem title="Check Grammar With Spelling" id="mK6-2p-4JG">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="toggleGrammarChecking:" target="Ady-hI-5gd" id="muD-Qn-j4w"/>
</connections>
</menuItem>
<menuItem title="Correct Spelling Automatically" id="78Y-hA-62v">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="toggleAutomaticSpellingCorrection:" target="Ady-hI-5gd" id="2lM-Qi-WAP"/>
</connections>
</menuItem>
</items>
</menu>
</menuItem>
<menuItem title="Substitutions" id="9ic-FL-obx">
<modifierMask key="keyEquivalentModifierMask"/>
<menu key="submenu" title="Substitutions" id="FeM-D8-WVr">
<items>
<menuItem title="Show Substitutions" id="z6F-FW-3nz">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="orderFrontSubstitutionsPanel:" target="Ady-hI-5gd" id="oku-mr-iSq"/>
</connections>
</menuItem>
<menuItem isSeparatorItem="YES" id="gPx-C9-uUO"/>
<menuItem title="Smart Copy/Paste" id="9yt-4B-nSM">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="toggleSmartInsertDelete:" target="Ady-hI-5gd" id="3IJ-Se-DZD"/>
</connections>
</menuItem>
<menuItem title="Smart Quotes" id="hQb-2v-fYv">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="toggleAutomaticQuoteSubstitution:" target="Ady-hI-5gd" id="ptq-xd-QOA"/>
</connections>
</menuItem>
<menuItem title="Smart Dashes" id="rgM-f4-ycn">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="toggleAutomaticDashSubstitution:" target="Ady-hI-5gd" id="oCt-pO-9gS"/>
</connections>
</menuItem>
<menuItem title="Smart Links" id="cwL-P1-jid">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="toggleAutomaticLinkDetection:" target="Ady-hI-5gd" id="Gip-E3-Fov"/>
</connections>
</menuItem>
<menuItem title="Data Detectors" id="tRr-pd-1PS">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="toggleAutomaticDataDetection:" target="Ady-hI-5gd" id="R1I-Nq-Kbl"/>
</connections>
</menuItem>
<menuItem title="Text Replacement" id="HFQ-gK-NFA">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="toggleAutomaticTextReplacement:" target="Ady-hI-5gd" id="DvP-Fe-Py6"/>
</connections>
</menuItem>
</items>
</menu>
</menuItem>
<menuItem title="Transformations" id="2oI-Rn-ZJC">
<modifierMask key="keyEquivalentModifierMask"/>
<menu key="submenu" title="Transformations" id="c8a-y6-VQd">
<items>
<menuItem title="Make Upper Case" id="vmV-6d-7jI">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="uppercaseWord:" target="Ady-hI-5gd" id="sPh-Tk-edu"/>
</connections>
</menuItem>
<menuItem title="Make Lower Case" id="d9M-CD-aMd">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="lowercaseWord:" target="Ady-hI-5gd" id="iUZ-b5-hil"/>
</connections>
</menuItem>
<menuItem title="Capitalize" id="UEZ-Bs-lqG">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="capitalizeWord:" target="Ady-hI-5gd" id="26H-TL-nsh"/>
</connections>
</menuItem>
</items>
</menu>
</menuItem>
<menuItem title="Speech" id="xrE-MZ-jX0">
<modifierMask key="keyEquivalentModifierMask"/>
<menu key="submenu" title="Speech" id="3rS-ZA-NoH">
<items>
<menuItem title="Start Speaking" id="Ynk-f8-cLZ">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="startSpeaking:" target="Ady-hI-5gd" id="654-Ng-kyl"/>
</connections>
</menuItem>
<menuItem title="Stop Speaking" id="Oyz-dy-DGm">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="stopSpeaking:" target="Ady-hI-5gd" id="dX8-6p-jy9"/>
</connections>
</menuItem>
</items>
</menu>
</menuItem>
</items>
</menu>
</menuItem>
<menuItem title="Window" id="aUF-d1-5bR">
<modifierMask key="keyEquivalentModifierMask"/>
<menu key="submenu" title="Window" systemMenu="window" id="Td7-aD-5lo">
<items>
<menuItem title="Minimize" keyEquivalent="m" id="OY7-WF-poV">
<connections>
<action selector="performMiniaturize:" target="Ady-hI-5gd" id="VwT-WD-YPe"/>
</connections>
</menuItem>
<menuItem title="Zoom" id="R4o-n2-Eq4">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="performZoom:" target="Ady-hI-5gd" id="DIl-cC-cCs"/>
</connections>
</menuItem>
<menuItem isSeparatorItem="YES" id="eu3-7i-yIM"/>
<menuItem title="Bring All to Front" id="LE2-aR-0XJ">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="arrangeInFront:" target="Ady-hI-5gd" id="DRN-fu-gQh"/>
</connections>
</menuItem>
</items>
</menu>
</menuItem>
<menuItem title="Help" id="wpr-3q-Mcd">
<modifierMask key="keyEquivalentModifierMask"/>
<menu key="submenu" title="Help" systemMenu="help" id="F2S-fz-NVQ">
<items>
<menuItem title="Open Backup Extractor Help" keyEquivalent="?" id="FKE-Sm-Kum">
<connections>
<action selector="openHelp:" target="Voe-Tx-rLC" id="p8a-ox-5I8"/>
</connections>
</menuItem>
</items>
</menu>
</menuItem>
</items>
</menu>
<connections>
<outlet property="delegate" destination="Voe-Tx-rLC" id="PrD-fu-P6m"/>
</connections>
</application>
<customObject id="Voe-Tx-rLC" customClass="AppDelegate" customModule="Open_Backup_Extractor" customModuleProvider="target"/>
<customObject id="Ady-hI-5gd" userLabel="First Responder" customClass="NSResponder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="51" y="-99"/>
</scene>
<!--Window Controller-->
<scene sceneID="R2V-B0-nI4">
<objects>
<windowController id="B8D-0N-5wS" sceneMemberID="viewController">
<window key="window" title="Open Backup Extractor" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" oneShot="NO" releasedWhenClosed="NO" showsToolbarButton="NO" visibleAtLaunch="NO" animationBehavior="default" id="IQv-IB-iLA">
<windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES" resizable="YES"/>
<windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
<rect key="contentRect" x="548" y="593" width="673" height="270"/>
<rect key="screenRect" x="0.0" y="0.0" width="1680" height="1027"/>
<value key="minSize" type="size" width="673" height="270"/>
<value key="maxSize" type="size" width="673" height="9999"/>
<connections>
<outlet property="delegate" destination="B8D-0N-5wS" id="nuz-vf-RN3"/>
</connections>
</window>
<connections>
<segue destination="gdi-JS-7FY" kind="relationship" relationship="window.shadowedContentViewController" id="Csg-i4-Vhi"/>
</connections>
</windowController>
<customObject id="Oky-zY-oP4" userLabel="First Responder" customClass="NSResponder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="75" y="250"/>
</scene>
<!--View Controller-->
<scene sceneID="uuH-fw-xSG">
<objects>
<customObject id="edl-R9-w8g" userLabel="First Responder" customClass="NSResponder" sceneMemberID="firstResponder"/>
<viewController id="gdi-JS-7FY" customClass="ViewController" customModule="Open_Backup_Extractor" customModuleProvider="target" sceneMemberID="viewController">
<view key="view" id="FJs-fC-qIh">
<rect key="frame" x="0.0" y="0.0" width="676" height="300"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<scrollView wantsLayer="YES" autohidesScrollers="YES" horizontalLineScroll="102" horizontalPageScroll="10" verticalLineScroll="102" verticalPageScroll="10" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="TnT-Rl-2DF">
<rect key="frame" x="0.0" y="0.0" width="202" height="300"/>
<clipView key="contentView" id="B25-XS-Na8">
<rect key="frame" x="1" y="1" width="200" height="298"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" columnReordering="NO" columnSelection="YES" columnResizing="NO" multipleSelection="NO" autosaveColumns="NO" rowHeight="101" rowSizeStyle="automatic" viewBased="YES" id="Vf2-89-ZM7" customClass="DeviceTableView" customModule="Open_Backup_Extractor" customModuleProvider="target">
<rect key="frame" x="0.0" y="0.0" width="200" height="298"/>
<autoresizingMask key="autoresizingMask"/>
<size key="intercellSpacing" width="1" height="1"/>
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
<color key="gridColor" name="gridColor" catalog="System" colorSpace="catalog"/>
<tableColumns>
<tableColumn identifier="" width="199" minWidth="40" maxWidth="1000" id="Vq7-vq-VkV">
<tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border">
<font key="font" metaFont="smallSystem"/>
<color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="headerColor" catalog="System" colorSpace="catalog"/>
</tableHeaderCell>
<textFieldCell key="dataCell" lineBreakMode="truncatingTail" selectable="YES" editable="YES" title="Text Cell" id="6Ki-9q-gzn">
<font key="font" metaFont="system"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
<prototypeCellViews>
<tableCellView id="Bqu-X2-tdt" customClass="DeviceCellView" customModule="Open_Backup_Extractor" customModuleProvider="target">
<rect key="frame" x="0.0" y="0.0" width="199" height="101"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="sJ1-nW-6n0">
<rect key="frame" x="3" y="5" width="50" height="91"/>
<constraints>
<constraint firstAttribute="width" constant="50" id="6j9-ct-dFL"/>
<constraint firstAttribute="height" constant="91" id="YBL-el-TNq"/>
</constraints>
<imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" image="iPhone7,1" id="tW2-b1-0aY"/>
</imageView>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="751" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="9Ed-92-h5U">
<rect key="frame" x="56" y="79" width="72" height="17"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="left" title="My iPhone" id="IOe-Ya-qPr">
<font key="font" metaFont="systemBold"/>
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="751" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Fk4-z0-sMZ">
<rect key="frame" x="56" y="63" width="113" height="14"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="iPhone 6 (iOS 10.1.3)" id="Odm-Mq-DAz">
<font key="font" metaFont="smallSystem"/>
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="751" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="uU0-e9-dxG">
<rect key="frame" x="56" y="49" width="120" height="14"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Oct 30, 2015 4:44 pm" id="wQn-B4-Mf2">
<font key="font" metaFont="smallSystem"/>
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="ugC-tQ-xB5">
<rect key="frame" x="56" y="35" width="76" height="14"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="C9H0382402" id="Ihj-k7-7Ph">
<font key="font" metaFont="smallSystem"/>
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
</subviews>
<constraints>
<constraint firstAttribute="bottom" secondItem="sJ1-nW-6n0" secondAttribute="bottom" constant="5" id="0Q5-NX-UeU"/>
<constraint firstItem="sJ1-nW-6n0" firstAttribute="centerY" secondItem="Bqu-X2-tdt" secondAttribute="centerY" id="5fL-tb-9nh"/>
<constraint firstItem="uU0-e9-dxG" firstAttribute="top" secondItem="Fk4-z0-sMZ" secondAttribute="bottom" id="Dts-z7-oIm"/>
<constraint firstItem="ugC-tQ-xB5" firstAttribute="top" secondItem="uU0-e9-dxG" secondAttribute="bottom" id="GoQ-R8-ODX"/>
<constraint firstItem="9Ed-92-h5U" firstAttribute="leading" secondItem="sJ1-nW-6n0" secondAttribute="trailing" constant="5" id="PbH-nC-wUS"/>
<constraint firstItem="uU0-e9-dxG" firstAttribute="leading" secondItem="sJ1-nW-6n0" secondAttribute="trailing" constant="5" id="RTr-W1-SgM"/>
<constraint firstItem="Fk4-z0-sMZ" firstAttribute="leading" secondItem="sJ1-nW-6n0" secondAttribute="trailing" constant="5" id="Tnm-bn-Ynp"/>
<constraint firstItem="Fk4-z0-sMZ" firstAttribute="top" secondItem="9Ed-92-h5U" secondAttribute="bottom" constant="2" id="VaZ-ct-Tdm"/>
<constraint firstItem="sJ1-nW-6n0" firstAttribute="top" secondItem="9Ed-92-h5U" secondAttribute="top" id="c2h-1H-wNL"/>
<constraint firstItem="sJ1-nW-6n0" firstAttribute="leading" secondItem="Bqu-X2-tdt" secondAttribute="leading" constant="3" id="n2v-Df-YfU"/>
<constraint firstItem="ugC-tQ-xB5" firstAttribute="leading" secondItem="sJ1-nW-6n0" secondAttribute="trailing" constant="5" id="pga-pR-Xac"/>
</constraints>
<connections>
<outlet property="dateField" destination="uU0-e9-dxG" id="mls-xl-X8S"/>
<outlet property="icon" destination="sJ1-nW-6n0" id="Jyj-sM-URD"/>
<outlet property="modelField" destination="Fk4-z0-sMZ" id="UJn-C7-ZSe"/>
<outlet property="nameField" destination="9Ed-92-h5U" id="2l8-3O-Wtd"/>
<outlet property="serialField" destination="ugC-tQ-xB5" id="WVV-DS-HMD"/>
</connections>
</tableCellView>
</prototypeCellViews>
</tableColumn>
</tableColumns>
<connections>
<outlet property="dataSource" destination="gdi-JS-7FY" id="jEa-d6-CgJ"/>
<outlet property="delegate" destination="gdi-JS-7FY" id="iaM-hn-JCk"/>
</connections>
</tableView>
</subviews>
</clipView>
<constraints>
<constraint firstAttribute="width" constant="202" id="JWx-oJ-lnU"/>
</constraints>
<scroller key="horizontalScroller" hidden="YES" verticalHuggingPriority="750" horizontal="YES" id="B1h-Sa-MUS">
<rect key="frame" x="1" y="109" width="220" height="16"/>
<autoresizingMask key="autoresizingMask"/>
</scroller>
<scroller key="verticalScroller" hidden="YES" verticalHuggingPriority="750" horizontal="NO" id="QLs-Ii-1pK">
<rect key="frame" x="224" y="17" width="15" height="102"/>
<autoresizingMask key="autoresizingMask"/>
</scroller>
</scrollView>
<customView translatesAutoresizingMaskIntoConstraints="NO" id="Ewr-6a-nKv" customClass="RighthandSideView" customModule="Open_Backup_Extractor" customModuleProvider="target">
<rect key="frame" x="204" y="0.0" width="472" height="300"/>
<subviews>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="daw-ER-2cn">
<rect key="frame" x="366" y="39" width="98" height="17"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="center" title="GPLv3 License" id="hnN-AP-wkr">
<font key="font" metaFont="system"/>
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="u2D-rh-e2T">
<rect key="frame" x="351" y="3" width="117" height="32"/>
<buttonCell key="cell" type="push" title="Source code" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="ryi-DS-0IX">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="system"/>
</buttonCell>
<connections>
<action selector="openSourceCode:" target="gdi-JS-7FY" id="elh-VL-EfU"/>
</connections>
</button>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="5Qn-Qr-9JL">
<rect key="frame" x="132" y="266" width="209" height="24"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="center" title="Open Backup Extractor" id="fdQ-w3-2DL">
<font key="font" metaFont="system" size="20"/>
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="a0g-8j-Esq">
<rect key="frame" x="197" y="245" width="78" height="17"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="by vgmoose" id="YBk-pc-kiE">
<font key="font" metaFont="system"/>
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="sK5-14-66F">
<rect key="frame" x="88" y="121" width="297" height="58"/>
<constraints>
<constraint firstAttribute="width" constant="293" id="MIU-WQ-o0V"/>
<constraint firstAttribute="height" constant="58" id="glx-Ce-JLi"/>
</constraints>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" id="63l-iF-dAb">
<font key="font" metaFont="system" size="24"/>
<string key="title">1. Perform backup in iTunes
2. Select device on the left</string>
<color key="textColor" red="0.49803921579999999" green="0.49803921579999999" blue="0.49803921579999999" alpha="1" colorSpace="calibratedRGB"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="v9f-kJ-HPg">
<rect key="frame" x="4" y="3" width="87" height="32"/>
<buttonCell key="cell" type="push" title="Refresh" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="VSK-2U-Ovg">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="system"/>
</buttonCell>
<connections>
<action selector="refeshButton:" target="gdi-JS-7FY" id="PSO-78-tbC"/>
</connections>
</button>
<button horizontalHuggingPriority="750" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="tKn-Aw-bwI">
<rect key="frame" x="8" y="36" width="25" height="25"/>
<buttonCell key="cell" type="help" bezelStyle="helpButton" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="7A6-pd-nLy">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="system"/>
</buttonCell>
<connections>
<action selector="getHelp:" target="gdi-JS-7FY" id="bJY-bq-Zwv"/>
</connections>
</button>
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="RmW-hn-XS3">
<rect key="frame" x="61" y="203" width="218" height="22"/>
<constraints>
<constraint firstAttribute="width" constant="218" id="GTR-B1-8Er"/>
</constraints>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" refusesFirstResponder="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" alignment="left" placeholderString="Select Folder for Exported Files..." drawsBackground="YES" id="gLf-ba-APS">
<font key="font" metaFont="system"/>
<color key="textColor" name="textColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="rXV-um-ioc">
<rect key="frame" x="278" y="146" width="129" height="132"/>
<buttonCell key="cell" type="push" title="Choose Folder" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="kFq-tM-dQf">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="system"/>
</buttonCell>
<connections>
<action selector="chooseExportFolder:" target="gdi-JS-7FY" id="Kf9-zm-tOF"/>
</connections>
</button>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="oJo-8F-CWr">
<rect key="frame" x="88" y="121" width="315" height="58"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Choose a Folder to Export to..." id="EPs-4K-c26">
<font key="font" metaFont="system" size="24"/>
<color key="textColor" red="0.49803921579999999" green="0.49803921579999999" blue="0.49803921579999999" alpha="1" colorSpace="calibratedRGB"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<customView translatesAutoresizingMaskIntoConstraints="NO" id="qtG-nj-ddq">
<rect key="frame" x="77" y="86" width="318" height="104"/>
<subviews>
<containerView fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="bZp-ve-uuC">
<rect key="frame" x="0.0" y="0.0" width="318" height="104"/>
<autoresizingMask key="autoresizingMask"/>
<connections>
<segue destination="jnU-0h-4Of" kind="embed" id="LmV-cP-Ifd"/>
</connections>
</containerView>
</subviews>
</customView>
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="zHA-xS-M0X">
<rect key="frame" x="180" y="45" width="112" height="32"/>
<buttonCell key="cell" type="push" title="Export Files" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="oel-Mx-KN7">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="system"/>
</buttonCell>
<connections>
<action selector="exportClicked:" target="gdi-JS-7FY" id="MyN-jD-1Jg"/>
</connections>
</button>
<progressIndicator wantsLayer="YES" fixedFrame="YES" maxValue="100" style="bar" translatesAutoresizingMaskIntoConstraints="NO" id="bkT-NR-S6j">
<rect key="frame" x="77" y="53" width="318" height="20"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
</progressIndicator>
</subviews>
<constraints>
<constraint firstAttribute="bottom" secondItem="qtG-nj-ddq" secondAttribute="bottom" constant="86" id="1gO-7k-Hgf"/>
<constraint firstItem="oJo-8F-CWr" firstAttribute="firstBaseline" secondItem="sK5-14-66F" secondAttribute="firstBaseline" id="1iY-mM-62k"/>
<constraint firstItem="oJo-8F-CWr" firstAttribute="baseline" secondItem="sK5-14-66F" secondAttribute="baseline" id="3nR-ep-H2i"/>
<constraint firstItem="v9f-kJ-HPg" firstAttribute="top" secondItem="tKn-Aw-bwI" secondAttribute="bottom" constant="8" id="4h4-Zg-b0F"/>
<constraint firstItem="zHA-xS-M0X" firstAttribute="top" secondItem="qtG-nj-ddq" secondAttribute="bottom" constant="13" id="6VM-8V-5yG"/>
<constraint firstItem="oJo-8F-CWr" firstAttribute="leading" secondItem="sK5-14-66F" secondAttribute="leading" id="6zB-aY-57k"/>
<constraint firstItem="RmW-hn-XS3" firstAttribute="top" secondItem="a0g-8j-Esq" secondAttribute="bottom" constant="20" id="8wC-fF-5Pg"/>
<constraint firstItem="u2D-rh-e2T" firstAttribute="top" secondItem="daw-ER-2cn" secondAttribute="bottom" constant="8" id="99X-dR-L4b"/>
<constraint firstAttribute="trailing" secondItem="u2D-rh-e2T" secondAttribute="trailing" constant="10" id="A2r-hQ-3jj"/>
<constraint firstAttribute="bottom" secondItem="v9f-kJ-HPg" secondAttribute="bottom" constant="10" id="CM0-LC-5Lk"/>
<constraint firstItem="a0g-8j-Esq" firstAttribute="centerX" secondItem="Ewr-6a-nKv" secondAttribute="centerX" id="JcL-3f-l7b"/>
<constraint firstItem="qtG-nj-ddq" firstAttribute="leading" secondItem="Ewr-6a-nKv" secondAttribute="leading" constant="77" id="KY3-1j-IZQ"/>
<constraint firstItem="5Qn-Qr-9JL" firstAttribute="top" secondItem="Ewr-6a-nKv" secondAttribute="top" constant="10" id="KYh-Ao-jiF"/>
<constraint firstItem="rXV-um-ioc" firstAttribute="trailing" secondItem="oJo-8F-CWr" secondAttribute="trailing" id="KjF-Si-gzI"/>
<constraint firstAttribute="width" constant="472" id="L6t-OJ-krj"/>
<constraint firstItem="a0g-8j-Esq" firstAttribute="top" secondItem="5Qn-Qr-9JL" secondAttribute="bottom" constant="4" id="M2Q-F0-ENh"/>
<constraint firstItem="sK5-14-66F" firstAttribute="centerX" secondItem="Ewr-6a-nKv" secondAttribute="centerX" id="Qwo-NV-wIW"/>
<constraint firstItem="5Qn-Qr-9JL" firstAttribute="centerX" secondItem="Ewr-6a-nKv" secondAttribute="centerX" id="U3i-iv-LwM"/>
<constraint firstItem="qtG-nj-ddq" firstAttribute="top" secondItem="Ewr-6a-nKv" secondAttribute="top" constant="110" id="ZGm-KI-75D"/>
<constraint firstItem="sK5-14-66F" firstAttribute="centerY" secondItem="Ewr-6a-nKv" secondAttribute="centerY" id="f33-lY-pVh"/>
<constraint firstItem="zHA-xS-M0X" firstAttribute="centerX" secondItem="sK5-14-66F" secondAttribute="centerX" id="f6F-2d-d63"/>
<constraint firstAttribute="bottom" secondItem="u2D-rh-e2T" secondAttribute="bottom" constant="10" id="fXn-rZ-ahz"/>
<constraint firstItem="v9f-kJ-HPg" firstAttribute="leading" secondItem="Ewr-6a-nKv" secondAttribute="leading" constant="10" id="iQa-xx-HFq"/>
<constraint firstItem="rXV-um-ioc" firstAttribute="centerY" secondItem="RmW-hn-XS3" secondAttribute="centerY" id="qrv-Vl-AGH"/>
<constraint firstItem="RmW-hn-XS3" firstAttribute="leading" secondItem="Ewr-6a-nKv" secondAttribute="leading" constant="61" id="tAf-5l-Krv"/>
<constraint firstItem="sK5-14-66F" firstAttribute="top" secondItem="RmW-hn-XS3" secondAttribute="bottom" constant="24" id="uyc-0U-7Z1"/>
<constraint firstAttribute="trailing" secondItem="daw-ER-2cn" secondAttribute="trailing" constant="10" id="vx8-lD-IIz"/>
<constraint firstItem="qtG-nj-ddq" firstAttribute="top" secondItem="RmW-hn-XS3" secondAttribute="bottom" constant="13" id="wQB-Z7-KQy"/>
<constraint firstItem="qtG-nj-ddq" firstAttribute="centerX" secondItem="sK5-14-66F" secondAttribute="centerX" id="xwD-d8-4hW"/>
<constraint firstItem="rXV-um-ioc" firstAttribute="top" secondItem="Ewr-6a-nKv" secondAttribute="top" constant="26" id="yj5-xc-tTu"/>
<constraint firstItem="sK5-14-66F" firstAttribute="leading" secondItem="Ewr-6a-nKv" secondAttribute="leading" constant="90" id="zHi-28-Ycu"/>
<constraint firstItem="tKn-Aw-bwI" firstAttribute="leading" secondItem="Ewr-6a-nKv" secondAttribute="leading" constant="10" id="zQr-Dg-wzT"/>
</constraints>
</customView>
</subviews>
<constraints>
<constraint firstItem="TnT-Rl-2DF" firstAttribute="leading" secondItem="FJs-fC-qIh" secondAttribute="leading" id="7Uk-Pl-KyC"/>
<constraint firstAttribute="bottom" secondItem="TnT-Rl-2DF" secondAttribute="bottom" id="9oY-vg-cos"/>
<constraint firstAttribute="bottom" secondItem="Ewr-6a-nKv" secondAttribute="bottom" id="fNn-xD-k88"/>
<constraint firstItem="Ewr-6a-nKv" firstAttribute="top" secondItem="FJs-fC-qIh" secondAttribute="top" id="i5d-bl-2zt"/>
<constraint firstItem="TnT-Rl-2DF" firstAttribute="top" secondItem="FJs-fC-qIh" secondAttribute="top" id="ifr-Qq-PwK"/>
<constraint firstAttribute="trailing" secondItem="Ewr-6a-nKv" secondAttribute="trailing" id="kw9-yQ-W0P"/>
</constraints>
</view>
<connections>
<outlet property="chooseFolderButton" destination="rXV-um-ioc" id="rYc-Rk-vlU"/>
<outlet property="container" destination="bZp-ve-uuC" id="Ccf-TY-EYJ"/>
<outlet property="exportButton" destination="zHA-xS-M0X" id="yfa-ty-Wwx"/>
<outlet property="exportClicked" destination="zHA-xS-M0X" id="PJr-wM-E6U"/>
<outlet property="exportFolderPathField" destination="RmW-hn-XS3" id="H2c-ge-ivr"/>
<outlet property="listContainer" destination="bZp-ve-uuC" id="GRa-Eg-s8r"/>
<outlet property="placeholder2" destination="oJo-8F-CWr" id="AHl-Su-uoc"/>
<outlet property="placeholderText" destination="sK5-14-66F" id="NSg-dy-aaz"/>
<outlet property="progressBar" destination="bkT-NR-S6j" id="kGw-b5-tiZ"/>
<outlet property="rightHandSideView" destination="Ewr-6a-nKv" id="8Av-t7-ek2"/>
<outlet property="tableView" destination="Vf2-89-ZM7" id="5yx-GO-Djp"/>
<outlet property="view" destination="FJs-fC-qIh" id="a0Y-Ta-DUg"/>
</connections>
</viewController>
</objects>
<point key="canvasLocation" x="861" y="733"/>
</scene>
<!--View Controller-->
<scene sceneID="6hR-1z-RSM">
<objects>
<viewController id="Vag-qr-ySF" sceneMemberID="viewController">
<view key="view" id="emj-M7-wxK">
<rect key="frame" x="0.0" y="0.0" width="450" height="300"/>
<autoresizingMask key="autoresizingMask"/>
</view>
</viewController>
<customObject id="EmP-2w-KWo" userLabel="First Responder" customClass="NSResponder" sceneMemberID="firstResponder"/>
</objects>
</scene>
<!--View Controller-->
<scene sceneID="w1C-NR-Opy">
<objects>
<viewController id="jnU-0h-4Of" sceneMemberID="viewController">
<view key="view" identifier="Checkboxes" id="oic-NA-31i" customClass="SelectableTypesView" customModule="Open_Backup_Extractor" customModuleProvider="target">
<rect key="frame" x="0.0" y="0.0" width="318" height="104"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<button fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="w9P-mj-i5e">
<rect key="frame" x="16" y="71" width="91" height="22"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<buttonCell key="cell" type="check" title="Voicemails" bezelStyle="regularSquare" imagePosition="left" alignment="left" state="on" inset="2" id="XG4-9b-cX6">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="system"/>
</buttonCell>
</button>
<button fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="gWg-mc-XlU">
<rect key="frame" x="131" y="72" width="70" height="22"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<buttonCell key="cell" type="check" title="Images" bezelStyle="regularSquare" imagePosition="left" alignment="left" state="on" inset="2" id="Rsi-K7-dPn">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="system"/>
</buttonCell>
</button>
<button fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Qfx-T3-r8o">
<rect key="frame" x="240" y="71" width="52" height="22"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<buttonCell key="cell" type="check" title="Text" bezelStyle="regularSquare" imagePosition="left" alignment="left" state="on" inset="2" id="3kT-C0-sJP">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="system"/>
</buttonCell>
</button>
<button fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="5fF-Sp-kI3">
<rect key="frame" x="16" y="41" width="62" height="22"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<buttonCell key="cell" type="check" title="Music" bezelStyle="regularSquare" imagePosition="left" alignment="left" state="on" inset="2" id="vrc-Hl-L3Q">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="system"/>
</buttonCell>
</button>
<button fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="W5h-BV-V4e">
<rect key="frame" x="131" y="42" width="68" height="22"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<buttonCell key="cell" type="check" title="Videos" bezelStyle="regularSquare" imagePosition="left" alignment="left" state="on" inset="2" id="fWt-ID-Y0z">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="system"/>
</buttonCell>
</button>
<button fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="DHa-v8-M8b">
<rect key="frame" x="240" y="41" width="58" height="22"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<buttonCell key="cell" type="check" title="PDFs" bezelStyle="regularSquare" imagePosition="left" alignment="left" state="on" inset="2" id="89n-0g-d95">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="system"/>
</buttonCell>
</button>
<button fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="sSL-29-GEm">
<rect key="frame" x="16" y="9" width="91" height="22"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<buttonCell key="cell" type="check" title="Databases" bezelStyle="regularSquare" imagePosition="left" alignment="left" state="on" inset="2" id="U70-jC-plx">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="system"/>
</buttonCell>
</button>
<button fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="fqP-5b-ftG">
<rect key="frame" x="131" y="10" width="79" height="22"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<buttonCell key="cell" type="check" title="Archives" bezelStyle="regularSquare" imagePosition="left" alignment="left" state="on" inset="2" id="Pgh-iX-7fE">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="system"/>
</buttonCell>
</button>
<button fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Ll1-SE-HMe">
<rect key="frame" x="240" y="9" width="61" height="22"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<buttonCell key="cell" type="check" title="Other" bezelStyle="regularSquare" imagePosition="left" alignment="left" state="on" inset="2" id="QXA-QT-6CU">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="system"/>
</buttonCell>
</button>
</subviews>
</view>
</viewController>
<customObject id="oBe-bP-bp2" userLabel="First Responder" customClass="NSResponder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="974" y="1102"/>
</scene>
</scenes>
<resources>
<image name="iPhone7,1" width="320" height="320"/>
</resources>
</document>
================================================
FILE: Open Backup Extractor/Device.swift
================================================
//
// Device.swift
// Open Backup Extractor
//
// Created by vgm on 8/27/17.
// Copyright © 2017 VGMoose. All rights reserved.
//
import Foundation
class Device
{
var name = "My iPhone"
var model = "iPhone 6 (iOS 10.1)"
var date = "Jul 14, 2017 6:40 PM"
var serial = "US123456789"
var rawModel = "iPhone7,1"
var path = "/"
func load(_ path: String) -> Bool
{
// the Manifest.plist path
let manifestPath = path + "/Manifest.plist"
self.path = path
if !FileManager.default.fileExists(atPath: manifestPath)
{
// the manifest doesn't exist, return false
return false
}
// get the contents of the file
let contents = FileManager.default.contents(atPath: manifestPath)
let dict = NSDictionary(contentsOfFile: manifestPath)
// get and format the date from the dict
let realDate = dict!.value(forKey: "Date")! as! NSDate
let formatter = DateFormatter()
formatter.dateFormat = "MMM dd, yyyy HH:mm a"
date = formatter.string(from: realDate as Date)
let info = dict?.value(forKey: "Lockdown")! as! NSDictionary
name = info.value(forKey: "DeviceName")! as! String
rawModel = info.value(forKey: "ProductType")! as! String
serial = info.value(forKey: "SerialNumber")! as! String
model = rawModel + " (iOS " + (info.value(forKey: "ProductVersion")! as! String) + ")"
return true
}
}
================================================
FILE: Open Backup Extractor/DeviceCellView.swift
================================================
//
// DeviceCellView.swift
// Open Backup Extractor
//
// Created by vgm on 8/26/17.
// Copyright © 2017 VGMoose. All rights reserved.
//
import Cocoa
class DeviceCellView : NSTableCellView
{
// iPhone properties
@IBOutlet weak var nameField: NSTextField!
@IBOutlet weak var modelField: NSTextField!
@IBOutlet weak var dateField: NSTextField!
@IBOutlet weak var serialField: NSTextField!
@IBOutlet weak var icon: NSImageView!
func loadFromDevice(_ device : Device)
{
super.awakeFromNib()
// called after the text fields are initialized,
// fill it with the property variables
nameField.stringValue = device.name
modelField.stringValue = device.model
dateField.stringValue = device.date
serialField.stringValue = device.serial //"CSU123456789"
// update the ImageView based on the raw model
let image = NSImage(named: device.rawModel)
if image != nil
{
icon.image = image!
}
}
override func awakeFromNib()
{
// find the parent view controller
let appDelegate = NSApplication.shared.delegate as! AppDelegate
let parent = appDelegate.mainViewController!
// find our current index
let curIndex = parent.curentCellIndex
// increment the index for the next cell
parent.curentCellIndex += 1
// load the properties for this device
loadFromDevice(parent.devices[curIndex])
}
}
================================================
FILE: Open Backup Extractor/DeviceTableView.swift
================================================
//
// DeviceTableVIew.swift
// Open Backup Extractor
//
// Created by vgm on 8/28/17.
// Copyright © 2017 VGMoose. All rights reserved.
//
import Foundation
import Cocoa
class DeviceTableView : NSTableView
{
}
================================================
FILE: Open Backup Extractor/Info.plist
================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIconFile</key>
<string></string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.1</string>
<key>CFBundleVersion</key>
<string>1</string>
<key>LSMinimumSystemVersion</key>
<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
<key>NSHumanReadableCopyright</key>
<string>Written by VGMoose in 2017. Licensed under GPLv3. Source code available at github.com/vgmoose/openbackupextractor</string>
<key>NSMainStoryboardFile</key>
<string>Main</string>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
</dict>
</plist>
================================================
FILE: Open Backup Extractor/SelectableTypesView.swift
================================================
//
// SelectableTypesView.swift
// Open Backup Extractor
//
// Created by vgm on 2/9/18.
// Copyright © 2018 VGMoose. All rights reserved.
//
import Foundation
import Cocoa
class SelectableTypesView : NSView
{
static let VOICE = 0, IMG = 1, TXT = 2, MUSIC = 3, VIDEO = 4, PDF = 5, DATA = 6, ARC = 7, OTHER = 8
// mapping of file descriptions (from libmagic) to file extensions
var fileMaps: [Int:([String], [String])] =
[
VOICE: (["Multi-Rate"], ["amr"]),
IMG: (["PNG", "JPEG", "GIF", "TIF"], ["png", "jpg", "gif", "tif"]),
TXT: (["ASCII", "Word", "UTF"], ["txt", "docx", "txt"]),
MUSIC: (["MPEG", "M4A"], ["mp3", "m4a"]),
VIDEO: (["MP4", "MOV"], ["mp4", "mov"]),
PDF: (["PDF"], ["pdf"]),
DATA: (["SQL"], ["sqlite"]),
ARC: (["Zip", "tar"], ["zip", "tar"]),
OTHER: (["HTML", "property", "XML"], ["html", "plist", "xml"])
]
// mapping of file types to enabled/disabled
var enabledTypes:[Int: Bool] = [:]
func enabled(_ type: Int) -> Bool
{
// return true/false whether we're supposed to check this type
return enabledTypes[type] ?? false
}
func parse(_ type: String) -> String?
{
// for every key in the file maps
for (key, value) in fileMaps
{
// if this checkbox is enabled
if enabled(key)
{
// go through the file descriptions + extensions and check the type
let descs = value.0
let exts = value.1
for x in 0..<descs.count
{
if type.contains(descs[x])
{
// found a matching file type in the description, return the respective extension
return exts[x]
}
}
}
}
// not a known filetype
return nil
}
func setAllState(_ enabled: Bool)
{
// go through all subviews, and enable/disable them if needed
for view in self.subviews
{
if view is NSButton
{
(view as! NSButton).isEnabled = enabled
}
}
}
func update()
{
// go through all checkboxes, and update our enabled dictionary appropriately
for x in 0..<self.subviews.count // subviews.count should match the number of static types (9)
{
if self.subviews[x] is NSButton
{
enabledTypes[x] = (self.subviews[x] as! NSButton).state.rawValue == 1
}
}
}
}
================================================
FILE: Open Backup Extractor/ViewController.swift
================================================
//
// ViewController.swift
// Open Backup Extractor
//
// Created by vgm on 8/26/17.
// Copyright © 2017 VGMoose. All rights reserved.
//
import Cocoa
class ViewController: NSViewController, NSTableViewDelegate, NSTableViewDataSource {
// the table view link from story board
@IBOutlet weak var tableView: NSTableView!
// the dim text before a device is selected
@IBOutlet weak var placeholderText: NSTextField!
// the view containing the exportable types
@IBOutlet weak var listContainer: NSView!
// the progress of files being copied
@IBOutlet weak var progressBar: NSProgressIndicator!
var selectableView: SelectableTypesView?
// the list of all devices
var devices: [Device] = []
// the path to the itunes library
var ITUNES_BACKUP_PATH = NSHomeDirectory() + "/Library/Application Support/MobileSync/Backup/"
// the number of cell that is being loaded
var curentCellIndex = 0
// the textbox that displays the selected export path
@IBOutlet weak var exportFolderPathField: NSTextField!
// the button to select the export path
@IBOutlet weak var chooseFolderButton: NSButton!
// exportable file types
@IBOutlet weak var exportables: NSScrollView!
// second placeholder text
@IBOutlet weak var placeholder2: NSTextField!
// the export folder button
@IBOutlet weak var exportButton: NSButton!
// the toggles
@IBOutlet weak var container: NSView!
// the variables for the state the UI should be in
let NONE_SELECTED = 0, DEVICE_SELECTED = 1, PATH_SELECTED = 2, EXPORT_SELECTED = 3
//the last selected row (corresponds to device)
var lastSelectedRow = 0
override func loadView()
{
super.loadView()
// change directory to this app bundle (so that libmagic can find our magic.mgc file in resources)
chdir(Bundle.main.bundlePath)
// set this view controller to the app delegate
let appDelegate = NSApplication.shared.delegate as! AppDelegate
appDelegate.mainViewController = self
// set the height of every cell in the table
tableView.rowHeight = 70
// refresh the device list on the first launch
refreshDevices()
self.tableView.action = #selector(onItemClicked)
}
@objc private func onItemClicked()
{
// if the progress bar is visible, don't change device state
if !self.progressBar.isHidden { return }
// if the selected item isn't in range, don't change device state
if tableView.selectedRow < 0 || tableView.selectedRow >= self.devices.count { return }
// update the last selected row
self.lastSelectedRow = tableView.selectedRow
// hide the placeholder text
changeState(DEVICE_SELECTED)
}
@IBAction func getHelp(_ sender: Any) {
dialog("Open Backup Extractor", "I made this tool out of frustration with existing solutions that all wanted to charge money to export files, specifically voicemails.\n\nThe idea is you perform a backup of the iOS device in iTunes, and then run this application or hit refresh. It should appear alongside the left hand side.\n\nWhen you choose it, you can then select the types of files that you want to extract from the backup. These are located in \"~/Library/Application Support/MobileSync/Backup/\".\n\nThis tool only copies the files of certain types from that folder into a destination folder that you specify.\n\nIt is limited in functionality, but it should get the job done! If you encounter any issue, please contact me or file an issue on Github (see the source code).")
}
@IBAction func refeshButton(_ sender: NSButton) {
// if the progress bar is visible, don't refresh
if !self.progressBar.isHidden { return }
// clear the device list
self.devices = []
refreshDevices();
}
func refreshDevices()
{
do
{
// get an enumerator for the itunes backup path
let files = try FileManager.default.contentsOfDirectory(atPath: ITUNES_BACKUP_PATH)
// go through every file in that folder
for file in files
{
// check if the current path is a folder
var isDir : ObjCBool = false
FileManager.default.fileExists(atPath: ITUNES_BACKUP_PATH + file, isDirectory:&isDir)
if isDir.boolValue
{
// if it's a folder, try to load it as a device cell
let device = Device()
if device.load(ITUNES_BACKUP_PATH + file)
{
// if it loaded, append it to the devices list
devices.append(device)
}
}
}
// reload the table view
reloadData()
}
catch
{
// do nothing, the file list will be empty
}
// enter state 1 for view
changeState(NONE_SELECTED)
}
func changeState(_ state: Int)
{
if state == NONE_SELECTED
{
self.placeholderText.isHidden = false
self.exportFolderPathField.isHidden = true
self.chooseFolderButton.isHidden = true
self.container.isHidden = true
self.exportButton.isHidden = true
self.placeholder2.isHidden = true
self.progressBar.isHidden = true
self.exportFolderPathField.isEnabled = true
self.chooseFolderButton.isEnabled = true
self.progressBar.isHidden = true
}
else if state == DEVICE_SELECTED
{
self.placeholderText.isHidden = true
self.exportFolderPathField.isHidden = false
self.chooseFolderButton.isHidden = false
self.container.isHidden = true
self.exportButton.isHidden = true
self.placeholder2.isHidden = false
self.progressBar.isHidden = true
}
else if state == PATH_SELECTED
{
self.placeholderText.isHidden = true
self.exportFolderPathField.isHidden = false
self.chooseFolderButton.isHidden = false
self.container.isHidden = false
self.exportButton.isHidden = false
self.placeholder2.isHidden = true
self.exportFolderPathField.isEnabled = true
self.chooseFolderButton.isEnabled = true
self.progressBar.isHidden = true
// self.exportables.isEnabled = true
}
else if state == EXPORT_SELECTED
{
self.placeholderText.isHidden = true
self.exportFolderPathField.isHidden = false
self.chooseFolderButton.isHidden = false
self.container.isHidden = false
self.exportButton.isHidden = true
self.placeholder2.isHidden = true
self.exportFolderPathField.isEnabled = false
self.chooseFolderButton.isEnabled = false
self.progressBar.isHidden = false
// self.container.isEnabled = false
}
}
override func prepare(for segue: NSStoryboardSegue, sender: Any?)
{
// the container view should call prepare for segue, and be a selectable types view
self.selectableView = ((segue.destinationController as! NSViewController).view as! SelectableTypesView)
}
@IBAction func exportClicked(_ sender: Any)
{
// enter export state
self.changeState(EXPORT_SELECTED)
let exportPath = self.exportFolderPathField.stringValue
// grab the currently selected device, and request it to export all its files
let selectedDevice = self.devices[self.lastSelectedRow]
if self.selectableView == nil { return } // container hasn't initialized yet
// update internal checkboxes for selected types before continuing
self.selectableView!.update()
DispatchQueue.global(qos: .utility).async
{
// disable all the checkboxes
self.selectableView!.setAllState(false)
do
{
// get an enumerator for the itunes backup path
let files = try FileManager.default.contentsOfDirectory(atPath: selectedDevice.path)
let totalFiles = files.count
var curCount = 0
// MAGIC_MIME tells magic to return a mime of the file
let magic_cookie: magic_t = magic_open(MAGIC_NONE)
print("Loading default magic database");
if (magic_load(magic_cookie, nil) != 0) {
print("cannot load magic database - %s", magic_error(magic_cookie));
magic_close(magic_cookie);
return
}
// go through every folder in that folder (each is two characters)
for folder in files
{
// update the progress bar
DispatchQueue.main.async {
self.progressBar.doubleValue = Double(100) * (Double(curCount) / Double(totalFiles))
}
curCount += 1
// check if the current path is a folder
var isDir : ObjCBool = false
let subFolderPath = selectedDevice.path + "/" + folder
FileManager.default.fileExists(atPath: subFolderPath, isDirectory:&isDir)
if isDir.boolValue
{
let folderFiles = try FileManager.default.contentsOfDirectory(atPath: subFolderPath)
for file in folderFiles
{
let unsortedFilePath = subFolderPath + "/" + file
// lookup mime_type using magic.h library
if let magic_full = magic_file(magic_cookie, unsortedFilePath)
{
let type = String.init(cString: magic_full)
let ext = self.selectableView!.parse(type)
//lif the extension exists, copy the file into the destination folder
if ext != nil
{
let targetPath = exportPath + "/" + file + "." + ext!
if FileManager.default.fileExists(atPath: unsortedFilePath) {
do {
try FileManager.default.copyItem(atPath: unsortedFilePath, toPath: targetPath)
} catch {
}
}
}
}
}
}
}
magic_close(magic_cookie)
DispatchQueue.main.async
{
// hide the progress bar (not part of state change, since progress bar's presence prevents state changing)
self.progressBar.isHidden = true
self.selectableView!.setAllState(true)
}
// enter state 1 for view
self.changeState(self.NONE_SELECTED)
// reload the table view
self.reloadData()
}
catch
{
// do nothing, the file list will be empty
print("oh no")
}
}
}
@IBAction func chooseExportFolder(_ sender: NSButton)
{
let openPanel = NSOpenPanel()
openPanel.allowsMultipleSelection = false
openPanel.canChooseDirectories = true
openPanel.canCreateDirectories = true
openPanel.canChooseFiles = false
openPanel.begin { (result) -> Void in
if result.rawValue == NSFileHandlingPanelOKButton {
self.exportFolderPathField.stringValue = (openPanel.url?.path)!
self.changeState(self.PATH_SELECTED)
}
}
}
func reloadData()
{
// reset the cell index counter
self.curentCellIndex = 0
// reload the actual table view
tableView.reloadData()
}
func numberOfRows(in tableView: NSTableView) -> Int
{
return devices.count
}
@IBAction func openSourceCode(_ sender: NSButton)
{
// open up the source page for this project
NSWorkspace.shared.open(URL(string: "https://github.com/vgmoose/openbackupextractor")!)
}
// display alert (from https://stackoverflow.com/a/29433631/1137828 )
func dialog(_ question: String, _ text: String) {
let alert = NSAlert()
alert.messageText = question
alert.informativeText = text
alert.alertStyle = .warning
alert.addButton(withTitle: "OK")
alert.beginSheetModal(for: self.view.window!)
}
}
================================================
FILE: Open Backup Extractor/magic.h
================================================
/*
* Copyright (c) Christos Zoulas 2003.
* All Rights Reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice immediately at the beginning of the file, without modification,
* this list of conditions, and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR
* ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
#ifndef _MAGIC_H
#define _MAGIC_H
#include <sys/types.h>
#define MAGIC_NONE 0x0000000 /* No flags */
#define MAGIC_DEBUG 0x0000001 /* Turn on debugging */
#define MAGIC_SYMLINK 0x0000002 /* Follow symlinks */
#define MAGIC_COMPRESS 0x0000004 /* Check inside compressed files */
#define MAGIC_DEVICES 0x0000008 /* Look at the contents of devices */
#define MAGIC_MIME_TYPE 0x0000010 /* Return the MIME type */
#define MAGIC_CONTINUE 0x0000020 /* Return all matches */
#define MAGIC_CHECK 0x0000040 /* Print warnings to stderr */
#define MAGIC_PRESERVE_ATIME 0x0000080 /* Restore access time on exit */
#define MAGIC_RAW 0x0000100 /* Don't convert unprintable chars */
#define MAGIC_ERROR 0x0000200 /* Handle ENOENT etc as real errors */
#define MAGIC_MIME_ENCODING 0x0000400 /* Return the MIME encoding */
#define MAGIC_MIME (MAGIC_MIME_TYPE|MAGIC_MIME_ENCODING)
#define MAGIC_APPLE 0x0000800 /* Return the Apple creator/type */
#define MAGIC_EXTENSION 0x1000000 /* Return a /-separated list of
* extensions */
#define MAGIC_COMPRESS_TRANSP 0x2000000 /* Check inside compressed files
* but not report compression */
#define MAGIC_NODESC (MAGIC_EXTENSION|MAGIC_MIME|MAGIC_APPLE)
#define MAGIC_NO_CHECK_COMPRESS 0x0001000 /* Don't check for compressed files */
#define MAGIC_NO_CHECK_TAR 0x0002000 /* Don't check for tar files */
#define MAGIC_NO_CHECK_SOFT 0x0004000 /* Don't check magic entries */
#define MAGIC_NO_CHECK_APPTYPE 0x0008000 /* Don't check application type */
#define MAGIC_NO_CHECK_ELF 0x0010000 /* Don't check for elf details */
#define MAGIC_NO_CHECK_TEXT 0x0020000 /* Don't check for text files */
#define MAGIC_NO_CHECK_CDF 0x0040000 /* Don't check for cdf files */
#define MAGIC_NO_CHECK_TOKENS 0x0100000 /* Don't check tokens */
#define MAGIC_NO_CHECK_ENCODING 0x0200000 /* Don't check text encodings */
/* No built-in tests; only consult the magic file */
#define MAGIC_NO_CHECK_BUILTIN ( \
MAGIC_NO_CHECK_COMPRESS | \
MAGIC_NO_CHECK_TAR | \
/* MAGIC_NO_CHECK_SOFT | */ \
MAGIC_NO_CHECK_APPTYPE | \
MAGIC_NO_CHECK_ELF | \
MAGIC_NO_CHECK_TEXT | \
MAGIC_NO_CHECK_CDF | \
MAGIC_NO_CHECK_TOKENS | \
MAGIC_NO_CHECK_ENCODING | \
0 \
)
#define MAGIC_SNPRINTB "\177\020\
b\0debug\0\
b\1symlink\0\
b\2compress\0\
b\3devices\0\
b\4mime_type\0\
b\5continue\0\
b\6check\0\
b\7preserve_atime\0\
b\10raw\0\
b\11error\0\
b\12mime_encoding\0\
b\13apple\0\
b\14no_check_compress\0\
b\15no_check_tar\0\
b\16no_check_soft\0\
b\17no_check_sapptype\0\
b\20no_check_elf\0\
b\21no_check_text\0\
b\22no_check_cdf\0\
b\23no_check_reserved0\0\
b\24no_check_tokens\0\
b\25no_check_encoding\0\
b\26no_check_reserved1\0\
b\27no_check_reserved2\0\
b\30extension\0\
b\31transp_compression\0\
"
/* Defined for backwards compatibility (renamed) */
#define MAGIC_NO_CHECK_ASCII MAGIC_NO_CHECK_TEXT
/* Defined for backwards compatibility; do nothing */
#define MAGIC_NO_CHECK_FORTRAN 0x000000 /* Don't check ascii/fortran */
#define MAGIC_NO_CHECK_TROFF 0x000000 /* Don't check ascii/troff */
#define MAGIC_VERSION 532 /* This implementation */
#ifdef __cplusplus
extern "C" {
#endif
typedef struct magic_set *magic_t;
magic_t magic_open(int);
void magic_close(magic_t);
const char *magic_getpath(const char *, int);
const char *magic_file(magic_t, const char *);
const char *magic_descriptor(magic_t, int);
const char *magic_buffer(magic_t, const void *, size_t);
const char *magic_error(magic_t);
int magic_getflags(magic_t);
int magic_setflags(magic_t, int);
int magic_version(void);
int magic_load(magic_t, const char *);
int magic_load_buffers(magic_t, void **, size_t *, size_t);
int magic_compile(magic_t, const char *);
int magic_check(magic_t, const char *);
int magic_list(magic_t, const char *);
int magic_errno(magic_t);
#define MAGIC_PARAM_INDIR_MAX 0
#define MAGIC_PARAM_NAME_MAX 1
#define MAGIC_PARAM_ELF_PHNUM_MAX 2
#define MAGIC_PARAM_ELF_SHNUM_MAX 3
#define MAGIC_PARAM_ELF_NOTES_MAX 4
#define MAGIC_PARAM_REGEX_MAX 5
#define MAGIC_PARAM_BYTES_MAX 6
int magic_setparam(magic_t, int, const void *);
int magic_getparam(magic_t, int, void *);
#ifdef __cplusplus
};
#endif
#endif /* _MAGIC_H */
================================================
FILE: Open Backup Extractor/obe-Bridging-Header.h
================================================
#ifndef obe_Bridging_Header_h
#define obe_Bridging_Header_h
#include "magic.h"
#endif /* obe_Bridging_Header_h */
================================================
FILE: Open Backup Extractor.xcodeproj/project.pbxproj
================================================
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 46;
objects = {
/* Begin PBXBuildFile section */
9C1F658F1F529D9F0095092B /* Device.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9C1F658E1F529D9F0095092B /* Device.swift */; };
9C1F65911F54FB260095092B /* DeviceTableView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9C1F65901F54FB260095092B /* DeviceTableView.swift */; };
9C33D8C4202E3304006968DE /* SelectableTypesView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9C33D8C3202E3304006968DE /* SelectableTypesView.swift */; };
9C5BDE872062421B00DFF64C /* libmagic.1.dylib in Embed Libraries */ = {isa = PBXBuildFile; fileRef = 9CBBE50020623F6A00A6B003 /* libmagic.1.dylib */; settings = {ATTRIBUTES = (CodeSignOnCopy, ); }; };
9C5BDE892062423300DFF64C /* libmagic.1.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 9CBBE50020623F6A00A6B003 /* libmagic.1.dylib */; };
9C5BDE8C2062E88C00DFF64C /* magic.mgc in Resources */ = {isa = PBXBuildFile; fileRef = 9C5BDE8B2062E87C00DFF64C /* magic.mgc */; };
9CA9D6681F52173200BE1277 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9CA9D6671F52173200BE1277 /* AppDelegate.swift */; };
9CA9D66A1F52173200BE1277 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9CA9D6691F52173200BE1277 /* ViewController.swift */; };
9CA9D66C1F52173200BE1277 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 9CA9D66B1F52173200BE1277 /* Assets.xcassets */; };
9CA9D66F1F52173200BE1277 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 9CA9D66D1F52173200BE1277 /* Main.storyboard */; };
9CA9D6771F5243A000BE1277 /* DeviceCellView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9CA9D6761F5243A000BE1277 /* DeviceCellView.swift */; };
9CA9D6B51F52461B00BE1277 /* iPad1,1.png in Resources */ = {isa = PBXBuildFile; fileRef = 9CA9D67E1F52461B00BE1277 /* iPad1,1.png */; };
9CA9D6B61F52461B00BE1277 /* iPad2,1.png in Resources */ = {isa = PBXBuildFile; fileRef = 9CA9D67F1F52461B00BE1277 /* iPad2,1.png */; };
9CA9D6B71F52461B00BE1277 /* iPad2,2.png in Resources */ = {isa = PBXBuildFile; fileRef = 9CA9D6801F52461B00BE1277 /* iPad2,2.png */; };
9CA9D6B81F52461B00BE1277 /* iPad2,3.png in Resources */ = {isa = PBXBuildFile; fileRef = 9CA9D6811F52461B00BE1277 /* iPad2,3.png */; };
9CA9D6B91F52461B00BE1277 /* iPad2,4.png in Resources */ = {isa = PBXBuildFile; fileRef = 9CA9D6821F52461B00BE1277 /* iPad2,4.png */; };
9CA9D6BA1F52461B00BE1277 /* iPad2,5.png in Resources */ = {isa = PBXBuildFile; fileRef = 9CA9D6831F52461B00BE1277 /* iPad2,5.png */; };
9CA9D6BB1F52461B00BE1277 /* iPad3,1.png in Resources */ = {isa = PBXBuildFile; fileRef = 9CA9D6841F52461B00BE1277 /* iPad3,1.png */; };
9CA9D6BC1F52461B00BE1277 /* iPad3,2.png in Resources */ = {isa = PBXBuildFile; fileRef = 9CA9D6851F52461B00BE1277 /* iPad3,2.png */; };
9CA9D6BD1F52461B00BE1277 /* iPad3,3.png in Resources */ = {isa = PBXBuildFile; fileRef = 9CA9D6861F52461B00BE1277 /* iPad3,3.png */; };
9CA9D6BE1F52461B00BE1277 /* iPad3,4.png in Resources */ = {isa = PBXBuildFile; fileRef = 9CA9D6871F52461B00BE1277 /* iPad3,4.png */; };
9CA9D6BF1F52461B00BE1277 /* iPad3,5.png in Resources */ = {isa = PBXBuildFile; fileRef = 9CA9D6881F52461B00BE1277 /* iPad3,5.png */; };
9CA9D6C01F52461B00BE1277 /* iPad4,1.png in Resources */ = {isa = PBXBuildFile; fileRef = 9CA9D6891F52461B00BE1277 /* iPad4,1.png */; };
9CA9D6C11F52461B00BE1277 /* iPad4,2.png in Resources */ = {isa = PBXBuildFile; fileRef = 9CA9D68A1F52461B00BE1277 /* iPad4,2.png */; };
9CA9D6C21F52461B00BE1277 /* iPad4,3.png in Resources */ = {isa = PBXBuildFile; fileRef = 9CA9D68B1F52461B00BE1277 /* iPad4,3.png */; };
9CA9D6C31F52461B00BE1277 /* iPad4,4.png in Resources */ = {isa = PBXBuildFile; fileRef = 9CA9D68C1F52461B00BE1277 /* iPad4,4.png */; };
9CA9D6C41F52461B00BE1277 /* iPad4,5.png in Resources */ = {isa = PBXBuildFile; fileRef = 9CA9D68D1F52461B00BE1277 /* iPad4,5.png */; };
9CA9D6C51F52461B00BE1277 /* iPad5,1.png in Resources */ = {isa = PBXBuildFile; fileRef = 9CA9D68E1F52461B00BE1277 /* iPad5,1.png */; };
9CA9D6C61F52461B00BE1277 /* iPad5,2.png in Resources */ = {isa = PBXBuildFile; fileRef = 9CA9D68F1F52461B00BE1277 /* iPad5,2.png */; };
9CA9D6C71F52461B00BE1277 /* iPad5,3.png in Resources */ = {isa = PBXBuildFile; fileRef = 9CA9D6901F52461B00BE1277 /* iPad5,3.png */; };
9CA9D6C81F52461B00BE1277 /* iPad5,4.png in Resources */ = {isa = PBXBuildFile; fileRef = 9CA9D6911F52461B00BE1277 /* iPad5,4.png */; };
9CA9D6C91F52461B00BE1277 /* iPad5,5.png in Resources */ = {isa = PBXBuildFile; fileRef = 9CA9D6921F52461B00BE1277 /* iPad5,5.png */; };
9CA9D6CA1F52461B00BE1277 /* iPad6,3.png in Resources */ = {isa = PBXBuildFile; fileRef = 9CA9D6931F52461B00BE1277 /* iPad6,3.png */; };
9CA9D6CB1F52461B00BE1277 /* iPad6,4.png in Resources */ = {isa = PBXBuildFile; fileRef = 9CA9D6941F52461B00BE1277 /* iPad6,4.png */; };
9CA9D6CC1F52461B00BE1277 /* iPad7,1.png in Resources */ = {isa = PBXBuildFile; fileRef = 9CA9D6951F52461B00BE1277 /* iPad7,1.png */; };
9CA9D6CD1F52461B00BE1277 /* iPad7,2.png in Resources */ = {isa = PBXBuildFile; fileRef = 9CA9D6961F52461B00BE1277 /* iPad7,2.png */; };
9CA9D6CE1F52461B00BE1277 /* iPad7,3.png in Resources */ = {isa = PBXBuildFile; fileRef = 9CA9D6971F52461B00BE1277 /* iPad7,3.png */; };
9CA9D6CF1F52461B00BE1277 /* iPad7,4.png in Resources */ = {isa = PBXBuildFile; fileRef = 9CA9D6981F52461B00BE1277 /* iPad7,4.png */; };
9CA9D6D01F52461B00BE1277 /* iPhone1,1.png in Resources */ = {isa = PBXBuildFile; fileRef = 9CA9D6991F52461B00BE1277 /* iPhone1,1.png */; };
9CA9D6D11F52461B00BE1277 /* iPhone1,2.png in Resources */ = {isa = PBXBuildFile; fileRef = 9CA9D69A1F52461B00BE1277 /* iPhone1,2.png */; };
9CA9D6D21F52461B00BE1277 /* iPhone2,1.png in Resources */ = {isa = PBXBuildFile; fileRef = 9CA9D69B1F52461B00BE1277 /* iPhone2,1.png */; };
9CA9D6D31F52461B00BE1277 /* iPhone3,1.png in Resources */ = {isa = PBXBuildFile; fileRef = 9CA9D69C1F52461B00BE1277 /* iPhone3,1.png */; };
9CA9D6D41F52461B00BE1277 /* iPhone3,2.png in Resources */ = {isa = PBXBuildFile; fileRef = 9CA9D69D1F52461B00BE1277 /* iPhone3,2.png */; };
9CA9D6D51F52461B00BE1277 /* iPhone3,3.png in Resources */ = {isa = PBXBuildFile; fileRef = 9CA9D69E1F52461B00BE1277 /* iPhone3,3.png */; };
9CA9D6D61F52461B00BE1277 /* iPhone4,1.png in Resources */ = {isa = PBXBuildFile; fileRef = 9CA9D69F1F52461B00BE1277 /* iPhone4,1.png */; };
9CA9D6D71F52461B00BE1277 /* iPhone5,1.png in Resources */ = {isa = PBXBuildFile; fileRef = 9CA9D6A01F52461B00BE1277 /* iPhone5,1.png */; };
9CA9D6D81F52461B00BE1277 /* iPhone5,2.png in Resources */ = {isa = PBXBuildFile; fileRef = 9CA9D6A11F52461B00BE1277 /* iPhone5,2.png */; };
9CA9D6D91F52461B00BE1277 /* iPhone5,3.png in Resources */ = {isa = PBXBuildFile; fileRef = 9CA9D6A21F52461B00BE1277 /* iPhone5,3.png */; };
9CA9D6DA1F52461B00BE1277 /* iPhone5,4.png in Resources */ = {isa = PBXBuildFile; fileRef = 9CA9D6A31F52461B00BE1277 /* iPhone5,4.png */; };
9CA9D6DB1F52461B00BE1277 /* iPhone6,1.png in Resources */ = {isa = PBXBuildFile; fileRef = 9CA9D6A41F52461B00BE1277 /* iPhone6,1.png */; };
9CA9D6DC1F52461B00BE1277 /* iPhone6,2.png in Resources */ = {isa = PBXBuildFile; fileRef = 9CA9D6A51F52461B00BE1277 /* iPhone6,2.png */; };
9CA9D6DD1F52461B00BE1277 /* iPhone7,1.png in Resources */ = {isa = PBXBuildFile; fileRef = 9CA9D6A61F52461B00BE1277 /* iPhone7,1.png */; };
9CA9D6DE1F52461B00BE1277 /* iPhone7,2.png in Resources */ = {isa = PBXBuildFile; fileRef = 9CA9D6A71F52461B00BE1277 /* iPhone7,2.png */; };
9CA9D6DF1F52461B00BE1277 /* iPhone8,1.png in Resources */ = {isa = PBXBuildFile; fileRef = 9CA9D6A81F52461B00BE1277 /* iPhone8,1.png */; };
9CA9D6E01F52461B00BE1277 /* iPhone8,2.png in Resources */ = {isa = PBXBuildFile; fileRef = 9CA9D6A91F52461B00BE1277 /* iPhone8,2.png */; };
9CA9D6E11F52461B00BE1277 /* iPhone8,4.png in Resources */ = {isa = PBXBuildFile; fileRef = 9CA9D6AA1F52461B00BE1277 /* iPhone8,4.png */; };
9CA9D6E21F52461B00BE1277 /* iPhone9,1.png in Resources */ = {isa = PBXBuildFile; fileRef = 9CA9D6AB1F52461B00BE1277 /* iPhone9,1.png */; };
9CA9D6E31F52461B00BE1277 /* iPhone9,2.png in Resources */ = {isa = PBXBuildFile; fileRef = 9CA9D6AC1F52461B00BE1277 /* iPhone9,2.png */; };
9CA9D6E41F52461B00BE1277 /* iPhone9,3.png in Resources */ = {isa = PBXBuildFile; fileRef = 9CA9D6AD1F52461B00BE1277 /* iPhone9,3.png */; };
9CA9D6E51F52461B00BE1277 /* iPhone9,4.png in Resources */ = {isa = PBXBuildFile; fileRef = 9CA9D6AE1F52461B00BE1277 /* iPhone9,4.png */; };
9CA9D6E61F52461B00BE1277 /* iPod1,1.png in Resources */ = {isa = PBXBuildFile; fileRef = 9CA9D6AF1F52461B00BE1277 /* iPod1,1.png */; };
9CA9D6E71F52461B00BE1277 /* iPod2,1.png in Resources */ = {isa = PBXBuildFile; fileRef = 9CA9D6B01F52461B00BE1277 /* iPod2,1.png */; };
9CA9D6E81F52461B00BE1277 /* iPod3,1.png in Resources */ = {isa = PBXBuildFile; fileRef = 9CA9D6B11F52461B00BE1277 /* iPod3,1.png */; };
9CA9D6E91F52461B00BE1277 /* iPod4,1.png in Resources */ = {isa = PBXBuildFile; fileRef = 9CA9D6B21F52461B00BE1277 /* iPod4,1.png */; };
9CA9D6EA1F52461B00BE1277 /* iPod5,1.png in Resources */ = {isa = PBXBuildFile; fileRef = 9CA9D6B31F52461B00BE1277 /* iPod5,1.png */; };
9CA9D6EB1F52461B00BE1277 /* iPod7,1.png in Resources */ = {isa = PBXBuildFile; fileRef = 9CA9D6B41F52461B00BE1277 /* iPod7,1.png */; };
/* End PBXBuildFile section */
/* Begin PBXCopyFilesBuildPhase section */
9CBBE4F6206239F900A6B003 /* Embed Libraries */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 12;
dstPath = "";
dstSubfolderSpec = 10;
files = (
9C5BDE872062421B00DFF64C /* libmagic.1.dylib in Embed Libraries */,
);
name = "Embed Libraries";
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXCopyFilesBuildPhase section */
/* Begin PBXFileReference section */
9C1F658E1F529D9F0095092B /* Device.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Device.swift; sourceTree = "<group>"; };
9C1F65901F54FB260095092B /* DeviceTableView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DeviceTableView.swift; sourceTree = "<group>"; };
9C33D8C3202E3304006968DE /* SelectableTypesView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SelectableTypesView.swift; sourceTree = "<group>"; };
9C5BDE8B2062E87C00DFF64C /* magic.mgc */ = {isa = PBXFileReference; lastKnownFileType = file; path = magic.mgc; sourceTree = "<group>"; };
9CA9D6641F52173200BE1277 /* Open Backup Extractor.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Open Backup Extractor.app"; sourceTree = BUILT_PRODUCTS_DIR; };
9CA9D6671F52173200BE1277 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
9CA9D6691F52173200BE1277 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
9CA9D66B1F52173200BE1277 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
9CA9D66E1F52173200BE1277 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
9CA9D6701F52173200BE1277 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
9CA9D6761F5243A000BE1277 /* DeviceCellView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DeviceCellView.swift; sourceTree = "<group>"; };
9CA9D67E1F52461B00BE1277 /* iPad1,1.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "iPad1,1.png"; sourceTree = "<group>"; };
9CA9D67F1F52461B00BE1277 /* iPad2,1.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "iPad2,1.png"; sourceTree = "<group>"; };
9CA9D6801F52461B00BE1277 /* iPad2,2.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "iPad2,2.png"; sourceTree = "<group>"; };
9CA9D6811F52461B00BE1277 /* iPad2,3.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "iPad2,3.png"; sourceTree = "<group>"; };
9CA9D6821F52461B00BE1277 /* iPad2,4.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "iPad2,4.png"; sourceTree = "<group>"; };
9CA9D6831F52461B00BE1277 /* iPad2,5.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "iPad2,5.png"; sourceTree = "<group>"; };
9CA9D6841F52461B00BE1277 /* iPad3,1.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "iPad3,1.png"; sourceTree = "<group>"; };
9CA9D6851F52461B00BE1277 /* iPad3,2.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "iPad3,2.png"; sourceTree = "<group>"; };
9CA9D6861F52461B00BE1277 /* iPad3,3.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "iPad3,3.png"; sourceTree = "<group>"; };
9CA9D6871F52461B00BE1277 /* iPad3,4.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "iPad3,4.png"; sourceTree = "<group>"; };
9CA9D6881F52461B00BE1277 /* iPad3,5.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "iPad3,5.png"; sourceTree = "<group>"; };
9CA9D6891F52461B00BE1277 /* iPad4,1.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "iPad4,1.png"; sourceTree = "<group>"; };
9CA9D68A1F52461B00BE1277 /* iPad4,2.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "iPad4,2.png"; sourceTree = "<group>"; };
9CA9D68B1F52461B00BE1277 /* iPad4,3.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "iPad4,3.png"; sourceTree = "<group>"; };
9CA9D68C1F52461B00BE1277 /* iPad4,4.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "iPad4,4.png"; sourceTree = "<group>"; };
9CA9D68D1F52461B00BE1277 /* iPad4,5.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "iPad4,5.png"; sourceTree = "<group>"; };
9CA9D68E1F52461B00BE1277 /* iPad5,1.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "iPad5,1.png"; sourceTree = "<group>"; };
9CA9D68F1F52461B00BE1277 /* iPad5,2.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "iPad5,2.png"; sourceTree = "<group>"; };
9CA9D6901F52461B00BE1277 /* iPad5,3.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "iPad5,3.png"; sourceTree = "<group>"; };
9CA9D6911F52461B00BE1277 /* iPad5,4.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "iPad5,4.png"; sourceTree = "<group>"; };
9CA9D6921F52461B00BE1277 /* iPad5,5.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "iPad5,5.png"; sourceTree = "<group>"; };
9CA9D6931F52461B00BE1277 /* iPad6,3.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "iPad6,3.png"; sourceTree = "<group>"; };
9CA9D6941F52461B00BE1277 /* iPad6,4.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "iPad6,4.png"; sourceTree = "<group>"; };
9CA9D6951F52461B00BE1277 /* iPad7,1.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "iPad7,1.png"; sourceTree = "<group>"; };
9CA9D6961F52461B00BE1277 /* iPad7,2.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "iPad7,2.png"; sourceTree = "<group>"; };
9CA9D6971F52461B00BE1277 /* iPad7,3.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "iPad7,3.png"; sourceTree = "<group>"; };
9CA9D6981F52461B00BE1277 /* iPad7,4.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "iPad7,4.png"; sourceTree = "<group>"; };
9CA9D6991F52461B00BE1277 /* iPhone1,1.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "iPhone1,1.png"; sourceTree = "<group>"; };
9CA9D69A1F52461B00BE1277 /* iPhone1,2.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "iPhone1,2.png"; sourceTree = "<group>"; };
9CA9D69B1F52461B00BE1277 /* iPhone2,1.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "iPhone2,1.png"; sourceTree = "<group>"; };
9CA9D69C1F52461B00BE1277 /* iPhone3,1.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "iPhone3,1.png"; sourceTree = "<group>"; };
9CA9D69D1F52461B00BE1277 /* iPhone3,2.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "iPhone3,2.png"; sourceTree = "<group>"; };
9CA9D69E1F52461B00BE1277 /* iPhone3,3.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "iPhone3,3.png"; sourceTree = "<group>"; };
9CA9D69F1F52461B00BE1277 /* iPhone4,1.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "iPhone4,1.png"; sourceTree = "<group>"; };
9CA9D6A01F52461B00BE1277 /* iPhone5,1.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "iPhone5,1.png"; sourceTree = "<group>"; };
9CA9D6A11F52461B00BE1277 /* iPhone5,2.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "iPhone5,2.png"; sourceTree = "<group>"; };
9CA9D6A21F52461B00BE1277 /* iPhone5,3.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "iPhone5,3.png"; sourceTree = "<group>"; };
9CA9D6A31F52461B00BE1277 /* iPhone5,4.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "iPhone5,4.png"; sourceTree = "<group>"; };
9CA9D6A41F52461B00BE1277 /* iPhone6,1.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "iPhone6,1.png"; sourceTree = "<group>"; };
9CA9D6A51F52461B00BE1277 /* iPhone6,2.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "iPhone6,2.png"; sourceTree = "<group>"; };
9CA9D6A61F52461B00BE1277 /* iPhone7,1.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "iPhone7,1.png"; sourceTree = "<group>"; };
9CA9D6A71F52461B00BE1277 /* iPhone7,2.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "iPhone7,2.png"; sourceTree = "<group>"; };
9CA9D6A81F52461B00BE1277 /* iPhone8,1.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "iPhone8,1.png"; sourceTree = "<group>"; };
9CA9D6A91F52461B00BE1277 /* iPhone8,2.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "iPhone8,2.png"; sourceTree = "<group>"; };
9CA9D6AA1F52461B00BE1277 /* iPhone8,4.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "iPhone8,4.png"; sourceTree = "<group>"; };
9CA9D6AB1F52461B00BE1277 /* iPhone9,1.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "iPhone9,1.png"; sourceTree = "<group>"; };
9CA9D6AC1F52461B00BE1277 /* iPhone9,2.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "iPhone9,2.png"; sourceTree = "<group>"; };
9CA9D6AD1F52461B00BE1277 /* iPhone9,3.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "iPhone9,3.png"; sourceTree = "<group>"; };
9CA9D6AE1F52461B00BE1277 /* iPhone9,4.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "iPhone9,4.png"; sourceTree = "<group>"; };
9CA9D6AF1F52461B00BE1277 /* iPod1,1.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "iPod1,1.png"; sourceTree = "<group>"; };
9CA9D6B01F52461B00BE1277 /* iPod2,1.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "iPod2,1.png"; sourceTree = "<group>"; };
9CA9D6B11F52461B00BE1277 /* iPod3,1.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "iPod3,1.png"; sourceTree = "<group>"; };
9CA9D6B21F52461B00BE1277 /* iPod4,1.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "iPod4,1.png"; sourceTree = "<group>"; };
9CA9D6B31F52461B00BE1277 /* iPod5,1.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "iPod5,1.png"; sourceTree = "<group>"; };
9CA9D6B41F52461B00BE1277 /* iPod7,1.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "iPod7,1.png"; sourceTree = "<group>"; };
9CBBE4EA2061E6EA00A6B003 /* obe-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "obe-Bridging-Header.h"; sourceTree = "<group>"; };
9CBBE4ED2061FEB200A6B003 /* magic.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = magic.h; sourceTree = "<group>"; };
9CBBE50020623F6A00A6B003 /* libmagic.1.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; path = libmagic.1.dylib; sourceTree = "<group>"; };
9CBBE50120623F6A00A6B003 /* libmagic.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libmagic.a; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
9CA9D6611F52173200BE1277 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
9C5BDE892062423300DFF64C /* libmagic.1.dylib in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
9CA9D65B1F52173200BE1277 = {
isa = PBXGroup;
children = (
9CBBE4FF20623F2300A6B003 /* Frameworks */,
9CA9D6661F52173200BE1277 /* Open Backup Extractor */,
9CA9D6651F52173200BE1277 /* Products */,
);
sourceTree = "<group>";
};
9CA9D6651F52173200BE1277 /* Products */ = {
isa = PBXGroup;
children = (
9CA9D6641F52173200BE1277 /* Open Backup Extractor.app */,
);
name = Products;
sourceTree = "<group>";
};
9CA9D6661F52173200BE1277 /* Open Backup Extractor */ = {
isa = PBXGroup;
children = (
9CA9D6671F52173200BE1277 /* AppDelegate.swift */,
9CA9D6691F52173200BE1277 /* ViewController.swift */,
9C1F658E1F529D9F0095092B /* Device.swift */,
9CA9D6761F5243A000BE1277 /* DeviceCellView.swift */,
9C1F65901F54FB260095092B /* DeviceTableView.swift */,
9C33D8C3202E3304006968DE /* SelectableTypesView.swift */,
9CBBE4EA2061E6EA00A6B003 /* obe-Bridging-Header.h */,
9CBBE4ED2061FEB200A6B003 /* magic.h */,
9CA9D66B1F52173200BE1277 /* Assets.xcassets */,
9CA9D66D1F52173200BE1277 /* Main.storyboard */,
9CA9D6701F52173200BE1277 /* Info.plist */,
9CA9D67C1F52461B00BE1277 /* res */,
);
path = "Open Backup Extractor";
sourceTree = "<group>";
};
9CA9D67C1F52461B00BE1277 /* res */ = {
isa = PBXGroup;
children = (
9C5BDE8B2062E87C00DFF64C /* magic.mgc */,
9CA9D67D1F52461B00BE1277 /* devices */,
);
path = res;
sourceTree = "<group>";
};
9CA9D67D1F52461B00BE1277 /* devices */ = {
isa = PBXGroup;
children = (
9CA9D67E1F52461B00BE1277 /* iPad1,1.png */,
9CA9D67F1F52461B00BE1277 /* iPad2,1.png */,
9CA9D6801F52461B00BE1277 /* iPad2,2.png */,
9CA9D6811F52461B00BE1277 /* iPad2,3.png */,
9CA9D6821F52461B00BE1277 /* iPad2,4.png */,
9CA9D6831F52461B00BE1277 /* iPad2,5.png */,
9CA9D6841F52461B00BE1277 /* iPad3,1.png */,
9CA9D6851F52461B00BE1277 /* iPad3,2.png */,
9CA9D6861F52461B00BE1277 /* iPad3,3.png */,
9CA9D6871F52461B00BE1277 /* iPad3,4.png */,
9CA9D6881F52461B00BE1277 /* iPad3,5.png */,
9CA9D6891F52461B00BE1277 /* iPad4,1.png */,
9CA9D68A1F52461B00BE1277 /* iPad4,2.png */,
9CA9D68B1F52461B00BE1277 /* iPad4,3.png */,
9CA9D68C1F52461B00BE1277 /* iPad4,4.png */,
9CA9D68D1F52461B00BE1277 /* iPad4,5.png */,
9CA9D68E1F52461B00BE1277 /* iPad5,1.png */,
9CA9D68F1F52461B00BE1277 /* iPad5,2.png */,
9CA9D6901F52461B00BE1277 /* iPad5,3.png */,
9CA9D6911F52461B00BE1277 /* iPad5,4.png */,
9CA9D6921F52461B00BE1277 /* iPad5,5.png */,
9CA9D6931F52461B00BE1277 /* iPad6,3.png */,
9CA9D6941F52461B00BE1277 /* iPad6,4.png */,
9CA9D6951F52461B00BE1277 /* iPad7,1.png */,
9CA9D6961F52461B00BE1277 /* iPad7,2.png */,
9CA9D6971F52461B00BE1277 /* iPad7,3.png */,
9CA9D6981F52461B00BE1277 /* iPad7,4.png */,
9CA9D6991F52461B00BE1277 /* iPhone1,1.png */,
9CA9D69A1F52461B00BE1277 /* iPhone1,2.png */,
9CA9D69B1F52461B00BE1277 /* iPhone2,1.png */,
9CA9D69C1F52461B00BE1277 /* iPhone3,1.png */,
9CA9D69D1F52461B00BE1277 /* iPhone3,2.png */,
9CA9D69E1F52461B00BE1277 /* iPhone3,3.png */,
9CA9D69F1F52461B00BE1277 /* iPhone4,1.png */,
9CA9D6A01F52461B00BE1277 /* iPhone5,1.png */,
9CA9D6A11F52461B00BE1277 /* iPhone5,2.png */,
9CA9D6A21F52461B00BE1277 /* iPhone5,3.png */,
9CA9D6A31F52461B00BE1277 /* iPhone5,4.png */,
9CA9D6A41F52461B00BE1277 /* iPhone6,1.png */,
9CA9D6A51F52461B00BE1277 /* iPhone6,2.png */,
9CA9D6A61F52461B00BE1277 /* iPhone7,1.png */,
9CA9D6A71F52461B00BE1277 /* iPhone7,2.png */,
9CA9D6A81F52461B00BE1277 /* iPhone8,1.png */,
9CA9D6A91F52461B00BE1277 /* iPhone8,2.png */,
9CA9D6AA1F52461B00BE1277 /* iPhone8,4.png */,
9CA9D6AB1F52461B00BE1277 /* iPhone9,1.png */,
9CA9D6AC1F52461B00BE1277 /* iPhone9,2.png */,
9CA9D6AD1F52461B00BE1277 /* iPhone9,3.png */,
9CA9D6AE1F52461B00BE1277 /* iPhone9,4.png */,
9CA9D6AF1F52461B00BE1277 /* iPod1,1.png */,
9CA9D6B01F52461B00BE1277 /* iPod2,1.png */,
9CA9D6B11F52461B00BE1277 /* iPod3,1.png */,
9CA9D6B21F52461B00BE1277 /* iPod4,1.png */,
9CA9D6B31F52461B00BE1277 /* iPod5,1.png */,
9CA9D6B41F52461B00BE1277 /* iPod7,1.png */,
);
path = devices;
sourceTree = "<group>";
};
9CBBE4FF20623F2300A6B003 /* Frameworks */ = {
isa = PBXGroup;
children = (
9CBBE50020623F6A00A6B003 /* libmagic.1.dylib */,
9CBBE50120623F6A00A6B003 /* libmagic.a */,
);
path = Frameworks;
sourceTree = "<group>";
};
/* End PBXGroup section */
/* Begin PBXNativeTarget section */
9CA9D6631F52173200BE1277 /* Open Backup Extractor */ = {
isa = PBXNativeTarget;
buildConfigurationList = 9CA9D6731F52173200BE1277 /* Build configuration list for PBXNativeTarget "Open Backup Extractor" */;
buildPhases = (
9CA9D6601F52173200BE1277 /* Sources */,
9CA9D6611F52173200BE1277 /* Frameworks */,
9CA9D6621F52173200BE1277 /* Resources */,
9CBBE4F6206239F900A6B003 /* Embed Libraries */,
);
buildRules = (
);
dependencies = (
);
name = "Open Backup Extractor";
productName = "Open Backup Extractor";
productReference = 9CA9D6641F52173200BE1277 /* Open Backup Extractor.app */;
productType = "com.apple.product-type.application";
};
/* End PBXNativeTarget section */
/* Begin PBXProject section */
9CA9D65C1F52173200BE1277 /* Project object */ = {
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 0820;
LastUpgradeCheck = 0820;
ORGANIZATIONNAME = VGMoose;
TargetAttributes = {
9CA9D6631F52173200BE1277 = {
CreatedOnToolsVersion = 8.2.1;
DevelopmentTeam = 9UDT7LSCEF;
ProvisioningStyle = Automatic;
};
};
};
buildConfigurationList = 9CA9D65F1F52173200BE1277 /* Build configuration list for PBXProject "Open Backup Extractor" */;
compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
hasScannedForEncodings = 0;
knownRegions = (
en,
Base,
);
mainGroup = 9CA9D65B1F52173200BE1277;
productRefGroup = 9CA9D6651F52173200BE1277 /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
9CA9D6631F52173200BE1277 /* Open Backup Extractor */,
);
};
/* End PBXProject section */
/* Begin PBXResourcesBuildPhase section */
9CA9D6621F52173200BE1277 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
9C5BDE8C2062E88C00DFF64C /* magic.mgc in Resources */,
9CA9D6C31F52461B00BE1277 /* iPad4,4.png in Resources */,
9CA9D6CA1F52461B00BE1277 /* iPad6,3.png in Resources */,
9CA9D6D91F52461B00BE1277 /* iPhone5,3.png in Resources */,
9CA9D6E41F52461B00BE1277 /* iPhone9,3.png in Resources */,
9CA9D6E01F52461B00BE1277 /* iPhone8,2.png in Resources */,
9CA9D6EB1F52461B00BE1277 /* iPod7,1.png in Resources */,
9CA9D6E51F52461B00BE1277 /* iPhone9,4.png in Resources */,
9CA9D6CE1F52461B00BE1277 /* iPad7,3.png in Resources */,
9CA9D66C1F52173200BE1277 /* Assets.xcassets in Resources */,
9CA9D6DC1F52461B00BE1277 /* iPhone6,2.png in Resources */,
9CA9D6CF1F52461B00BE1277 /* iPad7,4.png in Resources */,
9CA9D6BB1F52461B00BE1277 /* iPad3,1.png in Resources */,
9CA9D6D81F52461B00BE1277 /* iPhone5,2.png in Resources */,
9CA9D6E61F52461B00BE1277 /* iPod1,1.png in Resources */,
9CA9D6E91F52461B00BE1277 /* iPod4,1.png in Resources */,
9CA9D6E31F52461B00BE1277 /* iPhone9,2.png in Resources */,
9CA9D6E71F52461B00BE1277 /* iPod2,1.png in Resources */,
9CA9D6D41F52461B00BE1277 /* iPhone3,2.png in Resources */,
9CA9D6CD1F52461B00BE1277 /* iPad7,2.png in Resources */,
9CA9D6D61F52461B00BE1277 /* iPhone4,1.png in Resources */,
9CA9D6DD1F52461B00BE1277 /* iPhone7,1.png in Resources */,
9CA9D6B91F52461B00BE1277 /* iPad2,4.png in Resources */,
9CA9D6CB1F52461B00BE1277 /* iPad6,4.png in Resources */,
9CA9D6B81F52461B00BE1277 /* iPad2,3.png in Resources */,
9CA9D6BF1F52461B00BE1277 /* iPad3,5.png in Resources */,
9CA9D6DF1F52461B00BE1277 /* iPhone8,1.png in Resources */,
9CA9D6C91F52461B00BE1277 /* iPad5,5.png in Resources */,
9CA9D6DA1F52461B00BE1277 /* iPhone5,4.png in Resources */,
9CA9D6E81F52461B00BE1277 /* iPod3,1.png in Resources */,
9CA9D6D51F52461B00BE1277 /* iPhone3,3.png in Resources */,
9CA9D6BD1F52461B00BE1277 /* iPad3,3.png in Resources */,
9CA9D6D71F52461B00BE1277 /* iPhone5,1.png in Resources */,
9CA9D6D11F52461B00BE1277 /* iPhone1,2.png in Resources */,
9CA9D6B51F52461B00BE1277 /* iPad1,1.png in Resources */,
9CA9D6DE1F52461B00BE1277 /* iPhone7,2.png in Resources */,
9CA9D66F1F52173200BE1277 /* Main.storyboard in Resources */,
9CA9D6BE1F52461B00BE1277 /* iPad3,4.png in Resources */,
9CA9D6EA1F52461B00BE1277 /* iPod5,1.png in Resources */,
9CA9D6C51F52461B00BE1277 /* iPad5,1.png in Resources */,
9CA9D6D21F52461B00BE1277 /* iPhone2,1.png in Resources */,
9CA9D6D01F52461B00BE1277 /* iPhone1,1.png in Resources */,
9CA9D6DB1F52461B00BE1277 /* iPhone6,1.png in Resources */,
9CA9D6C61F52461B00BE1277 /* iPad5,2.png in Resources */,
9CA9D6C01F52461B00BE1277 /* iPad4,1.png in Resources */,
9CA9D6C71F52461B00BE1277 /* iPad5,3.png in Resources */,
9CA9D6D31F52461B00BE1277 /* iPhone3,1.png in Resources */,
9CA9D6C11F52461B00BE1277 /* iPad4,2.png in Resources */,
9CA9D6CC1F52461B00BE1277 /* iPad7,1.png in Resources */,
9CA9D6C81F52461B00BE1277 /* iPad5,4.png in Resources */,
9CA9D6B71F52461B00BE1277 /* iPad2,2.png in Resources */,
9CA9D6E21F52461B00BE1277 /* iPhone9,1.png in Resources */,
9CA9D6C41F52461B00BE1277 /* iPad4,5.png in Resources */,
9CA9D6B61F52461B00BE1277 /* iPad2,1.png in Resources */,
9CA9D6BA1F52461B00BE1277 /* iPad2,5.png in Resources */,
9CA9D6E11F52461B00BE1277 /* iPhone8,4.png in Resources */,
9CA9D6BC1F52461B00BE1277 /* iPad3,2.png in Resources */,
9CA9D6C21F52461B00BE1277 /* iPad4,3.png in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
9CA9D6601F52173200BE1277 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
9CA9D6771F5243A000BE1277 /* DeviceCellView.swift in Sources */,
9CA9D66A1F52173200BE1277 /* ViewController.swift in Sources */,
9C1F65911F54FB260095092B /* DeviceTableView.swift in Sources */,
9CA9D6681F52173200BE1277 /* AppDelegate.swift in Sources */,
9C33D8C4202E3304006968DE /* SelectableTypesView.swift in Sources */,
9C1F658F1F529D9F0095092B /* Device.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */
/* Begin PBXVariantGroup section */
9CA9D66D1F52173200BE1277 /* Main.storyboard */ = {
isa = PBXVariantGroup;
children = (
9CA9D66E1F52173200BE1277 /* Base */,
);
name = Main.storyboard;
sourceTree = "<group>";
};
/* End PBXVariantGroup section */
/* Begin XCBuildConfiguration section */
9CA9D6711F52173200BE1277 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "-";
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = dwarf;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
);
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.9;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = macosx;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
};
name = Debug;
};
9CA9D6721F52173200BE1277 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "-";
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_NO_COMMON_BLOCKS = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.9;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = macosx;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
};
name = Release;
};
9CA9D6741F52173200BE1277 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
COMBINE_HIDPI_IMAGES = YES;
DEVELOPMENT_TEAM = 9UDT7LSCEF;
INFOPLIST_FILE = "Open Backup Extractor/Info.plist";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
LIBRARY_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)",
"$(PROJECT_DIR)/Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.10;
PRODUCT_BUNDLE_IDENTIFIER = "com.vgmoose.Open-Backup-Extractor";
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Open Backup Extractor/obe-Bridging-Header.h";
SWIFT_VERSION = 3.0;
};
name = Debug;
};
9CA9D6751F52173200BE1277 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
COMBINE_HIDPI_IMAGES = YES;
DEVELOPMENT_TEAM = 9UDT7LSCEF;
INFOPLIST_FILE = "Open Backup Extractor/Info.plist";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
LIBRARY_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)",
"$(PROJECT_DIR)/Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.10;
PRODUCT_BUNDLE_IDENTIFIER = "com.vgmoose.Open-Backup-Extractor";
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Open Backup Extractor/obe-Bridging-Header.h";
SWIFT_VERSION = 3.0;
};
name = Release;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
9CA9D65F1F52173200BE1277 /* Build configuration list for PBXProject "Open Backup Extractor" */ = {
isa = XCConfigurationList;
buildConfigurations = (
9CA9D6711F52173200BE1277 /* Debug */,
9CA9D6721F52173200BE1277 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
9CA9D6731F52173200BE1277 /* Build configuration list for PBXNativeTarget "Open Backup Extractor" */ = {
isa = XCConfigurationList;
buildConfigurations = (
9CA9D6741F52173200BE1277 /* Debug */,
9CA9D6751F52173200BE1277 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = 9CA9D65C1F52173200BE1277 /* Project object */;
}
================================================
FILE: Open Backup Extractor.xcodeproj/project.xcworkspace/contents.xcworkspacedata
================================================
<?xml version="1.0" encoding="UTF-8"?>
<Workspace
version = "1.0">
<FileRef
location = "self:Open Backup Extractor.xcodeproj">
</FileRef>
</Workspace>
================================================
FILE: Open Backup Extractor.xcodeproj/xcuserdata/Ricky.xcuserdatad/xcschemes/Open Backup Extractor.xcscheme
================================================
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0820"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "9CA9D6631F52173200BE1277"
BuildableName = "Open Backup Extractor.app"
BlueprintName = "Open Backup Extractor"
ReferencedContainer = "container:Open Backup Extractor.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "9CA9D6631F52173200BE1277"
BuildableName = "Open Backup Extractor.app"
BlueprintName = "Open Backup Extractor"
ReferencedContainer = "container:Open Backup Extractor.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "9CA9D6631F52173200BE1277"
BuildableName = "Open Backup Extractor.app"
BlueprintName = "Open Backup Extractor"
ReferencedContainer = "container:Open Backup Extractor.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "9CA9D6631F52173200BE1277"
BuildableName = "Open Backup Extractor.app"
BlueprintName = "Open Backup Extractor"
ReferencedContainer = "container:Open Backup Extractor.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
================================================
FILE: Open Backup Extractor.xcodeproj/xcuserdata/Ricky.xcuserdatad/xcschemes/xcschememanagement.plist
================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>SchemeUserState</key>
<dict>
<key>Open Backup Extractor.xcscheme</key>
<dict>
<key>orderHint</key>
<integer>0</integer>
</dict>
</dict>
<key>SuppressBuildableAutocreation</key>
<dict>
<key>9CA9D6631F52173200BE1277</key>
<dict>
<key>primary</key>
<true/>
</dict>
</dict>
</dict>
</plist>
================================================
FILE: README.md
================================================
Open Backup Extractor is an open source program for extracting data from iPhone and iPad backups.
## Download
You can download a signed .app file on the [releases page](https://github.com/vgmoose/openbackupextractor/releases/).
## License
This program is licensed under the GPLv3
## Full Disk Access
On macOS Mojave, Catalina, Big Sur and Monterey, you need to allow the app the
Full Disk Access permission first. Go to Settings > Security & Privacy > Full
Disk Access and check Open Backup Extractor (or use the + button to add it if
you have not already run the app).
## Screen shots


gitextract_tqony21c/ ├── Frameworks/ │ ├── arm64/ │ │ └── libmagic.a │ ├── readme.md │ └── x86_64/ │ └── libmagic.a ├── LICENSE ├── Open Backup Extractor/ │ ├── AppDelegate.swift │ ├── Assets.xcassets/ │ │ ├── AppIcon.appiconset/ │ │ │ └── Contents.json │ │ └── Contents.json │ ├── Base.lproj/ │ │ └── Main.storyboard │ ├── Device.swift │ ├── DeviceCellView.swift │ ├── DeviceTableView.swift │ ├── Info.plist │ ├── SelectableTypesView.swift │ ├── ViewController.swift │ ├── magic.h │ ├── obe-Bridging-Header.h │ └── res/ │ └── magic.mgc ├── Open Backup Extractor.xcodeproj/ │ ├── project.pbxproj │ ├── project.xcworkspace/ │ │ └── contents.xcworkspacedata │ └── xcuserdata/ │ └── Ricky.xcuserdatad/ │ └── xcschemes/ │ ├── Open Backup Extractor.xcscheme │ └── xcschememanagement.plist └── README.md
SYMBOL INDEX (1 symbols across 1 files) FILE: Open Backup Extractor/magic.h type magic_set (line 119) | struct magic_set
Condensed preview — 22 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (192K chars).
[
{
"path": "Frameworks/readme.md",
"chars": 875,
"preview": "Put libmagic.1.dylib in here, and change the id of it to point to the library as an rpath\n\nYou can get libmagic.1.dylib "
},
{
"path": "LICENSE",
"chars": 35147,
"preview": " GNU GENERAL PUBLIC LICENSE\n Version 3, 29 June 2007\n\n Copyright (C) 2007 Free "
},
{
"path": "Open Backup Extractor/AppDelegate.swift",
"chars": 1409,
"preview": "//\n// AppDelegate.swift\n// Open Backup Extractor\n//\n// Created by vgm on 8/26/17.\n// Copyright © 2017 VGMoose. All r"
},
{
"path": "Open Backup Extractor/Assets.xcassets/AppIcon.appiconset/Contents.json",
"chars": 1341,
"preview": "{\n \"images\" : [\n {\n \"size\" : \"16x16\",\n \"idiom\" : \"mac\",\n \"filename\" : \"iphoneicon copy-9.png\",\n "
},
{
"path": "Open Backup Extractor/Assets.xcassets/Contents.json",
"chars": 62,
"preview": "{\n \"info\" : {\n \"version\" : 1,\n \"author\" : \"xcode\"\n }\n}"
},
{
"path": "Open Backup Extractor/Base.lproj/Main.storyboard",
"chars": 73552,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<document type=\"com.apple.InterfaceBuilder3.Cocoa.Storyboard.XIB\" version=\"3.0\" t"
},
{
"path": "Open Backup Extractor/Device.swift",
"chars": 1364,
"preview": "//\n// Device.swift\n// Open Backup Extractor\n//\n// Created by vgm on 8/27/17.\n// Copyright © 2017 VGMoose. All rights"
},
{
"path": "Open Backup Extractor/DeviceCellView.swift",
"chars": 1354,
"preview": "//\n// DeviceCellView.swift\n// Open Backup Extractor\n//\n// Created by vgm on 8/26/17.\n// Copyright © 2017 VGMoose. Al"
},
{
"path": "Open Backup Extractor/DeviceTableView.swift",
"chars": 217,
"preview": "//\n// DeviceTableVIew.swift\n// Open Backup Extractor\n//\n// Created by vgm on 8/28/17.\n// Copyright © 2017 VGMoose. A"
},
{
"path": "Open Backup Extractor/Info.plist",
"chars": 1095,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/P"
},
{
"path": "Open Backup Extractor/SelectableTypesView.swift",
"chars": 2816,
"preview": "//\n// SelectableTypesView.swift\n// Open Backup Extractor\n//\n// Created by vgm on 2/9/18.\n// Copyright © 2018 VGMoose"
},
{
"path": "Open Backup Extractor/ViewController.swift",
"chars": 12422,
"preview": "//\n// ViewController.swift\n// Open Backup Extractor\n//\n// Created by vgm on 8/26/17.\n// Copyright © 2017 VGMoose. Al"
},
{
"path": "Open Backup Extractor/magic.h",
"chars": 5960,
"preview": "/*\n * Copyright (c) Christos Zoulas 2003.\n * All Rights Reserved.\n *\n * Redistribution and use in source and binary form"
},
{
"path": "Open Backup Extractor/obe-Bridging-Header.h",
"chars": 115,
"preview": "#ifndef obe_Bridging_Header_h\n#define obe_Bridging_Header_h\n#include \"magic.h\"\n\n#endif /* obe_Bridging_Header_h */\n"
},
{
"path": "Open Backup Extractor.xcodeproj/project.pbxproj",
"chars": 37967,
"preview": "// !$*UTF8*$!\n{\n\tarchiveVersion = 1;\n\tclasses = {\n\t};\n\tobjectVersion = 46;\n\tobjects = {\n\n/* Begin PBXBuildFile section *"
},
{
"path": "Open Backup Extractor.xcodeproj/project.xcworkspace/contents.xcworkspacedata",
"chars": 166,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Workspace\n version = \"1.0\">\n <FileRef\n location = \"self:Open Backup Ext"
},
{
"path": "Open Backup Extractor.xcodeproj/xcuserdata/Ricky.xcuserdatad/xcschemes/Open Backup Extractor.xcscheme",
"chars": 3471,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n LastUpgradeVersion = \"0820\"\n version = \"1.3\">\n <BuildAction\n "
},
{
"path": "Open Backup Extractor.xcodeproj/xcuserdata/Ricky.xcuserdatad/xcschemes/xcschememanagement.plist",
"chars": 493,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/P"
},
{
"path": "README.md",
"chars": 692,
"preview": "Open Backup Extractor is an open source program for extracting data from iPhone and iPad backups.\n\n## Download\nYou can d"
}
]
// ... and 3 more files (download for full content)
About this extraction
This page contains the full source code of the vgmoose/OpenBackupExtractor GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 22 files (176.3 KB), approximately 45.6k tokens, and a symbol index with 1 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.
Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.