Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
cocoapods
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gengmeiios
cocoapods
Commits
c66e1a7f
Commit
c66e1a7f
authored
May 09, 2015
by
Marius Rackwitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Doc] More precise type annotations
parent
db176ca0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
module_map.rb
lib/cocoapods/generator/module_map.rb
+3
-3
user_project_integrator.rb
lib/cocoapods/installer/user_project_integrator.rb
+2
-2
target_integrator.rb
...ds/installer/user_project_integrator/target_integrator.rb
+2
-2
No files found.
lib/cocoapods/generator/module_map.rb
View file @
c66e1a7f
...
...
@@ -6,17 +6,17 @@ module Pod
# with existing headers of the podspec.
#
class
ModuleMap
# @return [Target] the target represented by this Info.plist.
# @return [
Pod
Target] the target represented by this Info.plist.
#
attr_reader
:target
# @return [Array] the private headers of the module
# @return [Array
<#to_s>
] the private headers of the module
#
attr_accessor
:private_headers
# Initialize a new instance
#
# @param [Target] target @see target
# @param [
Pod
Target] target @see target
#
def
initialize
(
target
)
@target
=
target
...
...
lib/cocoapods/installer/user_project_integrator.rb
View file @
c66e1a7f
...
...
@@ -33,7 +33,7 @@ module Pod
#
attr_reader
:installation_root
# @return [Array<Target>] the targets represented in the Podfile.
# @return [Array<
Aggregate
Target>] the targets represented in the Podfile.
#
attr_reader
:targets
...
...
@@ -42,7 +42,7 @@ module Pod
# @param [Podfile] podfile @see #podfile
# @param [Sandbox] sandbox @see #sandbox
# @param [Pathname] installation_root @see #installation_root
# @param [
Target]
targets @see #targets
# @param [
Array<AggregateTarget>]
targets @see #targets
#
# @todo Too many initialization arguments
#
...
...
lib/cocoapods/installer/user_project_integrator/target_integrator.rb
View file @
c66e1a7f
...
...
@@ -14,13 +14,13 @@ module Pod
#
EMBED_FRAMEWORK_TARGET_TYPES
=
[
:application
,
:unit_test_bundle
].
freeze
# @return [Target] the target that should be integrated.
# @return [
Aggregate
Target] the target that should be integrated.
#
attr_reader
:target
# Init a new TargetIntegrator
#
# @param [
Target] target @see #target_definition
# @param [
AggregateTarget] target @see #target
#
def
initialize
(
target
)
@target
=
target
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment