Questions tagged [cs193p]

CS193P is an iOS programming course offered at Stanford University. The latest Fall 2017 session videos, lecture slides and assignments are available on iTunes U, and have become a popular way of learning to program for the platform.

CS193P is an iOS () programming course offered at Stanford University. The latest Fall 2017 session videos, lecture slides, and assignments focus on iOS 11 and Swift 4 () and are available on iTunes U. This course has become a popular way of learning to program for the platform.

References:

173 questions
0
votes
1 answer

how to get its own view controller inside itself?

@interface RecentPhotosViewController () - (void)viewDidLoad { [super viewDidLoad]; [[self.tabBarController.viewControllers objectAtIndex:1] setDelegate:self]; } The RecentPhotosViewController is a…
dsfdf
  • 106
  • 2
  • 7
0
votes
1 answer

ios 5 storyboard issue

In the iphone storyboard, i create a view controller, then i add a generic view to that controller, then add a image view to the generic view. Then i implement the generic view controller code. However, it doesn't show anything in the image view…
dsfdf
  • 106
  • 2
  • 7
0
votes
1 answer

iPhone calculator app crashing when trying to add object to NSSet

I'm getting through the Fall 2010 version of the Stanford class CS193P, iPhone programming. On assignment 2 I'm improving upon a calculator app created in assignment one. It seems that I'm almost finished but the app crashes when I try to press a…
0
votes
0 answers

Different result between app close and open again in many-to-many relationship with core data

In my Core Data model I have two entities: "Photo" and "Tag". The relationship between these is like : Photo << ------->> Tag. When I insert a Photo into database and setup the relationship, then I want to fetch an NSArray of photos using an entity…
Ding Ding
  • 295
  • 3
  • 7
-1
votes
1 answer

-[__NSCFString setStroke]: unrecognized selector sent to instance

I keep getting this error when I run my code, I am trying to assign attributed text to a button. I am doing assignment #2 from the standford course cs193p. The code go pass the line in question and then randonly it will crash with the error…
user2076774
  • 405
  • 1
  • 8
  • 21
-1
votes
2 answers

Objective C Syntax Error? CS193 CalculatorViewController

I've come across a fair number questions with the same file and after cleaning out my other errors there's still one i can't seem to figure out. I think the error is that I have one too many/few { or } but after trying a number of variation, I'm…
Shawn
  • 633
  • 1
  • 6
  • 13
-2
votes
1 answer

Striped pattern for a custom shape in swift UI

I am learning Swift with the cs193p online class https://cs193p.sites.stanford.edu/. One of the assignment entails creating a custom shape (like a diamond) and then applying a striped pattern to its background (with different colors). I was…
-2
votes
1 answer

Need clarifications working with Views in iOS

Ok, I'm learning programming for iOS with Stanford's online course on iTunes U (CS193P) but I can't exactly get a hold on how all the stuff from UIView works. Could someone explain how the following things work cohesively and how I should use…
James Traimory
  • 513
  • 1
  • 4
  • 8
1 2 3
11
12