├── .github └── FUNDING.yml ├── .rspec ├── Dangerfile ├── spec ├── fixtures │ ├── h │ │ ├── header.h │ │ ├── unused_class.h │ │ ├── unused_class.m │ │ ├── used_class.h │ │ └── used_class.m │ ├── pch │ │ ├── precompiled.pch │ │ ├── unused_class.h │ │ ├── unused_class.m │ │ ├── used_class.h │ │ └── used_class.m │ ├── global_import │ │ ├── header.h │ │ ├── unused_class.h │ │ ├── unused_class.m │ │ ├── used_class.h │ │ └── used_class.m │ ├── m │ │ ├── main.m │ │ ├── unused_class.h │ │ ├── unused_class.m │ │ ├── used_class.h │ │ └── used_class.m │ ├── mm │ │ ├── main.mm │ │ ├── unused_class.h │ │ ├── unused_class.mm │ │ ├── used_class.h │ │ └── used_class.mm │ ├── nib │ │ ├── FUINib │ │ │ ├── en.lproj │ │ │ │ └── InfoPlist.strings │ │ │ ├── FUISubclassOfUIView.h │ │ │ ├── FUIViewController.h │ │ │ ├── FUISubclassOfUIViewUsedInANib.h │ │ │ ├── FUIAppDelegate.h │ │ │ ├── FUINib-Prefix.pch │ │ │ ├── main.m │ │ │ ├── Images.xcassets │ │ │ │ ├── AppIcon.appiconset │ │ │ │ │ └── Contents.json │ │ │ │ └── LaunchImage.launchimage │ │ │ │ │ └── Contents.json │ │ │ ├── FUIViewController.m │ │ │ ├── FUISubclassOfUIView.m │ │ │ ├── FUISubclassOfUIViewUsedInANib.m │ │ │ ├── FUINib-Info.plist │ │ │ ├── FUINibView.xib │ │ │ ├── FUISubclassOfUIViewUsedInANib.xib │ │ │ ├── FUIAppDelegate.m │ │ │ └── Base.lproj │ │ │ │ └── Main.storyboard │ │ ├── FUINibTests │ │ │ ├── en.lproj │ │ │ │ └── InfoPlist.strings │ │ │ ├── FUINibTests-Info.plist │ │ │ └── FUINibTests.m │ │ └── FUINib.xcodeproj │ │ │ ├── project.xcworkspace │ │ │ ├── contents.xcworkspacedata │ │ │ └── xcshareddata │ │ │ │ └── FUINib.xccheckout │ │ │ ├── xcshareddata │ │ │ └── xcschemes │ │ │ │ └── FUINib.xcscheme │ │ │ └── project.pbxproj │ ├── nibself │ │ ├── FUINib │ │ │ ├── en.lproj │ │ │ │ └── InfoPlist.strings │ │ │ ├── FUISubclassOfUIView.h │ │ │ ├── FUIViewController.h │ │ │ ├── FUISubclassOfUIViewUsedInANib.h │ │ │ ├── FUIAppDelegate.h │ │ │ ├── FUINib-Prefix.pch │ │ │ ├── main.m │ │ │ ├── Images.xcassets │ │ │ │ ├── AppIcon.appiconset │ │ │ │ │ └── Contents.json │ │ │ │ └── LaunchImage.launchimage │ │ │ │ │ └── Contents.json │ │ │ ├── FUIViewController.m │ │ │ ├── FUISubclassOfUIView.m │ │ │ ├── FUISubclassOfUIViewUsedInANib.m │ │ │ ├── FUINib-Info.plist │ │ │ ├── FUISubclassOfUIViewUsedInANib.xib │ │ │ ├── FUIAppDelegate.m │ │ │ └── Base.lproj │ │ │ │ └── Main.storyboard │ │ ├── FUINibTests │ │ │ ├── en.lproj │ │ │ │ └── InfoPlist.strings │ │ │ ├── FUINibTests-Info.plist │ │ │ └── FUINibTests.m │ │ └── FUINib.xcodeproj │ │ │ ├── project.xcworkspace │ │ │ ├── contents.xcworkspacedata │ │ │ └── xcshareddata │ │ │ │ └── FUINib.xccheckout │ │ │ ├── xcshareddata │ │ │ └── xcschemes │ │ │ │ └── FUINib.xcscheme │ │ │ └── project.pbxproj │ ├── ignore_directories │ │ ├── unused_class.h │ │ ├── ignore │ │ │ ├── ignored_class.h │ │ │ └── ignored_class.m │ │ ├── unused_class.m │ │ ├── used_class.h │ │ ├── another_ignore │ │ │ ├── another_ignored_class.h │ │ │ └── another_ignored_class.m │ │ └── used_class.m │ └── bridging_headers │ │ └── BridgingHeaderSpec │ │ ├── BridgingHeaderSpec-Bridging-Header.h │ │ └── BridgingHeaderSpec.xcodeproj │ │ └── project.pbxproj ├── fui │ ├── version_spec.rb │ ├── header_spec.rb │ ├── project_spec.rb │ ├── fui_spec.rb │ └── finder_spec.rb └── spec_helper.rb ├── .gitignore ├── lib ├── fui │ ├── version.rb │ ├── header.rb │ ├── project.rb │ └── finder.rb └── fui.rb ├── .travis.yml ├── Gemfile ├── CONTRIBUTING.md ├── .rubocop.yml ├── Rakefile ├── fui.gemspec ├── .rubocop_todo.yml ├── LICENSE.md ├── RELEASING.md ├── CHANGELOG.md ├── bin └── fui └── README.md /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: [dblock] 2 | -------------------------------------------------------------------------------- /.rspec: -------------------------------------------------------------------------------- 1 | --format documentation 2 | --color 3 | -------------------------------------------------------------------------------- /Dangerfile: -------------------------------------------------------------------------------- 1 | toc.check 2 | changelog.check 3 | -------------------------------------------------------------------------------- /spec/fixtures/h/header.h: -------------------------------------------------------------------------------- 1 | #import "used_class.h" 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | Gemfile.lock 2 | pkg 3 | .bundle 4 | xcuserdata 5 | -------------------------------------------------------------------------------- /spec/fixtures/pch/precompiled.pch: -------------------------------------------------------------------------------- 1 | #import "used_class.h" 2 | -------------------------------------------------------------------------------- /lib/fui/version.rb: -------------------------------------------------------------------------------- 1 | module Fui 2 | VERSION = '0.5.1'.freeze 3 | end 4 | -------------------------------------------------------------------------------- /spec/fixtures/global_import/header.h: -------------------------------------------------------------------------------- 1 | #import 2 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | rvm: 2 | - 2.5.3 3 | 4 | before_script: 5 | - bundle exec danger 6 | -------------------------------------------------------------------------------- /spec/fixtures/m/main.m: -------------------------------------------------------------------------------- 1 | #import "used_class.h" 2 | 3 | - void main() 4 | { 5 | 6 | } 7 | -------------------------------------------------------------------------------- /spec/fixtures/mm/main.mm: -------------------------------------------------------------------------------- 1 | #import "used_class.h" 2 | 3 | - void main() 4 | { 5 | 6 | } 7 | -------------------------------------------------------------------------------- /spec/fixtures/nib/FUINib/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /spec/fixtures/nibself/FUINib/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /spec/fixtures/nib/FUINibTests/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /spec/fixtures/nibself/FUINibTests/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /spec/fixtures/h/unused_class.h: -------------------------------------------------------------------------------- 1 | // 2 | // UnusedClass.h 3 | // FUI 4 | // 5 | 6 | @interface UnusedClass 7 | 8 | @end 9 | -------------------------------------------------------------------------------- /spec/fixtures/m/unused_class.h: -------------------------------------------------------------------------------- 1 | // 2 | // UnusedClass.h 3 | // FUI 4 | // 5 | 6 | @interface UnusedClass 7 | 8 | @end 9 | -------------------------------------------------------------------------------- /spec/fixtures/mm/unused_class.h: -------------------------------------------------------------------------------- 1 | // 2 | // UnusedClass.h 3 | // FUI 4 | // 5 | 6 | @interface UnusedClass 7 | 8 | @end 9 | -------------------------------------------------------------------------------- /spec/fixtures/pch/unused_class.h: -------------------------------------------------------------------------------- 1 | // 2 | // UnusedClass.h 3 | // FUI 4 | // 5 | 6 | @interface UnusedClass 7 | 8 | @end 9 | -------------------------------------------------------------------------------- /spec/fixtures/global_import/unused_class.h: -------------------------------------------------------------------------------- 1 | // 2 | // UnusedClass.h 3 | // FUI 4 | // 5 | 6 | @interface UnusedClass 7 | 8 | @end 9 | -------------------------------------------------------------------------------- /spec/fixtures/ignore_directories/unused_class.h: -------------------------------------------------------------------------------- 1 | // 2 | // UnusedClass.h 3 | // FUI 4 | // 5 | 6 | @interface UnusedClass 7 | 8 | @end 9 | -------------------------------------------------------------------------------- /spec/fixtures/ignore_directories/ignore/ignored_class.h: -------------------------------------------------------------------------------- 1 | // 2 | // IgnoredClass.h 3 | // FUI 4 | // 5 | 6 | @interface IgnoredClass 7 | 8 | @end 9 | -------------------------------------------------------------------------------- /lib/fui.rb: -------------------------------------------------------------------------------- 1 | require 'find' 2 | require 'pathname' 3 | 4 | require 'fui/version' 5 | require 'fui/header' 6 | require 'fui/finder' 7 | require 'fui/project' 8 | -------------------------------------------------------------------------------- /spec/fui/version_spec.rb: -------------------------------------------------------------------------------- 1 | require 'spec_helper' 2 | 3 | describe Fui do 4 | it 'has a version' do 5 | expect(Fui::VERSION).not_to be_nil 6 | end 7 | end 8 | -------------------------------------------------------------------------------- /spec/fixtures/h/unused_class.m: -------------------------------------------------------------------------------- 1 | // 2 | // UnusedClass.m 3 | // FUI 4 | // 5 | 6 | #import "unused_class.h" 7 | 8 | @implementation UnusedClass 9 | 10 | @end 11 | -------------------------------------------------------------------------------- /spec/fixtures/m/unused_class.m: -------------------------------------------------------------------------------- 1 | // 2 | // UnusedClass.m 3 | // FUI 4 | // 5 | 6 | #import "unused_class.h" 7 | 8 | @implementation UnusedClass 9 | 10 | @end 11 | -------------------------------------------------------------------------------- /spec/fixtures/mm/unused_class.mm: -------------------------------------------------------------------------------- 1 | // 2 | // UnusedClass.mm 3 | // FUI 4 | // 5 | 6 | #import "unused_class.h" 7 | 8 | @implementation UnusedClass 9 | 10 | @end 11 | -------------------------------------------------------------------------------- /spec/fixtures/pch/unused_class.m: -------------------------------------------------------------------------------- 1 | // 2 | // UnusedClass.m 3 | // FUI 4 | // 5 | 6 | #import "unused_class.h" 7 | 8 | @implementation UnusedClass 9 | 10 | @end 11 | -------------------------------------------------------------------------------- /spec/fixtures/global_import/unused_class.m: -------------------------------------------------------------------------------- 1 | // 2 | // UnusedClass.m 3 | // FUI 4 | // 5 | 6 | #import "unused_class.h" 7 | 8 | @implementation UnusedClass 9 | 10 | @end 11 | -------------------------------------------------------------------------------- /spec/fixtures/h/used_class.h: -------------------------------------------------------------------------------- 1 | // 2 | // ImageView.h 3 | // FUI 4 | // 5 | 6 | #import 7 | 8 | @interface ImageView 9 | - (NSString *)fooForBar; 10 | @end 11 | -------------------------------------------------------------------------------- /spec/fixtures/m/used_class.h: -------------------------------------------------------------------------------- 1 | // 2 | // ImageView.h 3 | // FUI 4 | // 5 | 6 | #import 7 | 8 | @interface ImageView 9 | - (NSString *)fooForBar; 10 | @end 11 | -------------------------------------------------------------------------------- /spec/fixtures/mm/used_class.h: -------------------------------------------------------------------------------- 1 | // 2 | // ImageView.h 3 | // FUI 4 | // 5 | 6 | #import 7 | 8 | @interface ImageView 9 | - (NSString *)fooForBar; 10 | @end 11 | -------------------------------------------------------------------------------- /spec/fixtures/pch/used_class.h: -------------------------------------------------------------------------------- 1 | // 2 | // ImageView.h 3 | // FUI 4 | // 5 | 6 | #import 7 | 8 | @interface ImageView 9 | - (NSString *)fooForBar; 10 | @end 11 | -------------------------------------------------------------------------------- /spec/fixtures/ignore_directories/unused_class.m: -------------------------------------------------------------------------------- 1 | // 2 | // UnusedClass.m 3 | // FUI 4 | // 5 | 6 | #import "unused_class.h" 7 | 8 | @implementation UnusedClass 9 | 10 | @end 11 | -------------------------------------------------------------------------------- /spec/fixtures/global_import/used_class.h: -------------------------------------------------------------------------------- 1 | // 2 | // ImageView.h 3 | // FUI 4 | // 5 | 6 | #import 7 | 8 | @interface ImageView 9 | - (NSString *)fooForBar; 10 | @end 11 | -------------------------------------------------------------------------------- /spec/fixtures/ignore_directories/ignore/ignored_class.m: -------------------------------------------------------------------------------- 1 | // 2 | // IgnoredClass.m 3 | // FUI 4 | // 5 | 6 | #import "ignored_class.h" 7 | 8 | @implementation IgnoredClass 9 | 10 | @end 11 | -------------------------------------------------------------------------------- /spec/fixtures/ignore_directories/used_class.h: -------------------------------------------------------------------------------- 1 | // 2 | // ImageView.h 3 | // FUI 4 | // 5 | 6 | #import 7 | 8 | @interface ImageView 9 | - (NSString *)fooForBar; 10 | @end 11 | -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- 1 | source 'http://rubygems.org' 2 | 3 | gemspec 4 | 5 | gem 'danger-changelog', '~> 0.4.0' 6 | gem 'danger-toc', '~> 0.1' 7 | gem 'rake' 8 | gem 'rspec', '~> 3.4.0' 9 | gem 'rubocop', '0.61.1' 10 | -------------------------------------------------------------------------------- /spec/fixtures/h/used_class.m: -------------------------------------------------------------------------------- 1 | // 2 | // UsedClass.m 3 | // FUI 4 | // 5 | 6 | #import "used_class.h" 7 | 8 | @implementation UsedClass 9 | - (NSString *)fooForBar 10 | { 11 | 12 | } 13 | @end 14 | -------------------------------------------------------------------------------- /spec/fixtures/m/used_class.m: -------------------------------------------------------------------------------- 1 | // 2 | // UsedClass.m 3 | // FUI 4 | // 5 | 6 | #import "used_class.h" 7 | 8 | @implementation UsedClass 9 | - (NSString *)fooForBar 10 | { 11 | 12 | } 13 | @end 14 | -------------------------------------------------------------------------------- /spec/fixtures/pch/used_class.m: -------------------------------------------------------------------------------- 1 | // 2 | // UsedClass.m 3 | // FUI 4 | // 5 | 6 | #import "used_class.h" 7 | 8 | @implementation UsedClass 9 | - (NSString *)fooForBar 10 | { 11 | 12 | } 13 | @end 14 | -------------------------------------------------------------------------------- /spec/fixtures/mm/used_class.mm: -------------------------------------------------------------------------------- 1 | 2 | // 3 | // UsedClass.mm 4 | // FUI 5 | // 6 | 7 | #import "used_class.h" 8 | 9 | @implementation UsedClass 10 | - (NSString *)fooForBar 11 | { 12 | 13 | } 14 | @end 15 | -------------------------------------------------------------------------------- /spec/fixtures/global_import/used_class.m: -------------------------------------------------------------------------------- 1 | // 2 | // UsedClass.m 3 | // FUI 4 | // 5 | 6 | #import "used_class.h" 7 | 8 | @implementation UsedClass 9 | - (NSString *)fooForBar 10 | { 11 | 12 | } 13 | @end 14 | -------------------------------------------------------------------------------- /spec/fixtures/ignore_directories/another_ignore/another_ignored_class.h: -------------------------------------------------------------------------------- 1 | // 2 | // AnotherIgnoredClass.h 3 | // FUI 4 | // 5 | 6 | #import "used_class.h" 7 | 8 | @interface AnotherIgnoredClass 9 | 10 | @end 11 | -------------------------------------------------------------------------------- /spec/fixtures/ignore_directories/used_class.m: -------------------------------------------------------------------------------- 1 | // 2 | // UsedClass.m 3 | // FUI 4 | // 5 | 6 | #import "used_class.h" 7 | 8 | @implementation UsedClass 9 | - (NSString *)fooForBar 10 | { 11 | 12 | } 13 | @end 14 | -------------------------------------------------------------------------------- /spec/fixtures/bridging_headers/BridgingHeaderSpec/BridgingHeaderSpec-Bridging-Header.h: -------------------------------------------------------------------------------- 1 | // 2 | // Use this file to import your target's public headers that you would like to expose to Swift. 3 | // 4 | 5 | #import "AppDelegate.h" 6 | -------------------------------------------------------------------------------- /spec/fixtures/ignore_directories/another_ignore/another_ignored_class.m: -------------------------------------------------------------------------------- 1 | // 2 | // AnotherIgnoredClass.m 3 | // FUI 4 | // 5 | 6 | #import "another_ignored_class.h" 7 | 8 | @implementation AnotherIgnoredClass 9 | 10 | @end 11 | -------------------------------------------------------------------------------- /spec/fixtures/nib/FUINib.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /spec/fixtures/nibself/FUINib.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- 1 | $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) 2 | 3 | require 'rubygems' 4 | require 'rspec' 5 | require 'tmpdir' 6 | require 'fui' 7 | require 'English' 8 | 9 | RSpec.configure(&:raise_errors_for_deprecations!) 10 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | Contributing 2 | ============ 3 | 4 | You're encouraged to contribute to this gem. 5 | 6 | * Fork this project. 7 | * Make changes, write tests. 8 | * Updated [CHANGELOG](CHANGELOG.md). 9 | * Make a pull request, bonus points for topic branches. 10 | 11 | -------------------------------------------------------------------------------- /.rubocop.yml: -------------------------------------------------------------------------------- 1 | AllCops: 2 | Exclude: 3 | - vendor/**/* 4 | 5 | Naming/MethodName: 6 | Enabled: false 7 | 8 | Style/Documentation: 9 | Enabled: false 10 | 11 | Metrics: 12 | Enabled: false 13 | 14 | Metrics/LineLength: 15 | Max: 256 16 | 17 | inherit_from: .rubocop_todo.yml 18 | -------------------------------------------------------------------------------- /spec/fixtures/nib/FUINib/FUISubclassOfUIView.h: -------------------------------------------------------------------------------- 1 | // 2 | // FUISubclassOfUIView.h 3 | // FUINib 4 | // 5 | // Created by Daniel Doubrovkine on 2/7/14. 6 | // Copyright (c) 2014 Daniel Doubrovkine. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface FUISubclassOfUIView : UIView 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /spec/fixtures/nib/FUINib/FUIViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // FUIViewController.h 3 | // FUINib 4 | // 5 | // Created by Daniel Doubrovkine on 2/7/14. 6 | // Copyright (c) 2014 Daniel Doubrovkine. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface FUIViewController : UIViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /spec/fixtures/nibself/FUINib/FUISubclassOfUIView.h: -------------------------------------------------------------------------------- 1 | // 2 | // FUISubclassOfUIView.h 3 | // FUINib 4 | // 5 | // Created by Daniel Doubrovkine on 2/7/14. 6 | // Copyright (c) 2014 Daniel Doubrovkine. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface FUISubclassOfUIView : UIView 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /spec/fixtures/nibself/FUINib/FUIViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // FUIViewController.h 3 | // FUINib 4 | // 5 | // Created by Daniel Doubrovkine on 2/7/14. 6 | // Copyright (c) 2014 Daniel Doubrovkine. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface FUIViewController : UIViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /spec/fixtures/nib/FUINib/FUISubclassOfUIViewUsedInANib.h: -------------------------------------------------------------------------------- 1 | // 2 | // FUISubclassOfUIViewUsedInANib.h 3 | // FUINib 4 | // 5 | // Created by Daniel Doubrovkine on 2/7/14. 6 | // Copyright (c) 2014 Daniel Doubrovkine. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface FUISubclassOfUIViewUsedInANib : UIView 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /spec/fixtures/nibself/FUINib/FUISubclassOfUIViewUsedInANib.h: -------------------------------------------------------------------------------- 1 | // 2 | // FUISubclassOfUIViewUsedInANib.h 3 | // FUINib 4 | // 5 | // Created by Daniel Doubrovkine on 2/7/14. 6 | // Copyright (c) 2014 Daniel Doubrovkine. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface FUISubclassOfUIViewUsedInANib : UIView 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- 1 | require 'rubygems' 2 | require 'bundler/gem_tasks' 3 | 4 | Bundler.setup :default, :development 5 | 6 | require 'rspec/core' 7 | require 'rspec/core/rake_task' 8 | 9 | RSpec::Core::RakeTask.new(:spec) do |spec| 10 | spec.pattern = FileList['spec/**/*_spec.rb'] 11 | end 12 | 13 | require 'rubocop/rake_task' 14 | RuboCop::RakeTask.new 15 | 16 | task default: %i[rubocop spec] 17 | -------------------------------------------------------------------------------- /spec/fixtures/nib/FUINib/FUIAppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // FUIAppDelegate.h 3 | // FUINib 4 | // 5 | // Created by Daniel Doubrovkine on 2/7/14. 6 | // Copyright (c) 2014 Daniel Doubrovkine. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface FUIAppDelegate : UIResponder 12 | 13 | @property (strong, nonatomic) UIWindow *window; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /spec/fixtures/nibself/FUINib/FUIAppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // FUIAppDelegate.h 3 | // FUINib 4 | // 5 | // Created by Daniel Doubrovkine on 2/7/14. 6 | // Copyright (c) 2014 Daniel Doubrovkine. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface FUIAppDelegate : UIResponder 12 | 13 | @property (strong, nonatomic) UIWindow *window; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /lib/fui/header.rb: -------------------------------------------------------------------------------- 1 | module Fui 2 | # Represents a Header (.h) file 3 | class Header 4 | attr_accessor :filename, :filename_without_extension, :path 5 | 6 | def self.header?(path) 7 | File.extname(path) == '.h' 8 | end 9 | 10 | def initialize(path) 11 | @path = path 12 | @filename = File.basename(path) 13 | @filename_without_extension = File.basename(path, File.extname(path)) 14 | end 15 | end 16 | end 17 | -------------------------------------------------------------------------------- /spec/fixtures/nib/FUINib/FUINib-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header 3 | // 4 | // The contents of this file are implicitly included at the beginning of every source file. 5 | // 6 | 7 | #import 8 | 9 | #ifndef __IPHONE_5_0 10 | #warning "This project uses features only available in iOS SDK 5.0 and later." 11 | #endif 12 | 13 | #ifdef __OBJC__ 14 | #import 15 | #import 16 | #endif 17 | -------------------------------------------------------------------------------- /spec/fixtures/nibself/FUINib/FUINib-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header 3 | // 4 | // The contents of this file are implicitly included at the beginning of every source file. 5 | // 6 | 7 | #import 8 | 9 | #ifndef __IPHONE_5_0 10 | #warning "This project uses features only available in iOS SDK 5.0 and later." 11 | #endif 12 | 13 | #ifdef __OBJC__ 14 | #import 15 | #import 16 | #endif 17 | -------------------------------------------------------------------------------- /spec/fixtures/nib/FUINib/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // FUINib 4 | // 5 | // Created by Daniel Doubrovkine on 2/7/14. 6 | // Copyright (c) 2014 Daniel Doubrovkine. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | #import "FUIAppDelegate.h" 12 | 13 | int main(int argc, char * argv[]) 14 | { 15 | @autoreleasepool { 16 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([FUIAppDelegate class])); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /spec/fixtures/nibself/FUINib/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // FUINib 4 | // 5 | // Created by Daniel Doubrovkine on 2/7/14. 6 | // Copyright (c) 2014 Daniel Doubrovkine. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | #import "FUIAppDelegate.h" 12 | 13 | int main(int argc, char * argv[]) 14 | { 15 | @autoreleasepool { 16 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([FUIAppDelegate class])); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /spec/fixtures/nib/FUINib/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "29x29", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "40x40", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "60x60", 16 | "scale" : "2x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /spec/fixtures/nibself/FUINib/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "29x29", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "40x40", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "60x60", 16 | "scale" : "2x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /spec/fixtures/nib/FUINib/Images.xcassets/LaunchImage.launchimage/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "orientation" : "portrait", 5 | "idiom" : "iphone", 6 | "extent" : "full-screen", 7 | "minimum-system-version" : "7.0", 8 | "scale" : "2x" 9 | }, 10 | { 11 | "orientation" : "portrait", 12 | "idiom" : "iphone", 13 | "subtype" : "retina4", 14 | "extent" : "full-screen", 15 | "minimum-system-version" : "7.0", 16 | "scale" : "2x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /spec/fixtures/nibself/FUINib/Images.xcassets/LaunchImage.launchimage/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "orientation" : "portrait", 5 | "idiom" : "iphone", 6 | "extent" : "full-screen", 7 | "minimum-system-version" : "7.0", 8 | "scale" : "2x" 9 | }, 10 | { 11 | "orientation" : "portrait", 12 | "idiom" : "iphone", 13 | "subtype" : "retina4", 14 | "extent" : "full-screen", 15 | "minimum-system-version" : "7.0", 16 | "scale" : "2x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /spec/fixtures/nib/FUINib/FUIViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // FUIViewController.m 3 | // FUINib 4 | // 5 | // Created by Daniel Doubrovkine on 2/7/14. 6 | // Copyright (c) 2014 Daniel Doubrovkine. All rights reserved. 7 | // 8 | 9 | #import "FUIViewController.h" 10 | 11 | @interface FUIViewController () 12 | 13 | @end 14 | 15 | @implementation FUIViewController 16 | 17 | - (void)viewDidLoad 18 | { 19 | [super viewDidLoad]; 20 | // Do any additional setup after loading the view, typically from a nib. 21 | } 22 | 23 | - (void)didReceiveMemoryWarning 24 | { 25 | [super didReceiveMemoryWarning]; 26 | // Dispose of any resources that can be recreated. 27 | } 28 | 29 | @end 30 | -------------------------------------------------------------------------------- /fui.gemspec: -------------------------------------------------------------------------------- 1 | $LOAD_PATH.push File.expand_path('lib', __dir__) 2 | require 'fui/version' 3 | 4 | Gem::Specification.new do |s| 5 | s.name = 'fui' 6 | s.bindir = 'bin' 7 | s.executables << 'fui' 8 | s.version = Fui::VERSION 9 | s.authors = ['Daniel Doubrovkine'] 10 | s.email = 'dblock@dblock.org' 11 | s.platform = Gem::Platform::RUBY 12 | s.required_rubygems_version = '>= 1.3.6' 13 | s.files = Dir['{bin,lib}/**/*'] + Dir['*.md'] 14 | s.require_paths = ['lib'] 15 | s.homepage = 'http://github.com/dblock/fui' 16 | s.licenses = ['MIT'] 17 | s.summary = 'Find unused Objective-C imports.' 18 | s.add_dependency 'gli' 19 | s.required_ruby_version = '>= 1.9.3' 20 | end 21 | -------------------------------------------------------------------------------- /spec/fixtures/nibself/FUINib/FUIViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // FUIViewController.m 3 | // FUINib 4 | // 5 | // Created by Daniel Doubrovkine on 2/7/14. 6 | // Copyright (c) 2014 Daniel Doubrovkine. All rights reserved. 7 | // 8 | 9 | #import "FUIViewController.h" 10 | 11 | @interface FUIViewController () 12 | 13 | @end 14 | 15 | @implementation FUIViewController 16 | 17 | - (void)viewDidLoad 18 | { 19 | [super viewDidLoad]; 20 | // Do any additional setup after loading the view, typically from a nib. 21 | } 22 | 23 | - (void)didReceiveMemoryWarning 24 | { 25 | [super didReceiveMemoryWarning]; 26 | // Dispose of any resources that can be recreated. 27 | } 28 | 29 | @end 30 | -------------------------------------------------------------------------------- /spec/fui/header_spec.rb: -------------------------------------------------------------------------------- 1 | require 'spec_helper' 2 | 3 | describe Fui::Header do 4 | describe '#header?' do 5 | it 'correctly matches .h files' do 6 | expect(Fui::Header.header?('foo.h')).to be true 7 | end 8 | it 'correctly matches .rb files' do 9 | expect(Fui::Header.header?('foo.rb')).to be false 10 | end 11 | end 12 | describe '#initialize' do 13 | it 'creates an instance of header' do 14 | instance = Fui::Header.new(__FILE__) 15 | expect(instance.path).to eq(__FILE__) 16 | expect(instance.filename).to eq('header_spec.rb') 17 | expect(instance.filename_without_extension).to eq('header_spec') 18 | end 19 | end 20 | end 21 | -------------------------------------------------------------------------------- /spec/fixtures/nib/FUINib/FUISubclassOfUIView.m: -------------------------------------------------------------------------------- 1 | // 2 | // FUISubclassOfUIView.m 3 | // FUINib 4 | // 5 | // Created by Daniel Doubrovkine on 2/7/14. 6 | // Copyright (c) 2014 Daniel Doubrovkine. All rights reserved. 7 | // 8 | 9 | #import "FUISubclassOfUIView.h" 10 | 11 | @implementation FUISubclassOfUIView 12 | 13 | - (id)initWithFrame:(CGRect)frame 14 | { 15 | self = [super initWithFrame:frame]; 16 | if (self) { 17 | // Initialization code 18 | } 19 | return self; 20 | } 21 | 22 | /* 23 | // Only override drawRect: if you perform custom drawing. 24 | // An empty implementation adversely affects performance during animation. 25 | - (void)drawRect:(CGRect)rect 26 | { 27 | // Drawing code 28 | } 29 | */ 30 | 31 | @end 32 | -------------------------------------------------------------------------------- /spec/fixtures/nibself/FUINib/FUISubclassOfUIView.m: -------------------------------------------------------------------------------- 1 | // 2 | // FUISubclassOfUIView.m 3 | // FUINib 4 | // 5 | // Created by Daniel Doubrovkine on 2/7/14. 6 | // Copyright (c) 2014 Daniel Doubrovkine. All rights reserved. 7 | // 8 | 9 | #import "FUISubclassOfUIView.h" 10 | 11 | @implementation FUISubclassOfUIView 12 | 13 | - (id)initWithFrame:(CGRect)frame 14 | { 15 | self = [super initWithFrame:frame]; 16 | if (self) { 17 | // Initialization code 18 | } 19 | return self; 20 | } 21 | 22 | /* 23 | // Only override drawRect: if you perform custom drawing. 24 | // An empty implementation adversely affects performance during animation. 25 | - (void)drawRect:(CGRect)rect 26 | { 27 | // Drawing code 28 | } 29 | */ 30 | 31 | @end 32 | -------------------------------------------------------------------------------- /spec/fixtures/nib/FUINib/FUISubclassOfUIViewUsedInANib.m: -------------------------------------------------------------------------------- 1 | // 2 | // FUISubclassOfUIViewUsedInANib.m 3 | // FUINib 4 | // 5 | // Created by Daniel Doubrovkine on 2/7/14. 6 | // Copyright (c) 2014 Daniel Doubrovkine. All rights reserved. 7 | // 8 | 9 | #import "FUISubclassOfUIViewUsedInANib.h" 10 | 11 | @implementation FUISubclassOfUIViewUsedInANib 12 | 13 | - (id)initWithFrame:(CGRect)frame 14 | { 15 | self = [super initWithFrame:frame]; 16 | if (self) { 17 | // Initialization code 18 | } 19 | return self; 20 | } 21 | 22 | /* 23 | // Only override drawRect: if you perform custom drawing. 24 | // An empty implementation adversely affects performance during animation. 25 | - (void)drawRect:(CGRect)rect 26 | { 27 | // Drawing code 28 | } 29 | */ 30 | 31 | @end 32 | -------------------------------------------------------------------------------- /spec/fixtures/nibself/FUINib/FUISubclassOfUIViewUsedInANib.m: -------------------------------------------------------------------------------- 1 | // 2 | // FUISubclassOfUIViewUsedInANib.m 3 | // FUINib 4 | // 5 | // Created by Daniel Doubrovkine on 2/7/14. 6 | // Copyright (c) 2014 Daniel Doubrovkine. All rights reserved. 7 | // 8 | 9 | #import "FUISubclassOfUIViewUsedInANib.h" 10 | 11 | @implementation FUISubclassOfUIViewUsedInANib 12 | 13 | - (id)initWithFrame:(CGRect)frame 14 | { 15 | self = [super initWithFrame:frame]; 16 | if (self) { 17 | // Initialization code 18 | } 19 | return self; 20 | } 21 | 22 | /* 23 | // Only override drawRect: if you perform custom drawing. 24 | // An empty implementation adversely affects performance during animation. 25 | - (void)drawRect:(CGRect)rect 26 | { 27 | // Drawing code 28 | } 29 | */ 30 | 31 | @end 32 | -------------------------------------------------------------------------------- /spec/fixtures/nib/FUINibTests/FUINibTests-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | Artsy.${PRODUCT_NAME:rfc1034identifier} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundlePackageType 14 | BNDL 15 | CFBundleShortVersionString 16 | 1.0 17 | CFBundleSignature 18 | ???? 19 | CFBundleVersion 20 | 1 21 | 22 | 23 | -------------------------------------------------------------------------------- /spec/fixtures/nibself/FUINibTests/FUINibTests-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | Artsy.${PRODUCT_NAME:rfc1034identifier} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundlePackageType 14 | BNDL 15 | CFBundleShortVersionString 16 | 1.0 17 | CFBundleSignature 18 | ???? 19 | CFBundleVersion 20 | 1 21 | 22 | 23 | -------------------------------------------------------------------------------- /spec/fixtures/nib/FUINibTests/FUINibTests.m: -------------------------------------------------------------------------------- 1 | // 2 | // FUINibTests.m 3 | // FUINibTests 4 | // 5 | // Created by Daniel Doubrovkine on 2/7/14. 6 | // Copyright (c) 2014 Daniel Doubrovkine. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface FUINibTests : XCTestCase 12 | 13 | @end 14 | 15 | @implementation FUINibTests 16 | 17 | - (void)setUp 18 | { 19 | [super setUp]; 20 | // Put setup code here. This method is called before the invocation of each test method in the class. 21 | } 22 | 23 | - (void)tearDown 24 | { 25 | // Put teardown code here. This method is called after the invocation of each test method in the class. 26 | [super tearDown]; 27 | } 28 | 29 | - (void)testExample 30 | { 31 | XCTFail(@"No implementation for \"%s\"", __PRETTY_FUNCTION__); 32 | } 33 | 34 | @end 35 | -------------------------------------------------------------------------------- /spec/fixtures/nibself/FUINibTests/FUINibTests.m: -------------------------------------------------------------------------------- 1 | // 2 | // FUINibTests.m 3 | // FUINibTests 4 | // 5 | // Created by Daniel Doubrovkine on 2/7/14. 6 | // Copyright (c) 2014 Daniel Doubrovkine. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface FUINibTests : XCTestCase 12 | 13 | @end 14 | 15 | @implementation FUINibTests 16 | 17 | - (void)setUp 18 | { 19 | [super setUp]; 20 | // Put setup code here. This method is called before the invocation of each test method in the class. 21 | } 22 | 23 | - (void)tearDown 24 | { 25 | // Put teardown code here. This method is called after the invocation of each test method in the class. 26 | [super tearDown]; 27 | } 28 | 29 | - (void)testExample 30 | { 31 | XCTFail(@"No implementation for \"%s\"", __PRETTY_FUNCTION__); 32 | } 33 | 34 | @end 35 | -------------------------------------------------------------------------------- /.rubocop_todo.yml: -------------------------------------------------------------------------------- 1 | # This configuration was generated by 2 | # `rubocop --auto-gen-config` 3 | # on 2018-12-16 18:13:33 -0500 using RuboCop version 0.61.1. 4 | # The point is for the user to remove these configuration records 5 | # one by one as the offenses are removed from the code base. 6 | # Note that changes in the inspected code, or installation of new 7 | # versions of RuboCop, may require this file to be generated again. 8 | 9 | # Offense count: 1 10 | # Configuration parameters: Include. 11 | # Include: **/*.gemspec 12 | Gemspec/RequiredRubyVersion: 13 | Exclude: 14 | - 'fui.gemspec' 15 | 16 | # Offense count: 6 17 | # Configuration parameters: AllowedVariables. 18 | Style/GlobalVars: 19 | Exclude: 20 | - 'bin/fui' 21 | 22 | # Offense count: 1 23 | Style/MixinUsage: 24 | Exclude: 25 | - 'bin/fui' 26 | 27 | # Offense count: 2 28 | Style/MultilineBlockChain: 29 | Exclude: 30 | - 'bin/fui' 31 | -------------------------------------------------------------------------------- /lib/fui/project.rb: -------------------------------------------------------------------------------- 1 | module Fui 2 | # Represents an Xcode Project pbxproj file 3 | class Project 4 | attr_accessor :filename, :bridging_header, :path 5 | 6 | def self.project?(path) 7 | File.extname(path) == '.pbxproj' 8 | end 9 | 10 | def initialize(path) 11 | @path = path 12 | @filename = File.basename(path) 13 | end 14 | 15 | def bridging_headers(verbose) 16 | @bridging_headers ||= begin 17 | regex = /(SWIFT_OBJC_BRIDGING_HEADER) = \".+\"/ 18 | bridging_headers = [] 19 | File.new(path).grep regex do |result| 20 | tokens = result.split('"') 21 | next if tokens.length < 2 22 | 23 | path_tokens = tokens[1].split('/') 24 | bridging_header = path_tokens[path_tokens.length - 1] 25 | puts "Bridging Header Found: #{bridging_header} in #{project_path}." if verbose 26 | bridging_headers << bridging_header 27 | end 28 | bridging_headers.uniq 29 | end 30 | end 31 | end 32 | end 33 | -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2014-2018 Daniel Doubrovkine. 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining 6 | a copy of this software and associated documentation files (the 7 | "Software"), to deal in the Software without restriction, including 8 | without limitation the rights to use, copy, modify, merge, publish, 9 | distribute, sublicense, and/or sell copies of the Software, and to 10 | permit persons to whom the Software is furnished to do so, subject to 11 | the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be 14 | included in all copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 19 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 20 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 21 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 22 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 23 | -------------------------------------------------------------------------------- /spec/fui/project_spec.rb: -------------------------------------------------------------------------------- 1 | require 'spec_helper' 2 | 3 | describe Fui::Project do 4 | describe '#project?' do 5 | it 'correctly matches .pbxproj files' do 6 | expect(Fui::Project.project?('project.pbxproj')).to be true 7 | end 8 | it 'correctly matches .rb files' do 9 | expect(Fui::Project.project?('foo.rb')).to be false 10 | end 11 | end 12 | describe '#initialize' do 13 | it 'creates an instance of project' do 14 | instance = Fui::Project.new(__FILE__) 15 | expect(instance.path).to eq(__FILE__) 16 | expect(instance.filename).to eq('project_spec.rb') 17 | end 18 | end 19 | describe '#bridging_headers' do 20 | before :each do 21 | @fixture = File.expand_path(File.join(__FILE__, '../../fixtures/bridging_headers/BridgingHeaderSpec/BridgingHeaderSpec.xcodeproj/project.pbxproj')) 22 | end 23 | it 'bridging headers are found' do 24 | project = Fui::Project.new(@fixture) 25 | expect(project.bridging_headers(false)).to eq(['BridgingHeaderSpec-Bridging-Header.h']) 26 | end 27 | end 28 | describe '#bridging_headers' do 29 | before :each do 30 | @fixture = File.expand_path(File.join(__FILE__)) 31 | end 32 | it 'bridging headers are not found' do 33 | project = Fui::Project.new(@fixture) 34 | expect(project.bridging_headers(false)).to eq([]) 35 | end 36 | end 37 | end 38 | -------------------------------------------------------------------------------- /spec/fixtures/nib/FUINib/FUINib-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | ${PRODUCT_NAME} 9 | CFBundleExecutable 10 | ${EXECUTABLE_NAME} 11 | CFBundleIdentifier 12 | Artsy.${PRODUCT_NAME:rfc1034identifier} 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | ${PRODUCT_NAME} 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1.0 25 | LSRequiresIPhoneOS 26 | 27 | UIMainStoryboardFile 28 | Main 29 | UIRequiredDeviceCapabilities 30 | 31 | armv7 32 | 33 | UISupportedInterfaceOrientations 34 | 35 | UIInterfaceOrientationPortrait 36 | UIInterfaceOrientationLandscapeLeft 37 | UIInterfaceOrientationLandscapeRight 38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /spec/fixtures/nibself/FUINib/FUINib-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | ${PRODUCT_NAME} 9 | CFBundleExecutable 10 | ${EXECUTABLE_NAME} 11 | CFBundleIdentifier 12 | Artsy.${PRODUCT_NAME:rfc1034identifier} 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | ${PRODUCT_NAME} 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1.0 25 | LSRequiresIPhoneOS 26 | 27 | UIMainStoryboardFile 28 | Main 29 | UIRequiredDeviceCapabilities 30 | 31 | armv7 32 | 33 | UISupportedInterfaceOrientations 34 | 35 | UIInterfaceOrientationPortrait 36 | UIInterfaceOrientationLandscapeLeft 37 | UIInterfaceOrientationLandscapeRight 38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /RELEASING.md: -------------------------------------------------------------------------------- 1 | # Releasing fui 2 | 3 | There are no hard rules about when to release fui. Release bug fixes frequently, features not so frequently, and breaking changes rarely. 4 | 5 | ### Release 6 | 7 | Run tests, check that all tests succeed locally. 8 | 9 | ``` 10 | bundle install 11 | rake 12 | ``` 13 | 14 | Check that the last build succeeded in [Travis CI](https://travis-ci.org/dblock/fui). 15 | 16 | Change "Next" in [CHANGELOG.md](CHANGELOG.md) to the current date. 17 | 18 | ``` 19 | ### 0.4.0 (2016/5/14) 20 | ``` 21 | 22 | Remove the line with "Your contribution here.", since there will be no more contributions to this release. 23 | 24 | Commit your changes. 25 | 26 | ``` 27 | git add CHANGELOG.md 28 | git commit -m "Preparing for release, 0.4.0." 29 | git push origin master 30 | ``` 31 | 32 | Release. 33 | 34 | ``` 35 | $ rake release 36 | 37 | fui 0.4.0 built to pkg/fui-0.4.0.gem. 38 | Tagged v0.4.0. 39 | Pushed git commits and tags. 40 | Pushed fui 0.4.0 to rubygems.org. 41 | ``` 42 | 43 | ### Prepare for the Next Version 44 | 45 | Add the next release to [CHANGELOG.md](CHANGELOG.md). 46 | 47 | ``` 48 | ### 0.4.1 (Next) 49 | 50 | * Your contribution here. 51 | ``` 52 | 53 | Increment the third version number in [lib/fui/version.rb](lib/fui/version.rb). 54 | 55 | Commit your changes. 56 | 57 | ``` 58 | git add CHANGELOG.md lib/fui/version.rb 59 | git commit -m "Preparing for next development iteration, 0.4.1." 60 | git push origin master 61 | ``` 62 | -------------------------------------------------------------------------------- /spec/fixtures/nib/FUINib.xcodeproj/project.xcworkspace/xcshareddata/FUINib.xccheckout: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDESourceControlProjectFavoriteDictionaryKey 6 | 7 | IDESourceControlProjectIdentifier 8 | 19B9488F-1DB8-40DD-B3F5-8CDFEAA7088B 9 | IDESourceControlProjectName 10 | FUINib 11 | IDESourceControlProjectOriginsDictionary 12 | 13 | EEA74783-2FC7-4259-A59B-61175901C6AB 14 | ssh://github.com/dblock/fui.git 15 | 16 | IDESourceControlProjectPath 17 | spec/fixtures/nib/FUINib/FUINib.xcodeproj/project.xcworkspace 18 | IDESourceControlProjectRelativeInstallPathDictionary 19 | 20 | EEA74783-2FC7-4259-A59B-61175901C6AB 21 | ../../../../../.. 22 | 23 | IDESourceControlProjectURL 24 | ssh://github.com/dblock/fui.git 25 | IDESourceControlProjectVersion 26 | 110 27 | IDESourceControlProjectWCCIdentifier 28 | EEA74783-2FC7-4259-A59B-61175901C6AB 29 | IDESourceControlProjectWCConfigurations 30 | 31 | 32 | IDESourceControlRepositoryExtensionIdentifierKey 33 | public.vcs.git 34 | IDESourceControlWCCIdentifierKey 35 | EEA74783-2FC7-4259-A59B-61175901C6AB 36 | IDESourceControlWCCName 37 | dblock 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /spec/fixtures/nibself/FUINib.xcodeproj/project.xcworkspace/xcshareddata/FUINib.xccheckout: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDESourceControlProjectFavoriteDictionaryKey 6 | 7 | IDESourceControlProjectIdentifier 8 | 19B9488F-1DB8-40DD-B3F5-8CDFEAA7088B 9 | IDESourceControlProjectName 10 | FUINib 11 | IDESourceControlProjectOriginsDictionary 12 | 13 | EEA74783-2FC7-4259-A59B-61175901C6AB 14 | ssh://github.com/dblock/fui.git 15 | 16 | IDESourceControlProjectPath 17 | spec/fixtures/nib/FUINib/FUINib.xcodeproj/project.xcworkspace 18 | IDESourceControlProjectRelativeInstallPathDictionary 19 | 20 | EEA74783-2FC7-4259-A59B-61175901C6AB 21 | ../../../../../.. 22 | 23 | IDESourceControlProjectURL 24 | ssh://github.com/dblock/fui.git 25 | IDESourceControlProjectVersion 26 | 110 27 | IDESourceControlProjectWCCIdentifier 28 | EEA74783-2FC7-4259-A59B-61175901C6AB 29 | IDESourceControlProjectWCConfigurations 30 | 31 | 32 | IDESourceControlRepositoryExtensionIdentifierKey 33 | public.vcs.git 34 | IDESourceControlWCCIdentifierKey 35 | EEA74783-2FC7-4259-A59B-61175901C6AB 36 | IDESourceControlWCCName 37 | dblock 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /spec/fixtures/nib/FUINib/FUINibView.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /spec/fixtures/nib/FUINib/FUISubclassOfUIViewUsedInANib.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /spec/fixtures/nibself/FUINib/FUISubclassOfUIViewUsedInANib.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /spec/fixtures/nib/FUINib/FUIAppDelegate.m: -------------------------------------------------------------------------------- 1 | // 2 | // FUIAppDelegate.m 3 | // FUINib 4 | // 5 | // Created by Daniel Doubrovkine on 2/7/14. 6 | // Copyright (c) 2014 Daniel Doubrovkine. All rights reserved. 7 | // 8 | 9 | #import "FUIAppDelegate.h" 10 | 11 | @implementation FUIAppDelegate 12 | 13 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 14 | { 15 | // Override point for customization after application launch. 16 | return YES; 17 | } 18 | 19 | - (void)applicationWillResignActive:(UIApplication *)application 20 | { 21 | // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. 22 | // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. 23 | } 24 | 25 | - (void)applicationDidEnterBackground:(UIApplication *)application 26 | { 27 | // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. 28 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 29 | } 30 | 31 | - (void)applicationWillEnterForeground:(UIApplication *)application 32 | { 33 | // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. 34 | } 35 | 36 | - (void)applicationDidBecomeActive:(UIApplication *)application 37 | { 38 | // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. 39 | } 40 | 41 | - (void)applicationWillTerminate:(UIApplication *)application 42 | { 43 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 44 | } 45 | 46 | @end 47 | -------------------------------------------------------------------------------- /spec/fixtures/nibself/FUINib/FUIAppDelegate.m: -------------------------------------------------------------------------------- 1 | // 2 | // FUIAppDelegate.m 3 | // FUINib 4 | // 5 | // Created by Daniel Doubrovkine on 2/7/14. 6 | // Copyright (c) 2014 Daniel Doubrovkine. All rights reserved. 7 | // 8 | 9 | #import "FUIAppDelegate.h" 10 | 11 | @implementation FUIAppDelegate 12 | 13 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 14 | { 15 | // Override point for customization after application launch. 16 | return YES; 17 | } 18 | 19 | - (void)applicationWillResignActive:(UIApplication *)application 20 | { 21 | // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. 22 | // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. 23 | } 24 | 25 | - (void)applicationDidEnterBackground:(UIApplication *)application 26 | { 27 | // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. 28 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 29 | } 30 | 31 | - (void)applicationWillEnterForeground:(UIApplication *)application 32 | { 33 | // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. 34 | } 35 | 36 | - (void)applicationDidBecomeActive:(UIApplication *)application 37 | { 38 | // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. 39 | } 40 | 41 | - (void)applicationWillTerminate:(UIApplication *)application 42 | { 43 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 44 | } 45 | 46 | @end 47 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | ### 0.5.1 (Next) 2 | 3 | * Your contribution here. 4 | 5 | ### 0.5.0 (2018/12/19) 6 | 7 | * [#29](https://github.com/dblock/fui/pull/29): Added support for ignoring paths through `-i`, `--ignore-path` - [@jeffctown](https://github.com/jeffctown). 8 | * [#28](https://github.com/dblock/fui/pull/28): Added support for finding global imports (bracket notation) - [@jeffctown](https://github.com/jeffctown). 9 | * [#28](https://github.com/dblock/fui/pull/28): Added ability to turn off global or local import checks through `-g`, `--ignore-global-imports` or `-l`, `--ignore-local-imports` - [@jeffctown](https://github.com/jeffctown). 10 | * [#28](https://github.com/dblock/fui/pull/28): The `--ignorexib` option has been renamed to `--ignore-xib-files` - [@jeffctown](https://github.com/jeffctown). 11 | * [#31](https://github.com/dblock/fui/pull/31): Added Danger, PR linter and a README TOC - [@jeffctown](https://github.com/jeffctown). 12 | * [#32](https://github.com/dblock/fui/pull/32): Added support for ignoring bridging headers - [@jeffctown](https://github.com/jeffctown). 13 | * [#33](https://github.com/dblock/fui/pull/33): Added RELEASING.md to document release process - [@jeffctown](https://github.com/jeffctown). 14 | 15 | ### 0.4.1 (2017/8/16) 16 | 17 | * [#24](https://github.com/dblock/fui/pull/24): Support .mm files - [@shachlan](https://github.com/Shachlan). 18 | 19 | ### 0.4.0 (2016/5/14) 20 | 21 | * [#20](https://github.com/dblock/fui/pull/20): Added `-x`, `--ignorexib`, find unused classes referenced from its own XIB - [@Ezor](https://github.com/Ezor). 22 | 23 | ### 0.3.0 (2014/2/7) 24 | 25 | * [#5](https://github.com/dblock/fui/issues/5): Explicitly require Ruby 1.9.3 or later in .gemspec - [@paulyoung](https://github.com/paulyoung). 26 | * [#4](https://github.com/dblock/fui/issues/4): Added support for .storyboard and .xib `customClass` references - [@dblock](https://github.com/dblock). 27 | 28 | ### 0.2.0 (2014/1/23) 29 | 30 | * By default will display "(simulation)" because no actual files are being deleted - [@dblock](https://github.com/dblock). 31 | * Fui's exit code with `find` will be the number of unused references found - [@dblock](https://github.com/dblock). 32 | 33 | ### 0.1.1 (2014/1/22) 34 | 35 | * Fix: properly handle .pch includes - [@dblock](https://github.com/dblock). 36 | 37 | ### 0.1.0 (2014/1/22) 38 | 39 | * Initial public release, based on code by [@dstnbrkr](https://github.com/dstnbrkr) - [@dblock](https://github.com/dblock). 40 | -------------------------------------------------------------------------------- /spec/fixtures/nib/FUINib/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /spec/fixtures/nibself/FUINib/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /spec/fui/fui_spec.rb: -------------------------------------------------------------------------------- 1 | require 'spec_helper' 2 | 3 | describe Fui do 4 | context 'find' do 5 | before :each do 6 | @binary = File.expand_path(File.join(__FILE__, '../../../bin/fui')) 7 | @fixtures = File.expand_path(File.join(__FILE__, '../../fixtures/m')) 8 | end 9 | describe '#help' do 10 | it 'displays help' do 11 | help = `"#{@binary}" help` 12 | expect(help).to include 'fui - Find unused imports in an Objective-C codebase' 13 | end 14 | end 15 | describe '#find' do 16 | it 'is the default action' do 17 | files = `"#{@binary}" --path "#{@fixtures}"` 18 | expect(files.split("\n")).to eq ['unused_class.h'] 19 | end 20 | it 'finds all unreferences headers' do 21 | files = `"#{@binary}" --path "#{@fixtures}" find` 22 | expect(files.split("\n")).to eq ['unused_class.h'] 23 | end 24 | it 'defaults to the current directory' do 25 | files = `"#{@binary}"` 26 | expect(files.split("\n")).to include 'spec/fixtures/h/header.h' 27 | end 28 | it 'defaults to the current directory and returns unreferenced headers relative to it' do 29 | files = `cd #{@fixtures} ; "#{@binary}"` 30 | expect(files.split("\n")).to eq ['unused_class.h'] 31 | end 32 | it 'returns a non-zero error code when files are found' do 33 | `cd #{@fixtures} ; "#{@binary}"` 34 | expect($CHILD_STATUS.exitstatus).to eq 1 35 | end 36 | it 'returns a zero error code when no files are found' do 37 | _files = `cd #{File.expand_path(File.join(__FILE__, '../../../bin/'))} ; "#{@binary}"` 38 | expect($CHILD_STATUS.exitstatus).to eq 0 39 | end 40 | end 41 | describe '#verbose' do 42 | it 'displays verbose output' do 43 | output = `"#{@binary}" --verbose --path "#{@fixtures}" find` 44 | output = output.split("\n") 45 | expect(output).to include 'Checking used_class.h ...' 46 | expect(output).to include 'Found unused_class.h' 47 | end 48 | end 49 | describe '#delete' do 50 | it "doesn't delete files by default" do 51 | output = `"#{@binary}" --verbose --path "#{@fixtures}" delete --no-prompt` 52 | output = output.split("\r\n") 53 | expect(output).to include 'Removing unused_class.m (simulation)' 54 | expect(File.exist?(File.join(@fixtures, 'unused_class.m'))).to be true 55 | end 56 | it 'deletes files with --perform' do 57 | Dir.mktmpdir do |tmpdir| 58 | FileUtils.cp_r @fixtures.to_s, tmpdir 59 | output = `"#{@binary}" --verbose --path "#{tmpdir}" delete --no-prompt --perform` 60 | output = output.split("\r\n") 61 | expect(output).to include 'Removing m/unused_class.m' 62 | expect(File.exist?(File.join(tmpdir, 'm/unused_class.m'))).to be false 63 | end 64 | end 65 | pending 'prompts for deletion' 66 | end 67 | end 68 | end 69 | -------------------------------------------------------------------------------- /bin/fui: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require 'gli' 3 | require 'fui' 4 | 5 | include GLI::App 6 | 7 | program_desc 'Find unused imports in an Objective-C codebase.' 8 | 9 | flag %i[p path], desc: 'Path to search.', default_value: Dir.pwd 10 | flag %i[i ignore-path], desc: 'Path to ignore.', default_value: nil, multiple: true 11 | switch %i[v verbose], desc: 'Produce verbose output.', default_value: false 12 | switch %i[x ignore-xib-files], desc: 'Ignore interface builder (.xib) files.', default_value: false 13 | switch %i[g ignore-global-imports], desc: 'Ignores imports using a global (angle bracket) format.', default_value: false 14 | switch %i[l ignore-local-imports], desc: 'Ignores imports using a local (quote) format.', default_value: false 15 | 16 | default_command :find 17 | 18 | pre do |global_options, _command, _options, _args| 19 | options = global_options.dup 20 | path = options.delete(:path) 21 | $fui = Fui::Finder.new(path, options) 22 | end 23 | 24 | desc 'Find unused classes' 25 | long_desc "Note: fui's exit code will be the number of unused interfaces found." 26 | command :find do |c| 27 | c.action do |global_options, _options, _args| 28 | root = Pathname.new($fui.path) 29 | $fui.unused_references do |filename| 30 | relative_path = Pathname.new(filename).relative_path_from(root).to_s 31 | puts "Checking #{relative_path} ..." if global_options[:verbose] 32 | end.each do |k, _v| 33 | relative_path = Pathname.new(k.path).relative_path_from(root).to_s 34 | if global_options[:verbose] 35 | puts "Found #{relative_path}" 36 | else 37 | puts relative_path 38 | end 39 | end 40 | exit_now! nil, $fui.unused_references.count 41 | end 42 | end 43 | 44 | desc 'Delete header and implementation files of unused classes' 45 | command :delete do |c| 46 | c.switch %i[t prompt], desc: 'Prompt on delete', default_value: true 47 | c.switch %i[f perform], desc: 'Actually perform deletion', default_value: false, negatable: false 48 | 49 | c.action do |global_options, options, _args| 50 | begin 51 | system('stty raw -echo') 52 | 53 | root = Pathname.new($fui.path) 54 | $fui.unused_references do |filename| 55 | relative_path = Pathname.new(filename).relative_path_from(root).to_s 56 | puts "Checking #{relative_path} ..." if global_options[:verbose] 57 | end.each do |k, _v| 58 | relative_path = Pathname.new(k.path).relative_path_from(root).to_s 59 | if options[:prompt] 60 | print "Remove #{relative_path}(.m) [y/N] " 61 | response = STDIN.getc.upcase 62 | puts "#{response.chr}\r\n" 63 | next unless response.chr == 'Y' 64 | end 65 | if global_options[:verbose] 66 | puts "Removing #{relative_path}#{options[:perform] ? '' : ' (simulation)'}\r\n" 67 | else 68 | puts "#{relative_path}#{options[:perform] ? '' : ' (simulation)'}\r\n" 69 | end 70 | File.delete(k.path) if options[:perform] 71 | impl_path = k.path.gsub(/\.h$/, '.m') 72 | next unless File.exist?(impl_path) 73 | 74 | relative_path = Pathname.new(impl_path).relative_path_from(root).to_s 75 | if global_options[:verbose] 76 | puts "Removing #{relative_path}#{options[:perform] ? '' : ' (simulation)'}\r\n" 77 | else 78 | puts "#{relative_path}#{options[:perform] ? '' : ' (simulation)'}\r\n" 79 | end 80 | File.delete(impl_path) if options[:perform] 81 | end 82 | ensure 83 | system('stty -raw echo') 84 | end 85 | end 86 | end 87 | 88 | exit run(ARGV) 89 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | Fui 2 | ========== 3 | 4 | [![Gem Version](https://badge.fury.io/rb/fui.svg)](https://badge.fury.io/rb/fui) 5 | [![Build Status](https://travis-ci.org/dblock/fui.svg)](https://travis-ci.org/dblock/fui) 6 | 7 | Find unused Objective-C imports. 8 | 9 | # Table of Contents 10 | 11 | - [Usage](#usage) 12 | - [Get Help](#get-help) 13 | - [Find Unused Classes in the Current Directory](#find-unused-classes-in-the-current-directory) 14 | - [Find Unused Classes in any Path](#find-unused-classes-in-any-path) 15 | - [Skip Interface Builder (.xib) Files](#skip-interface-builder-xib-files) 16 | - [Ignore Local Imports](#ignore-local-imports) 17 | - [Ignore Global Imports](#ignore-global-imports) 18 | - [Ignore a Path](#ignore-a-path) 19 | - [Ignore Multiple Paths](#ignore-multiple-paths) 20 | - [Delete All Unused Class Files with Prompt](#delete-all-unused-class-files-with-prompt) 21 | - [Xcode Plugin](#xcode-plugin) 22 | - [Contributing](#contributing) 23 | - [Copyright and License](#copyright-and-license) 24 | 25 | ## Usage 26 | 27 | ```sh 28 | gem install fui 29 | ``` 30 | 31 | ### Get Help 32 | 33 | ```sh 34 | fui help 35 | ``` 36 | 37 | ### Find Unused Classes in the Current Directory 38 | 39 | ```sh 40 | fui find 41 | ``` 42 | 43 | The `find` command lists all the files that contain unused imports and exits with the number of files found. 44 | 45 | ### Find Unused Classes in any Path 46 | 47 | ```sh 48 | fui --path=~/source/project/Name find 49 | ``` 50 | 51 | ### Skip Interface Builder (.xib) Files 52 | 53 | Running `fui` with `-x` (or `--ignore-xib-files`) will, for example, mark `Foo.h` as unused when `Foo.xib` holds a reference to the `Foo` class and no other references to Foo.h exist. 54 | 55 | ```sh 56 | fui -x --path=~/source/project/Name find 57 | ``` 58 | 59 | ### Ignore Local Imports 60 | 61 | Running `fui` with `-l` (or `--ignore-local-imports`) will, for example, mark `Foo.h` as unused when `Bar.h` contains a local (quotation syntax) import of `Foo.h` (eg. `#import Foo.h`). 62 | 63 | ```sh 64 | fui -l --path=~/source/project/Name find 65 | ``` 66 | 67 | ### Ignore Global Imports 68 | 69 | Running `fui` with `-g` (or `--ignore-global-imports`) will, for example, mark `Foo.h` as unused when `Bar.h` contains a global (bracket syntax) import of `Foo.h` (eg. `#import `). 70 | 71 | ```sh 72 | fui -g --path=~/source/project/Name find 73 | ``` 74 | 75 | ### Ignore a Path 76 | 77 | Running `fui` with `-i` (or `--ignore-path`) will, for example, ignore a `Pods` folder when searching for headers or referencing files. 78 | 79 | ```sh 80 | fui --path=~/source/project/Name --ignore-path=Pods find 81 | ``` 82 | 83 | ### Ignore Multiple Paths 84 | 85 | Running `fui` with `-i` (or `--ignore-path`) can ignore multiple folders when searching for headers or referencing files. 86 | 87 | ```sh 88 | fui --path=~/source/project/Name --ignore-path=Pods --ignore-path=Libraries find 89 | ``` 90 | 91 | ### Delete All Unused Class Files with Prompt 92 | 93 | ```sh 94 | fui --path=~/source/project/Name delete --perform --prompt 95 | ``` 96 | 97 | ## Xcode Plugin 98 | 99 | Use [xcfui](https://github.com/jcavar/xcfui) for integration with Xcode. 100 | 101 | ## Contributing 102 | 103 | There're [a few feature requests and known issues](https://github.com/dblock/fui/issues). Please contribute! See [CONTRIBUTING](CONTRIBUTING.md). 104 | 105 | ## Copyright and License 106 | 107 | Copyright (c) 2014-2018, Daniel Doubrovkine, [Artsy](http://artsy.github.io), based on code by [Dustin Barker](https://github.com/dstnbrkr). 108 | 109 | This project is licensed under the [MIT License](LICENSE.md). 110 | -------------------------------------------------------------------------------- /spec/fixtures/nib/FUINib.xcodeproj/xcshareddata/xcschemes/FUINib.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 33 | 39 | 40 | 41 | 42 | 43 | 49 | 50 | 51 | 52 | 61 | 62 | 68 | 69 | 70 | 71 | 72 | 73 | 79 | 80 | 86 | 87 | 88 | 89 | 91 | 92 | 95 | 96 | 97 | -------------------------------------------------------------------------------- /spec/fixtures/nibself/FUINib.xcodeproj/xcshareddata/xcschemes/FUINib.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 33 | 39 | 40 | 41 | 42 | 43 | 49 | 50 | 51 | 52 | 61 | 62 | 68 | 69 | 70 | 71 | 72 | 73 | 79 | 80 | 86 | 87 | 88 | 89 | 91 | 92 | 95 | 96 | 97 | -------------------------------------------------------------------------------- /lib/fui/finder.rb: -------------------------------------------------------------------------------- 1 | module Fui 2 | # A class to find various things in an Objective C project. 3 | class Finder 4 | attr_reader :path, :options 5 | 6 | def initialize(path, options = {}) 7 | @path = File.expand_path(path) 8 | @options = options 9 | raise Errno::ENOENT, path unless Dir.exist?(@path) 10 | end 11 | 12 | def headers 13 | @headers ||= find(path) { |path| Header.header?(path) }.collect { |path| Header.new(path) } 14 | end 15 | 16 | def bridging_headers 17 | @bridging_headers ||= find(path) { |path| Project.project?(path) }.collect { |path| Project.new(path).bridging_headers(options[:verbose]) } 18 | end 19 | 20 | def ignores 21 | return unless options['ignore-path'] 22 | 23 | @ignores ||= options['ignore-path'].map do |i| 24 | raise Errno::ENOENT, i unless Dir.exist?(i) 25 | 26 | Pathname(i) 27 | end 28 | end 29 | 30 | def references(&block) 31 | @references ||= begin 32 | references = {} 33 | headers.each do |header| 34 | references[header] = [] 35 | end 36 | Find.find(path) do |path| 37 | if ['.m', '.mm', '.h', '.pch'].include?(File.extname(path)) 38 | process_code references, path, &block 39 | elsif ['.storyboard', '.xib'].include?(File.extname(path)) 40 | process_xml references, path, &block 41 | end 42 | end 43 | references 44 | end 45 | end 46 | 47 | def unused_references(&block) 48 | @unused_references ||= references(&block).select { |k, v| v.count.zero? && !bridging_headers.include?(k.filename) } 49 | end 50 | 51 | private 52 | 53 | # Find all files for which the block yields. 54 | def find(path) 55 | results = [] 56 | Find.find(path) do |fpath| 57 | if FileTest.directory?(fpath) 58 | next unless ignores 59 | 60 | ignores.each do |ignore| 61 | next unless fpath.include?(ignore.realpath.to_s) 62 | 63 | puts "Ignoring Directory: #{fpath}" if options[:verbose] 64 | Find.prune 65 | end 66 | end 67 | results << fpath if yield fpath 68 | end 69 | results 70 | end 71 | 72 | def local_imported(file_contents, header) 73 | return false if options['ignore-local-imports'] 74 | 75 | file_contents.include?("#import \"#{header.filename}\"") 76 | end 77 | 78 | def global_imported(file_contents, header) 79 | return false if options['ignore-global-imports'] 80 | 81 | escaped_header = Regexp.quote(header.filename) 82 | regex = '(#import\s{1}<.+\/' + escaped_header + '>)' 83 | file_contents.match(regex) 84 | end 85 | 86 | def process_code(references, path) 87 | File.open(path) do |file| 88 | yield path if block_given? 89 | headers.each do |header| 90 | filename_without_extension = File.basename(path, File.extname(path)) 91 | file_contents = File.read(file) 92 | global_import_exists = global_imported(file_contents, header) 93 | local_import_exists = local_imported(file_contents, header) 94 | references[header] << path if filename_without_extension != header.filename_without_extension && (local_import_exists || global_import_exists) 95 | end 96 | end 97 | end 98 | 99 | def process_xml(references, path) 100 | File.open(path) do |file| 101 | yield path if block_given? 102 | headers.each do |header| 103 | filename_without_extension = File.basename(path, File.extname(path)) 104 | check_xibs = !options['ignore-xib-files'] 105 | references[header] << path if (check_xibs || filename_without_extension != header.filename_without_extension) && File.read(file).include?("customClass=\"#{header.filename_without_extension}\"") 106 | end 107 | end 108 | end 109 | end 110 | end 111 | -------------------------------------------------------------------------------- /spec/fui/finder_spec.rb: -------------------------------------------------------------------------------- 1 | require 'spec_helper' 2 | 3 | describe Fui::Finder do 4 | context 'included from a .m file' do 5 | before :each do 6 | @fixtures_dir = File.expand_path(File.join(__FILE__, '../../fixtures/m')) 7 | end 8 | describe '#find' do 9 | it 'finds all files for which the block yields true' do 10 | finder = Fui::Finder.new(@fixtures_dir) 11 | headers = finder.headers.map(&:path) 12 | expect(headers.sort).to eq Dir["#{@fixtures_dir}/*.h"].sort 13 | end 14 | end 15 | describe '#headers' do 16 | it 'finds all headers' do 17 | finder = Fui::Finder.new(@fixtures_dir) 18 | expect(finder.headers.map(&:filename).sort).to eq(['unused_class.h', 'used_class.h']) 19 | end 20 | end 21 | describe '#references' do 22 | it 'maps references' do 23 | finder = Fui::Finder.new(@fixtures_dir) 24 | expect(finder.references.size).to eq(2) 25 | expect(Hash[finder.references.map { |k, v| [k.filename, v.count] }]).to eq('unused_class.h' => 0, 26 | 'used_class.h' => 1) 27 | end 28 | end 29 | describe '#unsed_references' do 30 | it 'finds unused references' do 31 | finder = Fui::Finder.new(@fixtures_dir) 32 | expect(Hash[finder.unused_references.map { |k, v| [k.filename, v.count] }]).to eq('unused_class.h' => 0) 33 | end 34 | end 35 | end 36 | context 'included from a .mm file' do 37 | before :each do 38 | @fixtures_dir = File.expand_path(File.join(__FILE__, '../../fixtures/mm')) 39 | end 40 | describe '#find' do 41 | it 'finds all files for which the block yields true' do 42 | finder = Fui::Finder.new(@fixtures_dir) 43 | headers = finder.headers.map(&:path) 44 | expect(headers.sort).to eq Dir["#{@fixtures_dir}/*.h"].sort 45 | end 46 | end 47 | describe '#headers' do 48 | it 'finds all headers' do 49 | finder = Fui::Finder.new(@fixtures_dir) 50 | expect(finder.headers.map(&:filename).sort).to eq(['unused_class.h', 'used_class.h']) 51 | end 52 | end 53 | describe '#references' do 54 | it 'maps references' do 55 | finder = Fui::Finder.new(@fixtures_dir) 56 | expect(finder.references.size).to eq(2) 57 | expect(Hash[finder.references.map { |k, v| [k.filename, v.count] }]).to eq('unused_class.h' => 0, 58 | 'used_class.h' => 1) 59 | end 60 | end 61 | describe '#unsed_references' do 62 | it 'finds unused references' do 63 | finder = Fui::Finder.new(@fixtures_dir) 64 | expect(Hash[finder.unused_references.map { |k, v| [k.filename, v.count] }]).to eq('unused_class.h' => 0) 65 | end 66 | end 67 | end 68 | context 'included from a .pch file' do 69 | before :each do 70 | @fixtures_dir = File.expand_path(File.join(__FILE__, '../../fixtures/pch')) 71 | end 72 | describe '#unsed_references' do 73 | it 'finds unused references' do 74 | finder = Fui::Finder.new(@fixtures_dir) 75 | expect(Hash[finder.unused_references.map { |k, v| [k.filename, v.count] }]).to eq('unused_class.h' => 0) 76 | end 77 | end 78 | end 79 | context 'included from a .h file' do 80 | before :each do 81 | @fixtures_dir = File.expand_path(File.join(__FILE__, '../../fixtures/h')) 82 | end 83 | describe '#unsed_references' do 84 | it 'finds unused references' do 85 | finder = Fui::Finder.new(@fixtures_dir) 86 | expect(Hash[finder.unused_references.map { |k, v| [k.filename, v.count] }]).to eq('header.h' => 0, 87 | 'unused_class.h' => 0) 88 | end 89 | end 90 | end 91 | context 'custom UIView subclasses' do 92 | before :each do 93 | @fixtures_dir = File.expand_path(File.join(__FILE__, '../../fixtures/nib')) 94 | end 95 | describe '#unsed_references' do 96 | it 'finds no unused references' do 97 | finder = Fui::Finder.new(@fixtures_dir) 98 | expect(finder.unused_references.count).to eq(0) 99 | end 100 | end 101 | end 102 | context 'ignore-xib-files option set to false' do 103 | before :each do 104 | @fixtures_dir = File.expand_path(File.join(__FILE__, '../../fixtures/nibself')) 105 | end 106 | describe '#unsed_references' do 107 | it 'finds no unused references' do 108 | finder = Fui::Finder.new(@fixtures_dir) 109 | expect(finder.unused_references.count).to eq(0) 110 | end 111 | end 112 | end 113 | context 'ignore-xib-files option set to true' do 114 | before :each do 115 | @fixtures_dir = File.expand_path(File.join(__FILE__, '../../fixtures/nibself')) 116 | end 117 | describe '#unsed_references' do 118 | it 'finds one unused references' do 119 | finder = Fui::Finder.new(@fixtures_dir, 'ignore-xib-files' => true) 120 | expect(finder.unused_references.count).to eq(1) 121 | end 122 | end 123 | end 124 | context 'ignore global imports option set to true' do 125 | before :each do 126 | @fixtures_dir = File.expand_path(File.join(__FILE__, '../../fixtures/global_import')) 127 | end 128 | describe '#unused_references' do 129 | it 'finds one unused global reference' do 130 | finder = Fui::Finder.new(@fixtures_dir, 'ignore-global-imports' => false) 131 | expect(Hash[finder.unused_references.map { |k, v| [k.filename, v.count] }]).to eq('header.h' => 0, 'unused_class.h' => 0) 132 | end 133 | end 134 | end 135 | context 'ignore global imports option set to false' do 136 | before :each do 137 | @fixtures_dir = File.expand_path(File.join(__FILE__, '../../fixtures/global_import')) 138 | end 139 | describe '#unused_references' do 140 | it 'finds no unused global references' do 141 | finder = Fui::Finder.new(@fixtures_dir, 'ignore-global-imports' => true) 142 | expect(Hash[finder.unused_references.map { |k, v| [k.filename, v.count] }]).to eq('header.h' => 0, 'unused_class.h' => 0, 'used_class.h' => 0) 143 | end 144 | end 145 | end 146 | context 'ignore path option with one argument' do 147 | before :each do 148 | @fixtures_dir = File.expand_path(File.join(__FILE__, '../../fixtures/ignore_directories')) 149 | @ignore_dir = File.expand_path(File.join(__FILE__, '../../fixtures/ignore_directories/ignore')) 150 | end 151 | describe '#unused_references' do 152 | it 'finds two unused references' do 153 | finder = Fui::Finder.new(@fixtures_dir, 'ignore-path' => [@ignore_dir]) 154 | expect(Hash[finder.unused_references.map { |k, v| [k.filename, v.count] }]).to eq('another_ignored_class.h' => 0, 'unused_class.h' => 0) 155 | end 156 | end 157 | end 158 | context 'ignore path option with multiple arguments' do 159 | before :each do 160 | @fixtures_dir = File.expand_path(File.join(__FILE__, '../../fixtures/ignore_directories')) 161 | @ignore_dirs = [File.expand_path(File.join(__FILE__, '../../fixtures/ignore_directories/ignore')), 162 | File.expand_path(File.join(__FILE__, '../../fixtures/ignore_directories/another_ignore'))] 163 | end 164 | describe '#unused_references' do 165 | it 'finds one unused reference' do 166 | finder = Fui::Finder.new(@fixtures_dir, 'ignore-path' => @ignore_dirs) 167 | expect(Hash[finder.unused_references.map { |k, v| [k.filename, v.count] }]).to eq('unused_class.h' => 0) 168 | end 169 | end 170 | end 171 | context 'ignore path option with invalid argument' do 172 | before :each do 173 | @fixtures_dir = File.expand_path(File.join(__FILE__, '../../fixtures/ignore_directories')) 174 | end 175 | describe '#initialization' do 176 | it 'raises an error' do 177 | finder = Fui::Finder.new(@fixtures_dir, 'ignore-path' => ['i_dont_exist']) 178 | expect { finder.ignores } .to raise_error(Errno::ENOENT) 179 | end 180 | end 181 | end 182 | end 183 | -------------------------------------------------------------------------------- /spec/fixtures/bridging_headers/BridgingHeaderSpec/BridgingHeaderSpec.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 50; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 1FDC3C7021C7028800D8EF5B /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 1FDC3C6F21C7028800D8EF5B /* AppDelegate.m */; }; 11 | 1FDC3C7E21C7028A00D8EF5B /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 1FDC3C7D21C7028A00D8EF5B /* main.m */; }; 12 | /* End PBXBuildFile section */ 13 | 14 | /* Begin PBXFileReference section */ 15 | 1FDC3C6B21C7028800D8EF5B /* BridgingHeaderSpec.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = BridgingHeaderSpec.app; sourceTree = BUILT_PRODUCTS_DIR; }; 16 | 1FDC3C6E21C7028800D8EF5B /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; 17 | 1FDC3C6F21C7028800D8EF5B /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; 18 | 1FDC3C7D21C7028A00D8EF5B /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; 19 | 1FDC3C8421C7029900D8EF5B /* BridgingHeaderSpec-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "BridgingHeaderSpec-Bridging-Header.h"; sourceTree = ""; }; 20 | /* End PBXFileReference section */ 21 | 22 | /* Begin PBXFrameworksBuildPhase section */ 23 | 1FDC3C6821C7028800D8EF5B /* Frameworks */ = { 24 | isa = PBXFrameworksBuildPhase; 25 | buildActionMask = 2147483647; 26 | files = ( 27 | ); 28 | runOnlyForDeploymentPostprocessing = 0; 29 | }; 30 | /* End PBXFrameworksBuildPhase section */ 31 | 32 | /* Begin PBXGroup section */ 33 | 1FDC3C6221C7028800D8EF5B = { 34 | isa = PBXGroup; 35 | children = ( 36 | 1FDC3C6D21C7028800D8EF5B /* BridgingHeaderSpec */, 37 | 1FDC3C6C21C7028800D8EF5B /* Products */, 38 | 1FDC3C8421C7029900D8EF5B /* BridgingHeaderSpec-Bridging-Header.h */, 39 | ); 40 | sourceTree = ""; 41 | }; 42 | 1FDC3C6C21C7028800D8EF5B /* Products */ = { 43 | isa = PBXGroup; 44 | children = ( 45 | 1FDC3C6B21C7028800D8EF5B /* BridgingHeaderSpec.app */, 46 | ); 47 | name = Products; 48 | sourceTree = ""; 49 | }; 50 | 1FDC3C6D21C7028800D8EF5B /* BridgingHeaderSpec */ = { 51 | isa = PBXGroup; 52 | children = ( 53 | 1FDC3C6E21C7028800D8EF5B /* AppDelegate.h */, 54 | 1FDC3C6F21C7028800D8EF5B /* AppDelegate.m */, 55 | 1FDC3C7D21C7028A00D8EF5B /* main.m */, 56 | ); 57 | path = BridgingHeaderSpec; 58 | sourceTree = ""; 59 | }; 60 | /* End PBXGroup section */ 61 | 62 | /* Begin PBXNativeTarget section */ 63 | 1FDC3C6A21C7028800D8EF5B /* BridgingHeaderSpec */ = { 64 | isa = PBXNativeTarget; 65 | buildConfigurationList = 1FDC3C8121C7028A00D8EF5B /* Build configuration list for PBXNativeTarget "BridgingHeaderSpec" */; 66 | buildPhases = ( 67 | 1FDC3C6721C7028800D8EF5B /* Sources */, 68 | 1FDC3C6821C7028800D8EF5B /* Frameworks */, 69 | 1FDC3C6921C7028800D8EF5B /* Resources */, 70 | ); 71 | buildRules = ( 72 | ); 73 | dependencies = ( 74 | ); 75 | name = BridgingHeaderSpec; 76 | productName = BridgingHeaderSpec; 77 | productReference = 1FDC3C6B21C7028800D8EF5B /* BridgingHeaderSpec.app */; 78 | productType = "com.apple.product-type.application"; 79 | }; 80 | /* End PBXNativeTarget section */ 81 | 82 | /* Begin PBXProject section */ 83 | 1FDC3C6321C7028800D8EF5B /* Project object */ = { 84 | isa = PBXProject; 85 | attributes = { 86 | LastUpgradeCheck = 1010; 87 | ORGANIZATIONNAME = "Jeff Lett"; 88 | TargetAttributes = { 89 | 1FDC3C6A21C7028800D8EF5B = { 90 | CreatedOnToolsVersion = 10.1; 91 | LastSwiftMigration = 1010; 92 | }; 93 | }; 94 | }; 95 | buildConfigurationList = 1FDC3C6621C7028800D8EF5B /* Build configuration list for PBXProject "BridgingHeaderSpec" */; 96 | compatibilityVersion = "Xcode 9.3"; 97 | developmentRegion = en; 98 | hasScannedForEncodings = 0; 99 | knownRegions = ( 100 | en, 101 | Base, 102 | ); 103 | mainGroup = 1FDC3C6221C7028800D8EF5B; 104 | productRefGroup = 1FDC3C6C21C7028800D8EF5B /* Products */; 105 | projectDirPath = ""; 106 | projectRoot = ""; 107 | targets = ( 108 | 1FDC3C6A21C7028800D8EF5B /* BridgingHeaderSpec */, 109 | ); 110 | }; 111 | /* End PBXProject section */ 112 | 113 | /* Begin PBXResourcesBuildPhase section */ 114 | 1FDC3C6921C7028800D8EF5B /* Resources */ = { 115 | isa = PBXResourcesBuildPhase; 116 | buildActionMask = 2147483647; 117 | files = ( 118 | ); 119 | runOnlyForDeploymentPostprocessing = 0; 120 | }; 121 | /* End PBXResourcesBuildPhase section */ 122 | 123 | /* Begin PBXSourcesBuildPhase section */ 124 | 1FDC3C6721C7028800D8EF5B /* Sources */ = { 125 | isa = PBXSourcesBuildPhase; 126 | buildActionMask = 2147483647; 127 | files = ( 128 | 1FDC3C7E21C7028A00D8EF5B /* main.m in Sources */, 129 | 1FDC3C7021C7028800D8EF5B /* AppDelegate.m in Sources */, 130 | ); 131 | runOnlyForDeploymentPostprocessing = 0; 132 | }; 133 | /* End PBXSourcesBuildPhase section */ 134 | 135 | /* Begin XCBuildConfiguration section */ 136 | 1FDC3C7F21C7028A00D8EF5B /* Debug */ = { 137 | isa = XCBuildConfiguration; 138 | buildSettings = { 139 | ALWAYS_SEARCH_USER_PATHS = NO; 140 | CLANG_ANALYZER_NONNULL = YES; 141 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 142 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 143 | CLANG_CXX_LIBRARY = "libc++"; 144 | CLANG_ENABLE_MODULES = YES; 145 | CLANG_ENABLE_OBJC_ARC = YES; 146 | CLANG_ENABLE_OBJC_WEAK = YES; 147 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 148 | CLANG_WARN_BOOL_CONVERSION = YES; 149 | CLANG_WARN_COMMA = YES; 150 | CLANG_WARN_CONSTANT_CONVERSION = YES; 151 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 152 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 153 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 154 | CLANG_WARN_EMPTY_BODY = YES; 155 | CLANG_WARN_ENUM_CONVERSION = YES; 156 | CLANG_WARN_INFINITE_RECURSION = YES; 157 | CLANG_WARN_INT_CONVERSION = YES; 158 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 159 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 160 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 161 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 162 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 163 | CLANG_WARN_STRICT_PROTOTYPES = YES; 164 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 165 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 166 | CLANG_WARN_UNREACHABLE_CODE = YES; 167 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 168 | CODE_SIGN_IDENTITY = "iPhone Developer"; 169 | COPY_PHASE_STRIP = NO; 170 | DEBUG_INFORMATION_FORMAT = dwarf; 171 | ENABLE_STRICT_OBJC_MSGSEND = YES; 172 | ENABLE_TESTABILITY = YES; 173 | GCC_C_LANGUAGE_STANDARD = gnu11; 174 | GCC_DYNAMIC_NO_PIC = NO; 175 | GCC_NO_COMMON_BLOCKS = YES; 176 | GCC_OPTIMIZATION_LEVEL = 0; 177 | GCC_PREPROCESSOR_DEFINITIONS = ( 178 | "DEBUG=1", 179 | "$(inherited)", 180 | ); 181 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 182 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 183 | GCC_WARN_UNDECLARED_SELECTOR = YES; 184 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 185 | GCC_WARN_UNUSED_FUNCTION = YES; 186 | GCC_WARN_UNUSED_VARIABLE = YES; 187 | IPHONEOS_DEPLOYMENT_TARGET = 12.1; 188 | MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; 189 | MTL_FAST_MATH = YES; 190 | ONLY_ACTIVE_ARCH = YES; 191 | SDKROOT = iphoneos; 192 | }; 193 | name = Debug; 194 | }; 195 | 1FDC3C8021C7028A00D8EF5B /* Release */ = { 196 | isa = XCBuildConfiguration; 197 | buildSettings = { 198 | ALWAYS_SEARCH_USER_PATHS = NO; 199 | CLANG_ANALYZER_NONNULL = YES; 200 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 201 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 202 | CLANG_CXX_LIBRARY = "libc++"; 203 | CLANG_ENABLE_MODULES = YES; 204 | CLANG_ENABLE_OBJC_ARC = YES; 205 | CLANG_ENABLE_OBJC_WEAK = YES; 206 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 207 | CLANG_WARN_BOOL_CONVERSION = YES; 208 | CLANG_WARN_COMMA = YES; 209 | CLANG_WARN_CONSTANT_CONVERSION = YES; 210 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 211 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 212 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 213 | CLANG_WARN_EMPTY_BODY = YES; 214 | CLANG_WARN_ENUM_CONVERSION = YES; 215 | CLANG_WARN_INFINITE_RECURSION = YES; 216 | CLANG_WARN_INT_CONVERSION = YES; 217 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 218 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 219 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 220 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 221 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 222 | CLANG_WARN_STRICT_PROTOTYPES = YES; 223 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 224 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 225 | CLANG_WARN_UNREACHABLE_CODE = YES; 226 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 227 | CODE_SIGN_IDENTITY = "iPhone Developer"; 228 | COPY_PHASE_STRIP = NO; 229 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 230 | ENABLE_NS_ASSERTIONS = NO; 231 | ENABLE_STRICT_OBJC_MSGSEND = YES; 232 | GCC_C_LANGUAGE_STANDARD = gnu11; 233 | GCC_NO_COMMON_BLOCKS = YES; 234 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 235 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 236 | GCC_WARN_UNDECLARED_SELECTOR = YES; 237 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 238 | GCC_WARN_UNUSED_FUNCTION = YES; 239 | GCC_WARN_UNUSED_VARIABLE = YES; 240 | IPHONEOS_DEPLOYMENT_TARGET = 12.1; 241 | MTL_ENABLE_DEBUG_INFO = NO; 242 | MTL_FAST_MATH = YES; 243 | SDKROOT = iphoneos; 244 | VALIDATE_PRODUCT = YES; 245 | }; 246 | name = Release; 247 | }; 248 | 1FDC3C8221C7028A00D8EF5B /* Debug */ = { 249 | isa = XCBuildConfiguration; 250 | buildSettings = { 251 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 252 | CLANG_ENABLE_MODULES = YES; 253 | CODE_SIGN_STYLE = Automatic; 254 | DEVELOPMENT_TEAM = NTX63W5EU6; 255 | INFOPLIST_FILE = BridgingHeaderSpec/Info.plist; 256 | LD_RUNPATH_SEARCH_PATHS = ( 257 | "$(inherited)", 258 | "@executable_path/Frameworks", 259 | ); 260 | PRODUCT_BUNDLE_IDENTIFIER = com.jefflett.BridgingHeaderSpec; 261 | PRODUCT_NAME = "$(TARGET_NAME)"; 262 | SWIFT_OBJC_BRIDGING_HEADER = "BridgingHeaderSpec-Bridging-Header.h"; 263 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 264 | SWIFT_VERSION = 4.2; 265 | TARGETED_DEVICE_FAMILY = "1,2"; 266 | }; 267 | name = Debug; 268 | }; 269 | 1FDC3C8321C7028A00D8EF5B /* Release */ = { 270 | isa = XCBuildConfiguration; 271 | buildSettings = { 272 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 273 | CLANG_ENABLE_MODULES = YES; 274 | CODE_SIGN_STYLE = Automatic; 275 | DEVELOPMENT_TEAM = NTX63W5EU6; 276 | INFOPLIST_FILE = BridgingHeaderSpec/Info.plist; 277 | LD_RUNPATH_SEARCH_PATHS = ( 278 | "$(inherited)", 279 | "@executable_path/Frameworks", 280 | ); 281 | PRODUCT_BUNDLE_IDENTIFIER = com.jefflett.BridgingHeaderSpec; 282 | PRODUCT_NAME = "$(TARGET_NAME)"; 283 | SWIFT_OBJC_BRIDGING_HEADER = "BridgingHeaderSpec-Bridging-Header.h"; 284 | SWIFT_VERSION = 4.2; 285 | TARGETED_DEVICE_FAMILY = "1,2"; 286 | }; 287 | name = Release; 288 | }; 289 | /* End XCBuildConfiguration section */ 290 | 291 | /* Begin XCConfigurationList section */ 292 | 1FDC3C6621C7028800D8EF5B /* Build configuration list for PBXProject "BridgingHeaderSpec" */ = { 293 | isa = XCConfigurationList; 294 | buildConfigurations = ( 295 | 1FDC3C7F21C7028A00D8EF5B /* Debug */, 296 | 1FDC3C8021C7028A00D8EF5B /* Release */, 297 | ); 298 | defaultConfigurationIsVisible = 0; 299 | defaultConfigurationName = Release; 300 | }; 301 | 1FDC3C8121C7028A00D8EF5B /* Build configuration list for PBXNativeTarget "BridgingHeaderSpec" */ = { 302 | isa = XCConfigurationList; 303 | buildConfigurations = ( 304 | 1FDC3C8221C7028A00D8EF5B /* Debug */, 305 | 1FDC3C8321C7028A00D8EF5B /* Release */, 306 | ); 307 | defaultConfigurationIsVisible = 0; 308 | defaultConfigurationName = Release; 309 | }; 310 | /* End XCConfigurationList section */ 311 | }; 312 | rootObject = 1FDC3C6321C7028800D8EF5B /* Project object */; 313 | } 314 | -------------------------------------------------------------------------------- /spec/fixtures/nib/FUINib.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 3C37E4BA18A54204003BDC99 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3C37E4B918A54204003BDC99 /* Foundation.framework */; }; 11 | 3C37E4BC18A54204003BDC99 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3C37E4BB18A54204003BDC99 /* CoreGraphics.framework */; }; 12 | 3C37E4BE18A54204003BDC99 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3C37E4BD18A54204003BDC99 /* UIKit.framework */; }; 13 | 3C37E4C418A54204003BDC99 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 3C37E4C218A54204003BDC99 /* InfoPlist.strings */; }; 14 | 3C37E4C618A54204003BDC99 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 3C37E4C518A54204003BDC99 /* main.m */; }; 15 | 3C37E4CA18A54204003BDC99 /* FUIAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 3C37E4C918A54204003BDC99 /* FUIAppDelegate.m */; }; 16 | 3C37E4CD18A54204003BDC99 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 3C37E4CB18A54204003BDC99 /* Main.storyboard */; }; 17 | 3C37E4D018A54204003BDC99 /* FUIViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 3C37E4CF18A54204003BDC99 /* FUIViewController.m */; }; 18 | 3C37E4D218A54204003BDC99 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 3C37E4D118A54204003BDC99 /* Images.xcassets */; }; 19 | 3C37E4D918A54204003BDC99 /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3C37E4D818A54204003BDC99 /* XCTest.framework */; }; 20 | 3C37E4DA18A54204003BDC99 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3C37E4B918A54204003BDC99 /* Foundation.framework */; }; 21 | 3C37E4DB18A54204003BDC99 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3C37E4BD18A54204003BDC99 /* UIKit.framework */; }; 22 | 3C37E4E318A54204003BDC99 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 3C37E4E118A54204003BDC99 /* InfoPlist.strings */; }; 23 | 3C37E4E518A54204003BDC99 /* FUINibTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 3C37E4E418A54204003BDC99 /* FUINibTests.m */; }; 24 | 3C37E4F018A542CC003BDC99 /* FUISubclassOfUIView.m in Sources */ = {isa = PBXBuildFile; fileRef = 3C37E4EF18A542CC003BDC99 /* FUISubclassOfUIView.m */; }; 25 | 3C37E4F218A54341003BDC99 /* FUINibView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 3C37E4F118A54341003BDC99 /* FUINibView.xib */; }; 26 | 3C37E4F518A54362003BDC99 /* FUISubclassOfUIViewUsedInANib.m in Sources */ = {isa = PBXBuildFile; fileRef = 3C37E4F418A54362003BDC99 /* FUISubclassOfUIViewUsedInANib.m */; }; 27 | /* End PBXBuildFile section */ 28 | 29 | /* Begin PBXContainerItemProxy section */ 30 | 3C37E4DC18A54204003BDC99 /* PBXContainerItemProxy */ = { 31 | isa = PBXContainerItemProxy; 32 | containerPortal = 3C37E4AE18A54204003BDC99 /* Project object */; 33 | proxyType = 1; 34 | remoteGlobalIDString = 3C37E4B518A54204003BDC99; 35 | remoteInfo = FUINib; 36 | }; 37 | /* End PBXContainerItemProxy section */ 38 | 39 | /* Begin PBXFileReference section */ 40 | 3C37E4B618A54204003BDC99 /* FUINib.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = FUINib.app; sourceTree = BUILT_PRODUCTS_DIR; }; 41 | 3C37E4B918A54204003BDC99 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; 42 | 3C37E4BB18A54204003BDC99 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; 43 | 3C37E4BD18A54204003BDC99 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; 44 | 3C37E4C118A54204003BDC99 /* FUINib-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "FUINib-Info.plist"; sourceTree = ""; }; 45 | 3C37E4C318A54204003BDC99 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; 46 | 3C37E4C518A54204003BDC99 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; 47 | 3C37E4C718A54204003BDC99 /* FUINib-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "FUINib-Prefix.pch"; sourceTree = ""; }; 48 | 3C37E4C818A54204003BDC99 /* FUIAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = FUIAppDelegate.h; sourceTree = ""; }; 49 | 3C37E4C918A54204003BDC99 /* FUIAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = FUIAppDelegate.m; sourceTree = ""; }; 50 | 3C37E4CC18A54204003BDC99 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 51 | 3C37E4CE18A54204003BDC99 /* FUIViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = FUIViewController.h; sourceTree = ""; }; 52 | 3C37E4CF18A54204003BDC99 /* FUIViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = FUIViewController.m; sourceTree = ""; }; 53 | 3C37E4D118A54204003BDC99 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 54 | 3C37E4D718A54204003BDC99 /* FUINibTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = FUINibTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 55 | 3C37E4D818A54204003BDC99 /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; }; 56 | 3C37E4E018A54204003BDC99 /* FUINibTests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "FUINibTests-Info.plist"; sourceTree = ""; }; 57 | 3C37E4E218A54204003BDC99 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; 58 | 3C37E4E418A54204003BDC99 /* FUINibTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = FUINibTests.m; sourceTree = ""; }; 59 | 3C37E4EE18A542CC003BDC99 /* FUISubclassOfUIView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FUISubclassOfUIView.h; sourceTree = ""; }; 60 | 3C37E4EF18A542CC003BDC99 /* FUISubclassOfUIView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = FUISubclassOfUIView.m; sourceTree = ""; }; 61 | 3C37E4F118A54341003BDC99 /* FUINibView.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = FUINibView.xib; sourceTree = ""; }; 62 | 3C37E4F318A54362003BDC99 /* FUISubclassOfUIViewUsedInANib.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FUISubclassOfUIViewUsedInANib.h; sourceTree = ""; }; 63 | 3C37E4F418A54362003BDC99 /* FUISubclassOfUIViewUsedInANib.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = FUISubclassOfUIViewUsedInANib.m; sourceTree = ""; }; 64 | /* End PBXFileReference section */ 65 | 66 | /* Begin PBXFrameworksBuildPhase section */ 67 | 3C37E4B318A54204003BDC99 /* Frameworks */ = { 68 | isa = PBXFrameworksBuildPhase; 69 | buildActionMask = 2147483647; 70 | files = ( 71 | 3C37E4BC18A54204003BDC99 /* CoreGraphics.framework in Frameworks */, 72 | 3C37E4BE18A54204003BDC99 /* UIKit.framework in Frameworks */, 73 | 3C37E4BA18A54204003BDC99 /* Foundation.framework in Frameworks */, 74 | ); 75 | runOnlyForDeploymentPostprocessing = 0; 76 | }; 77 | 3C37E4D418A54204003BDC99 /* Frameworks */ = { 78 | isa = PBXFrameworksBuildPhase; 79 | buildActionMask = 2147483647; 80 | files = ( 81 | 3C37E4D918A54204003BDC99 /* XCTest.framework in Frameworks */, 82 | 3C37E4DB18A54204003BDC99 /* UIKit.framework in Frameworks */, 83 | 3C37E4DA18A54204003BDC99 /* Foundation.framework in Frameworks */, 84 | ); 85 | runOnlyForDeploymentPostprocessing = 0; 86 | }; 87 | /* End PBXFrameworksBuildPhase section */ 88 | 89 | /* Begin PBXGroup section */ 90 | 3C37E4AD18A54204003BDC99 = { 91 | isa = PBXGroup; 92 | children = ( 93 | 3C37E4BF18A54204003BDC99 /* FUINib */, 94 | 3C37E4DE18A54204003BDC99 /* FUINibTests */, 95 | 3C37E4B818A54204003BDC99 /* Frameworks */, 96 | 3C37E4B718A54204003BDC99 /* Products */, 97 | ); 98 | sourceTree = ""; 99 | }; 100 | 3C37E4B718A54204003BDC99 /* Products */ = { 101 | isa = PBXGroup; 102 | children = ( 103 | 3C37E4B618A54204003BDC99 /* FUINib.app */, 104 | 3C37E4D718A54204003BDC99 /* FUINibTests.xctest */, 105 | ); 106 | name = Products; 107 | sourceTree = ""; 108 | }; 109 | 3C37E4B818A54204003BDC99 /* Frameworks */ = { 110 | isa = PBXGroup; 111 | children = ( 112 | 3C37E4B918A54204003BDC99 /* Foundation.framework */, 113 | 3C37E4BB18A54204003BDC99 /* CoreGraphics.framework */, 114 | 3C37E4BD18A54204003BDC99 /* UIKit.framework */, 115 | 3C37E4D818A54204003BDC99 /* XCTest.framework */, 116 | ); 117 | name = Frameworks; 118 | sourceTree = ""; 119 | }; 120 | 3C37E4BF18A54204003BDC99 /* FUINib */ = { 121 | isa = PBXGroup; 122 | children = ( 123 | 3C37E4EE18A542CC003BDC99 /* FUISubclassOfUIView.h */, 124 | 3C37E4EF18A542CC003BDC99 /* FUISubclassOfUIView.m */, 125 | 3C37E4C818A54204003BDC99 /* FUIAppDelegate.h */, 126 | 3C37E4C918A54204003BDC99 /* FUIAppDelegate.m */, 127 | 3C37E4CB18A54204003BDC99 /* Main.storyboard */, 128 | 3C37E4CE18A54204003BDC99 /* FUIViewController.h */, 129 | 3C37E4CF18A54204003BDC99 /* FUIViewController.m */, 130 | 3C37E4D118A54204003BDC99 /* Images.xcassets */, 131 | 3C37E4C018A54204003BDC99 /* Supporting Files */, 132 | 3C37E4F118A54341003BDC99 /* FUINibView.xib */, 133 | 3C37E4F318A54362003BDC99 /* FUISubclassOfUIViewUsedInANib.h */, 134 | 3C37E4F418A54362003BDC99 /* FUISubclassOfUIViewUsedInANib.m */, 135 | ); 136 | path = FUINib; 137 | sourceTree = ""; 138 | }; 139 | 3C37E4C018A54204003BDC99 /* Supporting Files */ = { 140 | isa = PBXGroup; 141 | children = ( 142 | 3C37E4C118A54204003BDC99 /* FUINib-Info.plist */, 143 | 3C37E4C218A54204003BDC99 /* InfoPlist.strings */, 144 | 3C37E4C518A54204003BDC99 /* main.m */, 145 | 3C37E4C718A54204003BDC99 /* FUINib-Prefix.pch */, 146 | ); 147 | name = "Supporting Files"; 148 | sourceTree = ""; 149 | }; 150 | 3C37E4DE18A54204003BDC99 /* FUINibTests */ = { 151 | isa = PBXGroup; 152 | children = ( 153 | 3C37E4E418A54204003BDC99 /* FUINibTests.m */, 154 | 3C37E4DF18A54204003BDC99 /* Supporting Files */, 155 | ); 156 | path = FUINibTests; 157 | sourceTree = ""; 158 | }; 159 | 3C37E4DF18A54204003BDC99 /* Supporting Files */ = { 160 | isa = PBXGroup; 161 | children = ( 162 | 3C37E4E018A54204003BDC99 /* FUINibTests-Info.plist */, 163 | 3C37E4E118A54204003BDC99 /* InfoPlist.strings */, 164 | ); 165 | name = "Supporting Files"; 166 | sourceTree = ""; 167 | }; 168 | /* End PBXGroup section */ 169 | 170 | /* Begin PBXNativeTarget section */ 171 | 3C37E4B518A54204003BDC99 /* FUINib */ = { 172 | isa = PBXNativeTarget; 173 | buildConfigurationList = 3C37E4E818A54204003BDC99 /* Build configuration list for PBXNativeTarget "FUINib" */; 174 | buildPhases = ( 175 | 3C37E4B218A54204003BDC99 /* Sources */, 176 | 3C37E4B318A54204003BDC99 /* Frameworks */, 177 | 3C37E4B418A54204003BDC99 /* Resources */, 178 | ); 179 | buildRules = ( 180 | ); 181 | dependencies = ( 182 | ); 183 | name = FUINib; 184 | productName = FUINib; 185 | productReference = 3C37E4B618A54204003BDC99 /* FUINib.app */; 186 | productType = "com.apple.product-type.application"; 187 | }; 188 | 3C37E4D618A54204003BDC99 /* FUINibTests */ = { 189 | isa = PBXNativeTarget; 190 | buildConfigurationList = 3C37E4EB18A54204003BDC99 /* Build configuration list for PBXNativeTarget "FUINibTests" */; 191 | buildPhases = ( 192 | 3C37E4D318A54204003BDC99 /* Sources */, 193 | 3C37E4D418A54204003BDC99 /* Frameworks */, 194 | 3C37E4D518A54204003BDC99 /* Resources */, 195 | ); 196 | buildRules = ( 197 | ); 198 | dependencies = ( 199 | 3C37E4DD18A54204003BDC99 /* PBXTargetDependency */, 200 | ); 201 | name = FUINibTests; 202 | productName = FUINibTests; 203 | productReference = 3C37E4D718A54204003BDC99 /* FUINibTests.xctest */; 204 | productType = "com.apple.product-type.bundle.unit-test"; 205 | }; 206 | /* End PBXNativeTarget section */ 207 | 208 | /* Begin PBXProject section */ 209 | 3C37E4AE18A54204003BDC99 /* Project object */ = { 210 | isa = PBXProject; 211 | attributes = { 212 | CLASSPREFIX = FUI; 213 | LastUpgradeCheck = 0500; 214 | ORGANIZATIONNAME = "Daniel Doubrovkine"; 215 | TargetAttributes = { 216 | 3C37E4D618A54204003BDC99 = { 217 | TestTargetID = 3C37E4B518A54204003BDC99; 218 | }; 219 | }; 220 | }; 221 | buildConfigurationList = 3C37E4B118A54204003BDC99 /* Build configuration list for PBXProject "FUINib" */; 222 | compatibilityVersion = "Xcode 3.2"; 223 | developmentRegion = English; 224 | hasScannedForEncodings = 0; 225 | knownRegions = ( 226 | en, 227 | Base, 228 | ); 229 | mainGroup = 3C37E4AD18A54204003BDC99; 230 | productRefGroup = 3C37E4B718A54204003BDC99 /* Products */; 231 | projectDirPath = ""; 232 | projectRoot = ""; 233 | targets = ( 234 | 3C37E4B518A54204003BDC99 /* FUINib */, 235 | 3C37E4D618A54204003BDC99 /* FUINibTests */, 236 | ); 237 | }; 238 | /* End PBXProject section */ 239 | 240 | /* Begin PBXResourcesBuildPhase section */ 241 | 3C37E4B418A54204003BDC99 /* Resources */ = { 242 | isa = PBXResourcesBuildPhase; 243 | buildActionMask = 2147483647; 244 | files = ( 245 | 3C37E4D218A54204003BDC99 /* Images.xcassets in Resources */, 246 | 3C37E4C418A54204003BDC99 /* InfoPlist.strings in Resources */, 247 | 3C37E4CD18A54204003BDC99 /* Main.storyboard in Resources */, 248 | 3C37E4F218A54341003BDC99 /* FUINibView.xib in Resources */, 249 | ); 250 | runOnlyForDeploymentPostprocessing = 0; 251 | }; 252 | 3C37E4D518A54204003BDC99 /* Resources */ = { 253 | isa = PBXResourcesBuildPhase; 254 | buildActionMask = 2147483647; 255 | files = ( 256 | 3C37E4E318A54204003BDC99 /* InfoPlist.strings in Resources */, 257 | ); 258 | runOnlyForDeploymentPostprocessing = 0; 259 | }; 260 | /* End PBXResourcesBuildPhase section */ 261 | 262 | /* Begin PBXSourcesBuildPhase section */ 263 | 3C37E4B218A54204003BDC99 /* Sources */ = { 264 | isa = PBXSourcesBuildPhase; 265 | buildActionMask = 2147483647; 266 | files = ( 267 | 3C37E4D018A54204003BDC99 /* FUIViewController.m in Sources */, 268 | 3C37E4C618A54204003BDC99 /* main.m in Sources */, 269 | 3C37E4F018A542CC003BDC99 /* FUISubclassOfUIView.m in Sources */, 270 | 3C37E4CA18A54204003BDC99 /* FUIAppDelegate.m in Sources */, 271 | 3C37E4F518A54362003BDC99 /* FUISubclassOfUIViewUsedInANib.m in Sources */, 272 | ); 273 | runOnlyForDeploymentPostprocessing = 0; 274 | }; 275 | 3C37E4D318A54204003BDC99 /* Sources */ = { 276 | isa = PBXSourcesBuildPhase; 277 | buildActionMask = 2147483647; 278 | files = ( 279 | 3C37E4E518A54204003BDC99 /* FUINibTests.m in Sources */, 280 | ); 281 | runOnlyForDeploymentPostprocessing = 0; 282 | }; 283 | /* End PBXSourcesBuildPhase section */ 284 | 285 | /* Begin PBXTargetDependency section */ 286 | 3C37E4DD18A54204003BDC99 /* PBXTargetDependency */ = { 287 | isa = PBXTargetDependency; 288 | target = 3C37E4B518A54204003BDC99 /* FUINib */; 289 | targetProxy = 3C37E4DC18A54204003BDC99 /* PBXContainerItemProxy */; 290 | }; 291 | /* End PBXTargetDependency section */ 292 | 293 | /* Begin PBXVariantGroup section */ 294 | 3C37E4C218A54204003BDC99 /* InfoPlist.strings */ = { 295 | isa = PBXVariantGroup; 296 | children = ( 297 | 3C37E4C318A54204003BDC99 /* en */, 298 | ); 299 | name = InfoPlist.strings; 300 | sourceTree = ""; 301 | }; 302 | 3C37E4CB18A54204003BDC99 /* Main.storyboard */ = { 303 | isa = PBXVariantGroup; 304 | children = ( 305 | 3C37E4CC18A54204003BDC99 /* Base */, 306 | ); 307 | name = Main.storyboard; 308 | sourceTree = ""; 309 | }; 310 | 3C37E4E118A54204003BDC99 /* InfoPlist.strings */ = { 311 | isa = PBXVariantGroup; 312 | children = ( 313 | 3C37E4E218A54204003BDC99 /* en */, 314 | ); 315 | name = InfoPlist.strings; 316 | sourceTree = ""; 317 | }; 318 | /* End PBXVariantGroup section */ 319 | 320 | /* Begin XCBuildConfiguration section */ 321 | 3C37E4E618A54204003BDC99 /* Debug */ = { 322 | isa = XCBuildConfiguration; 323 | buildSettings = { 324 | ALWAYS_SEARCH_USER_PATHS = NO; 325 | ARCHS = "$(ARCHS_STANDARD_INCLUDING_64_BIT)"; 326 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 327 | CLANG_CXX_LIBRARY = "libc++"; 328 | CLANG_ENABLE_MODULES = YES; 329 | CLANG_ENABLE_OBJC_ARC = YES; 330 | CLANG_WARN_BOOL_CONVERSION = YES; 331 | CLANG_WARN_CONSTANT_CONVERSION = YES; 332 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 333 | CLANG_WARN_EMPTY_BODY = YES; 334 | CLANG_WARN_ENUM_CONVERSION = YES; 335 | CLANG_WARN_INT_CONVERSION = YES; 336 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 337 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 338 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 339 | COPY_PHASE_STRIP = NO; 340 | GCC_C_LANGUAGE_STANDARD = gnu99; 341 | GCC_DYNAMIC_NO_PIC = NO; 342 | GCC_OPTIMIZATION_LEVEL = 0; 343 | GCC_PREPROCESSOR_DEFINITIONS = ( 344 | "DEBUG=1", 345 | "$(inherited)", 346 | ); 347 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 348 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 349 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 350 | GCC_WARN_UNDECLARED_SELECTOR = YES; 351 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 352 | GCC_WARN_UNUSED_FUNCTION = YES; 353 | GCC_WARN_UNUSED_VARIABLE = YES; 354 | IPHONEOS_DEPLOYMENT_TARGET = 7.0; 355 | ONLY_ACTIVE_ARCH = YES; 356 | SDKROOT = iphoneos; 357 | }; 358 | name = Debug; 359 | }; 360 | 3C37E4E718A54204003BDC99 /* Release */ = { 361 | isa = XCBuildConfiguration; 362 | buildSettings = { 363 | ALWAYS_SEARCH_USER_PATHS = NO; 364 | ARCHS = "$(ARCHS_STANDARD_INCLUDING_64_BIT)"; 365 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 366 | CLANG_CXX_LIBRARY = "libc++"; 367 | CLANG_ENABLE_MODULES = YES; 368 | CLANG_ENABLE_OBJC_ARC = YES; 369 | CLANG_WARN_BOOL_CONVERSION = YES; 370 | CLANG_WARN_CONSTANT_CONVERSION = YES; 371 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 372 | CLANG_WARN_EMPTY_BODY = YES; 373 | CLANG_WARN_ENUM_CONVERSION = YES; 374 | CLANG_WARN_INT_CONVERSION = YES; 375 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 376 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 377 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 378 | COPY_PHASE_STRIP = YES; 379 | ENABLE_NS_ASSERTIONS = NO; 380 | GCC_C_LANGUAGE_STANDARD = gnu99; 381 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 382 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 383 | GCC_WARN_UNDECLARED_SELECTOR = YES; 384 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 385 | GCC_WARN_UNUSED_FUNCTION = YES; 386 | GCC_WARN_UNUSED_VARIABLE = YES; 387 | IPHONEOS_DEPLOYMENT_TARGET = 7.0; 388 | SDKROOT = iphoneos; 389 | VALIDATE_PRODUCT = YES; 390 | }; 391 | name = Release; 392 | }; 393 | 3C37E4E918A54204003BDC99 /* Debug */ = { 394 | isa = XCBuildConfiguration; 395 | buildSettings = { 396 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 397 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 398 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 399 | GCC_PREFIX_HEADER = "FUINib/FUINib-Prefix.pch"; 400 | INFOPLIST_FILE = "FUINib/FUINib-Info.plist"; 401 | PRODUCT_NAME = "$(TARGET_NAME)"; 402 | WRAPPER_EXTENSION = app; 403 | }; 404 | name = Debug; 405 | }; 406 | 3C37E4EA18A54204003BDC99 /* Release */ = { 407 | isa = XCBuildConfiguration; 408 | buildSettings = { 409 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 410 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 411 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 412 | GCC_PREFIX_HEADER = "FUINib/FUINib-Prefix.pch"; 413 | INFOPLIST_FILE = "FUINib/FUINib-Info.plist"; 414 | PRODUCT_NAME = "$(TARGET_NAME)"; 415 | WRAPPER_EXTENSION = app; 416 | }; 417 | name = Release; 418 | }; 419 | 3C37E4EC18A54204003BDC99 /* Debug */ = { 420 | isa = XCBuildConfiguration; 421 | buildSettings = { 422 | ARCHS = "$(ARCHS_STANDARD_INCLUDING_64_BIT)"; 423 | BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/FUINib.app/FUINib"; 424 | FRAMEWORK_SEARCH_PATHS = ( 425 | "$(SDKROOT)/Developer/Library/Frameworks", 426 | "$(inherited)", 427 | "$(DEVELOPER_FRAMEWORKS_DIR)", 428 | ); 429 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 430 | GCC_PREFIX_HEADER = "FUINib/FUINib-Prefix.pch"; 431 | GCC_PREPROCESSOR_DEFINITIONS = ( 432 | "DEBUG=1", 433 | "$(inherited)", 434 | ); 435 | INFOPLIST_FILE = "FUINibTests/FUINibTests-Info.plist"; 436 | PRODUCT_NAME = "$(TARGET_NAME)"; 437 | TEST_HOST = "$(BUNDLE_LOADER)"; 438 | WRAPPER_EXTENSION = xctest; 439 | }; 440 | name = Debug; 441 | }; 442 | 3C37E4ED18A54204003BDC99 /* Release */ = { 443 | isa = XCBuildConfiguration; 444 | buildSettings = { 445 | ARCHS = "$(ARCHS_STANDARD_INCLUDING_64_BIT)"; 446 | BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/FUINib.app/FUINib"; 447 | FRAMEWORK_SEARCH_PATHS = ( 448 | "$(SDKROOT)/Developer/Library/Frameworks", 449 | "$(inherited)", 450 | "$(DEVELOPER_FRAMEWORKS_DIR)", 451 | ); 452 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 453 | GCC_PREFIX_HEADER = "FUINib/FUINib-Prefix.pch"; 454 | INFOPLIST_FILE = "FUINibTests/FUINibTests-Info.plist"; 455 | PRODUCT_NAME = "$(TARGET_NAME)"; 456 | TEST_HOST = "$(BUNDLE_LOADER)"; 457 | WRAPPER_EXTENSION = xctest; 458 | }; 459 | name = Release; 460 | }; 461 | /* End XCBuildConfiguration section */ 462 | 463 | /* Begin XCConfigurationList section */ 464 | 3C37E4B118A54204003BDC99 /* Build configuration list for PBXProject "FUINib" */ = { 465 | isa = XCConfigurationList; 466 | buildConfigurations = ( 467 | 3C37E4E618A54204003BDC99 /* Debug */, 468 | 3C37E4E718A54204003BDC99 /* Release */, 469 | ); 470 | defaultConfigurationIsVisible = 0; 471 | defaultConfigurationName = Release; 472 | }; 473 | 3C37E4E818A54204003BDC99 /* Build configuration list for PBXNativeTarget "FUINib" */ = { 474 | isa = XCConfigurationList; 475 | buildConfigurations = ( 476 | 3C37E4E918A54204003BDC99 /* Debug */, 477 | 3C37E4EA18A54204003BDC99 /* Release */, 478 | ); 479 | defaultConfigurationIsVisible = 0; 480 | defaultConfigurationName = Release; 481 | }; 482 | 3C37E4EB18A54204003BDC99 /* Build configuration list for PBXNativeTarget "FUINibTests" */ = { 483 | isa = XCConfigurationList; 484 | buildConfigurations = ( 485 | 3C37E4EC18A54204003BDC99 /* Debug */, 486 | 3C37E4ED18A54204003BDC99 /* Release */, 487 | ); 488 | defaultConfigurationIsVisible = 0; 489 | defaultConfigurationName = Release; 490 | }; 491 | /* End XCConfigurationList section */ 492 | }; 493 | rootObject = 3C37E4AE18A54204003BDC99 /* Project object */; 494 | } 495 | -------------------------------------------------------------------------------- /spec/fixtures/nibself/FUINib.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 3C37E4BA18A54204003BDC99 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3C37E4B918A54204003BDC99 /* Foundation.framework */; }; 11 | 3C37E4BC18A54204003BDC99 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3C37E4BB18A54204003BDC99 /* CoreGraphics.framework */; }; 12 | 3C37E4BE18A54204003BDC99 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3C37E4BD18A54204003BDC99 /* UIKit.framework */; }; 13 | 3C37E4C418A54204003BDC99 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 3C37E4C218A54204003BDC99 /* InfoPlist.strings */; }; 14 | 3C37E4C618A54204003BDC99 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 3C37E4C518A54204003BDC99 /* main.m */; }; 15 | 3C37E4CA18A54204003BDC99 /* FUIAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 3C37E4C918A54204003BDC99 /* FUIAppDelegate.m */; }; 16 | 3C37E4CD18A54204003BDC99 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 3C37E4CB18A54204003BDC99 /* Main.storyboard */; }; 17 | 3C37E4D018A54204003BDC99 /* FUIViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 3C37E4CF18A54204003BDC99 /* FUIViewController.m */; }; 18 | 3C37E4D218A54204003BDC99 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 3C37E4D118A54204003BDC99 /* Images.xcassets */; }; 19 | 3C37E4D918A54204003BDC99 /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3C37E4D818A54204003BDC99 /* XCTest.framework */; }; 20 | 3C37E4DA18A54204003BDC99 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3C37E4B918A54204003BDC99 /* Foundation.framework */; }; 21 | 3C37E4DB18A54204003BDC99 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3C37E4BD18A54204003BDC99 /* UIKit.framework */; }; 22 | 3C37E4E318A54204003BDC99 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 3C37E4E118A54204003BDC99 /* InfoPlist.strings */; }; 23 | 3C37E4E518A54204003BDC99 /* FUINibTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 3C37E4E418A54204003BDC99 /* FUINibTests.m */; }; 24 | 3C37E4F018A542CC003BDC99 /* FUISubclassOfUIView.m in Sources */ = {isa = PBXBuildFile; fileRef = 3C37E4EF18A542CC003BDC99 /* FUISubclassOfUIView.m */; }; 25 | 3C37E4F218A54341003BDC99 /* FUINibView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 3C37E4F118A54341003BDC99 /* FUINibView.xib */; }; 26 | 3C37E4F518A54362003BDC99 /* FUISubclassOfUIViewUsedInANib.m in Sources */ = {isa = PBXBuildFile; fileRef = 3C37E4F418A54362003BDC99 /* FUISubclassOfUIViewUsedInANib.m */; }; 27 | /* End PBXBuildFile section */ 28 | 29 | /* Begin PBXContainerItemProxy section */ 30 | 3C37E4DC18A54204003BDC99 /* PBXContainerItemProxy */ = { 31 | isa = PBXContainerItemProxy; 32 | containerPortal = 3C37E4AE18A54204003BDC99 /* Project object */; 33 | proxyType = 1; 34 | remoteGlobalIDString = 3C37E4B518A54204003BDC99; 35 | remoteInfo = FUINib; 36 | }; 37 | /* End PBXContainerItemProxy section */ 38 | 39 | /* Begin PBXFileReference section */ 40 | 3C37E4B618A54204003BDC99 /* FUINib.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = FUINib.app; sourceTree = BUILT_PRODUCTS_DIR; }; 41 | 3C37E4B918A54204003BDC99 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; 42 | 3C37E4BB18A54204003BDC99 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; 43 | 3C37E4BD18A54204003BDC99 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; 44 | 3C37E4C118A54204003BDC99 /* FUINib-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "FUINib-Info.plist"; sourceTree = ""; }; 45 | 3C37E4C318A54204003BDC99 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; 46 | 3C37E4C518A54204003BDC99 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; 47 | 3C37E4C718A54204003BDC99 /* FUINib-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "FUINib-Prefix.pch"; sourceTree = ""; }; 48 | 3C37E4C818A54204003BDC99 /* FUIAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = FUIAppDelegate.h; sourceTree = ""; }; 49 | 3C37E4C918A54204003BDC99 /* FUIAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = FUIAppDelegate.m; sourceTree = ""; }; 50 | 3C37E4CC18A54204003BDC99 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 51 | 3C37E4CE18A54204003BDC99 /* FUIViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = FUIViewController.h; sourceTree = ""; }; 52 | 3C37E4CF18A54204003BDC99 /* FUIViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = FUIViewController.m; sourceTree = ""; }; 53 | 3C37E4D118A54204003BDC99 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 54 | 3C37E4D718A54204003BDC99 /* FUINibTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = FUINibTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 55 | 3C37E4D818A54204003BDC99 /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; }; 56 | 3C37E4E018A54204003BDC99 /* FUINibTests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "FUINibTests-Info.plist"; sourceTree = ""; }; 57 | 3C37E4E218A54204003BDC99 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; 58 | 3C37E4E418A54204003BDC99 /* FUINibTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = FUINibTests.m; sourceTree = ""; }; 59 | 3C37E4EE18A542CC003BDC99 /* FUISubclassOfUIView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FUISubclassOfUIView.h; sourceTree = ""; }; 60 | 3C37E4EF18A542CC003BDC99 /* FUISubclassOfUIView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = FUISubclassOfUIView.m; sourceTree = ""; }; 61 | 3C37E4F118A54341003BDC99 /* FUINibView.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = FUINibView.xib; sourceTree = ""; }; 62 | 3C37E4F318A54362003BDC99 /* FUISubclassOfUIViewUsedInANib.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FUISubclassOfUIViewUsedInANib.h; sourceTree = ""; }; 63 | 3C37E4F418A54362003BDC99 /* FUISubclassOfUIViewUsedInANib.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = FUISubclassOfUIViewUsedInANib.m; sourceTree = ""; }; 64 | /* End PBXFileReference section */ 65 | 66 | /* Begin PBXFrameworksBuildPhase section */ 67 | 3C37E4B318A54204003BDC99 /* Frameworks */ = { 68 | isa = PBXFrameworksBuildPhase; 69 | buildActionMask = 2147483647; 70 | files = ( 71 | 3C37E4BC18A54204003BDC99 /* CoreGraphics.framework in Frameworks */, 72 | 3C37E4BE18A54204003BDC99 /* UIKit.framework in Frameworks */, 73 | 3C37E4BA18A54204003BDC99 /* Foundation.framework in Frameworks */, 74 | ); 75 | runOnlyForDeploymentPostprocessing = 0; 76 | }; 77 | 3C37E4D418A54204003BDC99 /* Frameworks */ = { 78 | isa = PBXFrameworksBuildPhase; 79 | buildActionMask = 2147483647; 80 | files = ( 81 | 3C37E4D918A54204003BDC99 /* XCTest.framework in Frameworks */, 82 | 3C37E4DB18A54204003BDC99 /* UIKit.framework in Frameworks */, 83 | 3C37E4DA18A54204003BDC99 /* Foundation.framework in Frameworks */, 84 | ); 85 | runOnlyForDeploymentPostprocessing = 0; 86 | }; 87 | /* End PBXFrameworksBuildPhase section */ 88 | 89 | /* Begin PBXGroup section */ 90 | 3C37E4AD18A54204003BDC99 = { 91 | isa = PBXGroup; 92 | children = ( 93 | 3C37E4BF18A54204003BDC99 /* FUINib */, 94 | 3C37E4DE18A54204003BDC99 /* FUINibTests */, 95 | 3C37E4B818A54204003BDC99 /* Frameworks */, 96 | 3C37E4B718A54204003BDC99 /* Products */, 97 | ); 98 | sourceTree = ""; 99 | }; 100 | 3C37E4B718A54204003BDC99 /* Products */ = { 101 | isa = PBXGroup; 102 | children = ( 103 | 3C37E4B618A54204003BDC99 /* FUINib.app */, 104 | 3C37E4D718A54204003BDC99 /* FUINibTests.xctest */, 105 | ); 106 | name = Products; 107 | sourceTree = ""; 108 | }; 109 | 3C37E4B818A54204003BDC99 /* Frameworks */ = { 110 | isa = PBXGroup; 111 | children = ( 112 | 3C37E4B918A54204003BDC99 /* Foundation.framework */, 113 | 3C37E4BB18A54204003BDC99 /* CoreGraphics.framework */, 114 | 3C37E4BD18A54204003BDC99 /* UIKit.framework */, 115 | 3C37E4D818A54204003BDC99 /* XCTest.framework */, 116 | ); 117 | name = Frameworks; 118 | sourceTree = ""; 119 | }; 120 | 3C37E4BF18A54204003BDC99 /* FUINib */ = { 121 | isa = PBXGroup; 122 | children = ( 123 | 3C37E4EE18A542CC003BDC99 /* FUISubclassOfUIView.h */, 124 | 3C37E4EF18A542CC003BDC99 /* FUISubclassOfUIView.m */, 125 | 3C37E4C818A54204003BDC99 /* FUIAppDelegate.h */, 126 | 3C37E4C918A54204003BDC99 /* FUIAppDelegate.m */, 127 | 3C37E4CB18A54204003BDC99 /* Main.storyboard */, 128 | 3C37E4CE18A54204003BDC99 /* FUIViewController.h */, 129 | 3C37E4CF18A54204003BDC99 /* FUIViewController.m */, 130 | 3C37E4D118A54204003BDC99 /* Images.xcassets */, 131 | 3C37E4C018A54204003BDC99 /* Supporting Files */, 132 | 3C37E4F118A54341003BDC99 /* FUINibView.xib */, 133 | 3C37E4F318A54362003BDC99 /* FUISubclassOfUIViewUsedInANib.h */, 134 | 3C37E4F418A54362003BDC99 /* FUISubclassOfUIViewUsedInANib.m */, 135 | ); 136 | path = FUINib; 137 | sourceTree = ""; 138 | }; 139 | 3C37E4C018A54204003BDC99 /* Supporting Files */ = { 140 | isa = PBXGroup; 141 | children = ( 142 | 3C37E4C118A54204003BDC99 /* FUINib-Info.plist */, 143 | 3C37E4C218A54204003BDC99 /* InfoPlist.strings */, 144 | 3C37E4C518A54204003BDC99 /* main.m */, 145 | 3C37E4C718A54204003BDC99 /* FUINib-Prefix.pch */, 146 | ); 147 | name = "Supporting Files"; 148 | sourceTree = ""; 149 | }; 150 | 3C37E4DE18A54204003BDC99 /* FUINibTests */ = { 151 | isa = PBXGroup; 152 | children = ( 153 | 3C37E4E418A54204003BDC99 /* FUINibTests.m */, 154 | 3C37E4DF18A54204003BDC99 /* Supporting Files */, 155 | ); 156 | path = FUINibTests; 157 | sourceTree = ""; 158 | }; 159 | 3C37E4DF18A54204003BDC99 /* Supporting Files */ = { 160 | isa = PBXGroup; 161 | children = ( 162 | 3C37E4E018A54204003BDC99 /* FUINibTests-Info.plist */, 163 | 3C37E4E118A54204003BDC99 /* InfoPlist.strings */, 164 | ); 165 | name = "Supporting Files"; 166 | sourceTree = ""; 167 | }; 168 | /* End PBXGroup section */ 169 | 170 | /* Begin PBXNativeTarget section */ 171 | 3C37E4B518A54204003BDC99 /* FUINib */ = { 172 | isa = PBXNativeTarget; 173 | buildConfigurationList = 3C37E4E818A54204003BDC99 /* Build configuration list for PBXNativeTarget "FUINib" */; 174 | buildPhases = ( 175 | 3C37E4B218A54204003BDC99 /* Sources */, 176 | 3C37E4B318A54204003BDC99 /* Frameworks */, 177 | 3C37E4B418A54204003BDC99 /* Resources */, 178 | ); 179 | buildRules = ( 180 | ); 181 | dependencies = ( 182 | ); 183 | name = FUINib; 184 | productName = FUINib; 185 | productReference = 3C37E4B618A54204003BDC99 /* FUINib.app */; 186 | productType = "com.apple.product-type.application"; 187 | }; 188 | 3C37E4D618A54204003BDC99 /* FUINibTests */ = { 189 | isa = PBXNativeTarget; 190 | buildConfigurationList = 3C37E4EB18A54204003BDC99 /* Build configuration list for PBXNativeTarget "FUINibTests" */; 191 | buildPhases = ( 192 | 3C37E4D318A54204003BDC99 /* Sources */, 193 | 3C37E4D418A54204003BDC99 /* Frameworks */, 194 | 3C37E4D518A54204003BDC99 /* Resources */, 195 | ); 196 | buildRules = ( 197 | ); 198 | dependencies = ( 199 | 3C37E4DD18A54204003BDC99 /* PBXTargetDependency */, 200 | ); 201 | name = FUINibTests; 202 | productName = FUINibTests; 203 | productReference = 3C37E4D718A54204003BDC99 /* FUINibTests.xctest */; 204 | productType = "com.apple.product-type.bundle.unit-test"; 205 | }; 206 | /* End PBXNativeTarget section */ 207 | 208 | /* Begin PBXProject section */ 209 | 3C37E4AE18A54204003BDC99 /* Project object */ = { 210 | isa = PBXProject; 211 | attributes = { 212 | CLASSPREFIX = FUI; 213 | LastUpgradeCheck = 0500; 214 | ORGANIZATIONNAME = "Daniel Doubrovkine"; 215 | TargetAttributes = { 216 | 3C37E4D618A54204003BDC99 = { 217 | TestTargetID = 3C37E4B518A54204003BDC99; 218 | }; 219 | }; 220 | }; 221 | buildConfigurationList = 3C37E4B118A54204003BDC99 /* Build configuration list for PBXProject "FUINib" */; 222 | compatibilityVersion = "Xcode 3.2"; 223 | developmentRegion = English; 224 | hasScannedForEncodings = 0; 225 | knownRegions = ( 226 | en, 227 | Base, 228 | ); 229 | mainGroup = 3C37E4AD18A54204003BDC99; 230 | productRefGroup = 3C37E4B718A54204003BDC99 /* Products */; 231 | projectDirPath = ""; 232 | projectRoot = ""; 233 | targets = ( 234 | 3C37E4B518A54204003BDC99 /* FUINib */, 235 | 3C37E4D618A54204003BDC99 /* FUINibTests */, 236 | ); 237 | }; 238 | /* End PBXProject section */ 239 | 240 | /* Begin PBXResourcesBuildPhase section */ 241 | 3C37E4B418A54204003BDC99 /* Resources */ = { 242 | isa = PBXResourcesBuildPhase; 243 | buildActionMask = 2147483647; 244 | files = ( 245 | 3C37E4D218A54204003BDC99 /* Images.xcassets in Resources */, 246 | 3C37E4C418A54204003BDC99 /* InfoPlist.strings in Resources */, 247 | 3C37E4CD18A54204003BDC99 /* Main.storyboard in Resources */, 248 | 3C37E4F218A54341003BDC99 /* FUINibView.xib in Resources */, 249 | ); 250 | runOnlyForDeploymentPostprocessing = 0; 251 | }; 252 | 3C37E4D518A54204003BDC99 /* Resources */ = { 253 | isa = PBXResourcesBuildPhase; 254 | buildActionMask = 2147483647; 255 | files = ( 256 | 3C37E4E318A54204003BDC99 /* InfoPlist.strings in Resources */, 257 | ); 258 | runOnlyForDeploymentPostprocessing = 0; 259 | }; 260 | /* End PBXResourcesBuildPhase section */ 261 | 262 | /* Begin PBXSourcesBuildPhase section */ 263 | 3C37E4B218A54204003BDC99 /* Sources */ = { 264 | isa = PBXSourcesBuildPhase; 265 | buildActionMask = 2147483647; 266 | files = ( 267 | 3C37E4D018A54204003BDC99 /* FUIViewController.m in Sources */, 268 | 3C37E4C618A54204003BDC99 /* main.m in Sources */, 269 | 3C37E4F018A542CC003BDC99 /* FUISubclassOfUIView.m in Sources */, 270 | 3C37E4CA18A54204003BDC99 /* FUIAppDelegate.m in Sources */, 271 | 3C37E4F518A54362003BDC99 /* FUISubclassOfUIViewUsedInANib.m in Sources */, 272 | ); 273 | runOnlyForDeploymentPostprocessing = 0; 274 | }; 275 | 3C37E4D318A54204003BDC99 /* Sources */ = { 276 | isa = PBXSourcesBuildPhase; 277 | buildActionMask = 2147483647; 278 | files = ( 279 | 3C37E4E518A54204003BDC99 /* FUINibTests.m in Sources */, 280 | ); 281 | runOnlyForDeploymentPostprocessing = 0; 282 | }; 283 | /* End PBXSourcesBuildPhase section */ 284 | 285 | /* Begin PBXTargetDependency section */ 286 | 3C37E4DD18A54204003BDC99 /* PBXTargetDependency */ = { 287 | isa = PBXTargetDependency; 288 | target = 3C37E4B518A54204003BDC99 /* FUINib */; 289 | targetProxy = 3C37E4DC18A54204003BDC99 /* PBXContainerItemProxy */; 290 | }; 291 | /* End PBXTargetDependency section */ 292 | 293 | /* Begin PBXVariantGroup section */ 294 | 3C37E4C218A54204003BDC99 /* InfoPlist.strings */ = { 295 | isa = PBXVariantGroup; 296 | children = ( 297 | 3C37E4C318A54204003BDC99 /* en */, 298 | ); 299 | name = InfoPlist.strings; 300 | sourceTree = ""; 301 | }; 302 | 3C37E4CB18A54204003BDC99 /* Main.storyboard */ = { 303 | isa = PBXVariantGroup; 304 | children = ( 305 | 3C37E4CC18A54204003BDC99 /* Base */, 306 | ); 307 | name = Main.storyboard; 308 | sourceTree = ""; 309 | }; 310 | 3C37E4E118A54204003BDC99 /* InfoPlist.strings */ = { 311 | isa = PBXVariantGroup; 312 | children = ( 313 | 3C37E4E218A54204003BDC99 /* en */, 314 | ); 315 | name = InfoPlist.strings; 316 | sourceTree = ""; 317 | }; 318 | /* End PBXVariantGroup section */ 319 | 320 | /* Begin XCBuildConfiguration section */ 321 | 3C37E4E618A54204003BDC99 /* Debug */ = { 322 | isa = XCBuildConfiguration; 323 | buildSettings = { 324 | ALWAYS_SEARCH_USER_PATHS = NO; 325 | ARCHS = "$(ARCHS_STANDARD_INCLUDING_64_BIT)"; 326 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 327 | CLANG_CXX_LIBRARY = "libc++"; 328 | CLANG_ENABLE_MODULES = YES; 329 | CLANG_ENABLE_OBJC_ARC = YES; 330 | CLANG_WARN_BOOL_CONVERSION = YES; 331 | CLANG_WARN_CONSTANT_CONVERSION = YES; 332 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 333 | CLANG_WARN_EMPTY_BODY = YES; 334 | CLANG_WARN_ENUM_CONVERSION = YES; 335 | CLANG_WARN_INT_CONVERSION = YES; 336 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 337 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 338 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 339 | COPY_PHASE_STRIP = NO; 340 | GCC_C_LANGUAGE_STANDARD = gnu99; 341 | GCC_DYNAMIC_NO_PIC = NO; 342 | GCC_OPTIMIZATION_LEVEL = 0; 343 | GCC_PREPROCESSOR_DEFINITIONS = ( 344 | "DEBUG=1", 345 | "$(inherited)", 346 | ); 347 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 348 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 349 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 350 | GCC_WARN_UNDECLARED_SELECTOR = YES; 351 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 352 | GCC_WARN_UNUSED_FUNCTION = YES; 353 | GCC_WARN_UNUSED_VARIABLE = YES; 354 | IPHONEOS_DEPLOYMENT_TARGET = 7.0; 355 | ONLY_ACTIVE_ARCH = YES; 356 | SDKROOT = iphoneos; 357 | }; 358 | name = Debug; 359 | }; 360 | 3C37E4E718A54204003BDC99 /* Release */ = { 361 | isa = XCBuildConfiguration; 362 | buildSettings = { 363 | ALWAYS_SEARCH_USER_PATHS = NO; 364 | ARCHS = "$(ARCHS_STANDARD_INCLUDING_64_BIT)"; 365 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 366 | CLANG_CXX_LIBRARY = "libc++"; 367 | CLANG_ENABLE_MODULES = YES; 368 | CLANG_ENABLE_OBJC_ARC = YES; 369 | CLANG_WARN_BOOL_CONVERSION = YES; 370 | CLANG_WARN_CONSTANT_CONVERSION = YES; 371 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 372 | CLANG_WARN_EMPTY_BODY = YES; 373 | CLANG_WARN_ENUM_CONVERSION = YES; 374 | CLANG_WARN_INT_CONVERSION = YES; 375 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 376 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 377 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 378 | COPY_PHASE_STRIP = YES; 379 | ENABLE_NS_ASSERTIONS = NO; 380 | GCC_C_LANGUAGE_STANDARD = gnu99; 381 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 382 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 383 | GCC_WARN_UNDECLARED_SELECTOR = YES; 384 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 385 | GCC_WARN_UNUSED_FUNCTION = YES; 386 | GCC_WARN_UNUSED_VARIABLE = YES; 387 | IPHONEOS_DEPLOYMENT_TARGET = 7.0; 388 | SDKROOT = iphoneos; 389 | VALIDATE_PRODUCT = YES; 390 | }; 391 | name = Release; 392 | }; 393 | 3C37E4E918A54204003BDC99 /* Debug */ = { 394 | isa = XCBuildConfiguration; 395 | buildSettings = { 396 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 397 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 398 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 399 | GCC_PREFIX_HEADER = "FUINib/FUINib-Prefix.pch"; 400 | INFOPLIST_FILE = "FUINib/FUINib-Info.plist"; 401 | PRODUCT_NAME = "$(TARGET_NAME)"; 402 | WRAPPER_EXTENSION = app; 403 | }; 404 | name = Debug; 405 | }; 406 | 3C37E4EA18A54204003BDC99 /* Release */ = { 407 | isa = XCBuildConfiguration; 408 | buildSettings = { 409 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 410 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 411 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 412 | GCC_PREFIX_HEADER = "FUINib/FUINib-Prefix.pch"; 413 | INFOPLIST_FILE = "FUINib/FUINib-Info.plist"; 414 | PRODUCT_NAME = "$(TARGET_NAME)"; 415 | WRAPPER_EXTENSION = app; 416 | }; 417 | name = Release; 418 | }; 419 | 3C37E4EC18A54204003BDC99 /* Debug */ = { 420 | isa = XCBuildConfiguration; 421 | buildSettings = { 422 | ARCHS = "$(ARCHS_STANDARD_INCLUDING_64_BIT)"; 423 | BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/FUINib.app/FUINib"; 424 | FRAMEWORK_SEARCH_PATHS = ( 425 | "$(SDKROOT)/Developer/Library/Frameworks", 426 | "$(inherited)", 427 | "$(DEVELOPER_FRAMEWORKS_DIR)", 428 | ); 429 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 430 | GCC_PREFIX_HEADER = "FUINib/FUINib-Prefix.pch"; 431 | GCC_PREPROCESSOR_DEFINITIONS = ( 432 | "DEBUG=1", 433 | "$(inherited)", 434 | ); 435 | INFOPLIST_FILE = "FUINibTests/FUINibTests-Info.plist"; 436 | PRODUCT_NAME = "$(TARGET_NAME)"; 437 | TEST_HOST = "$(BUNDLE_LOADER)"; 438 | WRAPPER_EXTENSION = xctest; 439 | }; 440 | name = Debug; 441 | }; 442 | 3C37E4ED18A54204003BDC99 /* Release */ = { 443 | isa = XCBuildConfiguration; 444 | buildSettings = { 445 | ARCHS = "$(ARCHS_STANDARD_INCLUDING_64_BIT)"; 446 | BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/FUINib.app/FUINib"; 447 | FRAMEWORK_SEARCH_PATHS = ( 448 | "$(SDKROOT)/Developer/Library/Frameworks", 449 | "$(inherited)", 450 | "$(DEVELOPER_FRAMEWORKS_DIR)", 451 | ); 452 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 453 | GCC_PREFIX_HEADER = "FUINib/FUINib-Prefix.pch"; 454 | INFOPLIST_FILE = "FUINibTests/FUINibTests-Info.plist"; 455 | PRODUCT_NAME = "$(TARGET_NAME)"; 456 | TEST_HOST = "$(BUNDLE_LOADER)"; 457 | WRAPPER_EXTENSION = xctest; 458 | }; 459 | name = Release; 460 | }; 461 | /* End XCBuildConfiguration section */ 462 | 463 | /* Begin XCConfigurationList section */ 464 | 3C37E4B118A54204003BDC99 /* Build configuration list for PBXProject "FUINib" */ = { 465 | isa = XCConfigurationList; 466 | buildConfigurations = ( 467 | 3C37E4E618A54204003BDC99 /* Debug */, 468 | 3C37E4E718A54204003BDC99 /* Release */, 469 | ); 470 | defaultConfigurationIsVisible = 0; 471 | defaultConfigurationName = Release; 472 | }; 473 | 3C37E4E818A54204003BDC99 /* Build configuration list for PBXNativeTarget "FUINib" */ = { 474 | isa = XCConfigurationList; 475 | buildConfigurations = ( 476 | 3C37E4E918A54204003BDC99 /* Debug */, 477 | 3C37E4EA18A54204003BDC99 /* Release */, 478 | ); 479 | defaultConfigurationIsVisible = 0; 480 | defaultConfigurationName = Release; 481 | }; 482 | 3C37E4EB18A54204003BDC99 /* Build configuration list for PBXNativeTarget "FUINibTests" */ = { 483 | isa = XCConfigurationList; 484 | buildConfigurations = ( 485 | 3C37E4EC18A54204003BDC99 /* Debug */, 486 | 3C37E4ED18A54204003BDC99 /* Release */, 487 | ); 488 | defaultConfigurationIsVisible = 0; 489 | defaultConfigurationName = Release; 490 | }; 491 | /* End XCConfigurationList section */ 492 | }; 493 | rootObject = 3C37E4AE18A54204003BDC99 /* Project object */; 494 | } 495 | --------------------------------------------------------------------------------