Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Ind.ie Projects
Heartbeat Cocoa
Commits
c4beee3a
Unverified
Commit
c4beee3a
authored
Aug 21, 2015
by
Aral Balkan
Browse files
Started integrating the conversation timelines.
parent
8d414d76
Changes
1
Hide whitespace changes
Inline
Side-by-side
Heartbeat/TimelineViewController.swift
View file @
c4beee3a
...
...
@@ -518,6 +518,13 @@ class TimelineViewController: NSViewController, WKNavigationDelegate
urlRequest
=
NSURLRequest
(
URL
:
NSURL
(
string
:
"http://127.0.0.1:42003/all-friends-timeline"
)
!
)
}
if
CurrentTimeline
.
id
!=
"allfriends"
&&
CurrentTimeline
.
id
!=
"conversations"
&&
CurrentTimeline
.
id
!=
"private"
&&
CurrentTimeline
.
id
!=
"everyone"
&&
CurrentTimeline
.
id
!=
"public"
&&
CurrentTimeline
.
id
!=
nil
{
// Show conversation timeline
println
(
"Showing conversation timeline with
\(
CurrentTimeline
.
id
)
the private web server."
)
urlRequest
=
NSURLRequest
(
URL
:
NSURL
(
string
:
"http://127.0.0.1:42003/conversation-with/
\(
CurrentTimeline
.
id
!
)
"
)
!
)
}
webkit
.
loadRequest
(
urlRequest
)
}
...
...
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