Skip to content
  • Home
  • Code With Michelle
  • About

Luvelle Codes

Talk code to me

Tag: constants

— Coding —

iOS: Statically Create an NSArray Object in View Controller

April 11, 2015

When you have an NSArray object containing NSString objects in your View Controller, you might want to create a static version of it, especially when the user will only see the same values each time the view appears. First, add your C array pointers to NSString constants by following instructions in my earlier post. In… Read More iOS: Statically Create an NSArray Object in View Controller

— Coding —

iOS: Creating a File to Hold Constants

January 14, 2015

It’s a good habit to keep your number and string constants in a file, instead of hardcoding them into your code. This minimises many inconveniences when you need to make changes to your code, since you only have to access that file to change those values. So how do you do that in Xcode 6… Read More iOS: Creating a File to Hold Constants




Categories

  • Blog
  • Coding
  • Command Line
  • How-To
  • Problem Solving
  • Teaching

Tags

android studio apache centos 7 coding domain name how-to ios iOS 8 namesilo nsstring objective-c python snippet ssh unix vps wordpress xcode 6
© 2017 Luvelle Codes