cs193p Questions

4

Solved

I downloaded files from a separate Stack OverFlow post, and dragged the folder into my project (as a group.) The dependancies get resolved and it shows no error for code that relies on the files, b...
Obelize asked 4/8, 2015 at 18:50

7

Solved

I'm working on a card game. I want the card backs to show an image and the card fronts to show the card contents. I've gotten the image to show on the back, but I can't figure out how to clear it w...
Bandanna asked 5/2, 2013 at 2:13

0

I'm using drag and drop to drag images from google onto a collection view. The images are all supposed to have equal widths. After I scroll a bit, some of the cells look like they have equal widths...
Adiabatic asked 30/10, 2019 at 0:58

8

Solved

I'm trying to follow along the Stanford CS193p iOS programing lectures. One of the demo programs, called "Happiness" creates two UIViewControllers, a "PsychViewController" and a "HappinessViewContr...
Hesperides asked 1/11, 2012 at 3:15

5

Solved

I downloaded the Smasthag demo app from course's site. Project builds fine (after small changes in Twitter, TwitterRequest etc. classes, because I use the latest Xcode 7b4) and works fine on simula...
Laminous asked 23/7, 2015 at 11:47

4

Solved

Trying to follow along and code the Smashtag project while watching the Lecture 10 iTunes video. When I add the dowloaded Twitter package to my Smashtag project, XCode couldn't find the Tweet cla...
Phenocryst asked 18/4, 2015 at 14:55

4

Solved

In case this illuminates the problem, here's the original Objective-C code. int x = (arc4random()%(int)(self.gameView.bounds.size.width*5)) - (int)self.gameView.bounds.size.width*2; int y = self.g...
Mowbray asked 21/7, 2014 at 19:33

2

Solved

I am trying to design a helper method which will retrieve a UIManagedDocument, then open and return it, so that I may access the same UIManagedDocument from several places in my app. I am having t...
Aestivation asked 9/2, 2012 at 0:56

10

Solved

I recently started following the online course on iPhone development from Stanford University on iTunes U. I'm trying to do the homework assignments now for the first couple of lectures. I followe...
Scraggy asked 18/6, 2011 at 12:29

1

Solved

The code is from Stanford CS193p. I added a NSLog to check it out. The label seems not being initialized. Any idea? @interface AskerViewController() <UITextFieldDelegate> @property (weak, no...
Headliner asked 30/7, 2012 at 14:55

6

Solved

I am working my way through the Stanford Fall 2011 iOS course: http://www.stanford.edu/class/cs193p/cgi-bin/drupal/ I am onto assignment#3: http://www.stanford.edu/class/cs193p/cgi-bin/drupal/syst...
Fraise asked 22/4, 2012 at 11:47

1

Solved

I noticed that in the calculator demo of Stanford CS193p course, the IBOutlet connection was dragged from the label to header file. However, the IBAction connection was directly created in the .m f...
Rentschler asked 4/4, 2012 at 0:28

2

Solved

I was playing with a simple OCUnit test for an iPhone app, and just wanted to assert that the app delegate was an instance of the class that I expected it to be. I didn't expect this test to be ver...
Wireless asked 19/3, 2011 at 18:43

3

Solved

I can't seem to get the text to actually span multiple lines. The heights look correct. What am I missing? - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPat...
Hurried asked 5/8, 2009 at 14:26

2

Solved

Is there a shortcut method much like NSHomeDirectory() and NSTemporaryDirectory to get to the resources folder within your project? Is the /resources/ folder the best place to be storing a file?
Wiles asked 3/8, 2009 at 16:51
1

© 2022 - 2024 — McMap. All rights reserved.