Apr 10, 2015 14:14
URLs coming from external apps. I need to preset a tableview of transit options. Just not sure how I should handle it because the user can be in many different VCs.
Apr 10, 2015 14:11
Hi guys just a general question. What is the best practices when it comes to handling an incoming url or notification that requires a certain view controller?
Feb 11, 2015 05:16
Thats it just in viewDidLoad, no change being applied
Feb 11, 2015 05:15
navigationController?.navigationBar.barTintColor = UIColor.blueColor()
Feb 11, 2015 05:13
I'm trying to update the navigationBar appearance in viewDidLoad. However the nav bar isn't changing apperance
Feb 11, 2015 05:06
Hi all,
Jul 19, 2014 12:46
no worries
Jul 19, 2014 12:44
if([myVariable isKindOfClass:[NSArray class]) {}
Jul 19, 2014 12:43
iskindofclass @sanjeet
 

NSChat

Rules → spiff.io/nschat.rules —  Discussion for iOS and OS X ...
Feb 12, 2015 02:53
self.searchDisplayController?.displaysSearchBarInNavigationBar = true
self.searchDisplayController?.searchBar.setShowsCancelButton(true, animated: true)
Feb 12, 2015 02:52
Yeah its extremely simple setup. Just added a tableviewcontroller to storyboard with a searchdisplaycontroller and searchbar. Embedded it in a nav controller. Created a tableviewcontroller class and added two lines of code to the viewDidLoad method.
Feb 12, 2015 02:48
Feb 12, 2015 02:47
Hi guys I was wondering if anyone came across this issue before. I have a searchbar setup with a search display controller with a tableviewviewcontroller. In my ViewDidLoad I set it to appear in the navigationbar and I set the cancel button to on for the uisearchbar however 2 cancel buttons appear.
Oct 30, 2014 11:01
anyone*
Oct 30, 2014 10:55
Has any got Cocoa experience?
Oct 30, 2014 03:27
Hi
 

Ruby :: Sometimes on Rails

The humane programming language. Be nice. Have fun. Lurkers...
Jul 21, 2014 14:48
I'm more of a C kinda guy. Not a great fan of python either.
Jul 21, 2014 14:46
Its not strongly typed
Jul 21, 2014 14:43
Have to say though, I'm not mad for ruby. Its an ok language in my opinion
Jul 21, 2014 14:42
It is, ruby chat is dead sometimes.
Jul 21, 2014 14:39
Ruby is active!
Jul 18, 2014 15:31
Thanks for your help
Jul 18, 2014 15:31
Fair enough.
Jul 18, 2014 15:29
Did you go to bed?
Jul 18, 2014 15:28
1:30am
Jul 18, 2014 15:28
Wow that was bad, getting late
Jul 18, 2014 15:28
Wait sorry false alarm
Jul 18, 2014 15:27
hmm Doesn't seem to work for me. Testing in Rubular
Jul 18, 2014 15:20
Looks good, thanks a lot
Jul 18, 2014 15:16
@Cereal doesn't seem to work for me
Jul 18, 2014 15:11
That works, I had a similar solution in mind before.
Jul 18, 2014 15:07
Not really many patterns, just noticed that a colon between numbers is important as it often represents a scale of some sort
Jul 18, 2014 15:04
Maybe, anything is possible with my data sources. Not very reliable. Should expect anything
Jul 18, 2014 15:03
sure
Jul 18, 2014 15:02
Ok fair enough, thanks for the help though
Jul 18, 2014 15:01
Doesn't work correctly for '1:9 :dvd'
Jul 18, 2014 14:57
testing now...
Jul 18, 2014 14:54
Still simpler than my current solution
Jul 18, 2014 14:51
no luck?
Jul 18, 2014 14:43
Sure, that is a much cleaner solution if possible
Jul 18, 2014 14:41
Yes, didn't think it would be possible to use gsub
Jul 18, 2014 14:39
Sure, I am trying to remove all colons (:) in a string except for the ones that have numbers beside them for example 1:9.
Jul 18, 2014 14:32
Well if I had the string 'day' and I want to remove the characters at [0,2] (d and y), if I remove 0 then 2. 2 will be out of bounds because y is now at index 1. So my question is does a method exist to handle the removal of multiple characters.
Jul 18, 2014 14:23
Hi, does anyone know if there is a method in ruby to remove multiple characters from positions stored in an array?
 

[iOS][Android][ChaosOverFlow]

Join to become part of the community, not to simply ask questi...
Jul 20, 2014 16:07
hi guys, simple but annoying issue, I'm trying to set the content color of my iOS7 app to white. It launches white but once the view controller is loaded it goes to black.
 

RegEx - Regular Expressions

Discuss about Regular Expressions. Learn at: Regular-Expressio...
Jul 20, 2014 02:22
ok fair enough
Jul 20, 2014 02:17
I'm trying to capture ranges such as 1-3 or 1 - 3 but only get 1-3 back without the spaces
Jul 20, 2014 02:13
Hi there, I was wondering if it is possible in regex to accept spaces but not capture them?
 

Hello World

For beginners of programming,testing,security etc Developers a...
Jul 19, 2014 12:32
Hello