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
356216d5
Commit
356216d5
authored
May 28, 2012
by
Eloy Duran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove MacRubbySample for now.
parent
24dd1e81
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
4 additions
and
242 deletions
+4
-242
Podfile.lock
examples/AFNetworking Mac Example/Podfile.lock
+1
-1
Podfile.lock
examples/AFNetworking iOS Example/Podfile.lock
+1
-1
project.pbxproj
...les/MacRubySample/MacRubySample.xcodeproj/project.pbxproj
+0
-0
MacRubySample.xcscheme
...e.xcodeproj/xcshareddata/xcschemes/MacRubySample.xcscheme
+0
-84
contents.xcworkspacedata
...Sample/MacRubySample.xcworkspace/contents.xcworkspacedata
+0
-2
AppDelegate.rb
examples/MacRubySample/MacRubySample/AppDelegate.rb
+0
-47
MacRubySample-Info.plist
...ples/MacRubySample/MacRubySample/MacRubySample-Info.plist
+0
-30
MacRubySample-Prefix.pch
...ples/MacRubySample/MacRubySample/MacRubySample-Prefix.pch
+0
-7
InfoPlist.strings
...es/MacRubySample/MacRubySample/en.lproj/InfoPlist.strings
+0
-2
MainMenu.xib
examples/MacRubySample/MacRubySample/en.lproj/MainMenu.xib
+0
-0
main.m
examples/MacRubySample/MacRubySample/main.m
+0
-16
rb_main.rb
examples/MacRubySample/MacRubySample/rb_main.rb
+0
-23
Podfile
examples/MacRubySample/Podfile
+0
-15
Podfile.lock
examples/MacRubySample/Podfile.lock
+0
-7
README
examples/MacRubySample/README
+0
-5
Podfile
examples/RKTwitter/Podfile
+1
-1
Podfile.lock
examples/RelativePathProject/Podfile.lock
+1
-1
No files found.
examples/AFNetworking Mac Example/Podfile.lock
View file @
356216d5
...
@@ -2,7 +2,7 @@ PODS:
...
@@ -2,7 +2,7 @@ PODS:
- AFNetworking (0.7.0):
- AFNetworking (0.7.0):
- JSONKit
- JSONKit
- FormatterKit (0.7.0)
- FormatterKit (0.7.0)
- JSONKit (1.
4
)
- JSONKit (1.
5pre
)
DEPENDENCIES:
DEPENDENCIES:
- AFNetworking (~> 0.7.0)
- AFNetworking (~> 0.7.0)
...
...
examples/AFNetworking iOS Example/Podfile.lock
View file @
356216d5
...
@@ -2,7 +2,7 @@ PODS:
...
@@ -2,7 +2,7 @@ PODS:
- AFNetworking (0.7.0):
- AFNetworking (0.7.0):
- JSONKit
- JSONKit
- FormatterKit (0.7.0)
- FormatterKit (0.7.0)
- JSONKit (1.
4
)
- JSONKit (1.
5pre
)
DEPENDENCIES:
DEPENDENCIES:
- AFNetworking (~> 0.7.0)
- AFNetworking (~> 0.7.0)
...
...
examples/MacRubySample/MacRubySample.xcodeproj/project.pbxproj
deleted
100644 → 0
View file @
24dd1e81
This diff is collapsed.
Click to expand it.
examples/MacRubySample/MacRubySample.xcodeproj/xcshareddata/xcschemes/MacRubySample.xcscheme
deleted
100644 → 0
View file @
24dd1e81
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
version =
"1.3"
>
<BuildAction
parallelizeBuildables =
"YES"
buildImplicitDependencies =
"YES"
>
<BuildActionEntries>
<BuildActionEntry
buildForTesting =
"YES"
buildForRunning =
"YES"
buildForProfiling =
"YES"
buildForArchiving =
"YES"
buildForAnalyzing =
"YES"
>
<BuildableReference
BuildableIdentifier =
"primary"
BlueprintIdentifier =
"51657567144AFA12002A4EFA"
BuildableName =
"MacRubySample.app"
BlueprintName =
"MacRubySample"
ReferencedContainer =
"container:MacRubySample.xcodeproj"
>
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
selectedDebuggerIdentifier =
"Xcode.DebuggerFoundation.Debugger.GDB"
selectedLauncherIdentifier =
"Xcode.DebuggerFoundation.Launcher.GDB"
shouldUseLaunchSchemeArgsEnv =
"YES"
buildConfiguration =
"Debug"
>
<Testables>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier =
"primary"
BlueprintIdentifier =
"51657567144AFA12002A4EFA"
BuildableName =
"MacRubySample.app"
BlueprintName =
"MacRubySample"
ReferencedContainer =
"container:MacRubySample.xcodeproj"
>
</BuildableReference>
</MacroExpansion>
</TestAction>
<LaunchAction
selectedDebuggerIdentifier =
"Xcode.DebuggerFoundation.Debugger.GDB"
selectedLauncherIdentifier =
"Xcode.DebuggerFoundation.Launcher.GDB"
launchStyle =
"0"
useCustomWorkingDirectory =
"NO"
buildConfiguration =
"Debug"
debugDocumentVersioning =
"YES"
allowLocationSimulation =
"YES"
>
<BuildableProductRunnable>
<BuildableReference
BuildableIdentifier =
"primary"
BlueprintIdentifier =
"51657567144AFA12002A4EFA"
BuildableName =
"MacRubySample.app"
BlueprintName =
"MacRubySample"
ReferencedContainer =
"container:MacRubySample.xcodeproj"
>
</BuildableReference>
</BuildableProductRunnable>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
shouldUseLaunchSchemeArgsEnv =
"YES"
savedToolIdentifier =
""
useCustomWorkingDirectory =
"NO"
buildConfiguration =
"Release"
debugDocumentVersioning =
"YES"
>
<BuildableProductRunnable>
<BuildableReference
BuildableIdentifier =
"primary"
BlueprintIdentifier =
"51657567144AFA12002A4EFA"
BuildableName =
"MacRubySample.app"
BlueprintName =
"MacRubySample"
ReferencedContainer =
"container:MacRubySample.xcodeproj"
>
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration =
"Debug"
>
</AnalyzeAction>
<ArchiveAction
buildConfiguration =
"Release"
revealArchiveInOrganizer =
"YES"
>
</ArchiveAction>
</Scheme>
examples/MacRubySample/MacRubySample.xcworkspace/contents.xcworkspacedata
deleted
100644 → 0
View file @
24dd1e81
<?xml version='1.0' encoding='UTF-8'?>
<Workspace
version=
'1.0'
><FileRef
location=
'group:Pods/Pods.xcodeproj'
/><FileRef
location=
'group:MacRubySample.xcodeproj'
/></Workspace>
\ No newline at end of file
examples/MacRubySample/MacRubySample/AppDelegate.rb
deleted
100644 → 0
View file @
24dd1e81
# Load the BridgeSupport metadata generated by CocoaPods from all dependencies.
load_bridge_support_file
NSBundle
.
mainBundle
.
pathForResource
(
"Pods"
,
ofType
:"bridgesupport"
)
class
AppDelegate
URL
=
"http://api.twitter.com/1/statuses/user_timeline.json?screen_name=%s"
attr_accessor
:window
,
:tableView
,
:reloadButton
,
:handleTextField
def
awakeFromNib
@tweets
=
[]
@handleTextField
.
stringValue
=
"alloy"
end
def
applicationDidFinishLaunching
(
notification
)
refreshData
(
nil
)
end
def
refreshData
(
sender
)
url
=
NSURL
.
URLWithString
(
URL
%
@handleTextField
.
stringValue
.
strip
)
@handleTextField
.
enabled
=
@reloadButton
.
enabled
=
false
@request
=
ASIHTTPRequest
.
requestWithURL
(
url
)
@request
.
completionBlock
=
lambda
do
puts
"Request completed!"
@tweets
=
@request
.
responseString
.
JSONValue
@tableView
.
reloadData
@handleTextField
.
enabled
=
@reloadButton
.
enabled
=
true
end
@request
.
failedBlock
=
lambda
do
puts
"Request failed :("
puts
@request
.
error
.
localizedDescription
@handleTextField
.
enabled
=
@reloadButton
.
enabled
=
true
end
@request
.
startAsynchronous
end
def
numberOfRowsInTableView
(
tableView
)
@tweets
.
size
end
def
tableView
(
tableView
,
objectValueForTableColumn
:column
,
row
:row
)
if
tweet
=
@tweets
[
row
]
tweet
[
'text'
]
end
end
end
examples/MacRubySample/MacRubySample/MacRubySample-Info.plist
deleted
100644 → 0
View file @
24dd1e81
<
?xml
v
e
rsion="
1
.
0
"
e
n
c
o
d
ing="UT
F
-
8
"?
>
<
!
D
O
C
TYP
E
plist
PU
B
LI
C
"-//
A
ppl
e
//
D
T
D
PLIST
1
.
0
//
E
N"
"http://www.
a
ppl
e
.
c
om/
D
T
D
s/Prop
e
rtyList-
1
.
0
.
d
t
d
"
>
<
plist
v
e
rsion="
1
.
0
"
>
<
d
i
c
t
>
<
k
e
y
>
CFBundleDevelopmentRegion
<
/k
e
y
>
<
string
>
en
<
/string
>
<
k
e
y
>
CFBundleExecutable
<
/k
e
y
>
<
string
>
$
{
EXECUTABLE_NAME
}<
/string
>
<
k
e
y
>
CFBundleIdentifier
<
/k
e
y
>
<
string
>
org.cocoapods.$
{
PRODUCT_NAME:rfc1034identifier
}<
/string
>
<
k
e
y
>
CFBundleInfoDictionaryVersion
<
/k
e
y
>
<
string
>
6.0
<
/string
>
<
k
e
y
>
CFBundleName
<
/k
e
y
>
<
string
>
$
{
PRODUCT_NAME
}<
/string
>
<
k
e
y
>
CFBundlePackageType
<
/k
e
y
>
<
string
>
APPL
<
/string
>
<
k
e
y
>
CFBundleShortVersionString
<
/k
e
y
>
<
string
>
1.0
<
/string
>
<
k
e
y
>
CFBundleSignature
<
/k
e
y
>
<
string
>
????
<
/string
>
<
k
e
y
>
CFBundleVersion
<
/k
e
y
>
<
string
>
1
<
/string
>
<
k
e
y
>
LSMinimumSystemVersion
<
/k
e
y
>
<
string
>
$
{
MACOSX_DEPLOYMENT_TARGET
}<
/string
>
<
k
e
y
>
NSMainNibFile
<
/k
e
y
>
<
string
>
MainMenu
<
/string
>
<
k
e
y
>
NSPrincipalClass
<
/k
e
y
>
<
string
>
NSApplication
<
/string
>
<
/
d
i
c
t
>
<
/plist
>
examples/MacRubySample/MacRubySample/MacRubySample-Prefix.pch
deleted
100644 → 0
View file @
24dd1e81
//
// Prefix header for all source files of the 'MacRubySample' target in the 'MacRubySample' project
//
#ifdef __OBJC__
#import <Cocoa/Cocoa.h>
#endif
examples/MacRubySample/MacRubySample/en.lproj/InfoPlist.strings
deleted
100644 → 0
View file @
24dd1e81
/* Localized versions of Info.plist keys */
examples/MacRubySample/MacRubySample/en.lproj/MainMenu.xib
deleted
100755 → 0
View file @
24dd1e81
This source diff could not be displayed because it is too large. You can
view the blob
instead.
examples/MacRubySample/MacRubySample/main.m
deleted
100644 → 0
View file @
24dd1e81
//
//
main
.
m
//
MacRubySample
//
//
Created
by
Eloy
Duran
on
16
-
10
-
11.
//
Copyright
(
c
)
2011
__
MyCompanyName__
.
All
rights
reserved
.
//
#
import
<
Cocoa
/
Cocoa
.
h
>
#
import
<
MacRuby
/
MacRuby
.
h
>
int
main
(
int
argc
,
char
*
argv
[])
{
return
macruby_main
(
"
rb_main
.
rb
"
,
argc
,
argv
);
}
examples/MacRubySample/MacRubySample/rb_main.rb
deleted
100755 → 0
View file @
24dd1e81
#
# rb_main.rb
# MacRubySample
#
# Created by Eloy Duran on 16-10-11.
# Copyright (c) 2011 __MyCompanyName__. All rights reserved.
#
# Loading the Cocoa framework. If you need to load more frameworks, you can
# do that here too.
framework
'Cocoa'
# Loading all the Ruby project files.
main
=
File
.
basename
(
__FILE__
,
File
.
extname
(
__FILE__
))
dir_path
=
NSBundle
.
mainBundle
.
resourcePath
.
fileSystemRepresentation
Dir
.
glob
(
File
.
join
(
dir_path
,
'*.{rb,rbo}'
)).
map
{
|
x
|
File
.
basename
(
x
,
File
.
extname
(
x
))
}.
uniq
.
each
do
|
path
|
if
path
!=
main
require
(
path
)
end
end
# Starting the Cocoa main loop.
NSApplicationMain
(
0
,
nil
)
examples/MacRubySample/Podfile
deleted
100644 → 0
View file @
24dd1e81
platform
:osx
generate_bridge_support!
dependency
'ASIHTTPRequest'
dependency
'SBJson'
# Enable garbage collection support, which MacRuby requires.
post_install
do
|
installer
|
installer
.
project
.
targets
.
each
do
|
target
|
target
.
build_configurations
.
each
do
|
config
|
config
.
build_settings
[
'GCC_ENABLE_OBJC_GC'
]
=
'supported'
end
end
end
examples/MacRubySample/Podfile.lock
deleted
100644 → 0
View file @
24dd1e81
PODS:
- ASIHTTPRequest (1.8.1)
- SBJson (3.0.4)
DEPENDENCIES:
- ASIHTTPRequest
- SBJson
examples/MacRubySample/README
deleted
100644 → 0
View file @
24dd1e81
This example uses MacRuby which needs Garbage Collection support. Since CocoaPods
does not yet have a way to make a project build with GC support, you will have to
do this manually in the generated Pods.xcodeproj project.
You can find it in the build settings of the target app.
examples/RKTwitter/Podfile
View file @
356216d5
platform
:ios
platform
:ios
dependency
'RestKit
/ObjectMapping/JSONKit
'
dependency
'RestKit'
examples/RelativePathProject/Podfile.lock
View file @
356216d5
PODS:
PODS:
- AFNetworking (
0.9.
1)
- AFNetworking (
1.0RC
1)
DEPENDENCIES:
DEPENDENCIES:
- AFNetworking
- AFNetworking
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